pub struct CreateCustomerInvoiceSettings {
pub custom_fields: Option<Vec<CustomFieldParams>>,
pub default_payment_method: Option<String>,
pub footer: Option<String>,
pub rendering_options: Option<CreateCustomerInvoiceSettingsRenderingOptions>,
}
Expand description
Default invoice settings for this customer.
Fields§
§custom_fields: Option<Vec<CustomFieldParams>>
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<CreateCustomerInvoiceSettingsRenderingOptions>
Default options for invoice PDF rendering for this customer.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCustomerInvoiceSettings
impl Clone for CreateCustomerInvoiceSettings
Source§fn clone(&self) -> CreateCustomerInvoiceSettings
fn clone(&self) -> CreateCustomerInvoiceSettings
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CreateCustomerInvoiceSettings
impl RefUnwindSafe for CreateCustomerInvoiceSettings
impl Send for CreateCustomerInvoiceSettings
impl Sync for CreateCustomerInvoiceSettings
impl Unpin for CreateCustomerInvoiceSettings
impl UnwindSafe for CreateCustomerInvoiceSettings
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