encode<V> static method

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

Implementation

static V encode<V>(
  PaymentIntentAuBecsDebit instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeString(
    'account_number',
    instance.accountNumber,
  );
  container.encodeString(
    'bsb_number',
    instance.bsbNumber,
  );
  return container.value;
}