copyWith method

PaymentReceiptTypeRegular copyWith({
  1. int? paymentProviderUserId,
  2. Invoice? invoice,
  3. OrderInfo? orderInfo,
  4. ShippingOption? shippingOption,
  5. String? credentialsTitle,
  6. int? tipAmount,
})

Implementation

PaymentReceiptTypeRegular copyWith({
  int? paymentProviderUserId,
  Invoice? invoice,
  OrderInfo? orderInfo,
  ShippingOption? shippingOption,
  String? credentialsTitle,
  int? tipAmount,
}) => PaymentReceiptTypeRegular(
  paymentProviderUserId: paymentProviderUserId ?? this.paymentProviderUserId,
  invoice: invoice ?? this.invoice,
  orderInfo: orderInfo ?? this.orderInfo,
  shippingOption: shippingOption ?? this.shippingOption,
  credentialsTitle: credentialsTitle ?? this.credentialsTitle,
  tipAmount: tipAmount ?? this.tipAmount,
);