Payment
class Payment
Entity Event (linked to DB table stripe_payment
)
Properties
protected int | $id | Payment unique id | |
protected bool | $finished | If the Payment is finished | |
protected string | $orderId | OrderId for the Payment | |
protected int | $amount | Amount in cents for the Payment | |
protected int | $vat | VAT rate without decimal (x 100) for the Payment | |
protected string | $description | Description for the Payment | |
protected string | $currency | Currency for the Payment | |
protected string | $action | Action to be executed after the payment | |
protected int | $stripeFee | Estimated Stripe fee in cents | |
protected string | $stripeToken | Stripe token | |
protected string | $stripeTokenType | Stripe token type | |
protected string | $stripeEmail | Email used for Stripe Payment | |
protected int | $userId | User unique id (if logged in) | |
protected string | $userIp | User IP address | |
protected DateTime | $creation | DateTime creation for the Payment | |
protected bool | $live | Wether or not the payments are live (not mapped) | |
protected string | $returnRoute | Return Route to be used after payment (not mapped) |
Methods
No description
Hydrates entity from associative array
Get id
Set finished
Get finished
Set orderId
Get orderId
Get amount
Get vat
Set description
Get description
Set currency
Get currency
Get action
Set stripeFee
Get stripeFee
Set stripeToken
Get stripeToken
Set stripeTokenType
Get stripeTokenType
Set stripeEmail
Get stripeEmail
Get userId
Get userIp
Get creation
Get live
Set returnRoute
Get returnRoute
Details
at line 161
__construct($data, $timezone)
at line 176
setDataFromArray(array $data)
Hydrates entity from associative array
at line 190
int
getId()
Get id
at line 200
Payment
setFinished(bool|null $finished)
Set finished
at line 211
bool|null
getFinished()
Get finished
at line 221
Payment
setOrderId(string|null $orderId)
Set orderId
at line 232
string|null
getOrderId()
Get orderId
at line 242
Payment
setAmount(int|null $amount)
Set amount
at line 253
int|null
getAmount()
Get amount
at line 263
Payment
setVat(int|null $vat)
Set vat
at line 274
int|null
getVat()
Get vat
at line 284
Payment
setDescription(string|null $description)
Set description
at line 295
string|null
getDescription()
Get description
at line 305
Payment
setCurrency(string|null $currency)
Set currency
at line 316
string|null
getCurrency()
Get currency
at line 326
Payment
setAction(string|null $action)
Set action
at line 337
string|null
getAction()
Get action
at line 347
Payment
setStripeFee(int|null $stripeFee)
Set stripeFee
at line 358
int
getStripeFee()
Get stripeFee
at line 368
Payment
setStripeToken(string|null $stripeToken)
Set stripeToken
at line 379
string|null
getStripeToken()
Get stripeToken
at line 389
Payment
setStripeTokenType(string|null $stripeTokenType)
Set stripeTokenType
at line 400
string|null
getStripeTokenType()
Get stripeTokenType
at line 410
Payment
setStripeEmail(string|null $stripeEmail)
Set stripeEmail
at line 421
string|null
getStripeEmail()
Get stripeEmail
at line 431
Payment
setUserId(int|null $userId)
Set userId
at line 442
int|null
getUserId()
Get userId
at line 452
Payment
setUserIp(string|null $userIp)
Set userIp
at line 463
string|null
getUserIp()
Get userIp
at line 484
DateTime|null
getCreation()
Get creation
at line 494
Payment
setLive(bool|null $live)
Set live
at line 505
bool|null
getLive()
Get live
at line 515
Payment
setReturnRoute(string|null $returnRoute)
Set returnRoute
at line 526
string|null
getReturnRoute()
Get returnRoute