encode<V> static method
Implementation
static V encode<V>(
PaymentPagesCheckoutSessionCurrencyConversion instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeInt(
'amount_subtotal',
instance.amountSubtotal,
);
container.encodeInt(
'amount_total',
instance.amountTotal,
);
container.encodeString(
'fx_rate',
instance.fxRate,
);
container.encodeString(
'source_currency',
instance.sourceCurrency,
);
return container.value;
}