PaymentPageInfos

Extends \EasyTransac\Entities\Entity

Represents the response of the request "PaymentPage"

author

klyde

copyright

EasyTransac

package

Default

Methods

__construct

__construct() 
inherited

getAmount

getAmount() 

getDate

getDate() 

getEmail

getEmail() 

getFixFees

getFixFees() 

getLanguage

getLanguage() 

getMailSent

getMailSent() 

getPageUrl

getPageUrl() 

getRequestId

getRequestId() 

getSecure

getSecure() 

getStatus

getStatus() 

Allows to fill the entity with data returned by the EasyTransac API

hydrate(Mixed $fields, Boolean $checkRequired = false) : \EasyTransac\Entities\Entity
inherited

Arguments

$fields

Mixed

Array or \stdClass

$checkRequired

Boolean

Response

\EasyTransac\Entities\Entity

Fill the entity with the API json response

hydrateWidthObject(\stdClass $fields, Boolean $checkRequired = false) 
inherited

Arguments

$fields

\stdClass

$checkRequired

Boolean

Fill the entity with an list of entity (see: CreditCardList with comment tag @array)

hydrateWithArray(\EasyTransac\Entities\Array<Entity> $itemsList, Boolean $checkRequired = false) 
inherited

Arguments

$itemsList

\EasyTransac\Entities\Array

$checkRequired

Boolean

Make the mapping between class attributes and API fields

makeMapping() 
inherited

setAmount

setAmount( $amount) 

Arguments

$amount

setDate

setDate( $date) 

Arguments

$date

setEmail

setEmail( $email) 

Arguments

$email

setFixFees

setFixFees( $fixFees) 

Arguments

$fixFees

setLanguage

setLanguage( $language) 

Arguments

$language

setMailSent

setMailSent( $mailSent) 

Arguments

$mailSent

setPageUrl

setPageUrl( $pageUrl) 

Arguments

$pageUrl

setRequestId

setRequestId( $value) 

Arguments

$value

setSecure

setSecure( $secure) 

Arguments

$secure

setStatus

setStatus( $status) 

Arguments

$status

Prepares an array with the class fields formatted for the API

toArray() : Array
inherited

Response

Array

Properties

requestId

requestId : 
map

:RequestId *

Type(s)

status

status : 
map

:Status *

Type(s)

date

date : 
map

:Date *

Type(s)

amount

amount : 
map

:Amount *

Type(s)

fixFees

fixFees : 
map

:FixFees *

Type(s)

secure

secure : 
map

:3DSecure *

Type(s)

pageUrl

pageUrl : 
map

:PageUrl *

Type(s)

mailSent

mailSent : 
map

:MailSent *

Type(s)

email

email : 
map

:Email *

Type(s)

language

language : 
map

:Language *

Type(s)

mapping

mapping : 
inherited

Type(s)