Struct stripe::PaymentMethodDetailsPaypal
source · pub struct PaymentMethodDetailsPaypal {
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§
§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 copy 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 Default for PaymentMethodDetailsPaypal
impl Default for PaymentMethodDetailsPaypal
source§fn default() -> PaymentMethodDetailsPaypal
fn default() -> PaymentMethodDetailsPaypal
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentMethodDetailsPaypal
impl<'de> Deserialize<'de> for PaymentMethodDetailsPaypal
source§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 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