Struct stripe::InvoiceSettingCustomerSetting
source · pub struct InvoiceSettingCustomerSetting {
pub custom_fields: Option<Vec<InvoiceSettingCustomField>>,
pub default_payment_method: Option<Expandable<PaymentMethod>>,
pub footer: Option<String>,
pub rendering_options: Option<InvoiceSettingRenderingOptions>,
}
Fields§
§custom_fields: Option<Vec<InvoiceSettingCustomField>>
Default custom fields to be displayed on invoices for this customer.
default_payment_method: Option<Expandable<PaymentMethod>>
ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for subscriptions and invoices.
Default footer to be displayed on invoices for this customer.
rendering_options: Option<InvoiceSettingRenderingOptions>
Default options for invoice PDF rendering for this customer.
Trait Implementations§
source§impl Clone for InvoiceSettingCustomerSetting
impl Clone for InvoiceSettingCustomerSetting
source§fn clone(&self) -> InvoiceSettingCustomerSetting
fn clone(&self) -> InvoiceSettingCustomerSetting
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 InvoiceSettingCustomerSetting
impl Default for InvoiceSettingCustomerSetting
source§fn default() -> InvoiceSettingCustomerSetting
fn default() -> InvoiceSettingCustomerSetting
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InvoiceSettingCustomerSetting
impl<'de> Deserialize<'de> for InvoiceSettingCustomerSetting
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