Struct stripe::CancelPaymentIntent
source · pub struct CancelPaymentIntent {
pub cancellation_reason: Option<PaymentIntentCancellationReason>,
}
Expand description
The set of parameters that can be used when canceling a payment_intent object.
For more details see https://stripe.com/docs/api/payment_intents/cancel
Fields§
§cancellation_reason: Option<PaymentIntentCancellationReason>
Trait Implementations§
source§impl Clone for CancelPaymentIntent
impl Clone for CancelPaymentIntent
source§fn clone(&self) -> CancelPaymentIntent
fn clone(&self) -> CancelPaymentIntent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CancelPaymentIntent
impl Debug for CancelPaymentIntent
source§impl Default for CancelPaymentIntent
impl Default for CancelPaymentIntent
source§fn default() -> CancelPaymentIntent
fn default() -> CancelPaymentIntent
Returns the “default value” for a type. Read more