class FeesSet extends BaseEntity

Class FeesSet

Represents a set of fees from a fees response

Methods

__construct(array $raw = array())

Construct a new BaseEntity from raw array data

float
getAmazonCommission()

No description

setAmazonCommission(float $amazonCommission)

No description

float
getAmazonVar()

No description

setAmazonVar(float $amazonVar)

No description

string
getCategory()

No description

setCategory(string $category)

No description

float
getFbaOrder()

No description

setFbaOrder(float $fbaOrder)

No description

float
getFbaPick()

No description

setFbaPick(float $fbaPick)

No description

float
getFbaWeight()

No description

setFbaWeight(float $fbaWeight)

No description

float
getFeesTotal()

No description

setFeesTotal(float $feesTotal)

No description

string
getFormattedFeesTotal()

No description

float
getNetIncome()

No description

setNetIncome(float $netIncome)

No description

string
getFormattedNetIncome()

No description

float
getPrice()

No description

setPrice(float $price)

No description

float
getRevenue()

No description

setRevenue(float $revenue)

No description

string
getType()

No description

setType(string $type)

Set the fees type

string
getProfitMarginPercentage()

Returns profit margin in a percentage

float
getProfitMargin()

Returns profit margin in a fraction

Details

in BaseEntity at line line 31
__construct(array $raw = array())

Construct a new BaseEntity from raw array data

Parameters

array $raw

Exceptions

LackOfCoffeeException

at line line 81
float getAmazonCommission()

Return Value

float

at line line 89
setAmazonCommission(float $amazonCommission)

Parameters

float $amazonCommission

at line line 97
float getAmazonVar()

Return Value

float

at line line 105
setAmazonVar(float $amazonVar)

Parameters

float $amazonVar

at line line 113
string getCategory()

Return Value

string

at line line 121
setCategory(string $category)

Parameters

string $category

at line line 130
float getFbaOrder()

Return Value

float

Exceptions

Exception

at line line 142
setFbaOrder(float $fbaOrder)

Parameters

float $fbaOrder

at line line 151
float getFbaPick()

Return Value

float

Exceptions

Exception

at line line 163
setFbaPick(float $fbaPick)

Parameters

float $fbaPick

at line line 172
float getFbaWeight()

Return Value

float

Exceptions

Exception

at line line 184
setFbaWeight(float $fbaWeight)

Parameters

float $fbaWeight

at line line 192
float getFeesTotal()

Return Value

float

at line line 200
setFeesTotal(float $feesTotal)

Parameters

float $feesTotal

at line line 208
string getFormattedFeesTotal()

Return Value

string

at line line 216
float getNetIncome()

Return Value

float

at line line 224
setNetIncome(float $netIncome)

Parameters

float $netIncome

at line line 232
string getFormattedNetIncome()

Return Value

string

at line line 240
float getPrice()

Return Value

float

at line line 248
setPrice(float $price)

Parameters

float $price

at line line 256
float getRevenue()

Return Value

float

at line line 264
setRevenue(float $revenue)

Parameters

float $revenue

at line line 272
string getType()

Return Value

string

at line line 284
setType(string $type)

Set the fees type

Parameters

string $type

Exceptions

InvalidFormatException

at line line 300
string getProfitMarginPercentage()

Returns profit margin in a percentage

Return Value

string

at line line 310
float getProfitMargin()

Returns profit margin in a fraction

Return Value

float