encode<V> static method
V
encode<V>(
- PaymentIntentMandateDataClientKeyParamCustomerAcceptance instance,
- Encoder<
V> encoder
Implementation
static V encode<V>(
PaymentIntentMandateDataClientKeyParamCustomerAcceptance instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
PaymentIntentMandateDataClientKeyParamCustomerAcceptanceOnline.encode(
instance.online,
container.nestedSingleValueContainer('online').encoder,
);
container.encodeString(
'type',
'online',
);
return container.value;
}