pub trait FeeToAmount {
// Required method
fn to_amount(&self, payment: &Amount) -> Amount;
}
Expand description
Trait for converting a fee type to specific Amount
,
relative to a given payment Amount
pub trait FeeToAmount {
// Required method
fn to_amount(&self, payment: &Amount) -> Amount;
}
Trait for converting a fee type to specific Amount
,
relative to a given payment Amount