PHP Class Markette\Gopay\Entity\RecurrentPayment

Inheritance: extends BasePayment
Afficher le fichier Open project: markette/gopay Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $values )
getRecurrenceCycle ( ) : string Returns cycle
getRecurrenceDateTo ( ) : string Return date to
getRecurrencePeriod ( ) : integer Returns period
setRecurrenceCycle ( string $cycle ) Sets cycle
setRecurrenceDateTo ( string $date ) Sets expiration date
setRecurrencePeriod ( integer $period ) Sets number of period

Method Details

__construct() public méthode

public __construct ( array $values )
$values array

getRecurrenceCycle() public méthode

Returns cycle
public getRecurrenceCycle ( ) : string
Résultat string

getRecurrenceDateTo() public méthode

Return date to
public getRecurrenceDateTo ( ) : string
Résultat string

getRecurrencePeriod() public méthode

Returns period
public getRecurrencePeriod ( ) : integer
Résultat integer

setRecurrenceCycle() public méthode

Sets cycle
public setRecurrenceCycle ( string $cycle )
$cycle string DAY, MONTH, WEEK

setRecurrenceDateTo() public méthode

Sets expiration date
public setRecurrenceDateTo ( string $date )
$date string YYYY-MM-DD

setRecurrencePeriod() public méthode

Sets number of period
public setRecurrencePeriod ( integer $period )
$period integer