pub struct PaymentLinksResourceConsentCollection {
pub promotions: Option<PaymentLinksResourceConsentCollectionPromotions>,
pub terms_of_service: Option<PaymentLinksResourceConsentCollectionTermsOfService>,
}
Fields§
§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 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 PaymentLinksResourceConsentCollection
impl Default for PaymentLinksResourceConsentCollection
source§fn default() -> PaymentLinksResourceConsentCollection
fn default() -> PaymentLinksResourceConsentCollection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentLinksResourceConsentCollection
impl<'de> Deserialize<'de> for PaymentLinksResourceConsentCollection
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