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

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>,
}

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

impl Debug for BillingInfo[src]

impl Default for BillingInfo[src]

impl<'de> Deserialize<'de> for BillingInfo[src]

impl Serialize for BillingInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.