PaymentIntentAttachResponseAttributes constructor

const PaymentIntentAttachResponseAttributes({
  1. required int amount,
  2. required String currency,
  3. required String description,
  4. required String statementDescriptor,
  5. required String status,
  6. required bool livemode,
  7. required String clientKey,
  8. required DateTime createdAt,
  9. required DateTime updatedAt,
  10. required String lastPaymentError,
  11. required List<String> paymentMethodAllowed,
  12. required List<CreatePaymentResponse> payments,
  13. required PaymentMethodOptions paymentMethodOptions,
  14. PaymentIntentNextAction? nextAction,
  15. Map<String, dynamic>? metadata,
})

Response from payment intent attach

Implementation

const PaymentIntentAttachResponseAttributes({
  required this.amount,
  required this.currency,
  required this.description,
  required this.statementDescriptor,
  required this.status,
  required this.livemode,
  required this.clientKey,
  required this.createdAt,
  required this.updatedAt,
  required this.lastPaymentError,
  required this.paymentMethodAllowed,
  required this.payments,
  required this.paymentMethodOptions,
  this.nextAction,
  this.metadata,
});