encode<V> static method
Implementation
static V encode<V>(
PaymentIntentCardPresent instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.requestExtendedAuthorization != null) {
container.encodeBool(
'request_extended_authorization',
instance.requestExtendedAuthorization!,
);
}
if (instance.requestIncrementalAuthorizationSupport != null) {
container.encodeBool(
'request_incremental_authorization_support',
instance.requestIncrementalAuthorizationSupport!,
);
}
return container.value;
}