copyWith method

WebApiApplyBottomLineTotalRequest copyWith({
  1. String? orderId,
  2. String? purchaseOrderId,
  3. String? invoiceId,
  4. String? recType,
  5. bool? subs,
  6. String? totalType,
  7. double? total,
  8. bool? includeTaxInTotal,
  9. String? moduleType,
  10. 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,
  );
}