pub struct UpdateCustomerInvoiceSettings {
pub custom_fields: Option<Vec<CustomFieldParams>>,
pub default_payment_method: Option<String>,
pub footer: Option<String>,
pub rendering_options: Option<UpdateCustomerInvoiceSettingsRenderingOptions>,
}
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<UpdateCustomerInvoiceSettingsRenderingOptions>
Default options for invoice PDF rendering for this customer.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateCustomerInvoiceSettings
impl Clone for UpdateCustomerInvoiceSettings
Source§fn clone(&self) -> UpdateCustomerInvoiceSettings
fn clone(&self) -> UpdateCustomerInvoiceSettings
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 UpdateCustomerInvoiceSettings
impl RefUnwindSafe for UpdateCustomerInvoiceSettings
impl Send for UpdateCustomerInvoiceSettings
impl Sync for UpdateCustomerInvoiceSettings
impl Unpin for UpdateCustomerInvoiceSettings
impl UnwindSafe for UpdateCustomerInvoiceSettings
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