PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesOvercaptureOvercapture.fromJson constructor

PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesOvercaptureOvercapture.fromJson(
  1. Object? json
)

Implementation

factory PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesOvercaptureOvercapture.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesOvercaptureOvercapture(
    maximumAmountCapturable:
        (map['maximum_amount_capturable'] as num).toInt(),
    status:
        PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesIncrementalAuthorizationIncrementalAuthorizationStatus
            .fromJson(map['status']),
  );
}