pub struct PaymentPagesCheckoutSessionCurrencyConversion {
pub amount_subtotal: i64,
pub amount_total: i64,
pub fx_rate: String,
pub source_currency: Currency,
}
Fields§
§amount_subtotal: i64
Total of all items in source currency before discounts or taxes are applied.
amount_total: i64
Total of all items in source currency after discounts and taxes are applied.
fx_rate: String
Exchange rate used to convert source currency amounts to customer currency amounts
source_currency: Currency
Creation 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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionCurrencyConversion
impl RefUnwindSafe for PaymentPagesCheckoutSessionCurrencyConversion
impl Send for PaymentPagesCheckoutSessionCurrencyConversion
impl Sync for PaymentPagesCheckoutSessionCurrencyConversion
impl Unpin 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