[][src]Struct stripe::AlipayAccount

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>,
}

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>>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

impl Clone for AlipayAccount[src]

impl Debug for AlipayAccount[src]

impl<'de> Deserialize<'de> for AlipayAccount[src]

impl Object for AlipayAccount[src]

type Id = AlipayAccountId

The canonical id type for this object.

impl Serialize for AlipayAccount[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.