Skip to content

Commit

Permalink
add offer datastore
Browse files Browse the repository at this point in the history
  • Loading branch information
kube-backup committed Dec 12, 2019
1 parent e2a9373 commit 1707c58
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/Megaplan/src/DataStore/Offer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php


namespace rollun\api\megaplan\DataStore;


use rollun\datastore\DataStore\DataStoreException;

/**
* Class Offer
* @package rollun\api\megaplan\DataStore
* @see https://dev.megaplan.ru/api/API_invoices.html#id20
*/
class Offer extends AbstractMegaplanEntity
{
/**
*
*/
public const GET_ENTITIES_URI = '/BumsTradeApiV01/Offer/list.api';

/**
*
*/
public const CHANGE_ENTITY_URI = '/BumsTradeApiV01/Offer/save.api';

/**
*
*/
public const GET_FIELDS_URI = '/BumsTradeApiV01/Offer/listFields.api';

public function read($id)
{
throw new DataStoreException('Read method not support for Offer store.');
}
}

0 comments on commit 1707c58

Please sign in to comment.