PHP Класс Markette\Gopay\Entity\BasePayment

Наследование: extends Nette\Object
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( array $values )
getCurrency ( ) : string Returns payment currency
getCustomer ( ) : stdClass Returns customer data
getProductName ( ) : string Returns product name
getSpecific ( ) : integer Returns specific symbol
getSum ( ) : float Returns sum of payment
getSumInCents ( ) : integer Return sum in cents
getVariable ( ) : integer Returns variable symbol
setCurrency ( string $currency ) : self Sets payment currency
setCustomer ( $customer ) : self Sets customer data
setProductName ( string $name ) : self Sets product name
setSpecific ( integer $specific ) : self Sets specific symbol
setSum ( float $sum ) : static Sets sum of payment
setVariable ( integer $variable ) : self Sets variable symbol

Описание методов

__construct() публичный Метод

public __construct ( array $values )
$values array

getCurrency() публичный Метод

Returns payment currency
public getCurrency ( ) : string
Результат string

getCustomer() публичный Метод

Returns customer data
public getCustomer ( ) : stdClass
Результат stdClass

getProductName() публичный Метод

Returns product name
public getProductName ( ) : string
Результат string

getSpecific() публичный Метод

Returns specific symbol
public getSpecific ( ) : integer
Результат integer

getSum() публичный Метод

Returns sum of payment
public getSum ( ) : float
Результат float

getSumInCents() публичный Метод

Return sum in cents
public getSumInCents ( ) : integer
Результат integer

getVariable() публичный Метод

Returns variable symbol
public getVariable ( ) : integer
Результат integer

setCurrency() публичный Метод

Sets payment currency
public setCurrency ( string $currency ) : self
$currency string
Результат self

setCustomer() публичный Метод

Sets customer data
public setCustomer ( $customer ) : self
Результат self

setProductName() публичный Метод

Sets product name
public setProductName ( string $name ) : self
$name string
Результат self

setSpecific() публичный Метод

Sets specific symbol
public setSpecific ( integer $specific ) : self
$specific integer
Результат self

setSum() публичный Метод

Sets sum of payment
public setSum ( float $sum ) : static
$sum float
Результат static provides a fluent interface

setVariable() публичный Метод

Sets variable symbol
public setVariable ( integer $variable ) : self
$variable integer
Результат self