encode<V> static method
Implementation
static V encode<V>(
TreasuryOutboundPaymentsResourceReturnedStatus instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
TreasuryOutboundPaymentReturnedDetailsCode.encode(
instance.code,
container.nestedSingleValueContainer('code').encoder,
);
TreasuryTransactionOrId.encode(
instance.transaction,
container.nestedSingleValueContainer('transaction').encoder,
);
return container.value;
}