copyWith method
WebApiModulesBillingReceiptReceipt
copyWith({
- String? receiptId,
- String? receiptDate,
- String? locationId,
- String? locationCode,
- String? location,
- String? customerId,
- String? customer,
- String? dealId,
- String? deal,
- String? paymentBy,
- String? customerDeal,
- String? paymentTypeId,
- String? paymentType,
- String? paymentTypeType,
- String? paymentTypeExportPaymentMethod,
- String? checkNumber,
- double? paymentAmount,
- String? appliedById,
- String? appliedBy,
- String? modifiedById,
- String? modifiedBy,
- String? paymentMemo,
- String? recType,
- String? chargeBatchId,
- String? chargeBatchNumber,
- String? currencyId,
- String? currencyCode,
- String? currencySymbol,
- String? officeLocationDefaultCurrencyId,
- String? overPaymentId,
- List<
WebApiModulesBillingReceiptReceiptInvoice> ? invoiceDataList, - List<
WebApiModulesBillingReceiptReceiptCredit> ? creditDataList, - bool? createOverpayment,
- bool? createDepletingDeposit,
- String? dealDepositId,
- String? dealDepositCheckNumber,
- String? customerDepositId,
- String? customerDepositCheckNumber,
- String? orderId,
- String? orderDescription,
- String? transactionId,
- String? creditCardAccountToken,
- String? creditCardExpirationDate,
- DateTime? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes,
Implementation
WebApiModulesBillingReceiptReceipt copyWith(
{String? receiptId,
String? receiptDate,
String? locationId,
String? locationCode,
String? location,
String? customerId,
String? customer,
String? dealId,
String? deal,
String? paymentBy,
String? customerDeal,
String? paymentTypeId,
String? paymentType,
String? paymentTypeType,
String? paymentTypeExportPaymentMethod,
String? checkNumber,
double? paymentAmount,
String? appliedById,
String? appliedBy,
String? modifiedById,
String? modifiedBy,
String? paymentMemo,
String? recType,
String? chargeBatchId,
String? chargeBatchNumber,
String? currencyId,
String? currencyCode,
String? currencySymbol,
String? officeLocationDefaultCurrencyId,
String? overPaymentId,
List<WebApiModulesBillingReceiptReceiptInvoice>? invoiceDataList,
List<WebApiModulesBillingReceiptReceiptCredit>? creditDataList,
bool? createOverpayment,
bool? createDepletingDeposit,
String? dealDepositId,
String? dealDepositCheckNumber,
String? customerDepositId,
String? customerDepositCheckNumber,
String? orderId,
String? orderDescription,
String? transactionId,
String? creditCardAccountToken,
String? creditCardExpirationDate,
DateTime? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
return WebApiModulesBillingReceiptReceipt(
receiptId: receiptId ?? this.receiptId,
receiptDate: receiptDate ?? this.receiptDate,
locationId: locationId ?? this.locationId,
locationCode: locationCode ?? this.locationCode,
location: location ?? this.location,
customerId: customerId ?? this.customerId,
customer: customer ?? this.customer,
dealId: dealId ?? this.dealId,
deal: deal ?? this.deal,
paymentBy: paymentBy ?? this.paymentBy,
customerDeal: customerDeal ?? this.customerDeal,
paymentTypeId: paymentTypeId ?? this.paymentTypeId,
paymentType: paymentType ?? this.paymentType,
paymentTypeType: paymentTypeType ?? this.paymentTypeType,
paymentTypeExportPaymentMethod: paymentTypeExportPaymentMethod ??
this.paymentTypeExportPaymentMethod,
checkNumber: checkNumber ?? this.checkNumber,
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,
currencyId: currencyId ?? this.currencyId,
currencyCode: currencyCode ?? this.currencyCode,
currencySymbol: currencySymbol ?? this.currencySymbol,
officeLocationDefaultCurrencyId: officeLocationDefaultCurrencyId ??
this.officeLocationDefaultCurrencyId,
overPaymentId: overPaymentId ?? this.overPaymentId,
invoiceDataList: invoiceDataList ?? this.invoiceDataList,
creditDataList: creditDataList ?? this.creditDataList,
createOverpayment: createOverpayment ?? this.createOverpayment,
createDepletingDeposit:
createDepletingDeposit ?? this.createDepletingDeposit,
dealDepositId: dealDepositId ?? this.dealDepositId,
dealDepositCheckNumber:
dealDepositCheckNumber ?? this.dealDepositCheckNumber,
customerDepositId: customerDepositId ?? this.customerDepositId,
customerDepositCheckNumber:
customerDepositCheckNumber ?? this.customerDepositCheckNumber,
orderId: orderId ?? this.orderId,
orderDescription: orderDescription ?? this.orderDescription,
transactionId: transactionId ?? this.transactionId,
creditCardAccountToken:
creditCardAccountToken ?? this.creditCardAccountToken,
creditCardExpirationDate:
creditCardExpirationDate ?? this.creditCardExpirationDate,
dateStamp: dateStamp ?? this.dateStamp,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes);
}