encode<V> static method
Implementation
static V encode<V>(
InvoiceMandateOptions instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.transactionType != null) {
MandateAcssDebitTransactionType.encode(
instance.transactionType!,
container.nestedSingleValueContainer('transaction_type').encoder,
);
}
return container.value;
}