class RefundResponse extends AbstractResponse

RefundResponse

Klasse zum Abbilden einer Antwort auf den "Refund" Call

 <RefundResponse xmlns="https://mws.amazonservices.com/schema/OffAmazonPayments/2013-01-01">
  <RefundResult>
    <RefundDetails>
      <AmazonRefundId>P01-1234567-1234567-0000003</AmazonRefundId>
      <RefundReferenceId>test_refund_1</RefundReferenceId>
      <SellerRefundNote>Lorem ipsum</SellerRefundNote>
      <RefundType>SellerInitiated</RefundType>
      <RefundedAmount>
        <CurrencyCode>EUR</CurrencyCode>
        <Amount>94.50</Amount>
      </RefundedAmount>
      <FeeRefunded>
        <CurrencyCode>EUR</CurrencyCode>
        <Amount>0</Amount>
      </FeeRefunded>
      <RefundStatus>
        <State>Pending</State>
        <LastUpdateTimestamp>2012-11-07T19:10:16Z</LastUpdateTimestamp>
      </RefundStatus>
      <CreationTimestamp>2012-11-05T19:10:16Z</CreationTimestamp>
    </RefundDetails>
  </RefundResult>
  <ResponseMetadata>
    <RequestId>b4ab4bc3-c9ea-44f0-9a3d-67cccef565c6</RequestId>
  </ResponseMetadata>
</RefundResponse>

Traits

XpathImplementation

Methods

NodeList
searchElements(string $elementName)

searchElements

searchElement($elementName)

No description

__construct($content)

Neues Ergebnisobjekt

Parser
getParser()

Liefert einen neues Parser Objekt und setzt den Namespace "\Alvine\Payment\Amazon\Element\"

getResponseMetadata()

Liefert die Meta Daten des Response zurück

getResult()

Liefert den Inhalt von

Details

in XpathImplementation at line 42
NodeList searchElements(string $elementName)

searchElements

Parameters

string $elementName Name des Elements

Return Value

NodeList Liste der gefundenen Elemente

in XpathImplementation at line 49
searchElement($elementName)

Parameters

$elementName

in AbstractResponse at line 46
__construct($content)

Neues Ergebnisobjekt

Parameters

$content

Exceptions

NotAvailableException

in AbstractResponse at line 71
protected Parser getParser()

Liefert einen neues Parser Objekt und setzt den Namespace "\Alvine\Payment\Amazon\Element\"

Return Value

Parser Parser

in AbstractResponse at line 80
ResponseMetadata getResponseMetadata()

Liefert die Meta Daten des Response zurück

Return Value

ResponseMetadata

at line 70
RefundDetails getResult()

Liefert den Inhalt von

Return Value

RefundDetails |\false