copyWith method

PaymentIntentResponse copyWith({
  1. String? id,
  2. String? type,
  3. 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,
  );
}