paymentMethod property

  1. @JsonKey(name: "payment_method")
  2. @CardPaymentMethodRefConverter()
PaymentMethodRef<CardPaymentMethodDetails>? paymentMethod
inherited

Either the id of an existing PaymentMethod, or an object containing data to create a PaymentMethod with. See the use case sections below for details.

Implementation

@JsonKey(name: "payment_method")
@CardPaymentMethodRefConverter()
PaymentMethodRef<CardPaymentMethodDetails>? get paymentMethod =>
    throw _privateConstructorUsedError;