encode<V> static method
Implementation
static V encode<V>(
TreasuryReceivedDebitsResourceLinkedFlows instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.debitReversal != null) {
container.encodeString(
'debit_reversal',
instance.debitReversal!,
);
}
if (instance.inboundTransfer != null) {
container.encodeString(
'inbound_transfer',
instance.inboundTransfer!,
);
}
if (instance.issuingAuthorization != null) {
container.encodeString(
'issuing_authorization',
instance.issuingAuthorization!,
);
}
if (instance.issuingTransaction != null) {
container.encodeString(
'issuing_transaction',
instance.issuingTransaction!,
);
}
if (instance.payout != null) {
container.encodeString(
'payout',
instance.payout!,
);
}
return container.value;
}