pub struct CreateCustomerInvoiceSettingsRenderingOptions {
pub amount_tax_display: Option<CreateCustomerInvoiceSettingsRenderingOptionsAmountTaxDisplay>,
pub template: Option<String>,
}
Expand description
Default options for invoice PDF rendering for this customer.
Fields§
§amount_tax_display: Option<CreateCustomerInvoiceSettingsRenderingOptionsAmountTaxDisplay>
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 CreateCustomerInvoiceSettingsRenderingOptions
impl Clone for CreateCustomerInvoiceSettingsRenderingOptions
Source§fn clone(&self) -> CreateCustomerInvoiceSettingsRenderingOptions
fn clone(&self) -> CreateCustomerInvoiceSettingsRenderingOptions
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 CreateCustomerInvoiceSettingsRenderingOptions
impl RefUnwindSafe for CreateCustomerInvoiceSettingsRenderingOptions
impl Send for CreateCustomerInvoiceSettingsRenderingOptions
impl Sync for CreateCustomerInvoiceSettingsRenderingOptions
impl Unpin for CreateCustomerInvoiceSettingsRenderingOptions
impl UnwindSafe for CreateCustomerInvoiceSettingsRenderingOptions
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