Struct stripe::AlipayAccount
source · [−]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: bool
fingerprint: 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
sourceimpl Clone for AlipayAccount
impl Clone for AlipayAccount
sourcefn clone(&self) -> AlipayAccount
fn clone(&self) -> AlipayAccount
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AlipayAccount
impl Debug for AlipayAccount
sourceimpl Default for AlipayAccount
impl Default for AlipayAccount
sourcefn default() -> AlipayAccount
fn default() -> AlipayAccount
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AlipayAccount
impl<'de> Deserialize<'de> for AlipayAccount
sourcefn 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
sourceimpl Object for AlipayAccount
impl Object for AlipayAccount
sourceimpl Serialize for AlipayAccount
impl Serialize for AlipayAccount
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more