Struct stripe::AlipayAccount [−][src]
pub struct AlipayAccount {
pub id: AlipayAccountId,
pub created: Option<Timestamp>,
pub customer: Option<Box<Expandable<Customer>>>,
pub deleted: bool,
pub fingerprint: Option<Box<String>>,
pub livemode: Option<Box<bool>>,
pub metadata: Metadata,
pub payment_amount: Option<Box<i64>>,
pub payment_currency: Option<Currency>,
pub reusable: Option<Box<bool>>,
pub used: Option<Box<bool>>,
pub username: Option<Box<String>>,
}
Expand description
The resource representing a Stripe “AlipayAccount”.
Fields
id: AlipayAccountId
Unique identifier for the object.
created: Option<Timestamp>
Time at which the object was created.
Measured in seconds since the Unix epoch.
customer: Option<Box<Expandable<Customer>>>
The ID of the customer associated with this Alipay Account.
deleted: bool
fingerprint: Option<Box<String>>
Uniquely identifies the account and will be the same across all Alipay account objects that are linked to the same Alipay account.
livemode: Option<Box<bool>>
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
metadata: Metadata
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
payment_amount: Option<Box<i64>>
If the Alipay account object is not reusable, the exact amount that you can create a charge for.
payment_currency: Option<Currency>
If the Alipay account object is not reusable, the exact currency that you can create a charge for.
reusable: Option<Box<bool>>
True if you can create multiple payments using this account.
If the account is reusable, then you can freely choose the amount of each payment.
used: Option<Box<bool>>
Whether this Alipay account object has ever been used for a payment.
username: Option<Box<String>>
The username for the Alipay account.
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 AlipayAccount
impl Send for AlipayAccount
impl Sync for AlipayAccount
impl Unpin for AlipayAccount
impl UnwindSafe for AlipayAccount
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more