public void marshall(ProductViewDetail productViewDetail, ProtocolMarshaller protocolMarshaller) {

        if (productViewDetail == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(productViewDetail.getProductViewSummary(), PRODUCTVIEWSUMMARY_BINDING);
            protocolMarshaller.marshall(productViewDetail.getStatus(), STATUS_BINDING);
            protocolMarshaller.marshall(productViewDetail.getProductARN(), PRODUCTARN_BINDING);
            protocolMarshaller.marshall(productViewDetail.getCreatedTime(), CREATEDTIME_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ProductViewDetail productViewDetail , ProtocolMarshaller protocolMarshaller ) { if ( productViewDetail == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( productViewDetail . getProductViewSummary ( ) , PRODUCTVIEWSUMMARY_BINDING ) ; protocolMarshaller . marshall ( productViewDetail . getStatus ( ) , STATUS_BINDING ) ; protocolMarshaller . marshall ( productViewDetail . getProductARN ( ) , PRODUCTARN_BINDING ) ; protocolMarshaller . marshall ( productViewDetail . getCreatedTime ( ) , CREATEDTIME_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.