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,
}
Expand description
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: CustomerAcceptance
§livemode: 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: MandatePaymentMethodDetails
§single_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§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mandate
impl<'de> Deserialize<'de> for Mandate
source§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