supportedPaymentTypes property

List<PaymentMethodType> supportedPaymentTypes

Implementation

List<PaymentMethodType> get supportedPaymentTypes {
  return supportedPaymentMethods == null
      ? [PaymentMethodType.credit]
      : supportedPaymentMethods;
}
void supportedPaymentTypes=(List<PaymentMethodType> methods)

Implementation

set supportedPaymentTypes(List<PaymentMethodType> methods) {
  if (methods != null) {
    supportedPaymentMethods = methods;
  }
}