PaymentMethodDataFpx constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentMethodDataFpx({
  1. @Default(false) bool testOfflineBank,
  2. BillingDetails? billingDetails,
  3. ShippingDetails? shippingDetails,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentMethodDataFpx({
  /// When set to true you can test offline payment.
  @Default(false) bool testOfflineBank,

  /// Billing information.
  BillingDetails? billingDetails,

  /// Shipping details
  ShippingDetails? shippingDetails,
}) = _PaymentMethodDataFpx;