Documentation

SubscriptionsPrice
in package
implements JsonSerializable

Class SubscriptionsPrice

Tags
ORM\Entity

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

ORM\Table

(name="subscription_price")

Table of Contents

Interfaces

JsonSerializable

Properties

$baseAmount  : string
$country  : Country|null
$currency  : Currency
$discountAmount  : string
$id  : int|null
$nextBillingDate  : DateTime|null
$planId  : string
$planName  : int
$subscription  : Subscriptions
$taxAmount  : string
$totalAmount  : string

Methods

getBaseAmount()  : float
getCountry()  : Country|null
getCurrency()  : Currency
getDiscountAmount()  : float
getId()  : int
getNextBillingDate()  : DateTime|null
getPlanId()  : string
getPlanName()  : string
getSubscription()  : Subscriptions
getTaxAmount()  : float
getTotalAmount()  : float
jsonSerialize()  : mixed
setBaseAmount()  : self
setCountry()  : self
setCurrency()  : self
setDiscountAmount()  : self
setId()  : self
setNextBillingDate()  : void
setPlanId()  : self
setPlanName()  : self
setSubscription()  : self
setTaxAmount()  : self
setTotalAmount()  : self

Properties

$baseAmount

private string $baseAmount
Tags
ORM\Column

(type="decimal", name="base_amount")

$country

private Country|null $country
Tags
ORM\ManyToOne

(targetEntity="Country", inversedBy="subscriptionPrice")

ORM\JoinColumn

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

$currency

private Currency $currency
Tags
ORM\ManyToOne

(targetEntity="Currency", inversedBy="subscriptionPrice")

ORM\JoinColumn

(name="currency_id", referencedColumnName="id")

$discountAmount

private string $discountAmount
Tags
ORM\Column

(type="decimal", name="discount_amount")

$id

private int|null $id
Tags
ORM\Column

(type="integer")

ORM\Id

()

ORM\GeneratedValue

()

$nextBillingDate

private DateTime|null $nextBillingDate
Tags
ORM\Column

(name="next_billing_date", type="datetime")

$planName

private int $planName
Tags
ORM\Column

(type="string", name="plan_name")

$subscription

private Subscriptions $subscription
Tags
ORM\OneToOne

(targetEntity="Subscriptions", inversedBy="subscriptionPrice")

ORM\JoinColumn

(name="subscription_id", referencedColumnName="id")

$taxAmount

private string $taxAmount
Tags
ORM\Column

(type="decimal", name="tax_amount")

$totalAmount

private string $totalAmount
Tags
ORM\Column

(type="decimal", name="total_amount")

Methods

getNextBillingDate()

public getNextBillingDate() : DateTime|null
Return values
DateTime|null

setBaseAmount()

public setBaseAmount(float|null $baseAmount) : self
Parameters
$baseAmount : float|null
Return values
self

setDiscountAmount()

public setDiscountAmount(float|null $discountAmount) : self
Parameters
$discountAmount : float|null
Return values
self

setId()

public setId(int|null $id) : self
Parameters
$id : int|null
Return values
self

setNextBillingDate()

public setNextBillingDate(DateTime|null $nextBillingDate) : void
Parameters
$nextBillingDate : DateTime|null

setPlanId()

public setPlanId(string|null $planId) : self
Parameters
$planId : string|null
Return values
self

setPlanName()

public setPlanName(string|null $planName) : self
Parameters
$planName : string|null
Return values
self

setTaxAmount()

public setTaxAmount(float|null $taxAmount) : self
Parameters
$taxAmount : float|null
Return values
self

setTotalAmount()

public setTotalAmount(float|null $totalAmount) : self
Parameters
$totalAmount : float|null
Return values
self

        
On this page

Search results