UpdateLineItem
extends SharedLineItem
in package
Model of Update Line Item.
Table of Contents
- $category : string|null
- $description : string|null
- $discount_rate : float|null
- $end_date : string|null
- $hsn : string|null
- $order : int|null
- $price : float|null
- $quantity : float|null
- $section : string|null
- $sku : string|null
- $start_date : string|null
- $tax : float|null
- $tax_rate : float|null
- $total : float|null
- $unit_of_measure : string|null
- $upc : string|null
- $weight : string|null
- __construct() : mixed
Properties
$category
public
string|null
$category
= null
$description
public
string|null
$description
= null
$discount_rate
public
float|null
$discount_rate
= null
$end_date
public
string|null
$end_date
= null
$hsn
public
string|null
$hsn
= null
$order
public
int|null
$order
= null
$price
public
float|null
$price
= null
$quantity
public
float|null
$quantity
= null
$section
public
string|null
$section
= null
$sku
public
string|null
$sku
= null
$start_date
public
string|null
$start_date
= null
$tax
public
float|null
$tax
= null
$tax_rate
public
float|null
$tax_rate
= null
$total
public
float|null
$total
= null
$unit_of_measure
public
string|null
$unit_of_measure
= null
$upc
public
string|null
$upc
= null
$weight
public
string|null
$weight
= null
Methods
__construct()
public
__construct(array<string|int, mixed> $data[, bool $verify = true ]) : mixed
Parameters
- $data : array<string|int, mixed>
-
json array to init the object.
- $verify : bool = true
-
if true it throws bad argument exception if a bad argument is given.