Skip to main content

Class: PlatformSettings

Constructors​

constructor​

• new PlatformSettings(ecommerceId, currencyId, apiKey, apiSecret, accessKey, accessSecret, remoteUrl, username, password, adminPath): PlatformSettings

Parameters​

NameType
ecommerceIdnumber
currencyIdundefined | number
apiKeystring
apiSecretstring
accessKeystring
accessSecretstring
remoteUrlstring
usernamestring
passwordstring
adminPathstring

Returns​

PlatformSettings

Properties​

accessKey​

• accessKey: string


accessSecret​

• accessSecret: string


adminPath​

• adminPath: string


apiKey​

• apiKey: string


apiSecret​

• apiSecret: string


currencyId​

• currencyId: undefined | number


ecommerceId​

• ecommerceId: number


password​

• password: string


remoteUrl​

• remoteUrl: string


username​

• username: string


Empty​

▪ Static Empty: PlatformSettings

Accessors​

platform​

• get platform(): Platform

Returns​

Platform

Methods​

fromData​

▸ fromData(settings): PlatformSettings

Parameters​

NameType
settingsPlatformSettingsDto

Returns​

PlatformSettings