encode<V> static method

V encode<V>(
  1. PaymentIntentAcssDebit instance,
  2. Encoder<V> encoder
)

Implementation

static V encode<V>(
  PaymentIntentAcssDebit instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeString(
    'account_number',
    instance.accountNumber,
  );
  container.encodeString(
    'institution_number',
    instance.institutionNumber,
  );
  container.encodeString(
    'transit_number',
    instance.transitNumber,
  );
  return container.value;
}