ConfigurationProviderInterface

Extends

Interface of configuration data providers from shop.

package

Default

Methods

Return a payment API version.

getApi() : string

Response

string

Check if BLIK channel is set as visible.

getBlikVisible() : boolean

Response

boolean

Check if normal card channel is set as visible.

getCcVisible() : boolean

Response

boolean

Return an information if Dotpay payment is enabled on the shop site.

getEnable() : boolean

Response

boolean

Return a string which contains a list with currency codes for which card channel for foreign currencies is enabled.

getFccCurrencies() : string

Response

string

Return seller id for the account which is asigned to card channel for foreign currency.

getFccId() : integer|null

Response

integer|null

Return seller pin for the account which is asigned to card channel for foreign currency.

getFccPin() : string

Response

string

Check if the One Click card channel is enabled to use.

getFccVisible() : boolean

Response

boolean

Return seller id.

getId() : integer|null

Response

integer|null

Check if payment instruction of cash or transfer channels should be visible on a shop site.

getInstructionVisible() : boolean

Response

boolean

Check if MasterPass channel is set as visible.

getMpVisible() : boolean

Response

boolean

Return a flag if multimerchant is enabled.

getMultimerchant() : boolean

Response

boolean

Check if the One Click card channel is set as visible.

getOcVisible() : boolean

Response

boolean

Return password of Dotpay seller dashboard.

getPassword() : \Dotpay\Provider\password

Response

\Dotpay\Provider\password

Check if Paypal channel is set as visible.

getPaypalVisible() : boolean

Response

boolean

Return seller pin.

getPin() : string

Response

string

Return plugin id.

getPluginId() : string

Response

string

Check if refunds requesting is enabled from a shop system.

getRefundsEnable() : boolean

Response

boolean

Check if payments renew option is enabled.

getRenew() : boolean

Response

boolean

Return a number of days after creating an order when payment can be renewed.

getRenewDays() : integer

Response

integer

Return a name of shop which is sent to Dotpay server.

getShopName() : string

Response

string

Return a flag if special surcharge is enabled.

getSurcharge() : boolean

Response

boolean

Return an amount which will be added as a surcharge.

getSurchargeAmount() : float

Response

float

Return a percent of value of order which will be added as a surcharge.

getSurchargePercent() : float

Response

float

Check if test mode is enabled.

getTestMode() : boolean

Response

boolean

Return username of Dotpay seller dashboard.

getUsername() : string

Response

string

Return a string which contains a list with currency codes for which main Dotpay channel is disabled.

getWidgetCurrencies() : string

Response

string

Check if Dotpay widget is set as visible.

getWidgetVisible() : boolean

Response

boolean