commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Commercetools\Api\Models\Extension\HttpDestination Interface Reference

Inherits Commercetools\Api\Models\Extension\ExtensionDestination.

Inherited by Commercetools\Api\Models\Extension\HttpDestinationModel.

Public Member Functions

 getUrl ()
 
 getAuthentication ()
 
 setUrl (?string $url)
 
 setAuthentication (?HttpDestinationAuthentication $authentication)
 
- Public Member Functions inherited from Commercetools\Api\Models\Extension\ExtensionDestination
 getType ()
 
- Public Member Functions inherited from Commercetools\Base\JsonObject
 get (string $field)
 
 with (?callable $callable=null)
 

Public Attributes

const FIELD_URL = 'url'
 
const FIELD_AUTHENTICATION = 'authentication'
 
- Public Attributes inherited from Commercetools\Api\Models\Extension\ExtensionDestination
const DISCRIMINATOR_FIELD = 'type'
 
const FIELD_TYPE = 'type'
 

Additional Inherited Members

- Static Public Member Functions inherited from Commercetools\Base\JsonObject
static of ($data=null)
 
static fromArray (array $data=[])
 
static fromStdClass (?stdClass $data=null)
 

Detailed Description

Definition at line 14 of file HttpDestination.php.

Member Function Documentation

◆ getAuthentication()

Commercetools\Api\Models\Extension\HttpDestination::getAuthentication ( )

Authentication methods (such as Basic or Bearer).

Returns
null|HttpDestinationAuthentication

Implemented in Commercetools\Api\Models\Extension\HttpDestinationModel.

◆ getUrl()

Commercetools\Api\Models\Extension\HttpDestination::getUrl ( )

URL to the target destination.

Returns
null|string

Implemented in Commercetools\Api\Models\Extension\HttpDestinationModel.

◆ setAuthentication()

Commercetools\Api\Models\Extension\HttpDestination::setAuthentication ( ?HttpDestinationAuthentication  $authentication)
Parameters
?HttpDestinationAuthentication$authentication

Implemented in Commercetools\Api\Models\Extension\HttpDestinationModel.

◆ setUrl()

Commercetools\Api\Models\Extension\HttpDestination::setUrl ( ?string  $url)
Parameters
?string$url

Implemented in Commercetools\Api\Models\Extension\HttpDestinationModel.

Member Data Documentation

◆ FIELD_AUTHENTICATION

const Commercetools\Api\Models\Extension\HttpDestination::FIELD_AUTHENTICATION = 'authentication'

Definition at line 17 of file HttpDestination.php.

◆ FIELD_URL

const Commercetools\Api\Models\Extension\HttpDestination::FIELD_URL = 'url'

Definition at line 16 of file HttpDestination.php.


The documentation for this interface was generated from the following file: