code: public void marshall(Offering offering, ProtocolMarshaller protocolMarshaller) {
  
          if (offering == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(offering.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(offering.getCurrencyCode(), CURRENCYCODE_BINDING);
              protocolMarshaller.marshall(offering.getDuration(), DURATION_BINDING);
              protocolMarshaller.marshall(offering.getDurationUnits(), DURATIONUNITS_BINDING);
              protocolMarshaller.marshall(offering.getFixedPrice(), FIXEDPRICE_BINDING);
              protocolMarshaller.marshall(offering.getOfferingDescription(), OFFERINGDESCRIPTION_BINDING);
              protocolMarshaller.marshall(offering.getOfferingId(), OFFERINGID_BINDING);
              protocolMarshaller.marshall(offering.getOfferingType(), OFFERINGTYPE_BINDING);
              protocolMarshaller.marshall(offering.getRegion(), REGION_BINDING);
              protocolMarshaller.marshall(offering.getResourceSpecification(), RESOURCESPECIFICATION_BINDING);
              protocolMarshaller.marshall(offering.getUsagePrice(), USAGEPRICE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.