Struct paypal_rs::invoice::CustomAmount [−][src]
Expand description
The custom amount to apply to an invoice
Fields
label: String
The label to the custom amount of the invoice.
amount: Option<Money>
The custom amount value. Value is from -1000000 to 1000000. Supports up to two decimal places.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CustomAmount
impl Send for CustomAmount
impl Sync for CustomAmount
impl Unpin for CustomAmount
impl UnwindSafe for CustomAmount