Struct stripe::generated::checkout::checkout_session::PaymentPagesCheckoutSessionCustomFields
source · pub struct PaymentPagesCheckoutSessionCustomFields {
pub dropdown: Option<PaymentPagesCheckoutSessionCustomFieldsDropdown>,
pub key: String,
pub label: PaymentPagesCheckoutSessionCustomFieldsLabel,
pub numeric: Option<PaymentPagesCheckoutSessionCustomFieldsNumeric>,
pub optional: bool,
pub text: Option<PaymentPagesCheckoutSessionCustomFieldsText>,
pub type_: PaymentPagesCheckoutSessionCustomFieldsType,
}
Fields§
§dropdown: Option<PaymentPagesCheckoutSessionCustomFieldsDropdown>
§key: String
String of your choice that your integration can use to reconcile this field.
Must be unique to this field, alphanumeric, and up to 200 characters.
label: PaymentPagesCheckoutSessionCustomFieldsLabel
§numeric: Option<PaymentPagesCheckoutSessionCustomFieldsNumeric>
§optional: bool
Whether the customer is required to complete the field before completing the Checkout Session.
Defaults to false
.
text: Option<PaymentPagesCheckoutSessionCustomFieldsText>
§type_: PaymentPagesCheckoutSessionCustomFieldsType
The type of the field.
Trait Implementations§
source§impl Clone for PaymentPagesCheckoutSessionCustomFields
impl Clone for PaymentPagesCheckoutSessionCustomFields
source§fn clone(&self) -> PaymentPagesCheckoutSessionCustomFields
fn clone(&self) -> PaymentPagesCheckoutSessionCustomFields
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 PaymentPagesCheckoutSessionCustomFields
impl Default for PaymentPagesCheckoutSessionCustomFields
source§fn default() -> PaymentPagesCheckoutSessionCustomFields
fn default() -> PaymentPagesCheckoutSessionCustomFields
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionCustomFields
impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionCustomFields
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 RefUnwindSafe for PaymentPagesCheckoutSessionCustomFields
impl Send for PaymentPagesCheckoutSessionCustomFields
impl Sync for PaymentPagesCheckoutSessionCustomFields
impl Unpin for PaymentPagesCheckoutSessionCustomFields
impl UnwindSafe for PaymentPagesCheckoutSessionCustomFields
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