Properties

$cashPrice

$cashPrice : float

Cash price

Type

float

$deposit

$deposit : float

Deposit amount

Type

float

$duplicateSalesReferenceMethod

$duplicateSalesReferenceMethod : string

Duplicate sales reference method

Type

string

$productGuid

$productGuid : string

Product GUID

Type

string

$productId

$productId : string

Product ID

Type

string

$salesReference

$salesReference : string

Sales reference

Type

string

$vLink

$vLink : boolean

V Link

Type

boolean

$ipAddress

$ipAddress : string

IP address

Type

string

$lines

$lines : 

Any line items

Type

— OrderLine[]

Methods

getCashPrice()

getCashPrice() : float

Gets the cash price

Returns

float

getDeposit()

getDeposit() : float

Gets the deposit

Returns

float

getDuplicateSalesReferenceMethod()

getDuplicateSalesReferenceMethod() : string

Gets the duplicate sales reference method

Returns

string

getProductGuid()

getProductGuid() : string

Gets the product GUID

Returns

string

getProductId()

getProductId() : string

Gets the product ID

Returns

string

getSalesReference()

getSalesReference() : string

Gets the sales reference

Returns

string

isVLink()

isVLink() : boolean

Determines if this has a V link

Returns

boolean

getIpAddress()

getIpAddress() : string

Gets the IP address

Returns

string

setDuplicateSalesReferenceMethod()

setDuplicateSalesReferenceMethod(string  $duplicateSalesReferenceMethod) : \billythekid\v12finance\models\Order

Sets the duplicate sales reference method

Parameters

string $duplicateSalesReferenceMethod

Returns

\billythekid\v12finance\models\Order

setProductGuid()

setProductGuid(string  $productGuid) : \billythekid\v12finance\models\Order

Sets the product GUID

Parameters

string $productGuid

Returns

\billythekid\v12finance\models\Order

setProductId()

setProductId(string  $productId) : \billythekid\v12finance\models\Order

Sets the product ID

Parameters

string $productId

Returns

\billythekid\v12finance\models\Order

setSalesReference()

setSalesReference(string  $salesReference) : \billythekid\v12finance\models\Order

Sets the sales reference

Parameters

string $salesReference

Returns

\billythekid\v12finance\models\Order

setIpAddress()

setIpAddress(string  $ipAddress) : \billythekid\v12finance\models\Order

Sets the IP address

Parameters

string $ipAddress

Returns

\billythekid\v12finance\models\Order

jsonSerialize()

jsonSerialize() : mixed

Specify data which should be serialized to JSON

Returns

mixed —

data which can be serialized by json_encode, which is a value of any type other than a resource.