code: public void marshall(ReservationPlan reservationPlan, ProtocolMarshaller protocolMarshaller) {
  
          if (reservationPlan == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(reservationPlan.getCommitment(), COMMITMENT_BINDING);
              protocolMarshaller.marshall(reservationPlan.getExpiresAt(), EXPIRESAT_BINDING);
              protocolMarshaller.marshall(reservationPlan.getPurchasedAt(), PURCHASEDAT_BINDING);
              protocolMarshaller.marshall(reservationPlan.getRenewalType(), RENEWALTYPE_BINDING);
              protocolMarshaller.marshall(reservationPlan.getReservedSlots(), RESERVEDSLOTS_BINDING);
              protocolMarshaller.marshall(reservationPlan.getStatus(), STATUS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.