class CaptureResponse extends AbstractResponse

CaptureResponse

Klasse zum Abbilden einer Antwort auf den "Capture" Call

 <CaptureResponse xmlns="https://mws.amazonservices.com/schema/OffAmazonPayments/2013-01-01">
 <CaptureResult>
     <CaptureDetails>
         <AmazonCaptureId>P01-1234567-1234567-0000002</AmazonCaptureId>
         <CaptureReferenceId>test_capture_1</CaptureReferenceId>
         <SellerCaptureNote>Lorem ipsum</SellerCaptureNote>
         <IdList>112222,111555,666555</IdList>
         <CaptureAmount>
             <CurrencyCode>EUR</CurrencyCode>
             <Amount>94.50</Amount>
         </CaptureAmount>
         <CaptureFee>
             <CurrencyCode>EUR</CurrencyCode>
             <Amount>0.50</Amount>
         </CaptureFee>
         <RefundedAmount>
             <CurrencyCode>EUR</CurrencyCode>
             <Amount>15.50</Amount>
         </RefundedAmount>
         <CaptureStatus>
             <State>Completed</State>
             <LastUpdateTimestamp>2012-11-03T19:10:16Z</LastUpdateTimestamp>
         </CaptureStatus>
         <CreationTimestamp>2012-11-03T19:10:16Z</CreationTimestamp>
         <SoftDescriptor>AMZ*TestShop amzn.com/pmts WA</SoftDescriptor>
     </CaptureDetails>
 </CaptureResult>
 <ResponseMetadata>
     <RequestId>b4ab4bc3-c9ea-44f0-9a3d-67cccef565c6</RequestId>
 </ResponseMetadata>
</CaptureResponse>

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 75
CaptureDetails getResult()

Liefert den Inhalt von

Return Value

CaptureDetails | \false