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? customerDealId,
- 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? refundingTransactionId,
- String? creditCardNumber,
- String? creditCardExpirationDate,
- String? creditCardName,
- String? creditCardAccountId,
- String? creditCardPaymentMode,
- int? creditCardPinPadId,
- String? newCreditCardAccountToken,
- String? newCreditCardExpirationDate,
- String? newCreditCardCardholderName,
- bool? newCreditCardSaveCreditCard,
- bool? creditCardDefaultAccount,
- bool? newCreditCardAuthorizationOnFile,
- String? newCreditCardAddress,
- String? newCreditCardAddress2,
- String? newCreditCardCity,
- String? newCreditCardRegion,
- String? newCreditCardPostalCode,
- String? newCreditCardCountryId,
- DateTime? dateStamp,
- String? refundingReceiptId,
- bool? isCreditCardReceiptVoided,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesBillingReceiptReceipt copyWith(
{String? receiptId,
String? receiptDate,
String? locationId,
String? locationCode,
String? location,
String? customerId,
String? customer,
String? dealId,
String? deal,
String? paymentBy,
String? customerDealId,
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? refundingTransactionId,
String? creditCardNumber,
String? creditCardExpirationDate,
String? creditCardName,
String? creditCardAccountId,
String? creditCardPaymentMode,
int? creditCardPinPadId,
String? newCreditCardAccountToken,
String? newCreditCardExpirationDate,
String? newCreditCardCardholderName,
bool? newCreditCardSaveCreditCard,
bool? creditCardDefaultAccount,
bool? newCreditCardAuthorizationOnFile,
String? newCreditCardAddress,
String? newCreditCardAddress2,
String? newCreditCardCity,
String? newCreditCardRegion,
String? newCreditCardPostalCode,
String? newCreditCardCountryId,
DateTime? dateStamp,
String? refundingReceiptId,
bool? isCreditCardReceiptVoided,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
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,
customerDealId: customerDealId ?? this.customerDealId,
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,
refundingTransactionId:
refundingTransactionId ?? this.refundingTransactionId,
creditCardNumber: creditCardNumber ?? this.creditCardNumber,
creditCardExpirationDate:
creditCardExpirationDate ?? this.creditCardExpirationDate,
creditCardName: creditCardName ?? this.creditCardName,
creditCardAccountId: creditCardAccountId ?? this.creditCardAccountId,
creditCardPaymentMode:
creditCardPaymentMode ?? this.creditCardPaymentMode,
creditCardPinPadId: creditCardPinPadId ?? this.creditCardPinPadId,
newCreditCardAccountToken:
newCreditCardAccountToken ?? this.newCreditCardAccountToken,
newCreditCardExpirationDate:
newCreditCardExpirationDate ?? this.newCreditCardExpirationDate,
newCreditCardCardholderName:
newCreditCardCardholderName ?? this.newCreditCardCardholderName,
newCreditCardSaveCreditCard:
newCreditCardSaveCreditCard ?? this.newCreditCardSaveCreditCard,
creditCardDefaultAccount:
creditCardDefaultAccount ?? this.creditCardDefaultAccount,
newCreditCardAuthorizationOnFile: newCreditCardAuthorizationOnFile ??
this.newCreditCardAuthorizationOnFile,
newCreditCardAddress: newCreditCardAddress ?? this.newCreditCardAddress,
newCreditCardAddress2:
newCreditCardAddress2 ?? this.newCreditCardAddress2,
newCreditCardCity: newCreditCardCity ?? this.newCreditCardCity,
newCreditCardRegion: newCreditCardRegion ?? this.newCreditCardRegion,
newCreditCardPostalCode:
newCreditCardPostalCode ?? this.newCreditCardPostalCode,
newCreditCardCountryId:
newCreditCardCountryId ?? this.newCreditCardCountryId,
dateStamp: dateStamp ?? this.dateStamp,
refundingReceiptId: refundingReceiptId ?? this.refundingReceiptId,
isCreditCardReceiptVoided:
isCreditCardReceiptVoided ?? this.isCreditCardReceiptVoided,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}