class LineItem extends Dto (View source)

Information about the items bought by the customer

Properties

string $Name

Item name

int $Quantity

Quantity of item bought

int $UnitAmount

The item cost

int $TaxAmount

The item tax

string $Description

A consistent and unique reference for the seller. It can be:

  • The user ID created on MANGOPAY for the seller
  • Or the firstname and lastname of the seller
string $Category

Methods

array
GetSubObjects()

Get array with mapping which property is object and what type of object.

from  Dto
array
GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

from  Dto
array
GetReadOnlyProperties()

Get array with read only properties - not used in response To be overridden in child class if has any read-only properties.

from  Dto

Details

array GetSubObjects()

Get array with mapping which property is object and what type of object.

To be overridden in child class if has any sub objects.

Return Value

array

array GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

Return Value

array

array GetReadOnlyProperties()

Get array with read only properties - not used in response To be overridden in child class if has any read-only properties.

Return Value

array