Account

Informations about an account of a seller.

package

Default

Methods

Initialize the model.

__construct(integer $id) 

Arguments

$id

integer

Seller id

Check if external URLc is blocked.

getBlockExternalUrlc() : boolean

Response

boolean

Return a seller id.

getId() : integer|null

Response

integer|null

Return an MCC code.

getMcc() : integer|null

Response

integer|null

Return a name of the seller.

getName() : string|null

Response

string|null

Return a pin of the seller.

getPin() : string|null

Response

string|null

Return an account status name.

getStatus() : string|null

Response

string|null

Return an URLc.

getUrlc() : string|null

Response

string|null

Set a flag if external URLc is blocked or not.

setBlockExternalUrlc(string $blockExternalUrlc) : \Dotpay\Model\Account

Arguments

$blockExternalUrlc

string

A logical string ("true" or "false")

Response

\Dotpay\Model\Account

Set the given seller id.

setId(integer $id) : \Dotpay\Model\Account
Throws
\Dotpay\Exception\BadParameter\IdException

Thrown when the given seller id is incorrect

Arguments

$id

integer

Seller id

Response

\Dotpay\Model\Account

Set the given MCC number.

setMcc(integer $mcc) : \Dotpay\Model\Account
Throws
\Dotpay\Exception\BadParameter\MccException

Thrown when the given MCC number is incorrect

Arguments

$mcc

integer

MCC number

Response

\Dotpay\Model\Account

Set the given name of the seller.

setName(string $name) : \Dotpay\Model\Account

Arguments

$name

string

Name of the seller

Response

\Dotpay\Model\Account

Set the given seller pin.

setPin(string $pin) : \Dotpay\Model\Account
Throws
\Dotpay\Exception\BadParameter\PinException

Thrown when the given seller pin is incorrect

Arguments

$pin

string

Seller pin

Response

\Dotpay\Model\Account

Set the given status name.

setStatus(string $status) : \Dotpay\Model\Account

Arguments

$status

string

Account status name

Response

\Dotpay\Model\Account

Set the given URLc address.

setUrlc(string $urlc) : \Dotpay\Model\Account
Throws
\Dotpay\Exception\BadParameter\UrlException

Thrown when the given URLc is incorrect

Arguments

$urlc

string

URLc address

Response

\Dotpay\Model\Account

Properties

Seller id

id : integer
var

Seller id

Type(s)

integer

Account status name

status : string|null
var

Account status name

Type(s)

string|null

Name of a seller

name : string|null
var

Name of a seller

Type(s)

string|null

MCC code

mcc : integer|null
var

MCC code

Type(s)

integer|null

URL which is set as an URLc

urlc : string|null
var

URL which is set as an URLc

Type(s)

string|null

Flag which informs if external URLc is blocked

blockExternalUrlc : boolean
var

Flag which informs if external URLc is blocked

Type(s)

boolean

Pin for the seller id

pin : string|null
var

Pin for the seller id

Type(s)

string|null