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