Struct stripe::CreateInvoiceRenderingOptions
source · pub struct CreateInvoiceRenderingOptions {
pub amount_tax_display: Option<CreateInvoiceRenderingOptionsAmountTaxDisplay>,
}
Fields§
§amount_tax_display: Option<CreateInvoiceRenderingOptionsAmountTaxDisplay>
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.
Trait Implementations§
source§impl Clone for CreateInvoiceRenderingOptions
impl Clone for CreateInvoiceRenderingOptions
source§fn clone(&self) -> CreateInvoiceRenderingOptions
fn clone(&self) -> CreateInvoiceRenderingOptions
Returns a copy 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 Default for CreateInvoiceRenderingOptions
impl Default for CreateInvoiceRenderingOptions
source§fn default() -> CreateInvoiceRenderingOptions
fn default() -> CreateInvoiceRenderingOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateInvoiceRenderingOptions
impl<'de> Deserialize<'de> for CreateInvoiceRenderingOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more