pub struct PaymentPagesCheckoutSessionCustomText {
pub after_submit: Option<PaymentPagesCheckoutSessionCustomTextPosition>,
pub shipping_address: Option<PaymentPagesCheckoutSessionCustomTextPosition>,
pub submit: Option<PaymentPagesCheckoutSessionCustomTextPosition>,
pub terms_of_service_acceptance: Option<PaymentPagesCheckoutSessionCustomTextPosition>,
}
Fields§
§after_submit: Option<PaymentPagesCheckoutSessionCustomTextPosition>
Custom text that should be displayed after the payment confirmation button.
shipping_address: Option<PaymentPagesCheckoutSessionCustomTextPosition>
Custom text that should be displayed alongside shipping address collection.
submit: Option<PaymentPagesCheckoutSessionCustomTextPosition>
Custom text that should be displayed alongside the payment confirmation button.
terms_of_service_acceptance: Option<PaymentPagesCheckoutSessionCustomTextPosition>
Custom text that should be displayed in place of the default terms of service agreement text.
Trait Implementations§
source§impl Clone for PaymentPagesCheckoutSessionCustomText
impl Clone for PaymentPagesCheckoutSessionCustomText
source§fn clone(&self) -> PaymentPagesCheckoutSessionCustomText
fn clone(&self) -> PaymentPagesCheckoutSessionCustomText
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 PaymentPagesCheckoutSessionCustomText
impl Default for PaymentPagesCheckoutSessionCustomText
source§fn default() -> PaymentPagesCheckoutSessionCustomText
fn default() -> PaymentPagesCheckoutSessionCustomText
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionCustomText
impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionCustomText
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 PaymentPagesCheckoutSessionCustomText
impl RefUnwindSafe for PaymentPagesCheckoutSessionCustomText
impl Send for PaymentPagesCheckoutSessionCustomText
impl Sync for PaymentPagesCheckoutSessionCustomText
impl Unpin for PaymentPagesCheckoutSessionCustomText
impl UnwindSafe for PaymentPagesCheckoutSessionCustomText
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