copyWithWrapped method
Implementation
WebApiApplyBottomLineDiscountPercentRequest copyWithWrapped(
{Wrapped<String?>? orderId,
Wrapped<String?>? purchaseOrderId,
Wrapped<String?>? invoiceId,
Wrapped<String?>? recType,
Wrapped<bool?>? subs,
Wrapped<double?>? discountPercent}) {
return WebApiApplyBottomLineDiscountPercentRequest(
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),
discountPercent: (discountPercent != null
? discountPercent.value
: this.discountPercent));
}