copyWithWrapped method
Implementation
WebApiModulesAgentOrderChangeOrderOfficeLocationRequest copyWithWrapped({
Wrapped<String?>? officeLocationId,
Wrapped<String?>? warehouseId,
Wrapped<String?>? currencyId,
Wrapped<String?>? confirmUpdateAllRatesToNewCurrency,
}) {
return WebApiModulesAgentOrderChangeOrderOfficeLocationRequest(
officeLocationId: (officeLocationId != null
? officeLocationId.value
: this.officeLocationId),
warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
currencyId: (currencyId != null ? currencyId.value : this.currencyId),
confirmUpdateAllRatesToNewCurrency:
(confirmUpdateAllRatesToNewCurrency != null
? confirmUpdateAllRatesToNewCurrency.value
: this.confirmUpdateAllRatesToNewCurrency),
);
}