pub struct UpdateCustomerInvoiceSettingsRenderingOptions {
pub amount_tax_display: Option<UpdateCustomerInvoiceSettingsRenderingOptionsAmountTaxDisplay>,
pub template: Option<String>,
}
Expand description
Default options for invoice PDF rendering for this customer.
Fields§
§amount_tax_display: Option<UpdateCustomerInvoiceSettingsRenderingOptionsAmountTaxDisplay>
How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.
One of exclude_tax
or include_inclusive_tax
.
include_inclusive_tax
will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts.
exclude_tax
will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
template: Option<String>
ID of the invoice rendering template to use for future invoices.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateCustomerInvoiceSettingsRenderingOptions
impl Clone for UpdateCustomerInvoiceSettingsRenderingOptions
Source§fn clone(&self) -> UpdateCustomerInvoiceSettingsRenderingOptions
fn clone(&self) -> UpdateCustomerInvoiceSettingsRenderingOptions
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 UpdateCustomerInvoiceSettingsRenderingOptions
impl RefUnwindSafe for UpdateCustomerInvoiceSettingsRenderingOptions
impl Send for UpdateCustomerInvoiceSettingsRenderingOptions
impl Sync for UpdateCustomerInvoiceSettingsRenderingOptions
impl Unpin for UpdateCustomerInvoiceSettingsRenderingOptions
impl UnwindSafe for UpdateCustomerInvoiceSettingsRenderingOptions
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