pub struct CreateInvoiceRendering {
pub amount_tax_display: Option<CreateInvoiceRenderingAmountTaxDisplay>,
pub pdf: Option<CreateInvoiceRenderingPdf>,
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<CreateInvoiceRenderingAmountTaxDisplay>
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<CreateInvoiceRenderingPdf>
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 CreateInvoiceRendering
impl Clone for CreateInvoiceRendering
Source§fn clone(&self) -> CreateInvoiceRendering
fn clone(&self) -> CreateInvoiceRendering
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 CreateInvoiceRendering
impl Debug for CreateInvoiceRendering
Source§impl Default for CreateInvoiceRendering
impl Default for CreateInvoiceRendering
Auto Trait Implementations§
impl Freeze for CreateInvoiceRendering
impl RefUnwindSafe for CreateInvoiceRendering
impl Send for CreateInvoiceRendering
impl Sync for CreateInvoiceRendering
impl Unpin for CreateInvoiceRendering
impl UnwindSafe for CreateInvoiceRendering
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