copyWith method

WebApiModulesBillingInvoiceInvoiceReceipt copyWith({
  1. int? invoiceReceiptId,
  2. String? invoiceId,
  3. String? receiptId,
  4. String? receiptDate,
  5. String? paymentTypeId,
  6. String? paymentType,
  7. String? paymentTypeType,
  8. String? checkNumber,
  9. String? recType,
  10. String? paymentBy,
  11. String? receiptCustomerId,
  12. String? receiptCustomer,
  13. String? receiptDealId,
  14. String? receiptDeal,
  15. String? invoiceNumber,
  16. String? invoiceDate,
  17. String? invoiceDescription,
  18. String? invoiceDealId,
  19. String? invoiceDeal,
  20. String? invoiceOrderId,
  21. String? invoiceOrderDescription,
  22. double? amount,
  23. double? appliedPaymentTypeFee,
  24. double? feePercent,
  25. double? remaining,
  26. String? appliedById,
  27. String? appliedBy,
  28. String? paymentMemo,
  29. String? currencyId,
  30. String? currencyCode,
  31. String? currencySymbol,
  32. String? creditCardName,
  33. String? creditCardExpirationDate,
  34. String? dateStamp,
  35. String? auditNote,
  36. String? recordTitle,
  37. dynamic urlIdentifier,
  38. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  39. List<FwStandardDataFwCustomValue>? custom,
  40. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  41. FwStandardBusinessLogicFwBusinessLogic? original,
  42. List<FwStandardDataFwTranslatedValue>? translation,
  43. bool? hasImport,
  44. bool? hasDocuments,
  45. String? createdByUserId,
  46. String? createdByUserName,
  47. String? createdDateTime,
  48. String? modifiedByUserId,
  49. String? modifiedByUserName,
  50. String? modifiedDateTime,
})

Implementation

WebApiModulesBillingInvoiceInvoiceReceipt copyWith({
  int? invoiceReceiptId,
  String? invoiceId,
  String? receiptId,
  String? receiptDate,
  String? paymentTypeId,
  String? paymentType,
  String? paymentTypeType,
  String? checkNumber,
  String? recType,
  String? paymentBy,
  String? receiptCustomerId,
  String? receiptCustomer,
  String? receiptDealId,
  String? receiptDeal,
  String? invoiceNumber,
  String? invoiceDate,
  String? invoiceDescription,
  String? invoiceDealId,
  String? invoiceDeal,
  String? invoiceOrderId,
  String? invoiceOrderDescription,
  double? amount,
  double? appliedPaymentTypeFee,
  double? feePercent,
  double? remaining,
  String? appliedById,
  String? appliedBy,
  String? paymentMemo,
  String? currencyId,
  String? currencyCode,
  String? currencySymbol,
  String? creditCardName,
  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 WebApiModulesBillingInvoiceInvoiceReceipt(
    invoiceReceiptId: invoiceReceiptId ?? this.invoiceReceiptId,
    invoiceId: invoiceId ?? this.invoiceId,
    receiptId: receiptId ?? this.receiptId,
    receiptDate: receiptDate ?? this.receiptDate,
    paymentTypeId: paymentTypeId ?? this.paymentTypeId,
    paymentType: paymentType ?? this.paymentType,
    paymentTypeType: paymentTypeType ?? this.paymentTypeType,
    checkNumber: checkNumber ?? this.checkNumber,
    recType: recType ?? this.recType,
    paymentBy: paymentBy ?? this.paymentBy,
    receiptCustomerId: receiptCustomerId ?? this.receiptCustomerId,
    receiptCustomer: receiptCustomer ?? this.receiptCustomer,
    receiptDealId: receiptDealId ?? this.receiptDealId,
    receiptDeal: receiptDeal ?? this.receiptDeal,
    invoiceNumber: invoiceNumber ?? this.invoiceNumber,
    invoiceDate: invoiceDate ?? this.invoiceDate,
    invoiceDescription: invoiceDescription ?? this.invoiceDescription,
    invoiceDealId: invoiceDealId ?? this.invoiceDealId,
    invoiceDeal: invoiceDeal ?? this.invoiceDeal,
    invoiceOrderId: invoiceOrderId ?? this.invoiceOrderId,
    invoiceOrderDescription:
        invoiceOrderDescription ?? this.invoiceOrderDescription,
    amount: amount ?? this.amount,
    appliedPaymentTypeFee:
        appliedPaymentTypeFee ?? this.appliedPaymentTypeFee,
    feePercent: feePercent ?? this.feePercent,
    remaining: remaining ?? this.remaining,
    appliedById: appliedById ?? this.appliedById,
    appliedBy: appliedBy ?? this.appliedBy,
    paymentMemo: paymentMemo ?? this.paymentMemo,
    currencyId: currencyId ?? this.currencyId,
    currencyCode: currencyCode ?? this.currencyCode,
    currencySymbol: currencySymbol ?? this.currencySymbol,
    creditCardName: creditCardName ?? this.creditCardName,
    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,
  );
}