Struct stripe::CustomerInvoiceSettings
source · pub struct CustomerInvoiceSettings {
pub custom_fields: Option<Vec<CustomerInvoiceSettingsCustomFields>>,
pub default_payment_method: Option<String>,
pub footer: Option<String>,
pub rendering_options: Option<CustomerInvoiceSettingsRenderingOptions>,
}
Fields§
§custom_fields: Option<Vec<CustomerInvoiceSettingsCustomFields>>
The list of up to 4 default custom fields to be displayed on invoices for this customer.
When updating, pass an empty string to remove previously-defined fields.
default_payment_method: Option<String>
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<CustomerInvoiceSettingsRenderingOptions>
Default options for invoice PDF rendering for this customer.
Trait Implementations§
source§impl Clone for CustomerInvoiceSettings
impl Clone for CustomerInvoiceSettings
source§fn clone(&self) -> CustomerInvoiceSettings
fn clone(&self) -> CustomerInvoiceSettings
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 Debug for CustomerInvoiceSettings
impl Debug for CustomerInvoiceSettings
source§impl Default for CustomerInvoiceSettings
impl Default for CustomerInvoiceSettings
source§fn default() -> CustomerInvoiceSettings
fn default() -> CustomerInvoiceSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CustomerInvoiceSettings
impl<'de> Deserialize<'de> for CustomerInvoiceSettings
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 Freeze for CustomerInvoiceSettings
impl RefUnwindSafe for CustomerInvoiceSettings
impl Send for CustomerInvoiceSettings
impl Sync for CustomerInvoiceSettings
impl Unpin for CustomerInvoiceSettings
impl UnwindSafe for CustomerInvoiceSettings
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