pub struct CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions {
pub amount_tax_display: Option<CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptionsAmountTaxDisplay>,
pub template: Option<String>,
}Expand description
Default options for invoice PDF rendering for this customer.
Fields§
§amount_tax_display: Option<CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptionsAmountTaxDisplay>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 this invoice.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
impl Clone for CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
Source§fn clone(
&self,
) -> CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
fn clone( &self, ) -> CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
impl StructuralPartialEq for CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
impl RefUnwindSafe for CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
impl Send for CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
impl Sync for CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
impl Unpin for CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
impl UnsafeUnpin for CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
impl UnwindSafe for CreateCheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
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