Struct stripe::PaymentPagesCheckoutSessionAfterExpirationRecovery [−][src]
pub struct PaymentPagesCheckoutSessionAfterExpirationRecovery {
pub allow_promotion_codes: bool,
pub enabled: bool,
pub expires_at: Option<Box<Timestamp>>,
pub url: Option<Box<String>>,
}
Fields
allow_promotion_codes: bool
Enables user redeemable promotion codes on the recovered Checkout Sessions.
Defaults to false
.
enabled: bool
If true
, a recovery url will be generated to recover this Checkout Session if it
expires before a transaction is completed.
It will be attached to the Checkout Session object upon expiration.
expires_at: Option<Box<Timestamp>>
The timestamp at which the recovery URL will expire.
url: Option<Box<String>>
URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session.
Trait Implementations
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
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more