]> git.stg.codes - stg.git/blobdiff - doc/xmlrpc/API-tariffs.xml
Remove TravisCI file as well.
[stg.git] / doc / xmlrpc / API-tariffs.xml
index 9b84889aee87560161d650904d0485c9ad5e9e5c..a75f4948a68870f01bc8e14b999ecd54d6c0935d 100644 (file)
                             <listitem>
                                 <para>Периодичность снятия абонплаты:
                                     <simplelist type="vert">
                             <listitem>
                                 <para>Периодичность снятия абонплаты:
                                     <simplelist type="vert">
-                                        <member>month &#151; ÐµÐ¶ÐµÐ¼ÐµÑ\81Ñ\8fÑ\87ное Ñ\81нÑ\8fÑ\82ие</member>
-                                        <member>day &#151; ÐµÐ¶ÐµÐ´Ð½ÐµÐ²Ð½Ð¾Ðµ Ñ\81нÑ\8fÑ\82ие</member>
+                                        <member>month &#151; ÐµÐ¶ÐµÐ´Ð½ÐµÐ²Ð½Ð°Ñ\8f Ð°Ð±Ð¾Ð½Ð¿Ð»Ð°Ñ\82а (паÑ\80амеÑ\82Ñ\80 Fee Ñ\82Ñ\80акÑ\82Ñ\83еÑ\82Ñ\81Ñ\8f ÐºÐ°Ðº Ð·Ð½Ð°Ñ\87ение Ñ\81пиÑ\81Ñ\8bваемое ÐµÐ¶ÐµÐ´Ð½ÐµÐ²Ð½Ð¾)</member>
+                                        <member>day &#151; ÐµÐ¶ÐµÐ¼ÐµÑ\81Ñ\8fÑ\87наÑ\8f Ð°Ð±Ð¾Ð½Ð¿Ð»Ð°Ñ\82а (клаÑ\81Ñ\81иÑ\87еÑ\81каÑ\8f, Ð¿Ð°Ñ\80амеÑ\82Ñ\80 Fee Ñ\82Ñ\80акÑ\82Ñ\83еÑ\82Ñ\81Ñ\8f ÐºÐ°Ðº Ð·Ð½Ð°Ñ\87ение Ñ\81пиÑ\81Ñ\8bваемое Ð·Ð° Ð¼ÐµÑ\81Ñ\8fÑ\86, Ð² Ñ\82ом Ñ\87иÑ\81ле Ð² Ñ\80ежиме SpreadFee)</member>
                                     </simplelist>
                                 </para>
                             </listitem>
                         </varlistentry>
                                     </simplelist>
                                 </para>
                             </listitem>
                         </varlistentry>
+                        <varlistentry>
+                            <term>string <parameter>changePolicy</parameter></term>
+                            <listitem>
+                                <para>Политика смены тарифа:
+                                    <simplelist type="vert">
+                                        <member>allow &#151; на период действия политики смена тарифного плана разрешена</member>
+                                        <member>to_cheap &#151; на период действия политики разрешена смена тарифного плана на более дешевый</member>
+                                        <member>to_expensive &#151; на период действия политики разрешена смена тарифного плана на более дорогой</member>
+                                        <member>deny &#151; на период действия политики смена тарифного плана запрещена</member>
+                                    </simplelist>
+                                </para>
+                            </listitem>
+                        </varlistentry>
+                        <varlistentry>
+                            <term>int <parameter>changePolicyTimeout</parameter></term>
+                            <listitem>
+                                <para>Момент завершения действия политики тарификации (0 - политика тарификации не завершается никогда)</para>
+                            </listitem>
+                        </varlistentry>
                         <varlistentry>
                             <term>array of struct <parameter>dirprices</parameter></term>
                             <listitem>
                         <varlistentry>
                             <term>array of struct <parameter>dirprices</parameter></term>
                             <listitem>
                             <listitem>
                                 <para>Периодичность снятия абонплаты:
                                     <simplelist type="vert">
                             <listitem>
                                 <para>Периодичность снятия абонплаты:
                                     <simplelist type="vert">
