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?> ? customerDealId, - 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?> ? refundingTransactionId, - Wrapped<
String?> ? creditCardNumber, - Wrapped<
String?> ? creditCardExpirationDate, - Wrapped<
String?> ? creditCardName, - Wrapped<
String?> ? creditCardAccountId, - Wrapped<
String?> ? creditCardPaymentMode, - Wrapped<
int?> ? creditCardPinPadId, - Wrapped<
String?> ? newCreditCardAccountToken, - Wrapped<
String?> ? newCreditCardExpirationDate, - Wrapped<
String?> ? newCreditCardCardholderName, - Wrapped<
bool?> ? newCreditCardSaveCreditCard, - Wrapped<
bool?> ? creditCardDefaultAccount, - Wrapped<
bool?> ? newCreditCardAuthorizationOnFile, - Wrapped<
String?> ? newCreditCardAddress, - Wrapped<
String?> ? newCreditCardAddress2, - Wrapped<
String?> ? newCreditCardCity, - Wrapped<
String?> ? newCreditCardRegion, - Wrapped<
String?> ? newCreditCardPostalCode, - Wrapped<
String?> ? newCreditCardCountryId, - Wrapped<
DateTime?> ? dateStamp, - Wrapped<
String?> ? refundingReceiptId, - Wrapped<
bool?> ? isCreditCardReceiptVoided, - Wrapped<
double?> ? feePercent, - Wrapped<
double?> ? paymentTypeFee, - Wrapped<
double?> ? totalWithPaymentTypeFee, - Wrapped<
String?> ? auditNote, - Wrapped<
String?> ? recordTitle, - Wrapped? urlIdentifier,
- Wrapped<
List< ? fields,FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ?> - Wrapped<
List< ? custom,FwStandardDataFwCustomValue> ?> - Wrapped<
List< ? defaultFieldAttributes,FwStandardDataFwDefaultAttribute> ?> - Wrapped<
FwStandardBusinessLogicFwBusinessLogic?> ? original, - Wrapped<
List< ? translation,FwStandardDataFwTranslatedValue> ?> - Wrapped<
bool?> ? hasImport, - Wrapped<
String?> ? createdByUserId, - Wrapped<
String?> ? createdByUserName, - Wrapped<
String?> ? createdDateTime, - Wrapped<
String?> ? modifiedByUserId, - Wrapped<
String?> ? modifiedByUserName, - Wrapped<
String?> ? modifiedDateTime,
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?>? customerDealId,
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?>? refundingTransactionId,
Wrapped<String?>? creditCardNumber,
Wrapped<String?>? creditCardExpirationDate,
Wrapped<String?>? creditCardName,
Wrapped<String?>? creditCardAccountId,
Wrapped<String?>? creditCardPaymentMode,
Wrapped<int?>? creditCardPinPadId,
Wrapped<String?>? newCreditCardAccountToken,
Wrapped<String?>? newCreditCardExpirationDate,
Wrapped<String?>? newCreditCardCardholderName,
Wrapped<bool?>? newCreditCardSaveCreditCard,
Wrapped<bool?>? creditCardDefaultAccount,
Wrapped<bool?>? newCreditCardAuthorizationOnFile,
Wrapped<String?>? newCreditCardAddress,
Wrapped<String?>? newCreditCardAddress2,
Wrapped<String?>? newCreditCardCity,
Wrapped<String?>? newCreditCardRegion,
Wrapped<String?>? newCreditCardPostalCode,
Wrapped<String?>? newCreditCardCountryId,
Wrapped<DateTime?>? dateStamp,
Wrapped<String?>? refundingReceiptId,
Wrapped<bool?>? isCreditCardReceiptVoided,
Wrapped<double?>? feePercent,
Wrapped<double?>? paymentTypeFee,
Wrapped<double?>? totalWithPaymentTypeFee,
Wrapped<String?>? auditNote,
Wrapped<String?>? recordTitle,
Wrapped<dynamic>? urlIdentifier,
Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
fields,
Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
Wrapped<bool?>? hasImport,
Wrapped<String?>? createdByUserId,
Wrapped<String?>? createdByUserName,
Wrapped<String?>? createdDateTime,
Wrapped<String?>? modifiedByUserId,
Wrapped<String?>? modifiedByUserName,
Wrapped<String?>? modifiedDateTime,
}) {
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),
customerDealId: (customerDealId != null
? customerDealId.value
: this.customerDealId),
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),
refundingTransactionId: (refundingTransactionId != null
? refundingTransactionId.value
: this.refundingTransactionId),
creditCardNumber: (creditCardNumber != null
? creditCardNumber.value
: this.creditCardNumber),
creditCardExpirationDate: (creditCardExpirationDate != null
? creditCardExpirationDate.value
: this.creditCardExpirationDate),
creditCardName: (creditCardName != null
? creditCardName.value
: this.creditCardName),
creditCardAccountId: (creditCardAccountId != null
? creditCardAccountId.value
: this.creditCardAccountId),
creditCardPaymentMode: (creditCardPaymentMode != null
? creditCardPaymentMode.value
: this.creditCardPaymentMode),
creditCardPinPadId: (creditCardPinPadId != null
? creditCardPinPadId.value
: this.creditCardPinPadId),
newCreditCardAccountToken: (newCreditCardAccountToken != null
? newCreditCardAccountToken.value
: this.newCreditCardAccountToken),
newCreditCardExpirationDate: (newCreditCardExpirationDate != null
? newCreditCardExpirationDate.value
: this.newCreditCardExpirationDate),
newCreditCardCardholderName: (newCreditCardCardholderName != null
? newCreditCardCardholderName.value
: this.newCreditCardCardholderName),
newCreditCardSaveCreditCard: (newCreditCardSaveCreditCard != null
? newCreditCardSaveCreditCard.value
: this.newCreditCardSaveCreditCard),
creditCardDefaultAccount: (creditCardDefaultAccount != null
? creditCardDefaultAccount.value
: this.creditCardDefaultAccount),
newCreditCardAuthorizationOnFile:
(newCreditCardAuthorizationOnFile != null
? newCreditCardAuthorizationOnFile.value
: this.newCreditCardAuthorizationOnFile),
newCreditCardAddress: (newCreditCardAddress != null
? newCreditCardAddress.value
: this.newCreditCardAddress),
newCreditCardAddress2: (newCreditCardAddress2 != null
? newCreditCardAddress2.value
: this.newCreditCardAddress2),
newCreditCardCity: (newCreditCardCity != null
? newCreditCardCity.value
: this.newCreditCardCity),
newCreditCardRegion: (newCreditCardRegion != null
? newCreditCardRegion.value
: this.newCreditCardRegion),
newCreditCardPostalCode: (newCreditCardPostalCode != null
? newCreditCardPostalCode.value
: this.newCreditCardPostalCode),
newCreditCardCountryId: (newCreditCardCountryId != null
? newCreditCardCountryId.value
: this.newCreditCardCountryId),
dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
refundingReceiptId: (refundingReceiptId != null
? refundingReceiptId.value
: this.refundingReceiptId),
isCreditCardReceiptVoided: (isCreditCardReceiptVoided != null
? isCreditCardReceiptVoided.value
: this.isCreditCardReceiptVoided),
feePercent: (feePercent != null ? feePercent.value : this.feePercent),
paymentTypeFee: (paymentTypeFee != null
? paymentTypeFee.value
: this.paymentTypeFee),
totalWithPaymentTypeFee: (totalWithPaymentTypeFee != null
? totalWithPaymentTypeFee.value
: this.totalWithPaymentTypeFee),
auditNote: (auditNote != null ? auditNote.value : this.auditNote),
recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
urlIdentifier: (urlIdentifier != null
? urlIdentifier.value
: this.urlIdentifier),
fields: (fields != null ? fields.value : this.fields),
custom: (custom != null ? custom.value : this.custom),
defaultFieldAttributes: (defaultFieldAttributes != null
? defaultFieldAttributes.value
: this.defaultFieldAttributes),
original: (original != null ? original.value : this.original),
translation: (translation != null ? translation.value : this.translation),
hasImport: (hasImport != null ? hasImport.value : this.hasImport),
createdByUserId: (createdByUserId != null
? createdByUserId.value
: this.createdByUserId),
createdByUserName: (createdByUserName != null
? createdByUserName.value
: this.createdByUserName),
createdDateTime: (createdDateTime != null
? createdDateTime.value
: this.createdDateTime),
modifiedByUserId: (modifiedByUserId != null
? modifiedByUserId.value
: this.modifiedByUserId),
modifiedByUserName: (modifiedByUserName != null
? modifiedByUserName.value
: this.modifiedByUserName),
modifiedDateTime: (modifiedDateTime != null
? modifiedDateTime.value
: this.modifiedDateTime),
);
}