PHP 클래스 Markette\Gopay\Entity\BasePayment

상속: extends Nette\Object
파일 보기 프로젝트 열기: markette/gopay 1 사용 예제들

공개 메소드들

메소드 설명
__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