copyWith method
PaymentIntentAttachResponse
copyWith({
- String? id,
- String? type,
- PaymentIntentAttachResponseAttributes? attributes,
Returns a resposne when you attach a payment intent.
Implementation
PaymentIntentAttachResponse copyWith({
String? id,
String? type,
PaymentIntentAttachResponseAttributes? attributes,
}) {
return PaymentIntentAttachResponse(
id: id ?? this.id,
type: type ?? this.type,
attributes: attributes ?? this.attributes,
);
}