Struct paypal_rs::invoice::BillingInfo[][src]

pub struct BillingInfo {
    pub business_name: String,
    pub name: Option<Name>,
    pub address: Option<Address>,
    pub email_address: Option<String>,
    pub phones: Option<Vec<PhoneDetail>>,
    pub additional_info: Option<String>,
    pub language: Option<String>,
}
Expand description

Billing information

Fields

business_name: String

Required. The business name of the party.

name: Option<Name>

The first and Last name of the recipient.

address: Option<Address>

The address of the recipient.

email_address: Option<String>

The invoice recipient email address. If you omit this value, the invoice is payable and a notification email is not sent.

phones: Option<Vec<PhoneDetail>>

The invoice recipient’s phone numbers. Extension number is not supported.

additional_info: Option<String>

Any additional information about the recipient. Maximum length: 40.

language: Option<String>

The language in which to show the invoice recipient’s email message. Used only when the recipient does not have a PayPal account

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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.