Properties

$id

$id : integer

Type

integer

$id_customer

$id_customer : integer

Type

integer

$id_order

$id_order : integer

Type

integer

$conversion_rate

$conversion_rate : float

Type

float

$amount

$amount : integer

Type

integer

$shipping_cost

$shipping_cost : integer

Type

integer

$shipping_cost_amount

$shipping_cost_amount : integer

Type

integer

$partial

$partial : integer

Type

integer

$date_add

$date_add : string

Type

string — Object creation date

$date_upd

$date_upd : string

Type

string — Object last modification date

$order_slip_type

$order_slip_type : integer

Type

integer

$definition

$definition : 

Type

$webserviceParameters

$webserviceParameters : 

Type

Methods

addSlipDetail()

addSlipDetail(  $orderDetailList,   $productQtyList) 

Parameters

$orderDetailList
$productQtyList

getOrdersSlip()

getOrdersSlip(  $customer_id,   $order_id = false) 

Parameters

$customer_id
$order_id

getOrdersSlipDetail()

getOrdersSlipDetail(  $id_order_slip = false,   $id_order_detail = false) 

Parameters

$id_order_slip
$id_order_detail

getOrdersSlipProducts()

getOrdersSlipProducts(  $orderSlipId,   $order) 

Parameters

$orderSlipId
$order

getProductSlipResume()

getProductSlipResume(  $id_order_detail) 

Get resume of all refund for one product line

Parameters

$id_order_detail

getProductSlipDetail()

getProductSlipDetail(  $id_order_detail) 

Get refund details for one product line

Parameters

$id_order_detail

getProducts()

getProducts() 

getSlipsIdByDate()

getSlipsIdByDate(  $dateFrom,   $dateTo) 

Parameters

$dateFrom
$dateTo

createOrderSlip()

createOrderSlip(  $order,   $productList,   $qtyList,   $shipping_cost = false) 

Parameters

$order
$productList
$qtyList
$shipping_cost

create()

create(\Order  $order,   $product_list,   $shipping_cost = false,   $amount,   $amount_choosen = false,   $add_tax = true) 

Parameters

\Order $order
$product_list
$shipping_cost
$amount
$amount_choosen
$add_tax

createPartialOrderSlip()

createPartialOrderSlip(  $order,   $amount,   $shipping_cost_amount,   $order_detail_list) 

Parameters

$order
$amount
$shipping_cost_amount
$order_detail_list

addPartialSlipDetail()

addPartialSlipDetail(  $order_detail_list) 

Parameters

$order_detail_list

getEcoTaxTaxesBreakdown()

getEcoTaxTaxesBreakdown() 

getWsOrderSlipDetails()

getWsOrderSlipDetails() 

setWsOrderSlipDetails()

setWsOrderSlipDetails(  $values) 

Parameters

$values

addProductOrderSlip()

addProductOrderSlip(  $product) 

Parameters

$product