copyWith method

PaymentIntentAttach copyWith({
  1. String? paymentMethod,
  2. String? clientKey,
  3. String? returnUrl,
})

Implementation

PaymentIntentAttach copyWith({
  String? paymentMethod,
  String? clientKey,
  String? returnUrl,
}) {
  return PaymentIntentAttach(
    paymentMethod: paymentMethod ?? this.paymentMethod,
    clientKey: clientKey ?? this.clientKey,
    returnUrl: returnUrl ?? this.returnUrl,
  );
}