encode<V> static method
Implementation
static V encode<V>(
PaymentIntentPaymentMethodOptionsCardInstallmentsPlan instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.count != null) {
container.encodeInt(
'count',
instance.count!,
);
}
container.encodeString(
'interval',
'month',
);
container.encodeString(
'type',
'fixed_count',
);
return container.value;
}