copyWithWrapped method
Implementation
WebApiModulesInventoryInventoryReceiptGetReceiptTotalsResponse
copyWithWrapped(
{Wrapped<double?>? shipping,
Wrapped<double?>? miscCost,
Wrapped<double?>? credit,
Wrapped<double?>? extended,
Wrapped<double?>? discountAmount,
Wrapped<double?>? taxAmount,
Wrapped<double?>? totalItems,
Wrapped<double?>? subTotal,
Wrapped<double?>? total}) {
return WebApiModulesInventoryInventoryReceiptGetReceiptTotalsResponse(
shipping: (shipping != null ? shipping.value : this.shipping),
miscCost: (miscCost != null ? miscCost.value : this.miscCost),
credit: (credit != null ? credit.value : this.credit),
extended: (extended != null ? extended.value : this.extended),
discountAmount: (discountAmount != null
? discountAmount.value
: this.discountAmount),
taxAmount: (taxAmount != null ? taxAmount.value : this.taxAmount),
totalItems: (totalItems != null ? totalItems.value : this.totalItems),
subTotal: (subTotal != null ? subTotal.value : this.subTotal),
total: (total != null ? total.value : this.total));
}