Struct stripe::Mandate[][src]

pub struct Mandate {
    pub id: MandateId,
    pub customer_acceptance: CustomerAcceptance,
    pub livemode: bool,
    pub multi_use: Option<MandateMultiUse>,
    pub payment_method: Expandable<PaymentMethod>,
    pub payment_method_details: MandatePaymentMethodDetails,
    pub single_use: Option<MandateSingleUse>,
    pub status: MandateStatus,
    pub type_: MandateType,
}

The resource representing a Stripe "Mandate".

For more details see https://stripe.com/docs/api/mandates/object.

Fields

id: MandateId

Unique identifier for the object.

customer_acceptance: CustomerAcceptancelivemode: bool

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

multi_use: Option<MandateMultiUse>payment_method: Expandable<PaymentMethod>

ID of the payment method associated with this mandate.

payment_method_details: MandatePaymentMethodDetailssingle_use: Option<MandateSingleUse>status: MandateStatus

The status of the mandate, which indicates whether it can be used to initiate a payment.

type_: MandateType

The type of the mandate.

Implementations

impl Mandate[src]

pub fn retrieve(
    client: &Client,
    id: &MandateId,
    expand: &[&str]
) -> Response<Mandate>
[src]

Retrieves a Mandate object.

Trait Implementations

impl Clone for Mandate[src]

impl Debug for Mandate[src]

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

impl Object for Mandate[src]

type Id = MandateId

The canonical id type for this object.

impl Serialize for Mandate[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> Instrument for T[src]

impl<T> Instrument 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]