copyWith method
WebApiApplyBottomLineTotalRequest
copyWith(
{ - String? orderId,
- String? purchaseOrderId,
- String? invoiceId,
- String? recType,
- bool? subs,
- String? totalType,
- double? total,
- bool? includeTaxInTotal,
- String? moduleType,
- double? weightPercentage,
})
Implementation
WebApiApplyBottomLineTotalRequest copyWith({
String? orderId,
String? purchaseOrderId,
String? invoiceId,
String? recType,
bool? subs,
String? totalType,
double? total,
bool? includeTaxInTotal,
String? moduleType,
double? weightPercentage,
}) {
return WebApiApplyBottomLineTotalRequest(
orderId: orderId ?? this.orderId,
purchaseOrderId: purchaseOrderId ?? this.purchaseOrderId,
invoiceId: invoiceId ?? this.invoiceId,
recType: recType ?? this.recType,
subs: subs ?? this.subs,
totalType: totalType ?? this.totalType,
total: total ?? this.total,
includeTaxInTotal: includeTaxInTotal ?? this.includeTaxInTotal,
moduleType: moduleType ?? this.moduleType,
weightPercentage: weightPercentage ?? this.weightPercentage,
);
}