copyWith method

WebApiModulesHomeOrderConfirmationOrderConfirmation copyWith({
  1. String? orderConfirmationId,
  2. String? orderId,
  3. String? webUsersId,
  4. String? date,
  5. String? time,
  6. String? activityType,
  7. String? note,
  8. String? person,
  9. String? payType,
  10. String? paymentTerms,
  11. String? purchaseOrderNumber,
  12. double? amount,
  13. String? auditNote,
  14. String? recordTitle,
  15. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  16. List<FwStandardDataFwCustomValue>? custom,
  17. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  18. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeOrderConfirmationOrderConfirmation copyWith(
    {String? orderConfirmationId,
    String? orderId,
    String? webUsersId,
    String? date,
    String? time,
    String? activityType,
    String? note,
    String? person,
    String? payType,
    String? paymentTerms,
    String? purchaseOrderNumber,
    double? amount,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeOrderConfirmationOrderConfirmation(
      orderConfirmationId: orderConfirmationId ?? this.orderConfirmationId,
      orderId: orderId ?? this.orderId,
      webUsersId: webUsersId ?? this.webUsersId,
      date: date ?? this.date,
      time: time ?? this.time,
      activityType: activityType ?? this.activityType,
      note: note ?? this.note,
      person: person ?? this.person,
      payType: payType ?? this.payType,
      paymentTerms: paymentTerms ?? this.paymentTerms,
      purchaseOrderNumber: purchaseOrderNumber ?? this.purchaseOrderNumber,
      amount: amount ?? this.amount,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}