Struct paypal_rs::orders::Payer [−][src]
pub struct Payer { pub name: Option<PayerName>, pub email_address: Option<String>, pub payer_id: Option<String>, pub phone: Option<Phone>, pub birth_date: Option<String>, pub tax_info: Option<TaxInfo>, pub address: Option<Address>, }
Expand description
The customer who approves and pays for the order. The customer is also known as the payer.
https://developer.paypal.com/docs/api/orders/v2/#definition-payer
Fields
name: Option<PayerName>
The name of the payer.
email_address: Option<String>
The email address of the payer.
payer_id: Option<String>
The PayPal-assigned ID for the payer.
phone: Option<Phone>
The phone number of the customer. Available only when you enable the Contact Telephone Number option in the Profile & Settings for the merchant’s PayPal account.
birth_date: Option<String>
The birth date of the payer in YYYY-MM-DD format.
tax_info: Option<TaxInfo>
The tax information of the payer. Required only for Brazilian payer’s.
address: Option<Address>
The address of the payer.
Trait Implementations
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 Payer
impl UnwindSafe for Payer