copyWith method

WebApiModulesPluginsCreditCardProcessCreditCardInfo copyWith({
  1. String? recordTitle,
  2. String? orderId,
  3. String? orderNumber,
  4. String? orderDescription,
  5. String? orderStatus,
  6. String? dealId,
  7. String? dealNumber,
  8. String? deal,
  9. String? customerId,
  10. String? customerNumber,
  11. String? customer,
  12. double? totalsWeeklyGrossTotal,
  13. double? totalsWeeklyDiscount,
  14. double? totalsWeeklySubTotal,
  15. double? totalsWeeklyTax,
  16. double? totalsWeeklyGrandTotal,
  17. double? totalsPeriodGrossTotal,
  18. double? totalsPeriodDiscount,
  19. double? totalsPeriodSubTotal,
  20. double? totalsPeriodTax,
  21. double? totalsPeriodGrandTotal,
  22. double? totalsReplacementReplacementCost,
  23. double? totalsReplacementDepositPercentage,
  24. double? totalsReplacementDepositDue,
  25. double? totalsReplacementPreAuthorizationRequiredAmount,
  26. double? totalsReplacementPreAuthorizationCurrentTotal,
  27. double? totalsReplacementPreAuthorizationAmountDue,
  28. double? paymentTotalAmount,
  29. double? paymentAmountToPay,
  30. String? pINPadCode,
  31. String? pINPadDescription,
  32. String? locationCode,
  33. String? agentBarcode,
  34. String? currencyId,
  35. String? currencyCode,
  36. String? locationId,
  37. String? auditNote,
  38. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  39. List<FwStandardDataFwCustomValue>? custom,
  40. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  41. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesPluginsCreditCardProcessCreditCardInfo copyWith(
    {String? recordTitle,
    String? orderId,
    String? orderNumber,
    String? orderDescription,
    String? orderStatus,
    String? dealId,
    String? dealNumber,
    String? deal,
    String? customerId,
    String? customerNumber,
    String? customer,
    double? totalsWeeklyGrossTotal,
    double? totalsWeeklyDiscount,
    double? totalsWeeklySubTotal,
    double? totalsWeeklyTax,
    double? totalsWeeklyGrandTotal,
    double? totalsPeriodGrossTotal,
    double? totalsPeriodDiscount,
    double? totalsPeriodSubTotal,
    double? totalsPeriodTax,
    double? totalsPeriodGrandTotal,
    double? totalsReplacementReplacementCost,
    double? totalsReplacementDepositPercentage,
    double? totalsReplacementDepositDue,
    double? totalsReplacementPreAuthorizationRequiredAmount,
    double? totalsReplacementPreAuthorizationCurrentTotal,
    double? totalsReplacementPreAuthorizationAmountDue,
    double? paymentTotalAmount,
    double? paymentAmountToPay,
    String? pINPadCode,
    String? pINPadDescription,
    String? locationCode,
    String? agentBarcode,
    String? currencyId,
    String? currencyCode,
    String? locationId,
    String? auditNote,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesPluginsCreditCardProcessCreditCardInfo(
      recordTitle: recordTitle ?? this.recordTitle,
      orderId: orderId ?? this.orderId,
      orderNumber: orderNumber ?? this.orderNumber,
      orderDescription: orderDescription ?? this.orderDescription,
      orderStatus: orderStatus ?? this.orderStatus,
      dealId: dealId ?? this.dealId,
      dealNumber: dealNumber ?? this.dealNumber,
      deal: deal ?? this.deal,
      customerId: customerId ?? this.customerId,
      customerNumber: customerNumber ?? this.customerNumber,
      customer: customer ?? this.customer,
      totalsWeeklyGrossTotal:
          totalsWeeklyGrossTotal ?? this.totalsWeeklyGrossTotal,
      totalsWeeklyDiscount: totalsWeeklyDiscount ?? this.totalsWeeklyDiscount,
      totalsWeeklySubTotal: totalsWeeklySubTotal ?? this.totalsWeeklySubTotal,
      totalsWeeklyTax: totalsWeeklyTax ?? this.totalsWeeklyTax,
      totalsWeeklyGrandTotal:
          totalsWeeklyGrandTotal ?? this.totalsWeeklyGrandTotal,
      totalsPeriodGrossTotal:
          totalsPeriodGrossTotal ?? this.totalsPeriodGrossTotal,
      totalsPeriodDiscount: totalsPeriodDiscount ?? this.totalsPeriodDiscount,
      totalsPeriodSubTotal: totalsPeriodSubTotal ?? this.totalsPeriodSubTotal,
      totalsPeriodTax: totalsPeriodTax ?? this.totalsPeriodTax,
      totalsPeriodGrandTotal:
          totalsPeriodGrandTotal ?? this.totalsPeriodGrandTotal,
      totalsReplacementReplacementCost: totalsReplacementReplacementCost ??
          this.totalsReplacementReplacementCost,
      totalsReplacementDepositPercentage:
          totalsReplacementDepositPercentage ??
              this.totalsReplacementDepositPercentage,
      totalsReplacementDepositDue:
          totalsReplacementDepositDue ?? this.totalsReplacementDepositDue,
      totalsReplacementPreAuthorizationRequiredAmount:
          totalsReplacementPreAuthorizationRequiredAmount ??
              this.totalsReplacementPreAuthorizationRequiredAmount,
      totalsReplacementPreAuthorizationCurrentTotal:
          totalsReplacementPreAuthorizationCurrentTotal ??
              this.totalsReplacementPreAuthorizationCurrentTotal,
      totalsReplacementPreAuthorizationAmountDue:
          totalsReplacementPreAuthorizationAmountDue ??
              this.totalsReplacementPreAuthorizationAmountDue,
      paymentTotalAmount: paymentTotalAmount ?? this.paymentTotalAmount,
      paymentAmountToPay: paymentAmountToPay ?? this.paymentAmountToPay,
      pINPadCode: pINPadCode ?? this.pINPadCode,
      pINPadDescription: pINPadDescription ?? this.pINPadDescription,
      locationCode: locationCode ?? this.locationCode,
      agentBarcode: agentBarcode ?? this.agentBarcode,
      currencyId: currencyId ?? this.currencyId,
      currencyCode: currencyCode ?? this.currencyCode,
      locationId: locationId ?? this.locationId,
      auditNote: auditNote ?? this.auditNote,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}