Struct paypal_rs::orders::TaxInfo[][src]

pub struct TaxInfo {
    pub tax_id: String,
    pub tax_id_type: TaxIdType,
}
Expand description

The tax information of the payer.

Fields

tax_id: String

The customer’s tax ID. Supported for the PayPal payment method only. Typically, the tax ID is 11 characters long for individuals and 14 characters long for businesses.

tax_id_type: TaxIdType

The customer’s tax ID type. Supported for the PayPal payment method only.

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.