public function getFreightClass() {
        if (isset($this->contents['Details']['PreviewFreightClass'])){
            return $this->contents['Details']['PreviewFreightClass'];
        } else if (isset($this->contents['Details']['SellerFreightClass'])){
            return $this->contents['Details']['SellerFreightClass'];
        } else {
            return false;
        }
    }
public function getFreightClass() {
        if (isset($this->contents['Details']['PreviewFreightClass'])){
            return $this->contents['Details']['PreviewFreightClass'];
        } else if (isset($this->contents['Details']['SellerFreightClass'])){
            return $this->contents['Details']['SellerFreightClass'];
        } else {
            return false;
        }
    }
public function getFreightClass ( ) { if ( isset ( $ this -> contents [ 'Details' ] [ 'PreviewFreightClass' ] ) ) { return $ this -> contents [ 'Details' ] [ 'PreviewFreightClass' ] ; } else if ( isset ( $ this -> contents [ 'Details' ] [ 'SellerFreightClass' ] ) ) { return $ this -> contents [ 'Details' ] [ 'SellerFreightClass' ] ; } else { return false ; } }
Returns the freight class for the transport request.

This value will only be set if the shipment is with an Amazon-partnered carrier and
the shipment type is set to "LTL" for Less Than Truckload/Full Truckload.
This should be the same as the value that was sent when creating the transport request.
If the freight class was not sent before, this is Amazon's estimated freight class
based on the description of the contents.
See <i>setFreightClass</i> for a list of possible values.
This method will return <b>FALSE</b> if the value has not been set yet.
@return string|boolean single value, or <b>FALSE</b> if value not set yet
@see setFreightClass
Returns the freight class for the transport request .