1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс ProviderAccountPay
Граф наследования:ProviderAccountPay:
IBXSaleProductProvider

Открытые статические члены

static GetProductData ($fields)
static OrderProduct ($fields)
static CancelProduct ($fields)
static DeliverProduct ($fields)
static ViewProduct ($fields)
static RecurringOrderProduct ($fields)
static GetStoresCount ($arParams=array())
static GetProductStores ($fields)
static ReserveProduct ($fields)
static CheckProductBarcode ($fields)
Открытые статические члены унаследованные от IBXSaleProductProvider
static DeductProduct ($arFields)

Подробное описание

См. определение в файле provideraccountpay.php строка 24

Методы

◆ CancelProduct()

CancelProduct ( $arFields)
static

Method is called when the order with the product is canceled

Аргументы
array$arFieldsProduct description. keys are case sensitive:
  • int PRODUCT_ID Product id.
  • float QUANTITY Product quantity.
  • string CANCEL Cancel flag (Y/N).
Возвращает
bool

Замещает IBXSaleProductProvider.

См. определение в файле provideraccountpay.php строка 44

◆ CheckProductBarcode()

CheckProductBarcode ( $arFields)
static

Method is called to check product barcode

Аргументы
int$arFields,["PRODUCT_ID"]
int$arFields,["BARCODE"]

Замещает IBXSaleProductProvider.

См. определение в файле provideraccountpay.php строка 75

◆ DeliverProduct()

DeliverProduct ( $arFields)
static

Method is called when the delivery is allowed for the order with this product

Аргументы
array$arFieldsProduct description. keys are case sensitive:
  • int PRODUCT_ID Product id.
  • int USER_ID User id.
  • bool $arFields["PAID"] Paid or no.
  • int ORDER_ID Order id.
  • string BASKET_ID Basket id.
    array|false

Замещает IBXSaleProductProvider.

См. определение в файле provideraccountpay.php строка 48

◆ GetProductData()

GetProductData ( $fields)
static
Аргументы
array$fields
Возвращает
array

Замещает IBXSaleProductProvider.

См. определение в файле provideraccountpay.php строка 30

◆ GetProductStores()

GetProductStores ( $arFields)
static

Method is called to get information from the product provider about available shipping stores for the specified product. Return list of stores or false if stores are not used.

Аргументы
array$arFieldsStore params. keys are case sensitive:
  • string SITE_ID Site id.
  • int PRODUCT_ID Product ID.
  • bool ENUM_BY_ID Return store ids as keys.
  • int BASKET_ID Basket id.
Возвращает
array|false

Замещает IBXSaleProductProvider.

См. определение в файле provideraccountpay.php строка 64

◆ GetStoresCount()

GetStoresCount ( $arParams = array())
static

Method is called to know if product provider supports stores. Return number of stores used as shipping centers available or false if stores are not used.

Аргументы
array$arParamsStore params. keys are case sensitive:
  • string SITE_ID Site id.
Возвращает
int

Замещает IBXSaleProductProvider.

См. определение в файле provideraccountpay.php строка 60

◆ OrderProduct()

OrderProduct ( $arFields)
static

Method is called when the order with products from the basket is placed.

Аргументы
array$arFieldsProduct description. keys are case sensitive:
  • int PRODUCT_ID Product id.
  • float QUANTITY Product quantity.
  • string RENEWAL Product or renewal (Y/N, default N).
  • int USER_ID User id (only for admin pages).
  • string SITE_ID Site id (only for admin pages).
  • string BASKET_ID Basket id.
  • string CURRENCY Site currency.
  • string CHECK_QUANTITY Need check quantity (Y/N, default Y).
  • string CHECK_DISCOUNT Get optimal price with discount (Y/N, default Y).
Возвращает
array|false

Замещает IBXSaleProductProvider.

См. определение в файле provideraccountpay.php строка 38

◆ RecurringOrderProduct()

RecurringOrderProduct ( $arFields)
static

Method is when recurring order is placed with this product

Аргументы
array$arFieldsProduct description. keys are case sensitive:
  • int PRODUCT_ID Product id.
  • int USER_ID User id.
Возвращает
array|false

Замещает IBXSaleProductProvider.

См. определение в файле provideraccountpay.php строка 56

◆ ReserveProduct()

ReserveProduct ( $arFields)
static

Method is called when the product should be reserved

Аргументы
int$arFields,["PRODUCT_ID"]
int$arFields,["QUANTITY_ADD"]- quantity which should be added to the QUANTITY_RESERVED value of the product during reservation
string$arFields,["UNDO_RESERVATION"]Y/N
Возвращает
array

Замещает IBXSaleProductProvider.

См. определение в файле provideraccountpay.php строка 68

◆ ViewProduct()

ViewProduct ( $arFields)
static

Method is called when the product is viewed

Аргументы
array$arFieldsProduct description. keys are case sensitive:
  • int PRODUCT_ID Product id.
  • int USER_ID User id (only for admin pages).
  • string SITE_ID Site id (only for admin pages).
Возвращает
array|false

Замещает IBXSaleProductProvider.

См. определение в файле provideraccountpay.php строка 52


Объявления и описания членов класса находятся в файле: