PHP Class Markette\Gopay\Entity\RecurrentPayment

Inheritance: extends BasePayment
Mostrar archivo Open project: markette/gopay Class Usage Examples

Public Methods

Method 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 method

public __construct ( array $values )
$values array

getRecurrenceCycle() public method

Returns cycle
public getRecurrenceCycle ( ) : string
return string

getRecurrenceDateTo() public method

Return date to
public getRecurrenceDateTo ( ) : string
return string

getRecurrencePeriod() public method

Returns period
public getRecurrencePeriod ( ) : integer
return integer

setRecurrenceCycle() public method

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

setRecurrenceDateTo() public method

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

setRecurrencePeriod() public method

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