Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/extmag/dhlshipping2/Helper/Request/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/extmag/dhlshipping2/Helper/Request/Track.php
<?php
/**
 * Copyright © Extmag. All rights reserved.
 *
 * Tracking/DHL Signature Tracking
 * Web Service Developer Guide
 * September 23, 2019
 */

namespace Extmag\DhlShipping\Helper\Request;

use Exception;

class Track extends Dhl
{
    /**
     * @var string
     */
    protected $requestType = 'Track';

    /**
     * @inheritDoc
     */
    public function formRequest()
    {
        $this->formHeaderRequest(
            $this->requestType,
            $this->formNativeScheme(),
            $this->data['mode']
        );
    }

    /**
     * Form Native Scheme
     *
     * @return array
     * @throws Exception
     */
    public function formNativeScheme()
    {
        return [
            'Request' => $this->formDhlSecurityWithoutMeta(false),
            'LanguageCode' => 'en',
            'AWBNumber' => $this->data['master_id'],
            'LPNumber' => null,
            'LevelOfDetails' => 'ALL_CHECK_POINTS',
            'PiecesEnabled' => 'S',
            'CountryCode' => null,
        ];
    }
}

Spamworldpro Mini