PaymentPageTransaction

Extends \EasyTransac\Entities\Entity

Represents arguments for the request "PaymentPage"

author

klyde

copyright

EasyTransac

package

Default

Methods

__construct

__construct() 
inherited

getAmount

getAmount() 

getCancelUrl

getCancelUrl() 

getClientIP

getClientIP() 

getCustomer

getCustomer() 

getDescription

getDescription() 

getDownPayment

getDownPayment() 

getLanguage

getLanguage() 

getMultiplePayments

getMultiplePayments() 

getMultiplePaymentsRepeat

getMultiplePaymentsRepeat() 

getOrderId

getOrderId() 

getPayToEmail

getPayToEmail() 

getRebill

getRebill() 

getRecurrence

getRecurrence() 

getReturnUrl

getReturnUrl() 

getSecure

getSecure() 

getSendEmail

getSendEmail() 

getUserAgent

getUserAgent() 

getVersion

getVersion() 

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

setCancelUrl

setCancelUrl( $cancelUrl) 

Arguments

$cancelUrl

setClientIP

setClientIP( $clientIP) 

Arguments

$clientIP

setCustomer

setCustomer(\EasyTransac\Entities\Entity $customer) 

Arguments

setDescription

setDescription( $description) 

Arguments

$description

setDownPayment

setDownPayment( $downPayment) 

Arguments

$downPayment

setLanguage

setLanguage( $language) 

Arguments

$language

setMultiplePayments

setMultiplePayments( $multiplePayments) 

Arguments

$multiplePayments

setMultiplePaymentsRepeat

setMultiplePaymentsRepeat( $multiplePaymentsRepeat) 

Arguments

$multiplePaymentsRepeat

setOrderId

setOrderId( $orderId) 

Arguments

$orderId

setPayToEmail

setPayToEmail( $payToEmail) 

Arguments

$payToEmail

setRebill

setRebill( $Rebill) 

Arguments

$Rebill

setRecurrence

setRecurrence( $recurrence) 

Arguments

$recurrence

setReturnUrl

setReturnUrl( $returnUrl) 

Arguments

$returnUrl

setSecure

setSecure( $secure) 

Arguments

$secure

setSendEmail

setSendEmail( $sendEmail) 

Arguments

$sendEmail

setUserAgent

setUserAgent( $userAgent) 

Arguments

$userAgent

setVersion

setVersion( $version) 

Arguments

$version

Prepares an array with the class fields formatted for the API

toArray() : Array
inherited

Response

Array

Properties

sendEmail

sendEmail : 
map

:SendEmail *

Type(s)

orderId

orderId : 
map

:OrderId *

Type(s)

description

description : 
map

:description *

Type(s)

amount

amount : 
map

:Amount *

Type(s)

clientIP

clientIP : 
map

:ClientIP *

Type(s)

secure

secure : 
map

:3DS *

Type(s)

returnUrl

returnUrl : 
map

:ReturnUrl *

Type(s)

cancelUrl

cancelUrl : 
map

:CancelUrl *

Type(s)

customer

customer : 
object

:Customer *

Type(s)

multiplePayments

multiplePayments : 
map

:MultiplePayments *

Type(s)

multiplePaymentsRepeat

multiplePaymentsRepeat : 
map

:MultiplePaymentsRepeat *

Type(s)

downPayment

downPayment : 
map

:DownPayment *

Type(s)

Rebill

Rebill : 
map

:Rebill *

Type(s)

recurrence

recurrence : 
map

:Recurrence *

Type(s)

payToEmail

payToEmail : 
map

:PayToEmail *

Type(s)

userAgent

userAgent : 
map

:UserAgent *

Type(s)

language

language : 
map

:Language *

Type(s)

version

version : 
map

:Version *

Type(s)

mapping

mapping : 
inherited

Type(s)