pub struct PaymentLinksResourceConsentCollection {
pub payment_method_reuse_agreement: Option<PaymentLinksResourcePaymentMethodReuseAgreement>,
pub promotions: Option<PaymentLinksResourceConsentCollectionPromotions>,
pub terms_of_service: Option<PaymentLinksResourceConsentCollectionTermsOfService>,
}
Fields§
§payment_method_reuse_agreement: Option<PaymentLinksResourcePaymentMethodReuseAgreement>
Settings related to the payment method reuse text shown in the Checkout UI.
promotions: Option<PaymentLinksResourceConsentCollectionPromotions>
If set to auto
, enables the collection of customer consent for promotional communications.
terms_of_service: Option<PaymentLinksResourceConsentCollectionTermsOfService>
If set to required
, it requires cutomers to accept the terms of service before being able to pay.
If set to none
, customers won’t be shown a checkbox to accept the terms of service.
Trait Implementations§
Source§impl Clone for PaymentLinksResourceConsentCollection
impl Clone for PaymentLinksResourceConsentCollection
Source§fn clone(&self) -> PaymentLinksResourceConsentCollection
fn clone(&self) -> PaymentLinksResourceConsentCollection
Returns a duplicate 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 FromValueOpt for PaymentLinksResourceConsentCollection
impl FromValueOpt for PaymentLinksResourceConsentCollection
fn from_value(v: Value) -> Option<Self>
impl Copy for PaymentLinksResourceConsentCollection
Auto Trait Implementations§
impl Freeze for PaymentLinksResourceConsentCollection
impl RefUnwindSafe for PaymentLinksResourceConsentCollection
impl Send for PaymentLinksResourceConsentCollection
impl Sync for PaymentLinksResourceConsentCollection
impl Unpin for PaymentLinksResourceConsentCollection
impl UnwindSafe for PaymentLinksResourceConsentCollection
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