ListPaymentMethodsResponse

Extends \GeneralResponse

The ListPaymentMethodsResponse class contains a generalResponse object and all the needed informarion for the active payment mothods (payment methods count, payment types, brands and descriptions)

author mPAY24 GmbH <support@mpay24.com>
version $Id: MPay24Api.php 5522 2013-06-24 13:08:35Z anna $
filesource MPay24Api.php
license http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1

Methods

Sets the values for a payment from the response from mPAY24: count, payment types, brands and descriptions

ListPaymentMethodsResponse(string $response) 
inherited

Arguments

$response

string

The SOAP response from mPAY24 (in XML form)

Get the count of the payment methods, returned from mPAY24

getAll() 
inherited

Get the payment types, returned from mPAY24

getPTypes() 
inherited

Get the brands, returned from mPAY24

getBrands() 
inherited

Get the descriptions, returned from mPAY24

getDescriptions() 
inherited

Get payment type, returned from mPAY24

getPType(int $i) 
inherited

Arguments

$i

int

The index of a payment type

Get brand, returned from mPAY24

getBrand(int $i) 
inherited

Arguments

$i

int

The index of a brand

Get description, returned from mPAY24

getDescription(int $i) 
inherited

Arguments

$i

int

The index of a description

Get the object, that contains the basic values from the response from mPAY24: status and return code

getGeneralResponse() 
inherited

Properties

An object, that represents the basic values from the response from mPAY24: status and return code

generalResponse

The count of the payment methods, which are activated by mPAY24

all

A list with the payment types, activated by mPAY24

pTypes

A list with the brands, activated by mPAY24

brands

A list with the descriptions of the payment methods, activated by mPAY24

descriptions