Méthode |
Description |
|
__get ( $name ) |
* Getter
Gets the value for the key if the key exists in config |
|
authorize ( $requestParameters = [] ) |
* Authorize API call - Reserves a specified amount against the payment method(s) stored in the order reference. |
|
authorizeOnBillingAgreement ( $requestParameters = [] ) |
* AuthorizeOnBillingAgreement API call - Reserves a specified amount against the payment method(s) stored in the Billing Agreement. |
|
cancelOrderReference ( $requestParameters = [] ) |
* CancelOrderReferenceDetails API call - Cancels a previously confirmed order reference. |
|
capture ( $requestParameters = [] ) |
* Capture API call - Captures funds from an authorized payment instrument. |
|
charge ( $requestParameters = [] ) |
* charge convenience method
Performs the API calls
1. SetOrderReferenceDetails / SetBillingAgreementDetails
2. ConfirmOrderReference / ConfirmBillingAgreement
3. Authorize (with Capture) / AuthorizeOnBillingAgreeemnt (with Capture) |
|
closeAuthorization ( $requestParameters = [] ) |
* CloseAuthorization API call - Closes an authorization. |
|
closeBillingAgreement ( $requestParameters = [] ) |
* CloseBillingAgreement API Call - Returns details about the Billing Agreement object and its current state. |
|
closeOrderReference ( $requestParameters = [] ) |
* CloseOrderReferenceDetails API call - Confirms that an order reference has been fulfilled (fully or partially)
and that you do not expect to create any new authorizations on this order reference. |
|
confirmBillingAgreement ( $requestParameters = [] ) |
* ConfirmBillingAgreement API Call - Confirms that the Billing Agreement is free of constraints and all required information has been set on the Billing Agreement. |
|
confirmOrderReference ( $requestParameters = [] ) |
* ConfirmOrderReferenceDetails API call - Confirms that the order reference is free of constraints and all required information has been set on the order reference. |
|
createOrderReferenceForId ( $requestParameters = [] ) |
* CreateOrderReferenceForId API Call - Creates an order reference for the given object |
|
getAuthorizationDetails ( $requestParameters = [] ) |
* GetAuthorizationDetails API call - Returns the status of a particular authorization and the total amount captured on the authorization. |
|
getBillingAgreementDetails ( $requestParameters = [] ) |
* GetBillingAgreementDetails API Call - Returns details about the Billing Agreement object and its current state. |
|
getCaptureDetails ( $requestParameters = [] ) |
* GetCaptureDetails API call - Returns the status of a particular capture and the total amount refunded on the capture. |
|
getOrderReferenceDetails ( $requestParameters = [] ) |
* GetOrderReferenceDetails API call - Returns details about the Order Reference object and its current state. |
|
getParameters ( ) |
* Getter for parameters string
Gets the value for the parameters string for unit testing |
|
getProviderCreditDetails ( $requestParameters = [] ) |
* GetProviderCreditDetails API Call - Get the details of the Provider Credit. |
|
getProviderCreditReversalDetails ( $requestParameters = [] ) |
* GetProviderCreditReversalDetails API Call - Get details of the Provider Credit Reversal. |
|
getRefundDetails ( $requestParameters = [] ) |
* GetRefundDetails API call - Returns the status of a particular refund. |
|
getServiceStatus ( $requestParameters = [] ) |
* GetServiceStatus API Call - Returns the operational status of the Off-Amazon Payments API section |
|
getUserInfo ( $access_token ) |
* GetUserInfo convenience funtion - Returns user's profile information from Amazon using the access token returned by the Button widget. |
|
refund ( $requestParameters = [] ) |
* Refund API call - Refunds a previously captured amount. |
|
reverseProviderCredit ( $requestParameters = [] ) |
* ReverseProviderCredit API Call - Reverse the Provider Credit. |
|
setBillingAgreementDetails ( $requestParameters = [] ) |
* SetBillingAgreementDetails API call - Sets Billing Agreement details such as a description of the agreement and other information about the seller. |
|
setClientId ( $value ) |
* Setter for config['client_id']
Sets the value for config['client_id'] variable |
|
setMwsServiceUrl ( $url ) |
* Setter for $_mwsServiceUrl
Set the URL to which the post request has to be made for unit testing |
|
setOrderReferenceDetails ( $requestParameters = [] ) |
* SetOrderReferenceDetails API call - Sets order reference details such as the order total and a description for the order. |
|
setProxy ( $proxy ) |
* Setter for Proxy
input $proxy [array] |
|
setSandbox ( $value ) |
* Setter for sandbox
Sets the boolean value for config['sandbox'] variable |
|
validateBillingAgreement ( $requestParameters = [] ) |
* ValidateBillingAgreement API Call - Validates the status of the Billing Agreement object and the payment method associated with it. |
|