pub struct InvoiceSettingCustomerSetting {
pub custom_fields: Option<Vec<InvoiceSettingCustomField>>,
pub default_payment_method: Option<Expandable<PaymentMethod>>,
pub footer: Option<String>,
pub rendering_options: Option<InvoiceSettingCustomerRenderingOptions>,
}
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<InvoiceSettingCustomerRenderingOptions>
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 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 moreSource§impl FromValueOpt for InvoiceSettingCustomerSetting
impl FromValueOpt for InvoiceSettingCustomerSetting
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for InvoiceSettingCustomerSetting
impl RefUnwindSafe for InvoiceSettingCustomerSetting
impl Send for InvoiceSettingCustomerSetting
impl Sync for InvoiceSettingCustomerSetting
impl Unpin for InvoiceSettingCustomerSetting
impl UnwindSafe for InvoiceSettingCustomerSetting
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