-                                        <member>month &#151; ÐµÐ¶ÐµÐ¼ÐµÑ\81Ñ\8fÑ\87ное Ñ\81нÑ\8fÑ\82ие</member>
-                                        <member>day &#151; ÐµÐ¶ÐµÐ´Ð½ÐµÐ²Ð½Ð¾Ðµ Ñ\81нÑ\8fÑ\82ие</member>
+                                        <member>month &#151; ÐµÐ¶ÐµÐ´Ð½ÐµÐ²Ð½Ð°Ñ\8f Ð°Ð±Ð¾Ð½Ð¿Ð»Ð°Ñ\82а (паÑ\80амеÑ\82Ñ\80 Fee Ñ\82Ñ\80акÑ\82Ñ\83еÑ\82Ñ\81Ñ\8f ÐºÐ°Ðº Ð·Ð½Ð°Ñ\87ение Ñ\81пиÑ\81Ñ\8bваемое ÐµÐ¶ÐµÐ´Ð½ÐµÐ²Ð½Ð¾)</member>
+                                        <member>day &#151; ÐµÐ¶ÐµÐ¼ÐµÑ\81Ñ\8fÑ\87наÑ\8f Ð°Ð±Ð¾Ð½Ð¿Ð»Ð°Ñ\82а (клаÑ\81Ñ\81иÑ\87еÑ\81каÑ\8f, Ð¿Ð°Ñ\80амеÑ\82Ñ\80 Fee Ñ\82Ñ\80акÑ\82Ñ\83еÑ\82Ñ\81Ñ\8f ÐºÐ°Ðº Ð·Ð½Ð°Ñ\87ение Ñ\81пиÑ\81Ñ\8bваемое Ð·Ð° Ð¼ÐµÑ\81Ñ\8fÑ\86, Ð² Ñ\82ом Ñ\87иÑ\81ле Ð² Ñ\80ежиме SpreadFee)</member>
                                     </simplelist>
                                 </para>
                             </listitem>
                         </varlistentry>
                                     </simplelist>
                                 </para>
                             </listitem>
                         </varlistentry>
+                        <varlistentry>
+                            <term>string <parameter>changePolicy</parameter></term>
+                            <listitem>
+                                <para>Политика смены тарифа:
+                                    <simplelist type="vert">
+                                        <member>allow &#151; на период действия политики смена тарифного плана разрешена</member>
+                                        <member>to_cheap &#151; на период действия политики разрешена смена тарифного плана на более дешевый</member>
+                                        <member>to_expensive &#151; на период действия политики разрешена смена тарифного плана на более дорогой</member>
+                                        <member>deny &#151; на период действия политики смена тарифного плана запрещена</member>
+                                    </simplelist>
+                                </para>
+                            </listitem>
+                        </varlistentry>
+                        <varlistentry>
+                            <term>int <parameter>changePolicyTimeout</parameter></term>
+                            <listitem>
+                                <para>Момент завершения действия политики тарификации (0 - политика тарификации не завершается никогда)</para>
+                            </listitem>
+                        </varlistentry>
                         <varlistentry>
                             <term>array of struct <parameter>dirprices</parameter></term>
                             <listitem>
                         <varlistentry>
                             <term>array of struct <parameter>dirprices</parameter></term>
                             <listitem>
                                     <listitem>
                                         <para>Периодичность снятия абонплаты:
                                             <simplelist type="vert">
                                     <listitem>
                                         <para>Периодичность снятия абонплаты:
                                             <simplelist type="vert">
-                                                <member>month &#151; ежемесячное снятие</member>
-                                                <member>day &#151; ежедневное снятие</member>
+                                                <member>month &#151; ежедневная абонплата (параметр Fee трактуется как значение списываемое ежедневно)</member>
+                                                <member>day &#151; ежемесячная абонплата (классическая, параметр Fee трактуется как значение списываемое за месяц, в том числе в режиме SpreadFee)</member>
+                                            </simplelist>
+                                        </para>
+                                    </listitem>
+                                </varlistentry>
+                                <varlistentry>
+                                    <term>string <parameter>changePolicy</parameter></term>
+                                    <listitem>
+                                        <para>Политика смены тарифа:
+                                            <simplelist type="vert">
+                                                <member>allow &#151; на период действия политики смена тарифного плана разрешена</member>
+                                                <member>to_cheap &#151; на период действия политики разрешена смена тарифного плана на более дешевый</member>
+                                                <member>to_expensive &#151; на период действия политики разрешена смена тарифного плана на более дорогой</member>
+                                                <member>deny &#151; на период действия политики смена тарифного плана запрещена</member>
                                             </simplelist>
                                         </para>
                                     </listitem>
                                 </varlistentry>
                                             </simplelist>
                                         </para>
                                     </listitem>
                                 </varlistentry>
+                                <varlistentry>
+                                    <term>int <parameter>changePolicyTimeout</parameter></term>
+                                    <listitem>
+                                        <para>Момент завершения действия политики тарификации (0 - политика тарификации не завершается никогда)</para>
+                                    </listitem>
+                                </varlistentry>
                                 <varlistentry>
                                     <term>array of struct <parameter>dirprices</parameter></term>
                                     <listitem>
                                 <varlistentry>
                                     <term>array of struct <parameter>dirprices</parameter></term>
                                     <listitem>