Documentation

CheckoutRequest
in package
implements JsonSerializable

Class CheckoutRequest

Tags
ORM\Entity

(repositoryClass="Vatjar\Data\Repository\CheckoutRequestRepository")

ORM\Table

(name="checkout_request")

Table of Contents

Interfaces

JsonSerializable

Constants

STATUS_ID_DONE  = 2
STATUS_ID_FAILED  = -1
STATUS_ID_FAILURE_RESOLVED  = -2
STATUS_ID_NOT_STARTED  = 0
STATUS_ID_PENDING  = 1
STATUS_LABEL_DONE  = "active"
STATUS_LABEL_FAILED  = "creation_failed"
STATUS_LABEL_FAILURE_RESOLVED  = "failure_resolved"
STATUS_LABEL_MAP  = [self::STATUS_ID_FAILURE_RESOLVED => self::STATUS_LABEL_FAILURE_RESOLVED, self::STATUS_ID_FAILED => self::STATUS_LABEL_FAILED, self::STATUS_ID_NOT_STARTED => self::STATUS_LABEL_NOT_STARTED, self::STATUS_ID_PENDING => self::STATUS_LABEL_PENDING, self::STATUS_ID_DONE => self::STATUS_LABEL_DONE]
STATUS_LABEL_NOT_STARTED  = "creation_not_started"
STATUS_LABEL_PENDING  = "creation_pending"

Properties

$billingData  : array<string|int, mixed>
$checkoutRequestOss  : array<string|int, CheckoutRequestOss>
$checkoutRequestProforma  : array<string|int, CheckoutRequestProforma>
$checkoutRequestVatReg  : array<string|int, CheckoutRequestVatReg>
$client  : Client
$endTime  : DateTime
$excessPayments  : int
$id  : int|null
$ipAddress  : string
$loggedInUserAccountId  : int
$promotionalCredits  : int
$refundableCredits  : int
$requestTime  : DateTime
$requestUserAccountId  : int
$responseMessage  : string|null
$startTime  : DateTime
$status  : int
$unbilledCharges  : int

Methods

__construct()  : mixed
getBillingData()  : array<string|int, mixed>
Get the value of billingData
getCheckoutRequestOss()  : array<string|int, CheckoutRequestOss>
Get the value of checkoutRequestOss
getCheckoutRequestProforma()  : array<string|int, CheckoutRequestProforma>
Get the value of checkoutRequestProforma
getCheckoutRequestVatReg()  : array<string|int, CheckoutRequestVatReg>
Get the value of checkoutRequestVatReg
getCheckoutRequestVatRegArray()  : mixed
getClient()  : Client
Get the value of client
getEndTime()  : DateTime
Get the value of endTime
getExcessPayments()  : int
Get the value of excessPayments
getId()  : int|null
Get $id
getIpAddress()  : string
Get the value of ipAddress
getLoggedInUserAccountId()  : int
Get the value of loggedInUserAccountId
getPromotionalCredits()  : int
Get the value of promotionalCredits
getRefundableCredits()  : int
Get the value of refundableCredits
getRequestTime()  : DateTime
Get the value of requestTime
getRequestUserAccountId()  : int
Get the value of requestUserAccountId
getResponseMessage()  : string|null
Get the value of responseMessage
getStartTime()  : DateTime
Get the value of startTime
getStatus()  : int
Get the value of status
getSubscriptions()  : array<string|int, CheckoutRequestVatReg>|array<string|int, CheckoutRequestProforma>
getUnbilledCharges()  : int
Get the value of unbilledCharges
jsonSerialize()  : mixed
setBillingData()  : self
Set the value of billingData
setClient()  : self
Set the value of client
setEndTime()  : self
Set the value of endTime
setExcessPayments()  : self
Set the value of excessPayments
setIpAddress()  : self
Set the value of ipAddress
setLoggedInUserAccountId()  : self
Set the value of loggedInUserAccountId
setPromotionalCredits()  : self
Set the value of promotionalCredits
setRefundableCredits()  : self
Set the value of refundableCredits
setRequestTime()  : self
Set the value of requestTime
setRequestUserAccountId()  : self
Set the value of requestUserAccountId
setResponseMessage()  : self
Set the value of responseMessage
setStartTime()  : self
Set the value of startTime
setStatus()  : self
Set the value of status
setUnbilledCharges()  : self
Set the value of unbilledCharges

Constants

STATUS_ID_FAILURE_RESOLVED

public mixed STATUS_ID_FAILURE_RESOLVED = -2

STATUS_LABEL_FAILED

public mixed STATUS_LABEL_FAILED = "creation_failed"

STATUS_LABEL_FAILURE_RESOLVED

public mixed STATUS_LABEL_FAILURE_RESOLVED = "failure_resolved"

STATUS_LABEL_MAP

public mixed STATUS_LABEL_MAP = [self::STATUS_ID_FAILURE_RESOLVED => self::STATUS_LABEL_FAILURE_RESOLVED, self::STATUS_ID_FAILED => self::STATUS_LABEL_FAILED, self::STATUS_ID_NOT_STARTED => self::STATUS_LABEL_NOT_STARTED, self::STATUS_ID_PENDING => self::STATUS_LABEL_PENDING, self::STATUS_ID_DONE => self::STATUS_LABEL_DONE]

STATUS_LABEL_NOT_STARTED

public mixed STATUS_LABEL_NOT_STARTED = "creation_not_started"

STATUS_LABEL_PENDING

public mixed STATUS_LABEL_PENDING = "creation_pending"

Properties

$billingData

private array<string|int, mixed> $billingData
Tags
ORM\Column

(type="json", name="billing_data")

