copyWithWrapped method

WebApiModulesAgentCustomerCreditCustomerCredit copyWithWrapped({
  1. Wrapped<String?>? receiptId,
  2. Wrapped<String?>? customerId,
  3. Wrapped<String?>? customer,
  4. Wrapped<String?>? officeLocationId,
  5. Wrapped<String?>? paymentBy,
  6. Wrapped<String?>? recType,
  7. Wrapped<String?>? recTypeDisplay,
  8. Wrapped<String?>? recTypeColor,
  9. Wrapped<String?>? receiptDate,
  10. Wrapped<String?>? paymentTypeId,
  11. Wrapped<String?>? paymentType,
  12. Wrapped<String?>? checkNumber,
  13. Wrapped<double?>? amount,
  14. Wrapped<double?>? applied,
  15. Wrapped<double?>? refunded,
  16. Wrapped<double?>? remaining,
  17. Wrapped<String?>? auditNote,
  18. Wrapped<String?>? recordTitle,
  19. Wrapped? urlIdentifier,
  20. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  21. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  22. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  23. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  24. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  25. Wrapped<bool?>? hasImport,
  26. Wrapped<bool?>? hasDocuments,
  27. Wrapped<String?>? createdByUserId,
  28. Wrapped<String?>? createdByUserName,
  29. Wrapped<String?>? createdDateTime,
  30. Wrapped<String?>? modifiedByUserId,
  31. Wrapped<String?>? modifiedByUserName,
  32. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesAgentCustomerCreditCustomerCredit copyWithWrapped({
  Wrapped<String?>? receiptId,
  Wrapped<String?>? customerId,
  Wrapped<String?>? customer,
  Wrapped<String?>? officeLocationId,
  Wrapped<String?>? paymentBy,
  Wrapped<String?>? recType,
  Wrapped<String?>? recTypeDisplay,
  Wrapped<String?>? recTypeColor,
  Wrapped<String?>? receiptDate,
  Wrapped<String?>? paymentTypeId,
  Wrapped<String?>? paymentType,
  Wrapped<String?>? checkNumber,
  Wrapped<double?>? amount,
  Wrapped<double?>? applied,
  Wrapped<double?>? refunded,
  Wrapped<double?>? remaining,
  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<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesAgentCustomerCreditCustomerCredit(
    receiptId: (receiptId != null ? receiptId.value : this.receiptId),
    customerId: (customerId != null ? customerId.value : this.customerId),
    customer: (customer != null ? customer.value : this.customer),
    officeLocationId: (officeLocationId != null
        ? officeLocationId.value
        : this.officeLocationId),
    paymentBy: (paymentBy != null ? paymentBy.value : this.paymentBy),
    recType: (recType != null ? recType.value : this.recType),
    recTypeDisplay: (recTypeDisplay != null
        ? recTypeDisplay.value
        : this.recTypeDisplay),
    recTypeColor: (recTypeColor != null
        ? recTypeColor.value
        : this.recTypeColor),
    receiptDate: (receiptDate != null ? receiptDate.value : this.receiptDate),
    paymentTypeId: (paymentTypeId != null
        ? paymentTypeId.value
        : this.paymentTypeId),
    paymentType: (paymentType != null ? paymentType.value : this.paymentType),
    checkNumber: (checkNumber != null ? checkNumber.value : this.checkNumber),
    amount: (amount != null ? amount.value : this.amount),
    applied: (applied != null ? applied.value : this.applied),
    refunded: (refunded != null ? refunded.value : this.refunded),
    remaining: (remaining != null ? remaining.value : this.remaining),
    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),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    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),
  );
}