Bitrix API

SaleManager extends Base

Table of Contents

Methods

getCashboxFilter()  : array<string|int, mixed>
getCashboxHandlers()  : array<string|int, mixed>
getCashboxList()  : array<string|int, mixed>
getDealLink()  : string
getEmptyDeliveryServiceId()  : mixed
getInstance()  : static
getOrderCheckWarning()  : string|false
getOrderFormattedDiscountPrice()  : false|string
getOrderFormattedInsertDate()  : string
getOrderFormattedPrice()  : bool|mixed|null|string|array<string|int, string>
getOrderLink()  : string
getOrderPayStatus()  : string
getPaymentFormattedInsertDate()  : string
getPaymentFormattedPrice()  : bool|mixed|null|string|array<string|int, string>
getPaymentLink()  : string
getPaymentPayStatus()  : string
getPaySystemFilter()  : array<string|int, mixed>
getPaySystemList()  : array<string|int, mixed>
getSaleshubPaySystemItems()  : array<string|int, mixed>
getSaleshubSmsProviderItems()  : array<string|int, mixed>
isApplePayPayment()  : bool
isAvailableCorrection()  : mixed
isEnabled()  : bool
isFullAccess()  : bool
isManagerAccess()  : bool
isOrderContactPropertiesFilled()  : bool
isTelegramOrder()  : bool
OnCheckPrintError()  : EventResult
onPaymentPaid()  : EventResult|void
onPaySystemServiceProcessRequest()  : void
Send message to user when success payment appear
OnPrintableCheckSend()  : EventResult|null
OnSaleOrderSaved()  : mixed
onSalePsServiceProcessRequestBeforePaid()  : EventResult
onSalescenterPaymentCreated()  : void
pushOrder()  : Result

Methods

getCashboxFilter()

public getCashboxFilter([bool $activeOnly = true ]) : array<string|int, mixed>
Parameters
$activeOnly : bool = true
Return values
array<string|int, mixed>

getCashboxHandlers()

public static getCashboxHandlers() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCashboxList()

public getCashboxList([int $limit = 0 ]) : array<string|int, mixed>
Parameters
$limit : int = 0
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>
public getDealLink(mixed $dealId) : string
Parameters
$dealId : mixed
Return values
string

getEmptyDeliveryServiceId()

public getEmptyDeliveryServiceId() : mixed

getInstance()

public static getInstance() : static
Return values
static

getOrderCheckWarning()

public getOrderCheckWarning(Order $order) : string|false
Parameters
$order : Order
Tags
throws
ObjectPropertyException
throws
SystemException
Return values
string|false

getOrderFormattedDiscountPrice()

public getOrderFormattedDiscountPrice(Order $order) : false|string
Parameters
$order : Order
Return values
false|string

getOrderFormattedInsertDate()

public getOrderFormattedInsertDate(Order $order) : string
Parameters
$order : Order
Return values
string

getOrderFormattedPrice()

public getOrderFormattedPrice(Order $order) : bool|mixed|null|string|array<string|int, string>
Parameters
$order : Order
Return values
bool|mixed|null|string|array<string|int, string>
public getOrderLink(mixed $orderId) : string
Parameters
$orderId : mixed
Return values
string

getOrderPayStatus()

public getOrderPayStatus(Order $order) : string
Parameters
$order : Order
Return values
string

getPaymentFormattedInsertDate()

public getPaymentFormattedInsertDate(Payment $payment) : string
Parameters
$payment : Payment
Return values
string

getPaymentFormattedPrice()

public getPaymentFormattedPrice(Payment $payment) : bool|mixed|null|string|array<string|int, string>
Parameters
$payment : Payment
Return values
bool|mixed|null|string|array<string|int, string>
public getPaymentLink(mixed $paymentId) : string
Parameters
$paymentId : mixed
Return values
string

getPaymentPayStatus()

public getPaymentPayStatus(Payment $payment) : string
Parameters
$payment : Payment
Return values
string

getPaySystemFilter()

public getPaySystemFilter() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPaySystemList()

public getPaySystemList([array<string|int, mixed> $additionalFilter = [] ][, int $limit = 0 ]) : array<string|int, mixed>
Parameters
$additionalFilter : array<string|int, mixed> = []
$limit : int = 0
Tags
throws
ArgumentException
Return values
array<string|int, mixed>

getSaleshubPaySystemItems()

public static getSaleshubPaySystemItems() : array<string|int, mixed>
Tags
throws
ArgumentException
throws
SystemException
Return values
array<string|int, mixed>

getSaleshubSmsProviderItems()

public static getSaleshubSmsProviderItems() : array<string|int, mixed>
Return values
array<string|int, mixed>

isApplePayPayment()

public isApplePayPayment(array<string|int, mixed> $paySystem) : bool
Parameters
$paySystem : array<string|int, mixed>
Tags
throws
ArgumentNullException
throws
ArgumentOutOfRangeException
throws
LoaderException
Return values
bool

isAvailableCorrection()

public isAvailableCorrection() : mixed

isEnabled()

public isEnabled() : bool
Return values
bool

isFullAccess()

public isFullAccess([bool $checkSalePermissions = false ]) : bool
Parameters
$checkSalePermissions : bool = false
Return values
bool

isManagerAccess()

public isManagerAccess([bool $checkSalePermissions = false ]) : bool
Parameters
$checkSalePermissions : bool = false
Return values
bool

isOrderContactPropertiesFilled()

public isOrderContactPropertiesFilled(Order $order) : bool
Parameters
$order : Order
Tags
throws
ArgumentException
throws
ArgumentOutOfRangeException
throws
NotImplementedException
Return values
bool

isTelegramOrder()

public isTelegramOrder(Order $order) : bool
Parameters
$order : Order
Return values
bool

OnCheckPrintError()

public static OnCheckPrintError(Event $event) : EventResult
Parameters
$event : Event
Return values
EventResult

onPaymentPaid()

public static onPaymentPaid(Event $event) : EventResult|void
Parameters
$event : Event
Return values
EventResult|void

onPaySystemServiceProcessRequest()

Send message to user when success payment appear

public static onPaySystemServiceProcessRequest(Event $event) : void
Parameters
$event : Event

OnPrintableCheckSend()

public static OnPrintableCheckSend(Event $event) : EventResult|null
Parameters
$event : Event
Return values
EventResult|null

OnSaleOrderSaved()

public static OnSaleOrderSaved(Event $event) : mixed
Parameters
$event : Event
Tags
throws
ArgumentException
throws
ArgumentNullException
throws
ArgumentTypeException
throws
ObjectPropertyException
throws
SystemException

onSalePsServiceProcessRequestBeforePaid()

public static onSalePsServiceProcessRequestBeforePaid(Event $event) : EventResult
Parameters
$event : Event
Return values
EventResult

onSalescenterPaymentCreated()

public static onSalescenterPaymentCreated(Payment $payment) : void
Parameters
$payment : Payment

pushOrder()

public static pushOrder(mixed $orderId, mixed $sessionId) : Result
Parameters
$orderId : mixed
$sessionId : mixed
Return values
Result

        
On this page

Search results