src/Message/AbstractRequest.php
protected function getShippingData()
    {
        $data = array();
        // Customer shipping details
        if ($card = $this->getCard()) {
            // Customer shipping details
            if ($card->getShippingFirstName()) {
                $data['ShippingFirstName'] = $card->getShippingFirstName();
            }
            if ($card->getShippingLastName()) {
                $data['ShippingLastName'] = $card->getShippingLastName();
            }
            if ($card->getShippingCompany()) {
                $data['ShippingCompany'] = $card->getShippingCompany();
            }
            if ($card->getShippingAddress1()) {
                $data['ShippingAddress1'] = $card->getShippingAddress1();
            }
            if ($card->getShippingAddress2()) {
                $data['ShippingAddress2'] = $card->getShippingAddress2();
            }
            if ($card->getShippingCity()) {
                $data['ShippingCity'] = $card->getShippingCity();
            }
            if ($card->getShippingState()) {
                $data['ShippingState'] = $card->getShippingState();
            }
            if ($card->getShippingPostcode()) {
                $data['ShippingZip'] = $card->getShippingPostcode();
            }
            if ($card->getShippingCountry()) {
                $data['ShippingCountry'] = $card->getShippingCountry();
            }
        }
        return $data;
    }
protected function getShippingData()
    {
        $data = array();
        // Customer shipping details
        if ($card = $this->getCard()) {
            // Customer shipping details
            if ($card->getShippingFirstName()) {
                $data['ShippingFirstName'] = $card->getShippingFirstName();
            }
            if ($card->getShippingLastName()) {
                $data['ShippingLastName'] = $card->getShippingLastName();
            }
            if ($card->getShippingCompany()) {
                $data['ShippingCompany'] = $card->getShippingCompany();
            }
            if ($card->getShippingAddress1()) {
                $data['ShippingAddress1'] = $card->getShippingAddress1();
            }
            if ($card->getShippingAddress2()) {
                $data['ShippingAddress2'] = $card->getShippingAddress2();
            }
            if ($card->getShippingCity()) {
                $data['ShippingCity'] = $card->getShippingCity();
            }
            if ($card->getShippingState()) {
                $data['ShippingState'] = $card->getShippingState();
            }
            if ($card->getShippingPostcode()) {
                $data['ShippingZip'] = $card->getShippingPostcode();
            }
            if ($card->getShippingCountry()) {
                $data['ShippingCountry'] = $card->getShippingCountry();
            }
        }
        return $data;
    }
Get the shipping data

@return array