Struct stripe::generated::checkout::payment_link::UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
source · pub struct UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions {
pub amount_tax_display: Option<UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptionsAmountTaxDisplay>,
}
Fields§
§amount_tax_display: Option<UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptionsAmountTaxDisplay>
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 UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
impl Clone for UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
source§fn clone(&self) -> UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
fn clone(&self) -> UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
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 UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
impl Default for UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
source§fn default() -> UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
fn default() -> UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
impl<'de> Deserialize<'de> for UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
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
Auto Trait Implementations§
impl RefUnwindSafe for UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
impl Send for UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
impl Sync for UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
impl Unpin for UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
impl UnwindSafe for UpdatePaymentLinkInvoiceCreationInvoiceDataRenderingOptions
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