Struct paypal_rs::invoice::Tax[][src]

pub struct Tax {
    pub name: String,
    pub percent: String,
    pub amount: Option<Money>,
}
Expand description

Tax information

Fields

name: String

The name of the tax applied on the invoice items.

percent: String

The tax rate. Value is from 0 to 100. Supports up to five decimal places.

amount: Option<Money>

The calculated tax amount. The tax amount is added to the item total.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.