copyWithWrapped method
WebApiApplyBottomLineTotalRequest
copyWithWrapped(
{ - Wrapped<String?>? orderId,
- Wrapped<String?>? purchaseOrderId,
- Wrapped<String?>? invoiceId,
- Wrapped<String?>? recType,
- Wrapped<bool?>? subs,
- Wrapped<String?>? totalType,
- Wrapped<double?>? total,
- Wrapped<bool?>? includeTaxInTotal,
- Wrapped<String?>? moduleType,
- Wrapped<double?>? weightPercentage,
})
Implementation
WebApiApplyBottomLineTotalRequest copyWithWrapped({
Wrapped<String?>? orderId,
Wrapped<String?>? purchaseOrderId,
Wrapped<String?>? invoiceId,
Wrapped<String?>? recType,
Wrapped<bool?>? subs,
Wrapped<String?>? totalType,
Wrapped<double?>? total,
Wrapped<bool?>? includeTaxInTotal,
Wrapped<String?>? moduleType,
Wrapped<double?>? weightPercentage,
}) {
return WebApiApplyBottomLineTotalRequest(
orderId: (orderId != null ? orderId.value : this.orderId),
purchaseOrderId: (purchaseOrderId != null
? purchaseOrderId.value
: this.purchaseOrderId),
invoiceId: (invoiceId != null ? invoiceId.value : this.invoiceId),
recType: (recType != null ? recType.value : this.recType),
subs: (subs != null ? subs.value : this.subs),
totalType: (totalType != null ? totalType.value : this.totalType),
total: (total != null ? total.value : this.total),
includeTaxInTotal: (includeTaxInTotal != null
? includeTaxInTotal.value
: this.includeTaxInTotal),
moduleType: (moduleType != null ? moduleType.value : this.moduleType),
weightPercentage: (weightPercentage != null
? weightPercentage.value
: this.weightPercentage),
);
}