encode<V> static method

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

Implementation

static V encode<V>(
  PaymentIntentMandateData instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  PaymentIntentCustomerAcceptance.encode(
    instance.customerAcceptance,
    container.nestedSingleValueContainer('customer_acceptance').encoder,
  );
  return container.value;
}