Struct stripe::CreatePaymentLinkAfterCompletion
source · pub struct CreatePaymentLinkAfterCompletion {
pub hosted_confirmation: Option<CreatePaymentLinkAfterCompletionHostedConfirmation>,
pub redirect: Option<CreatePaymentLinkAfterCompletionRedirect>,
pub type_: CreatePaymentLinkAfterCompletionType,
}
Fields§
§hosted_confirmation: Option<CreatePaymentLinkAfterCompletionHostedConfirmation>
Configuration when type=hosted_confirmation
.
redirect: Option<CreatePaymentLinkAfterCompletionRedirect>
Configuration when type=redirect
.
type_: CreatePaymentLinkAfterCompletionType
The specified behavior after the purchase is complete.
Either redirect
or hosted_confirmation
.
Trait Implementations§
source§impl Clone for CreatePaymentLinkAfterCompletion
impl Clone for CreatePaymentLinkAfterCompletion
source§fn clone(&self) -> CreatePaymentLinkAfterCompletion
fn clone(&self) -> CreatePaymentLinkAfterCompletion
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 Default for CreatePaymentLinkAfterCompletion
impl Default for CreatePaymentLinkAfterCompletion
source§fn default() -> CreatePaymentLinkAfterCompletion
fn default() -> CreatePaymentLinkAfterCompletion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreatePaymentLinkAfterCompletion
impl<'de> Deserialize<'de> for CreatePaymentLinkAfterCompletion
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