PlatformPayPaymentMethod constructor

  1. @JsonSerializable(explicitToJson: true)
const PlatformPayPaymentMethod({
  1. required PaymentMethod paymentMethod,
  2. PlatformPayShippingContact? shippingContact,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PlatformPayPaymentMethod({
  /// The payment method
  required PaymentMethod paymentMethod,

  /// shipping contact of the user
  PlatformPayShippingContact? shippingContact,
}) = _PlatformPayPaymentMethod;