encode<V> static method
V
encode<V>(
- PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesOvercaptureOvercapture instance,
- Encoder<
V> encoder
Implementation
static V encode<V>(
PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesOvercaptureOvercapture
instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeInt(
'maximum_amount_capturable',
instance.maximumAmountCapturable,
);
PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesIncrementalAuthorizationIncrementalAuthorizationStatus
.encode(
instance.status,
container.nestedSingleValueContainer('status').encoder,
);
return container.value;
}