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