PHP Класс PayWithAmazon\ResponseParser

Наследование: implements paywithamazon\ResponseInterface
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$response

Открытые методы

Метод Описание
__construct ( $response = null )
getBillingAgreementDetailsStatus ( $response ) * Get the status of the BillingAgreement
getOrderReferenceDetailsStatus ( $response ) * Get the status of the Order Reference ID
toArray ( ) * toArray - converts XML into associative array
toJson ( ) * toJson - converts XML into Json
toXml ( ) * Returns the XML portion of the response

Приватные методы

Метод Описание
getStatus ( $type, $path, $response )
simpleXmlObject ( )

Описание методов

__construct() публичный Метод

public __construct ( $response = null )

getBillingAgreementDetailsStatus() публичный Метод

* Get the status of the BillingAgreement
public getBillingAgreementDetailsStatus ( $response )

getOrderReferenceDetailsStatus() публичный Метод

* Get the status of the Order Reference ID
public getOrderReferenceDetailsStatus ( $response )

toArray() публичный Метод

* toArray - converts XML into associative array
public toArray ( )

toJson() публичный Метод

* toJson - converts XML into Json
public toJson ( )

toXml() публичный Метод

* Returns the XML portion of the response
public toXml ( )

Описание свойств

$response публичное свойство

public $response