encode<V> static method
Implementation
static V encode<V>(
PaymentIntentFpx instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.accountHolderType != null) {
IssuingCardholderType.encode(
instance.accountHolderType!,
container.nestedSingleValueContainer('account_holder_type').encoder,
);
}
PaymentMethodDetailsFpxBank.encode(
instance.bank,
container.nestedSingleValueContainer('bank').encoder,
);
return container.value;
}