Documentation

CheckoutRequestOss
in package
implements JsonSerializable

Tags
ORM\Entity

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

ORM\Table

(name="checkout_request_oss")

Table of Contents

Interfaces

JsonSerializable

Properties

$country  : Country|null
$couponCodes  : array<string|int, CheckoutRequestVatRegCouponCode>
$id  : int|null
$plan  : CheckoutPlan
$recurringCost  : int
$request  : CheckoutRequest
$serviceStartDate  : DateTime
$setupCost  : int
$status  : int
$subscriptionId  : string
$subscriptionStartDate  : DateTime

Methods

__construct()  : mixed
getCountry()  : Country|null
getCouponCodes()  : array<string|int, CheckoutRequestVatRegCouponCode>
getId()  : int|null
Get $id
getPlan()  : CheckoutPlan
Get the value of plan
getRecurringCost()  : int
Get the value of recurringCost
getRequest()  : CheckoutRequest
Get the value of request
getServiceStartDate()  : DateTime
Get the value of serviceStartDate
getSetupCost()  : int
Get the value of setupCost
getStatus()  : int
Get the value of status
getSubscriptionId()  : string
Get the value of subscriptionId
getSubscriptionStartDate()  : DateTime
Get the value of subscriptionStartDate
jsonSerialize()  : mixed
setCountry()  : void
setCouponCodes()  : void
setPlan()  : self
Set the value of plan
setRecurringCost()  : self
Set the value of recurringCost
setRequest()  : self
Set the value of request
setServiceStartDate()  : self
Set the value of serviceStartDate
setSetupCost()  : self
Set the value of setupCost
setStatus()  : self
Set the value of status
setSubscriptionId()  : self
Set the value of subscriptionId
setSubscriptionStartDate()  : self
Set the value of subscriptionStartDate

Properties

$country

private Country|null $country
Tags
ORM\ManyToOne

(targetEntity="Country")

ORM\JoinColumn

(name="country_id", referencedColumnName="id", nullable=true)

$id

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

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

$plan

private CheckoutPlan $plan
Tags
ORM\ManyToOne

(targetEntity="CheckoutPlan")

ORM\JoinColumn

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

$recurringCost

private int $recurringCost
Tags
ORM\Column

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

$request

private CheckoutRequest $request
Tags
ORM\ManyToOne

(targetEntity="CheckoutRequest", inversedBy="subscriptions")

ORM\JoinColumn

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

$serviceStartDate

private DateTime $serviceStartDate
Tags
ORM\Column

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

$setupCost

private int $setupCost
Tags
ORM\Column

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

$status

private int $status
Tags
ORM\Column

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

$subscriptionId

private string $subscriptionId
Tags
ORM\Column

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

$subscriptionStartDate

private DateTime $subscriptionStartDate
Tags
ORM\Column

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

Methods

getRecurringCost()

Get the value of recurringCost

public getRecurringCost() : int
Return values
int

getServiceStartDate()

Get the value of serviceStartDate

public getServiceStartDate() : DateTime
Return values
DateTime

getSetupCost()

Get the value of setupCost

public getSetupCost() : int
Return values
int

getSubscriptionId()

Get the value of subscriptionId

public getSubscriptionId() : string
Return values
string

getSubscriptionStartDate()

Get the value of subscriptionStartDate

public getSubscriptionStartDate() : DateTime
Return values
DateTime

setRecurringCost()

Set the value of recurringCost

public setRecurringCost(int $recurringCost) : self
Parameters
$recurringCost : int
Return values
self

setServiceStartDate()

Set the value of serviceStartDate

public setServiceStartDate(DateTime $serviceStartDate) : self
Parameters
$serviceStartDate : DateTime
Return values
self

setSetupCost()

Set the value of setupCost

public setSetupCost(int $setupCost) : self
Parameters
$setupCost : int
Return values
self

setStatus()

Set the value of status

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

setSubscriptionId()

Set the value of subscriptionId

public setSubscriptionId(string $subscriptionId) : self
Parameters
$subscriptionId : string
Return values
self

setSubscriptionStartDate()

Set the value of subscriptionStartDate

public setSubscriptionStartDate(DateTime $subscriptionStartDate) : self
Parameters
$subscriptionStartDate : DateTime
Return values
self

        
On this page

Search results