Skip to content
Snippets Groups Projects
Select Git revision
  • 2b6c07ae6e4b1ff4e290a47fdea59d587f4ae53c
  • main default protected
  • trading_hours
  • refactor_trading_hours
  • audit_cleaning_cater_for_non_struct_fields
  • remove-info-logs
  • sl-refactor
  • 18-use-scan-for-param-values
  • 17-order-search-results
  • 4-simplify-framework-2
  • 1-http-error
  • v1.297.0
  • v1.296.0
  • v1.295.0
  • v1.294.0
  • v1.293.0
  • v1.292.0
  • v1.291.0
  • v1.290.0
  • v1.289.0
  • v1.288.0
  • v1.287.0
  • v1.286.0
  • v1.285.0
  • v1.284.0
  • v1.283.0
  • v1.282.0
  • v1.281.0
  • v1.280.0
  • v1.279.0
  • v1.278.0
31 results

encryption_keys.go

Blame
  • AdditionalInfo.php 3.37 KiB
    <?php
    //
    //namespace BobGroup\BobGo\Model\Carrier;
    //
    ///**
    // * Get the AdditionalInfo information from the request body and return it
    // */
    //class AdditionalInfo
    //{
    //
    //    /**
    //     * @return mixed|string
    //     */
    //    public function getDestComp(): mixed
    //    {
    //        $data = json_decode(file_get_contents('php://input'), true);
    //
    //        if (isset($data['address']['company'])) {
    //            $destComp = $data['address']['company'];
    //        } else {
    //            $destComp = '';
    //        }
    //        return $destComp;
    //    }
    //
    //    public function getSuburb(): mixed
    //    {
    //
    //        $data = json_decode(file_get_contents('php://input'), true);
    //
    //        if (isset($data['address']['custom_attributes'][0]['value'])) {
    //            $destSub = $data['address']['custom_attributes'][0]['value'];
    //            //print_r($destSub);
    //        } else {
    //            $destSub = '';
    //        }
    //        return $destSub;
    //    }
    //
    //    /**
    //     * @return mixed|string
    //     */
    //    public function getDestTelephone(): mixed
    //    {
    //        $data = json_decode(file_get_contents('php://input'), true);
    //
    //        if (isset($data['address']['telephone'])) {
    //            $destTelephone = $data['address']['telephone'];
    //        } else {
    //            $destTelephone = '';
    //        }
    //        return $destTelephone;
    //    }
    //
    //
    //    /**
    //     * @var \BobGroup\BobGo\Model\Carrier\AdditionalInfo
    //     */
    //    public $countryFactory;
    //
    //    public function __construct($countryFactory)
    //    {
    //        $this->countryFactory = $countryFactory;
    //    }
    //
    //    /**
    //     * country full name
    //     *
    //     * @return string
    //     */