copyWith method
PaymentIntentResponse
copyWith({
- String? id,
- String? type,
- PaymentIntentResponseAttributes? attributes,
Implementation
PaymentIntentResponse copyWith({
String? id,
String? type,
PaymentIntentResponseAttributes? attributes,
}) {
return PaymentIntentResponse(
id: id ?? this.id,
type: type ?? this.type,
attributes: attributes ?? this.attributes,
);
}