pub struct AlipayAccount {
    pub id: AlipayAccountId,
    pub created: Option<Timestamp>,
    pub customer: Option<Expandable<Customer>>,
    pub deleted: bool,
    pub fingerprint: Option<String>,
    pub livemode: Option<bool>,
    pub metadata: Metadata,
    pub payment_amount: Option<i64>,
    pub payment_currency: Option<Currency>,
    pub reusable: Option<bool>,
    pub used: Option<bool>,
    pub username: Option<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<Expandable<Customer>>

The ID of the customer associated with this Alipay Account.

deleted: boolfingerprint: Option<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<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<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<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<bool>

Whether this Alipay account object has ever been used for a payment.

username: Option<String>

The username for the Alipay account.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

The canonical id type for this object.

The id of the object.

The object’s type, typically represented in wire format as the object property.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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