pub struct PaymentMethodDetailsPaypal {
pub country: Option<String>,
pub payer_email: Option<String>,
pub payer_id: Option<String>,
pub payer_name: Option<String>,
pub seller_protection: Option<PaypalSellerProtection>,
pub transaction_id: Option<String>,
}
Fields§
§country: Option<String>
Two-letter ISO code representing the buyer’s country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
payer_email: Option<String>
Owner’s email. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
payer_id: Option<String>
PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
payer_name: Option<String>
Owner’s full name. Values provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
seller_protection: Option<PaypalSellerProtection>
The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
transaction_id: Option<String>
A unique ID generated by PayPal for this transaction.
Trait Implementations§
Source§impl Clone for PaymentMethodDetailsPaypal
impl Clone for PaymentMethodDetailsPaypal
Source§fn clone(&self) -> PaymentMethodDetailsPaypal
fn clone(&self) -> PaymentMethodDetailsPaypal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PaymentMethodDetailsPaypal
impl Debug for PaymentMethodDetailsPaypal
Source§impl FromValueOpt for PaymentMethodDetailsPaypal
impl FromValueOpt for PaymentMethodDetailsPaypal
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentMethodDetailsPaypal
impl RefUnwindSafe for PaymentMethodDetailsPaypal
impl Send for PaymentMethodDetailsPaypal
impl Sync for PaymentMethodDetailsPaypal
impl Unpin for PaymentMethodDetailsPaypal
impl UnwindSafe for PaymentMethodDetailsPaypal
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more