copyWith method
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,
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,
);
}