encode<V> static method
Implementation
static V encode<V>(
PaymentIntentCartesBancaires instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeString(
'cb_avalgo',
instance.cbAvalgo,
);
if (instance.cbExemption != null) {
container.encodeString(
'cb_exemption',
instance.cbExemption!,
);
}
if (instance.cbScore != null) {
container.encodeInt(
'cb_score',
instance.cbScore!,
);
}
return container.value;
}