Struct stripe::CreateCheckoutSessionCustomText
source · pub struct CreateCheckoutSessionCustomText {
pub after_submit: Option<CreateCheckoutSessionCustomTextAfterSubmit>,
pub shipping_address: Option<CreateCheckoutSessionCustomTextShippingAddress>,
pub submit: Option<CreateCheckoutSessionCustomTextSubmit>,
pub terms_of_service_acceptance: Option<CreateCheckoutSessionCustomTextTermsOfServiceAcceptance>,
}
Fields§
§after_submit: Option<CreateCheckoutSessionCustomTextAfterSubmit>
Custom text that should be displayed after the payment confirmation button.
shipping_address: Option<CreateCheckoutSessionCustomTextShippingAddress>
Custom text that should be displayed alongside shipping address collection.
submit: Option<CreateCheckoutSessionCustomTextSubmit>
Custom text that should be displayed alongside the payment confirmation button.
terms_of_service_acceptance: Option<CreateCheckoutSessionCustomTextTermsOfServiceAcceptance>
Custom text that should be displayed in place of the default terms of service agreement text.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionCustomText
impl Clone for CreateCheckoutSessionCustomText
source§fn clone(&self) -> CreateCheckoutSessionCustomText
fn clone(&self) -> CreateCheckoutSessionCustomText
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 CreateCheckoutSessionCustomText
impl Default for CreateCheckoutSessionCustomText
source§fn default() -> CreateCheckoutSessionCustomText
fn default() -> CreateCheckoutSessionCustomText
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionCustomText
impl<'de> Deserialize<'de> for CreateCheckoutSessionCustomText
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
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionCustomText
impl RefUnwindSafe for CreateCheckoutSessionCustomText
impl Send for CreateCheckoutSessionCustomText
impl Sync for CreateCheckoutSessionCustomText
impl Unpin for CreateCheckoutSessionCustomText
impl UnwindSafe for CreateCheckoutSessionCustomText
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more