PaymentData constructor

PaymentData({
  1. required String id,
  2. required double amount,
  3. required bool isPartial,
  4. required String currencyCode,
  5. required String countryCode,
  6. required String status,
  7. required PaymentMethodData paymentMethodData,
  8. required PaymentStatusMetadata metadata,
  9. required bool paid,
  10. required int paidAt,
})

Implementation

PaymentData({
  required this.id,
  required this.amount,
  required this.isPartial,
  required this.currencyCode,
  required this.countryCode,
  required this.status,
  required this.paymentMethodData,
  required this.metadata,
  required this.paid,
  required this.paidAt,
});