PaymentLinksResourcePaymentMethodReuseAgreement.fromJson constructor

PaymentLinksResourcePaymentMethodReuseAgreement.fromJson(
  1. Object? json
)

Implementation

factory PaymentLinksResourcePaymentMethodReuseAgreement.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentLinksResourcePaymentMethodReuseAgreement(
      position:
          CheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition
              .fromJson(map['position']));
}