encode<V> static method

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

Implementation

static V encode<V>(
  AccountDeclineChargeOn instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeBool(
    'avs_failure',
    instance.avsFailure,
  );
  container.encodeBool(
    'cvc_failure',
    instance.cvcFailure,
  );
  return container.value;
}