Property | Type | Description | |
---|---|---|---|
$customers | Mollie_API_Resource_Customers | RESTful Customers resource. | |
$customers_mandates | Mollie_API_Resource_Customers_Mandates | RESTful Customers Mandates resource. | |
$customers_payments | Mollie_API_Resource_Customers_Payments | RESTful Customers Payments resource. | |
$customers_subscriptions | Mollie_API_Resource_Customers_Subscriptions | RESTful Customers Subscriptions resource. | |
$issuers | Mollie_API_Resource_Issuers | RESTful Issuers resource. | |
$methods | Mollie_API_Resource_Methods | RESTful Methods resource. | |
$organizations | Mollie_API_Resource_Organizations | RESTful Organizations resource. NOTE: requires OAuth access token. | |
$payments | Mollie_API_Resource_Payments | RESTful Payments resource. | |
$payments_refunds | Mollie_API_Resource_Payments_Refunds | RESTful Payments Refunds resource. | |
$permissions | Mollie_API_Resource_Permissions | RESTful Permissions resource. NOTE: requires OAuth access token. | |
$profiles | Mollie_API_Resource_Profiles | RESTful Profiles resource. NOTE: requires OAuth access token. | |
$refunds | Mollie_API_Resource_Refunds | If you wish to create / get / list / cancel refunds with an API key, use the payment_refunds resource | |
$settlements | Mollie_API_Resource_Settlements | RESTful Settlements resource. NOTE: requires OAuth access token. |
Property | Type | Description | |
---|---|---|---|
$api_endpoint | string | ||
$api_key | string | ||
$ch | resource | ||
$last_http_response_status_code | integer | ||
$oauth_access | boolean | True if an OAuth access token is set as API key. | |
$pem_path | string | ||
$version_strings | array |
Method | Description | |
---|---|---|
__construct ( ) | ||
__destruct ( ) | Close any cURL handles, if we have them. | |
__get ( string $resource_path ) : Mollie_API_Resource_Undefined | ||
addVersionString ( string $version_string ) | ||
getApiEndpoint ( ) : string | ||
getLastHttpResponseStatusCode ( ) : integer | ||
performHttpCall ( $http_method, $api_method, $http_body = NULL ) : string | Perform an http call. This method is used by the resource specific classes. Please use the $payments property to perform operations on payments. | |
setAccessToken ( string $access_token ) | ||
setApiEndpoint ( string $url ) | ||
setApiKey ( string $api_key ) | ||
setPemPath ( string $pem_path ) | Overwrite the default path to the PEM file. Should only be used by advanced users. | |
usesOAuth ( ) : boolean |
Method | Description | |
---|---|---|
getCompatibilityChecker ( ) : Mollie_API_CompatibilityChecker |
public addVersionString ( string $version_string ) | ||
$version_string | string |
protected getCompatibilityChecker ( ) : Mollie_API_CompatibilityChecker | ||
return | Mollie_API_CompatibilityChecker |
public getLastHttpResponseStatusCode ( ) : integer | ||
return | integer |
public performHttpCall ( $http_method, $api_method, $http_body = NULL ) : string | ||
$http_method | ||
$api_method | ||
$http_body | ||
return | string |
public setAccessToken ( string $access_token ) | ||
$access_token | string | OAuth access token, starting with 'access_' |
public setPemPath ( string $pem_path ) | ||
$pem_path | string |
public Mollie_API_Resource_Customers $customers | ||
return | Mollie_API_Resource_Customers |
public Mollie_API_Resource_Customers_Mandates $customers_mandates | ||
return | Mollie_API_Resource_Customers_Mandates |
public Mollie_API_Resource_Customers_Payments $customers_payments | ||
return | Mollie_API_Resource_Customers_Payments |
public Mollie_API_Resource_Customers_Subscriptions $customers_subscriptions | ||
return | Mollie_API_Resource_Customers_Subscriptions |
public Mollie_API_Resource_Issuers $issuers | ||
return | Mollie_API_Resource_Issuers |
protected int $last_http_response_status_code | ||
return | integer |
public Mollie_API_Resource_Methods $methods | ||
return | Mollie_API_Resource_Methods |
protected bool $oauth_access | ||
return | boolean |
public Mollie_API_Resource_Organizations $organizations | ||
return | Mollie_API_Resource_Organizations |
public Mollie_API_Resource_Payments $payments | ||
return | Mollie_API_Resource_Payments |
public Mollie_API_Resource_Payments_Refunds $payments_refunds | ||
return | Mollie_API_Resource_Payments_Refunds |
public Mollie_API_Resource_Permissions $permissions | ||
return | Mollie_API_Resource_Permissions |
public Mollie_API_Resource_Profiles $profiles | ||
return | Mollie_API_Resource_Profiles |
public Mollie_API_Resource_Refunds $refunds | ||
return | Mollie_API_Resource_Refunds |
public Mollie_API_Resource_Settlements $settlements | ||
return | Mollie_API_Resource_Settlements |