copyWith method

WebApiModulesBillingPaymentPayment copyWith({
  1. String? paymentId,
  2. String? paymentDate,
  3. String? locationId,
  4. String? departmentId,
  5. String? locationCode,
  6. String? location,
  7. String? vendorId,
  8. String? vendor,
  9. String? paymentTypeId,
  10. String? paymentType,
  11. int? bankAccountId,
  12. String? accountName,
  13. String? officeLocationDefaultCurrencyId,
  14. String? currencyId,
  15. String? currency,
  16. String? currencyCode,
  17. String? currencySymbol,
  18. String? checkNumber,
  19. String? paymentDocumentNumber,
  20. double? paymentAmount,
  21. String? appliedById,
  22. String? appliedBy,
  23. String? modifiedById,
  24. String? modifiedBy,
  25. String? paymentMemo,
  26. String? recType,
  27. String? chargeBatchId,
  28. String? chargeBatchNumber,
  29. List<WebApiModulesBillingPaymentPaymentVendorInvoice>? vendorInvoiceDataList,
  30. String? auditNote,
  31. String? recordTitle,
  32. dynamic urlIdentifier,
  33. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  34. List<FwStandardDataFwCustomValue>? custom,
  35. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  36. FwStandardBusinessLogicFwBusinessLogic? original,
  37. List<FwStandardDataFwTranslatedValue>? translation,
  38. bool? hasImport,
  39. bool? hasDocuments,
  40. String? createdByUserId,
  41. String? createdByUserName,
  42. String? createdDateTime,
  43. String? modifiedByUserId,
  44. String? modifiedByUserName,
  45. String? modifiedDateTime,
})

Implementation

WebApiModulesBillingPaymentPayment copyWith({
  String? paymentId,
  String? paymentDate,
  String? locationId,
  String? departmentId,
  String? locationCode,
  String? location,
  String? vendorId,
  String? vendor,
  String? paymentTypeId,
  String? paymentType,
  int? bankAccountId,
  String? accountName,
  String? officeLocationDefaultCurrencyId,
  String? currencyId,
  String? currency,
  String? currencyCode,
  String? currencySymbol,
  String? checkNumber,
  String? paymentDocumentNumber,
  double? paymentAmount,
  String? appliedById,
  String? appliedBy,
  String? modifiedById,
  String? modifiedBy,
  String? paymentMemo,
  String? recType,
  String? chargeBatchId,
  String? chargeBatchNumber,
  List<WebApiModulesBillingPaymentPaymentVendorInvoice>?
  vendorInvoiceDataList,
  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 WebApiModulesBillingPaymentPayment(
    paymentId: paymentId ?? this.paymentId,
    paymentDate: paymentDate ?? this.paymentDate,
    locationId: locationId ?? this.locationId,
    departmentId: departmentId ?? this.departmentId,
    locationCode: locationCode ?? this.locationCode,
    location: location ?? this.location,
    vendorId: vendorId ?? this.vendorId,
    vendor: vendor ?? this.vendor,
    paymentTypeId: paymentTypeId ?? this.paymentTypeId,
    paymentType: paymentType ?? this.paymentType,
    bankAccountId: bankAccountId ?? this.bankAccountId,
    accountName: accountName ?? this.accountName,
    officeLocationDefaultCurrencyId:
        officeLocationDefaultCurrencyId ??
        this.officeLocationDefaultCurrencyId,
    currencyId: currencyId ?? this.currencyId,
    currency: currency ?? this.currency,
    currencyCode: currencyCode ?? this.currencyCode,
    currencySymbol: currencySymbol ?? this.currencySymbol,
    checkNumber: checkNumber ?? this.checkNumber,
    paymentDocumentNumber:
        paymentDocumentNumber ?? this.paymentDocumentNumber,
    paymentAmount: paymentAmount ?? this.paymentAmount,
    appliedById: appliedById ?? this.appliedById,
    appliedBy: appliedBy ?? this.appliedBy,
    modifiedById: modifiedById ?? this.modifiedById,
    modifiedBy: modifiedBy ?? this.modifiedBy,
    paymentMemo: paymentMemo ?? this.paymentMemo,
    recType: recType ?? this.recType,
    chargeBatchId: chargeBatchId ?? this.chargeBatchId,
    chargeBatchNumber: chargeBatchNumber ?? this.chargeBatchNumber,
    vendorInvoiceDataList:
        vendorInvoiceDataList ?? this.vendorInvoiceDataList,
    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,
  );
}