class ApiInsertOrder extends ApiInsertOrderAbstract implements ErpOrderApi

Class ApiInsertOrder

Constants

PARITY

Properties

protected $username from ApiInsertOrderAbstract
protected $password from ApiInsertOrderAbstract
protected $url from ApiInsertOrderAbstract
protected $isB2B from ApiInsertOrderAbstract
protected $key from ApiInsertOrderAbstract
protected $type from ApiInsertOrderAbstract
protected $predefinedType from ApiInsertOrderAbstract
protected $paymentDeadline from ApiInsertOrderAbstract
protected $dateFormat from ApiInsertOrderAbstract
protected $document from ApiInsertOrderAbstract
protected $analAccountOut from ApiInsertOrderAbstract
protected $analAccountCurrency from ApiInsertOrderAbstract
protected $analytics from ApiInsertOrderAbstract
protected $paymentMapping from ApiInsertOrderAbstract
protected $order from ApiInsertOrderAbstract
protected $note from ApiInsertOrderAbstract
protected $documentType from ApiInsertOrderAbstract
protected $priceList from ApiInsertOrderAbstract
protected $distributionLine from ApiInsertOrderAbstract
protected $defaultUserErpCode from ApiInsertOrderAbstract

Methods

__construct($username, $password, $url)

ApiInsertOrder constructor.

login()

No description

sendOrder()

No description

string
createXml()

No description

int|string
getType($type)

No description

int
getOrderId($response)

No description

mixed
getisB2B()

No description

setIsB2B(mixed $isB2B)

No description

string
getAnalAccountCurrency()

No description

setAnalAccountCurrency(string $analAccountCurrency)

No description

string
getAnalytics()

No description

setAnalytics(string $analytics)

No description

$this
setType(array $type)

No description

setPaymentMapping(array $paymentMapping)

No description

getOrder()

No description

setOrder(mixed $order)

No description

mixed
getNote()

No description

setNote(mixed $note)

No description

mixed
getDocumentType()

No description

setDocumentType(mixed $documentType)

No description

mixed
getPriceList()

No description

setPriceList(mixed $priceList)

No description

mixed
getDistributionLine()

No description

$this
setDistributionLine(mixed $distributionLine)

No description

mixed
getDefaultUserErpCode()

No description

setDefaultUserErpCode(mixed $defaultUserErpCode)

No description

mixed
getPredefinedType()

No description

setPredefinedType(mixed $predefinedType)

No description

sendJsonOrderToErp()

No description

Details

__construct($username, $password, $url)

ApiInsertOrder constructor.

Parameters

$username
$password
$url

at line 23
protected login()

at line 36
Order sendOrder()

Return Value

Order

Exceptions

Exception

final protected string createXml()

Return Value

string

in ApiInsertOrderAbstract at line 215
protected int|string getType($type)

Parameters

$type

Return Value

int|string

in ApiInsertOrderAbstract at line 298
protected int getOrderId($response)

Parameters

$response

Return Value

int

in ApiInsertOrderAbstract at line 324
mixed getisB2B()

Return Value

mixed

in ApiInsertOrderAbstract at line 333
ApiInsertOrderAbstract setIsB2B(mixed $isB2B)

Parameters

mixed $isB2B

Return Value

ApiInsertOrderAbstract

in ApiInsertOrderAbstract at line 343
string getAnalAccountCurrency()

Return Value

string

in ApiInsertOrderAbstract at line 352
ApiInsertOrderAbstract setAnalAccountCurrency(string $analAccountCurrency)

Parameters

string $analAccountCurrency

Return Value

ApiInsertOrderAbstract

in ApiInsertOrderAbstract at line 362
string getAnalytics()

Return Value

string

in ApiInsertOrderAbstract at line 371
ApiInsertOrderAbstract setAnalytics(string $analytics)

Parameters

string $analytics

Return Value

ApiInsertOrderAbstract

in ApiInsertOrderAbstract at line 382
$this setType(array $type)

Parameters

array $type

Return Value

$this

in ApiInsertOrderAbstract at line 392
setPaymentMapping(array $paymentMapping)

Parameters

array $paymentMapping

in ApiInsertOrderAbstract at line 400
Order getOrder()

Return Value

Order

in ApiInsertOrderAbstract at line 409
ApiInsertOrderAbstract setOrder(mixed $order)

Parameters

mixed $order

Return Value

ApiInsertOrderAbstract

in ApiInsertOrderAbstract at line 419
mixed getNote()

Return Value

mixed

in ApiInsertOrderAbstract at line 428
ApiInsertOrderAbstract setNote(mixed $note)

Parameters

mixed $note

Return Value

ApiInsertOrderAbstract

in ApiInsertOrderAbstract at line 438
mixed getDocumentType()

Return Value

mixed

in ApiInsertOrderAbstract at line 447
ApiInsertOrderAbstract setDocumentType(mixed $documentType)

Parameters

mixed $documentType

Return Value

ApiInsertOrderAbstract

in ApiInsertOrderAbstract at line 457
mixed getPriceList()

Return Value

mixed

in ApiInsertOrderAbstract at line 466
ApiInsertOrderAbstract setPriceList(mixed $priceList)

Parameters

mixed $priceList

Return Value

ApiInsertOrderAbstract

in ApiInsertOrderAbstract at line 476
mixed getDistributionLine()

Return Value

mixed

in ApiInsertOrderAbstract at line 485
$this setDistributionLine(mixed $distributionLine)

Parameters

mixed $distributionLine

Return Value

$this

in ApiInsertOrderAbstract at line 495
mixed getDefaultUserErpCode()

Return Value

mixed

in ApiInsertOrderAbstract at line 504
ApiInsertOrderAbstract setDefaultUserErpCode(mixed $defaultUserErpCode)

Parameters

mixed $defaultUserErpCode

Return Value

ApiInsertOrderAbstract

in ApiInsertOrderAbstract at line 514
mixed getPredefinedType()

Return Value

mixed

in ApiInsertOrderAbstract at line 523
ApiInsertOrderAbstract setPredefinedType(mixed $predefinedType)

Parameters

mixed $predefinedType

Return Value

ApiInsertOrderAbstract

at line 61
sendJsonOrderToErp()