toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (lineItemId != null) 'lineItemId': lineItemId!,
      if (operationId != null) 'operationId': operationId!,
      if (priceAmount != null) 'priceAmount': priceAmount!,
      if (productId != null) 'productId': productId!,
      if (quantity != null) 'quantity': quantity!,
      if (reason != null) 'reason': reason!,
      if (reasonText != null) 'reasonText': reasonText!,
      if (taxAmount != null) 'taxAmount': taxAmount!,
    };