pub struct UpdateInvoiceRendering {
pub amount_tax_display: Option<UpdateInvoiceRenderingAmountTaxDisplay>,
pub pdf: Option<UpdateInvoiceRenderingPdf>,
pub template: Option<String>,
pub template_version: Option<i64>,
}
Expand description
The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.
Fields§
§amount_tax_display: Option<UpdateInvoiceRenderingAmountTaxDisplay>
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.
pdf: Option<UpdateInvoiceRenderingPdf>
Invoice pdf rendering options
template: Option<String>
ID of the invoice rendering template to use for this invoice.
template_version: Option<i64>
The specific version of invoice rendering template to use for this invoice.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateInvoiceRendering
impl Clone for UpdateInvoiceRendering
Source§fn clone(&self) -> UpdateInvoiceRendering
fn clone(&self) -> UpdateInvoiceRendering
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 Debug for UpdateInvoiceRendering
impl Debug for UpdateInvoiceRendering
Source§impl Default for UpdateInvoiceRendering
impl Default for UpdateInvoiceRendering
Auto Trait Implementations§
impl Freeze for UpdateInvoiceRendering
impl RefUnwindSafe for UpdateInvoiceRendering
impl Send for UpdateInvoiceRendering
impl Sync for UpdateInvoiceRendering
impl Unpin for UpdateInvoiceRendering
impl UnwindSafe for UpdateInvoiceRendering
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