SubscriptionsPrice
in package
implements
JsonSerializable
Class SubscriptionsPrice
Tags
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
$country
private
Country|null
$country
Tags
$currency
private
Currency
$currency
Tags
$discountAmount
private
string
$discountAmount
Tags
$id
private
int|null
$id
Tags
$nextBillingDate
private
DateTime|null
$nextBillingDate
Tags
$planId
private
string
$planId
Tags
$planName
private
int
$planName
Tags
$subscription
private
Subscriptions
$subscription
Tags
$taxAmount
private
string
$taxAmount
Tags
$totalAmount
private
string
$totalAmount
Tags
Methods
getBaseAmount()
public
getBaseAmount() : float
Return values
floatgetCountry()
public
getCountry() : Country|null
Return values
Country|nullgetCurrency()
public
getCurrency() : Currency
Return values
CurrencygetDiscountAmount()
public
getDiscountAmount() : float
Return values
floatgetId()
public
getId() : int
Return values
intgetNextBillingDate()
public
getNextBillingDate() : DateTime|null
Return values
DateTime|nullgetPlanId()
public
getPlanId() : string
Return values
stringgetPlanName()
public
getPlanName() : string
Return values
stringgetSubscription()
public
getSubscription() : Subscriptions
Return values
SubscriptionsgetTaxAmount()
public
getTaxAmount() : float
Return values
floatgetTotalAmount()
public
getTotalAmount() : float
Return values
floatjsonSerialize()
public
jsonSerialize() : mixed
setBaseAmount()
public
setBaseAmount(float|null $baseAmount) : self
Parameters
- $baseAmount : float|null
Return values
selfsetCountry()
public
setCountry(Country|null $country) : self
Parameters
- $country : Country|null
Return values
selfsetCurrency()
public
setCurrency(Currency $currency) : self
Parameters
- $currency : Currency
Return values
selfsetDiscountAmount()
public
setDiscountAmount(float|null $discountAmount) : self
Parameters
- $discountAmount : float|null
Return values
selfsetId()
public
setId(int|null $id) : self
Parameters
- $id : int|null
Return values
selfsetNextBillingDate()
public
setNextBillingDate(DateTime|null $nextBillingDate) : void
Parameters
- $nextBillingDate : DateTime|null
setPlanId()
public
setPlanId(string|null $planId) : self
Parameters
- $planId : string|null
Return values
selfsetPlanName()
public
setPlanName(string|null $planName) : self
Parameters
- $planName : string|null
Return values
selfsetSubscription()
public
setSubscription(Subscriptions $subscription) : self
Parameters
- $subscription : Subscriptions
Return values
selfsetTaxAmount()
public
setTaxAmount(float|null $taxAmount) : self
Parameters
- $taxAmount : float|null
Return values
selfsetTotalAmount()
public
setTotalAmount(float|null $totalAmount) : self
Parameters
- $totalAmount : float|null