$checkoutRequestOss

private array<string|int, CheckoutRequestOss> $checkoutRequestOss
Tags
ORM\OneToMany

(targetEntity="CheckoutRequestOss", mappedBy="request")

$checkoutRequestVatReg

private array<string|int, CheckoutRequestVatReg> $checkoutRequestVatReg
Tags
ORM\OneToMany

(targetEntity="CheckoutRequestVatReg", mappedBy="request")

$client

private Client $client
Tags
ORM\ManyToOne

(targetEntity="Client")

ORM\JoinColumn

(name="client_id", referencedColumnName="id", nullable=false)

$endTime

private DateTime $endTime
Tags
ORM\Column

(type="datetime", name="end_time", nullable=true)

$excessPayments

private int $excessPayments
Tags
ORM\Column

(type="integer", name="excess_payments", nullable=false)

$id

private int|null $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer", name="id")

$ipAddress

private string $ipAddress
Tags
ORM\Column

(type="string", name="ip_address", nullable=false)

$loggedInUserAccountId

private int $loggedInUserAccountId
Tags
ORM\Column

(type="integer", name="logged_in_user_account_id", nullable=false)

$promotionalCredits

private int $promotionalCredits
Tags
ORM\Column

(type="integer", name="promotional_credits", nullable=false)

$refundableCredits

private int $refundableCredits
Tags
ORM\Column

(type="integer", name="refundable_credits", nullable=false)

$requestTime

private DateTime $requestTime
Tags
ORM\Column

(type="datetime", name="request_time", nullable=false)

$requestUserAccountId

private int $requestUserAccountId
Tags
ORM\Column

(type="integer", name="request_user_account_id", nullable=false)

$responseMessage

private string|null $responseMessage
Tags
ORM\Column

(type="string", name="response_message", nullable=true)

$startTime

private DateTime $startTime
Tags
ORM\Column

(type="datetime", name="start_time", nullable=true)

$status

private int $status
Tags
ORM\Column

(type="integer", name="status", nullable=false)

$unbilledCharges

private int $unbilledCharges
Tags
ORM\Column

(type="integer", name="unbilled_charges", nullable=false)

Methods

getBillingData()

Get the value of billingData

public getBillingData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCheckoutRequestVatRegArray()

public getCheckoutRequestVatRegArray() : mixed

getEndTime()

Get the value of endTime

public getEndTime() : DateTime
Return values
DateTime

getExcessPayments()

Get the value of excessPayments

public getExcessPayments() : int
Return values
int

getIpAddress()

Get the value of ipAddress

public getIpAddress() : string
Return values
string

getLoggedInUserAccountId()

Get the value of loggedInUserAccountId

public getLoggedInUserAccountId() : int
Return values
int

getPromotionalCredits()

Get the value of promotionalCredits

public getPromotionalCredits() : int
Return values
int

getRefundableCredits()

Get the value of refundableCredits

public getRefundableCredits() : int
Return values
int

getRequestTime()

Get the value of requestTime

public getRequestTime() : DateTime
Return values
DateTime

getRequestUserAccountId()

Get the value of requestUserAccountId

public getRequestUserAccountId() : int
Return values
int

getResponseMessage()

Get the value of responseMessage

public getResponseMessage() : string|null
Return values
string|null

getStartTime()

Get the value of startTime

public getStartTime() : DateTime
Return values
DateTime

getStatus()

Get the value of status

public getStatus() : int
Return values
int

getUnbilledCharges()

Get the value of unbilledCharges

public getUnbilledCharges() : int
Return values
int

setBillingData()

Set the value of billingData

public setBillingData(array<string|int, mixed> $billingData) : self
Parameters
$billingData : array<string|int, mixed>
Return values
self

setEndTime()

Set the value of endTime

public setEndTime(DateTime $endTime) : self
Parameters
$endTime : DateTime
Return values
self

setExcessPayments()

Set the value of excessPayments

public setExcessPayments(int $excessPayments) : self
Parameters
$excessPayments : int
Return values
self

setIpAddress()

Set the value of ipAddress

public setIpAddress(string $ipAddress) : self
Parameters
$ipAddress : string
Return values
self

setLoggedInUserAccountId()

Set the value of loggedInUserAccountId

public setLoggedInUserAccountId(int $loggedInUserAccountId) : self
Parameters
$loggedInUserAccountId : int
Return values
self

setPromotionalCredits()

Set the value of promotionalCredits

public setPromotionalCredits(int $promotionalCredits) : self
Parameters
$promotionalCredits : int
Return values
self

setRefundableCredits()

Set the value of refundableCredits

public setRefundableCredits(int $refundableCredits) : self
Parameters
$refundableCredits : int
Return values
self

setRequestTime()

Set the value of requestTime

public setRequestTime(DateTime $requestTime) : self
Parameters
$requestTime : DateTime
Return values
self

setRequestUserAccountId()

Set the value of requestUserAccountId

public setRequestUserAccountId(int $requestUserAccountId) : self
Parameters
$requestUserAccountId : int
Return values
self

setResponseMessage()

Set the value of responseMessage

public setResponseMessage(string|null $responseMessage) : self
Parameters
$responseMessage : string|null
Return values
self

setStartTime()

Set the value of startTime

public setStartTime(DateTime $startTime) : self
Parameters
$startTime : DateTime
Return values
self

setStatus()

Set the value of status

public setStatus(int $status) : self
Parameters
$status : int
Return values
self

setUnbilledCharges()

Set the value of unbilledCharges

public setUnbilledCharges(int $unbilledCharges) : self
Parameters
$unbilledCharges : int
Return values
self

        
On this page

Search results