abstract class ApiInsertOrderAbstract

Class ApiInsertOrderAbstract

Constants

PARITY

Properties

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

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

at line 61
__construct($username, $password, $url)

ApiInsertOrder constructor.

Parameters

$username
$password
$url

at line 68
abstract protected login()

at line 73
abstract Order sendOrder()

Return Value

Order

at line 78
final protected string createXml()

Return Value

string

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

Parameters

$type

Return Value

int|string

at line 298
protected int getOrderId($response)

Parameters

$response

Return Value

int

at line 324
mixed getisB2B()

Return Value

mixed

at line 333
ApiInsertOrderAbstract setIsB2B(mixed $isB2B)

Parameters

mixed $isB2B

Return Value

ApiInsertOrderAbstract

at line 343
string getAnalAccountCurrency()

Return Value

string

at line 352
ApiInsertOrderAbstract setAnalAccountCurrency(string $analAccountCurrency)

Parameters

string $analAccountCurrency

Return Value

ApiInsertOrderAbstract

at line 362
string getAnalytics()

Return Value

string

at line 371
ApiInsertOrderAbstract setAnalytics(string $analytics)

Parameters

string $analytics

Return Value

ApiInsertOrderAbstract

at line 382
$this setType(array $type)

Parameters

array $type

Return Value

$this

at line 392
setPaymentMapping(array $paymentMapping)

Parameters

array $paymentMapping

at line 400
Order getOrder()

Return Value

Order

at line 409
ApiInsertOrderAbstract setOrder(mixed $order)

Parameters

mixed $order

Return Value

ApiInsertOrderAbstract

at line 419
mixed getNote()

Return Value

mixed

at line 428
ApiInsertOrderAbstract setNote(mixed $note)

Parameters

mixed $note

Return Value

ApiInsertOrderAbstract

at line 438
mixed getDocumentType()

Return Value

mixed

at line 447
ApiInsertOrderAbstract setDocumentType(mixed $documentType)

Parameters

mixed $documentType

Return Value

ApiInsertOrderAbstract

at line 457
mixed getPriceList()

Return Value

mixed

at line 466
ApiInsertOrderAbstract setPriceList(mixed $priceList)

Parameters

mixed $priceList

Return Value

ApiInsertOrderAbstract

at line 476
mixed getDistributionLine()

Return Value

mixed

at line 485
$this setDistributionLine(mixed $distributionLine)

Parameters

mixed $distributionLine

Return Value

$this

at line 495
mixed getDefaultUserErpCode()

Return Value

mixed

at line 504
ApiInsertOrderAbstract setDefaultUserErpCode(mixed $defaultUserErpCode)

Parameters

mixed $defaultUserErpCode

Return Value

ApiInsertOrderAbstract

at line 514
mixed getPredefinedType()

Return Value

mixed

at line 523
ApiInsertOrderAbstract setPredefinedType(mixed $predefinedType)

Parameters

mixed $predefinedType

Return Value

ApiInsertOrderAbstract

at line 530
abstract sendJsonOrderToErp()