pub struct CreateCheckoutSessionCustomText {
pub after_submit: Option<CustomTextPositionParam>,
pub shipping_address: Option<CustomTextPositionParam>,
pub submit: Option<CustomTextPositionParam>,
pub terms_of_service_acceptance: Option<CustomTextPositionParam>,
}Expand description
Display additional text for your customers using custom text.
You can’t set this parameter if ui_mode is custom.
Fields§
§after_submit: Option<CustomTextPositionParam>Custom text that should be displayed after the payment confirmation button.
shipping_address: Option<CustomTextPositionParam>Custom text that should be displayed alongside shipping address collection.
submit: Option<CustomTextPositionParam>Custom text that should be displayed alongside the payment confirmation button.
terms_of_service_acceptance: Option<CustomTextPositionParam>Custom text that should be displayed in place of the default terms of service agreement text.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionCustomText
impl Clone for CreateCheckoutSessionCustomText
Source§fn clone(&self) -> CreateCheckoutSessionCustomText
fn clone(&self) -> CreateCheckoutSessionCustomText
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for CreateCheckoutSessionCustomText
impl StructuralPartialEq for CreateCheckoutSessionCustomText
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionCustomText
impl RefUnwindSafe for CreateCheckoutSessionCustomText
impl Send for CreateCheckoutSessionCustomText
impl Sync for CreateCheckoutSessionCustomText
impl Unpin for CreateCheckoutSessionCustomText
impl UnsafeUnpin 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