code: public ListBonusPaymentsResult withBonusPayments(BonusPayment... bonusPayments) {
          if (this.bonusPayments == null) {
              setBonusPayments(new java.util.ArrayList<BonusPayment>(bonusPayments.length));
          }
          for (BonusPayment ele : bonusPayments) {
              this.bonusPayments.add(ele);
          }
          return this;
      }
docs: <p>
  A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setBonusPayments(java.util.Collection)} or {@link #withBonusPayments(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param bonusPayments
  A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
  @return Returns a reference to this object so that method calls can be chained together.