copyWith method

WebApiModulesBillingDealCreditDealCredit copyWith({
  1. String? receiptId,
  2. String? customerId,
  3. String? customer,
  4. String? dealId,
  5. String? deal,
  6. String? officeLocationId,
  7. String? paymentBy,
  8. String? recType,
  9. String? recTypeDisplay,
  10. String? recTypeColor,
  11. String? receiptDate,
  12. String? receiptTime,
  13. String? paymentTypeId,
  14. String? paymentType,
  15. String? invoiceId,
  16. String? invoiceNumer,
  17. String? checkNumber,
  18. double? amount,
  19. double? applied,
  20. double? refunded,
  21. double? remaining,
  22. String? currencySymbol,
  23. String? orderId,
  24. String? creditCardName,
  25. String? creditCardNumber,
  26. String? creditCardExpirationDate,
  27. String? dateStamp,
  28. String? auditNote,
  29. String? recordTitle,
  30. dynamic urlIdentifier,
  31. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  32. List<FwStandardDataFwCustomValue>? custom,
  33. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  34. FwStandardBusinessLogicFwBusinessLogic? original,
  35. List<FwStandardDataFwTranslatedValue>? translation,
  36. bool? hasImport,
  37. bool? hasDocuments,
  38. String? createdByUserId,
  39. String? createdByUserName,
  40. String? createdDateTime,
  41. String? modifiedByUserId,
  42. String? modifiedByUserName,
  43. String? modifiedDateTime,
})

Implementation

WebApiModulesBillingDealCreditDealCredit copyWith({
  String? receiptId,
  String? customerId,
  String? customer,
  String? dealId,
  String? deal,
  String? officeLocationId,
  String? paymentBy,
  String? recType,
  String? recTypeDisplay,
  String? recTypeColor,
  String? receiptDate,
  String? receiptTime,
  String? paymentTypeId,
  String? paymentType,
  String? invoiceId,
  String? invoiceNumer,
  String? checkNumber,
  double? amount,
  double? applied,
  double? refunded,
  double? remaining,
  String? currencySymbol,
  String? orderId,
  String? creditCardName,
  String? creditCardNumber,
  String? creditCardExpirationDate,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesBillingDealCreditDealCredit(
    receiptId: receiptId ?? this.receiptId,
    customerId: customerId ?? this.customerId,
    customer: customer ?? this.customer,
    dealId: dealId ?? this.dealId,
    deal: deal ?? this.deal,
    officeLocationId: officeLocationId ?? this.officeLocationId,
    paymentBy: paymentBy ?? this.paymentBy,
    recType: recType ?? this.recType,
    recTypeDisplay: recTypeDisplay ?? this.recTypeDisplay,
    recTypeColor: recTypeColor ?? this.recTypeColor,
    receiptDate: receiptDate ?? this.receiptDate,
    receiptTime: receiptTime ?? this.receiptTime,
    paymentTypeId: paymentTypeId ?? this.paymentTypeId,
    paymentType: paymentType ?? this.paymentType,
    invoiceId: invoiceId ?? this.invoiceId,
    invoiceNumer: invoiceNumer ?? this.invoiceNumer,
    checkNumber: checkNumber ?? this.checkNumber,
    amount: amount ?? this.amount,
    applied: applied ?? this.applied,
    refunded: refunded ?? this.refunded,
    remaining: remaining ?? this.remaining,
    currencySymbol: currencySymbol ?? this.currencySymbol,
    orderId: orderId ?? this.orderId,
    creditCardName: creditCardName ?? this.creditCardName,
    creditCardNumber: creditCardNumber ?? this.creditCardNumber,
    creditCardExpirationDate:
        creditCardExpirationDate ?? this.creditCardExpirationDate,
    dateStamp: dateStamp ?? this.dateStamp,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}