copyWithWrapped method

WebApiModulesWarehouseCheckOutCompleteCheckOutContractRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? contractId,
  3. Wrapped<String?>? responsiblePersonId,
})

Implementation

WebApiModulesWarehouseCheckOutCompleteCheckOutContractRequest
copyWithWrapped({
  Wrapped<String?>? orderId,
  Wrapped<String?>? contractId,
  Wrapped<String?>? responsiblePersonId,
}) {
  return WebApiModulesWarehouseCheckOutCompleteCheckOutContractRequest(
    orderId: (orderId != null ? orderId.value : this.orderId),
    contractId: (contractId != null ? contractId.value : this.contractId),
    responsiblePersonId: (responsiblePersonId != null
        ? responsiblePersonId.value
        : this.responsiblePersonId),
  );
}