Заглушка онлайн касс. Возвращается в случае отсутствия реального класса обмена информацией с кассами.
|
| __construct ($name) |
|
| getTitle () |
|
| getDescription () |
|
| getShortName () |
|
| createReceipt (\Shop\Model\Orm\Transaction $transaction, $operation_type= 'sell') |
|
| createCorrectionReceipt ($transaction_id, $form_object) |
|
| getReceiptStatus (\Shop\Model\Orm\Receipt $receipt) |
|
| onResultSell (\RS\Http\Request $request) |
|
| onResultRefund (\RS\Http\Request $request) |
|
| onResultCorrection (\RS\Http\Request $request) |
|
| __construct () |
|
| getTitle () |
|
| getShortName () |
|
| createReceipt (Transaction $transaction, $operation_type=self::OPERATION_SELL) |
|
| makeAuth () |
|
| createCorrectionReceipt ($transaction_id, $form_object) |
|
| getReceiptStatus (Receipt $receipt) |
|
| onResultSell (HttpRequest $request) |
|
| onResultRefund (HttpRequest $request) |
|
| onResultCorrection (HttpRequest $request) |
|
| getCorrectionReceiptFormObject () |
|
| getMaxReceiptLength () |
|
| setTimeout ($seconds) |
|
| getTimeout () |
|
| getOption ($key=null, $default=null) |
|
| createRequest ($url, $params=[], $headers=[], $ssl=true, $method= 'GET', $post_type= 'json', $answer_type= 'json') |
|
| getCurrentDomainUrl () |
|
| addError ($message, $fieldname=null, $form=null) |
|
| hasError () |
|
| getErrors () |
|
| getErrorsStr () |
|
| cleanErrors () |
|
| getCashRegisterTypeConfig () |
|
| getReceiptInfo (Receipt $receipt) |
|
|
static | getTaxesList () |
|
static | getLogFilename () |
|
static | getMaxReceiptSize () |
|
const | OPERATION_SELL = "sell" |
|
const | OPERATION_SELL_REFUND = "sell_refund" |
|
const | OPERATION_SELL_CORRECTION = "sell_correction" |
|
const | LOG_FILE = '/logs/cash_register.log' |
|
const | TAX_NONE = 'none' |
|
const | TAX_VAT0 = 'vat0' |
|
const | TAX_VAT10 = 'vat10' |
|
const | TAX_VAT18 = 'vat18' |
|
const | TAX_VAT110 = 'vat110' |
|
const | TAX_VAT118 = 'vat118' |
|
const | TAX_VAT20 = 'vat20' |
|
const | TAX_VAT120 = 'vat120' |
|
const | PAYMENT_TYPE_FROM_ADVANCE = 'from_advance' |
|
const | PAYMENT_TYPE_CACHLESS = 'cashless' |
|
| getReceiptsFromProductsReturn (ProductsReturn $products_return, $operation_type) |
|
| getReceiptsFromShipment (Shipment $shipment, $operation_type) |
|
| getReceiptsFromOrder ($operation_type) |
|
| getReceiptsForPersonalAccount ($operation_type) |
|
| createReceiptRequest ($receipt, $operation_type) |
|
| addReceiptItemsData (array $receipt, array $items, $operation_type) |
|
| addReceiptOtherData (array $receipt, string $operation_type, int $receipt_number) |
|
| getItemDataFromProductReturnItem (ProductsReturnOrderItem $product_return_item) |
|
| getItemDataFromShipmentItem (ShipmentItem $shipment_item) |
|
| getItemTaxData (string $tax_id) |
|
| getRightTaxForProduct (Order $order, Product $product, $transaction_type= '') |
|
| getRightTaxForDelivery (Order $order, Delivery $delivery, $transaction_type= '') |
|
| fetchVatTax ($taxes, Address $address, $transaction_type= '') |
|
| modifyReceiptItemData (array &$item_data) |
|