encode<V> static method
Implementation
static V encode<V>(
SetupIntentNextActionVerifyWithMicrodeposits instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeDateTime(
'arrival_date',
instance.arrivalDate,
);
container.encodeString(
'hosted_verification_url',
instance.hostedVerificationUrl,
);
if (instance.microdepositType != null) {
PaymentIntentNextActionVerifyWithMicrodepositsMicrodepositType.encode(
instance.microdepositType!,
container.nestedSingleValueContainer('microdeposit_type').encoder,
);
}
return container.value;
}