InvoiceAcssDebit.fromJson constructor

InvoiceAcssDebit.fromJson(
  1. Object? json
)

Implementation

factory InvoiceAcssDebit.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return InvoiceAcssDebit(
    mandateOptions: map['mandate_options'] == null
        ? null
        : InvoiceMandateOptions.fromJson(map['mandate_options']),
    verificationMethod: map['verification_method'] == null
        ? null
        : CheckoutAcssDebitPaymentMethodOptionsVerificationMethod.fromJson(
            map['verification_method']),
  );
}