ChargeBeePlanEntity
in package
implements
JsonSerializable
Table of Contents
Interfaces
- JsonSerializable
Properties
- $currencyCode : string
- $id : string
- $invoiceName : string
- $name : string
- $periodUnit : string
- $pricingModel : string
- $setupCost : int
- $status : string
- $unitPrice : int
- $vatjarId : int
Methods
- convertDataFromChargeBee() : self
- getCurrencyCode() : string
- Get the value of currencyCode
- getId() : string
- Get the value of id
- getInvoiceName() : string
- Get the value of invoiceName
- getName() : string
- Get the value of name
- getPeriodUnit() : string
- Get the value of periodUnit
- getPeriodUnitId() : int
- getPricingModel() : string
- Get the value of pricingModel
- getSetupCost() : int|null
- Get the value of setupCost
- getStatus() : string
- Get the value of status
- getUnitPrice() : int
- Get the value of unitPrice
- getVatjarId() : mixed
- jsonSerialize() : array<string|int, mixed>
- setCurrencyCode() : self
- Set the value of currencyCode
- setId() : self
- Set the value of id
- setInvoiceName() : self
- Set the value of invoiceName
- setName() : self
- Set the value of name
- setPeriodUnit() : self
- Set the value of periodUnit
- setPricingModel() : self
- Set the value of pricingModel
- setSetupCost() : self
- Set the value of setupCost
- setStatus() : self
- Set the value of status
- setUnitPrice() : self
- Set the value of unitPrice
- setVatjarId() : self
Properties
$currencyCode
private
string
$currencyCode
$id
private
string
$id
$invoiceName
private
string
$invoiceName
$name
private
string
$name
$periodUnit
private
string
$periodUnit
$pricingModel
private
string
$pricingModel
$setupCost
private
int
$setupCost
$status
private
string
$status
$unitPrice
private
int
$unitPrice
$vatjarId
private
int
$vatjarId
Methods
convertDataFromChargeBee()
public
convertDataFromChargeBee(array<string|int, mixed> $result) : self
Parameters
- $result : array<string|int, mixed>
Return values
selfgetCurrencyCode()
Get the value of currencyCode
public
getCurrencyCode() : string
Return values
stringgetId()
Get the value of id
public
getId() : string
Return values
stringgetInvoiceName()
Get the value of invoiceName
public
getInvoiceName() : string
Return values
stringgetName()
Get the value of name
public
getName() : string
Return values
stringgetPeriodUnit()
Get the value of periodUnit
public
getPeriodUnit() : string
Return values
stringgetPeriodUnitId()
public
getPeriodUnitId() : int
Return values
intgetPricingModel()
Get the value of pricingModel
public
getPricingModel() : string
Return values
stringgetSetupCost()
Get the value of setupCost
public
getSetupCost() : int|null
Return values
int|nullgetStatus()
Get the value of status
public
getStatus() : string
Return values
stringgetUnitPrice()
Get the value of unitPrice
public
getUnitPrice() : int
Return values
intgetVatjarId()
public
getVatjarId() : mixed
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>setCurrencyCode()
Set the value of currencyCode
public
setCurrencyCode(string $currencyCode) : self
Parameters
- $currencyCode : string
Return values
selfsetId()
Set the value of id
public
setId(string $id) : self
Parameters
- $id : string
Return values
selfsetInvoiceName()
Set the value of invoiceName
public
setInvoiceName(string $invoiceName) : self
Parameters
- $invoiceName : string
Return values
selfsetName()
Set the value of name
public
setName(string $name) : self
Parameters
- $name : string
Return values
selfsetPeriodUnit()
Set the value of periodUnit
public
setPeriodUnit(string $periodUnit) : self
Parameters
- $periodUnit : string
Return values
selfsetPricingModel()
Set the value of pricingModel
public
setPricingModel(string $pricingModel) : self
Parameters
- $pricingModel : string
Return values
selfsetSetupCost()
Set the value of setupCost
public
setSetupCost(int|null $setupCost) : self
Parameters
- $setupCost : int|null
Return values
selfsetStatus()
Set the value of status
public
setStatus(string $status) : self
Parameters
- $status : string
Return values
selfsetUnitPrice()
Set the value of unitPrice
public
setUnitPrice(int $unitPrice) : self
Parameters
- $unitPrice : int
Return values
selfsetVatjarId()
public
setVatjarId(mixed $vatjarId) : self
Parameters
- $vatjarId : mixed