BaseProvider extends Model
Table of Contents
- $annualCost : float|null
- The provider's annual cost. This field can be unset when updating.
- $name : string|null
- The provider's name
- from() : static
- Initializing a model from an array
- getAnnualCost() : float
- Getter for annualCost
- getName() : string
- Getter for name
- jsonSerialize() : array<string|int, mixed>
- setAnnualCost() : static
- Setter for annualCost
- setName() : static
- Setter for name
Properties
$annualCost
The provider's annual cost. This field can be unset when updating.
protected
float|null
$annualCost
= null
$name
The provider's name
protected
string|null
$name
= null
Methods
from()
Initializing a model from an array
public
static from(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
-
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
Tags
Return values
static —getAnnualCost()
Getter for annualCost
public
getAnnualCost() : float
Return values
float —The provider's annual cost. This field can be unset when updating.
getName()
Getter for name
public
getName() : string
Return values
string —The provider's name
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setAnnualCost()
Setter for annualCost
public
setAnnualCost(float $annualCost) : static
Parameters
- $annualCost : float
-
The provider's annual cost. This field can be unset when updating.
Return values
static —To use in method chains
setName()
Setter for name
public
setName(string $name) : static
Parameters
- $name : string
-
The provider's name
Return values
static —To use in method chains