PaymentIntentAttachResponse.fromMap constructor
Returns a resposne when you attach a payment intent.
Implementation
factory PaymentIntentAttachResponse.fromMap(Map<String, dynamic> map) {
return PaymentIntentAttachResponse(
id: map['id'] ?? '',
type: map['type'] ?? '',
attributes:
PaymentIntentAttachResponseAttributes.fromMap(map['attributes']),
);
}