pub struct CreateCheckoutSessionSetupIntentData {
pub description: Option<String>,
pub metadata: Metadata,
pub on_behalf_of: Option<String>,
}
Fields§
§description: Option<String>
An arbitrary string attached to the object.
Often useful for displaying to users.
metadata: Metadata
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
Individual keys can be unset by posting an empty value to them.
All keys can be unset by posting an empty value to metadata
.
on_behalf_of: Option<String>
The Stripe account for which the setup is intended.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionSetupIntentData
impl Clone for CreateCheckoutSessionSetupIntentData
source§fn clone(&self) -> CreateCheckoutSessionSetupIntentData
fn clone(&self) -> CreateCheckoutSessionSetupIntentData
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 CreateCheckoutSessionSetupIntentData
impl Default for CreateCheckoutSessionSetupIntentData
source§fn default() -> CreateCheckoutSessionSetupIntentData
fn default() -> CreateCheckoutSessionSetupIntentData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionSetupIntentData
impl<'de> Deserialize<'de> for CreateCheckoutSessionSetupIntentData
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