class Payment extends Base

Class Payment

Constants

NOTE_TRANSACTION

Properties

static string $pimcoreClass Pimcore Object Class.

Methods

static  string
getPimcoreObjectClass()

get Pimcore implementation class.

from Base
static  Base
create()

Create new instance of Pimcore Object.

from Base
static  int
classId()

returns the class ID of the current object class.

from Base
static  Listing
getList( array $config = array())

No description

from Base
static  Data[]
getMandatoryFields()

No description

from Base
static 
validate($data)

No description

from Base
static  mixed|null
__callStatic($method, $arguments)

No description

from Base
array
toArray()

Object to Array.

from Base
string
getCacheKey()

get cache key

from Base
AdminStyle
getElementAdminStyle()

Admin Element Style.

from Base
save()

No description

from Base
Note
createNote($type)

Create a note for this object.

from Base
AbstractObject
getVariantMaster()

Return Topmost Master if Object is Variant

from Base
bool
isAllowedForShop( Shop $shop)

No description

from Base
bool|string
getUrl($language, $params = array(), $route, bool $reset = false, Shop $shop = null)

No description

from Base
static  bool|Payment
findByTransactionIdentifier($transactionIdentification)

Return Payment by transaction identifier.

Note
addTransactionNote($status, $code = null, $description = null)

No description

bool
getLastTransactionNote()

No description

bool|AbstractObject
getOrder()

Get Order for Payment.

string
getProvider()

No description

setProvider( string $provider)

No description

double
getAmount()

No description

setAmount( double $amount)

No description

string
getTransactionIdentifier()

No description

setTransactionIdentifier( string $transactionIdentifier)

No description

boolean
getPayed()

No description

setPayed( boolean $payed)

No description

Date
getDatePayment()

No description

setDatePayment( Date $datePayment)

No description

mixed
getPaymentInformation()

No description

setPaymentInformation( mixed $paymentInformation)

No description

Details

in Base at line line 50
static string getPimcoreObjectClass()

get Pimcore implementation class.

Return Value

string

Exceptions

Exception

in Base at line line 68
static Base create()

Create new instance of Pimcore Object.

Return Value

Base

Exceptions

Exception

in Base at line line 84
static int classId()

returns the class ID of the current object class.

Return Value

int

in Base at line line 98
static Listing getList( array $config = array())

Parameters

array $config

Return Value

Listing

Exceptions

Exception

in Base at line line 131
static Data[] getMandatoryFields()

Return Value

Data[]

Exceptions

Exception

in Base at line line 156
static validate($data)

Parameters

$data

Exceptions

ValidationException

in Base at line line 173
static mixed|null __callStatic($method, $arguments)

Parameters

$method
$arguments

Return Value

mixed|null

Exceptions

Exception

in Base at line line 194
array toArray()

Object to Array.

Return Value

array

in Base at line line 204
string getCacheKey()

get cache key

Return Value

string

in Base at line line 224
AdminStyle getElementAdminStyle()

Admin Element Style.

Return Value

AdminStyle

in Base at line line 247
Base save()

Return Value

Base

Exceptions

Exception
Exception
ValidationException

in Base at line line 267
Note createNote($type)

Create a note for this object.

Parameters

$type string

Return Value

Note $note

in Base at line line 289
AbstractObject getVariantMaster()

Return Topmost Master if Object is Variant

Return Value

AbstractObject

in Base at line line 304
bool isAllowedForShop( Shop $shop)

Parameters

Shop $shop

Return Value

bool

in Base at line line 323
bool|string getUrl($language, $params = array(), $route, bool $reset = false, Shop $shop = null)

Parameters

$language
$params
$route
bool $reset
Shop $shop

Return Value

bool|string

at line line 52
static bool|Payment findByTransactionIdentifier($transactionIdentification)

Return Payment by transaction identifier.

Parameters

$transactionIdentification

Return Value

bool|Payment

at line line 73
Note addTransactionNote($status, $code = null, $description = null)

Parameters

$status
$code
$description

Return Value

Note

Exceptions

ObjectUnsupportedException

at line line 88
bool getLastTransactionNote()

Return Value

bool

at line line 107
bool|AbstractObject getOrder()

Get Order for Payment.

Return Value

bool|AbstractObject

at line line 127
string getProvider()

Return Value

string

Exceptions

ObjectUnsupportedException

at line line 137
setProvider( string $provider)

Parameters

string $provider

Exceptions

ObjectUnsupportedException

at line line 147
double getAmount()

Return Value

double

Exceptions

ObjectUnsupportedException

at line line 157
setAmount( double $amount)

Parameters

double $amount

Exceptions

ObjectUnsupportedException

at line line 167
string getTransactionIdentifier()

Return Value

string

Exceptions

ObjectUnsupportedException

at line line 177
setTransactionIdentifier( string $transactionIdentifier)

Parameters

string $transactionIdentifier

Exceptions

ObjectUnsupportedException

at line line 187
boolean getPayed()

Return Value

boolean

Exceptions

ObjectUnsupportedException

at line line 197
setPayed( boolean $payed)

Parameters

boolean $payed

Exceptions

ObjectUnsupportedException

at line line 207
Date getDatePayment()

Return Value

Date

Exceptions

ObjectUnsupportedException

at line line 217
setDatePayment( Date $datePayment)

Parameters

Date $datePayment

Exceptions

ObjectUnsupportedException

at line line 227
mixed getPaymentInformation()

Return Value

mixed

Exceptions

ObjectUnsupportedException

at line line 237
setPaymentInformation( mixed $paymentInformation)

Parameters

mixed $paymentInformation

Exceptions

ObjectUnsupportedException