pub struct PaymentPagesCheckoutSessionCurrencyConversion {
pub amount_subtotal: i64,
pub amount_total: i64,
pub fx_rate: String,
pub source_currency: Currency,
}Fields§
§amount_subtotal: i64Total of all items in source currency before discounts or taxes are applied.
amount_total: i64Total of all items in source currency after discounts and taxes are applied.
fx_rate: StringExchange rate used to convert source currency amounts to customer currency amounts
source_currency: CurrencyCreation currency of the CheckoutSession before localization
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionCurrencyConversion
impl Clone for PaymentPagesCheckoutSessionCurrencyConversion
Source§fn clone(&self) -> PaymentPagesCheckoutSessionCurrencyConversion
fn clone(&self) -> PaymentPagesCheckoutSessionCurrencyConversion
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 moreSource§impl FromValueOpt for PaymentPagesCheckoutSessionCurrencyConversion
impl FromValueOpt for PaymentPagesCheckoutSessionCurrencyConversion
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentPagesCheckoutSessionCurrencyConversion
impl PartialEq for PaymentPagesCheckoutSessionCurrencyConversion
Source§fn eq(&self, other: &PaymentPagesCheckoutSessionCurrencyConversion) -> bool
fn eq(&self, other: &PaymentPagesCheckoutSessionCurrencyConversion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentPagesCheckoutSessionCurrencyConversion
impl StructuralPartialEq for PaymentPagesCheckoutSessionCurrencyConversion
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionCurrencyConversion
impl RefUnwindSafe for PaymentPagesCheckoutSessionCurrencyConversion
impl Send for PaymentPagesCheckoutSessionCurrencyConversion
impl Sync for PaymentPagesCheckoutSessionCurrencyConversion
impl Unpin for PaymentPagesCheckoutSessionCurrencyConversion
impl UnsafeUnpin for PaymentPagesCheckoutSessionCurrencyConversion
impl UnwindSafe for PaymentPagesCheckoutSessionCurrencyConversion
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