encode<V> static method

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

Implementation

static V encode<V>(
  PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceMulticapture
      instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesIncrementalAuthorizationIncrementalAuthorizationStatus
      .encode(
    instance.status,
    container.nestedSingleValueContainer('status').encoder,
  );
  return container.value;
}