code: public GetReservationPurchaseRecommendationResult withRecommendations(ReservationPurchaseRecommendation... recommendations) {
          if (this.recommendations == null) {
              setRecommendations(new java.util.ArrayList<ReservationPurchaseRecommendation>(recommendations.length));
          }
          for (ReservationPurchaseRecommendation ele : recommendations) {
              this.recommendations.add(ele);
          }
          return this;
      }
docs: <p>
  Recommendations for reservations to purchase.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRecommendations(java.util.Collection)} or {@link #withRecommendations(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param recommendations
  Recommendations for reservations to purchase.
  @return Returns a reference to this object so that method calls can be chained together.