| Home | Trees | Indices | Help |
|
|---|
|
|
Class encapsulating shopping options available through PamFax
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Adds some credit in user's currency to the currently logged in user. NOTES: This method is for testing purposes only, so it is not available in the LIVE system. Use it to create some 'virtual' credits for your users. Arguments: amount -- The amount of credit you want to add to the current user's pamfax credit. Currency is the user's currency. You can also pass a negative value to remove credit from user for testing. Keyword arguments: reason -- Optionally add some reason why you added this credit |
Returns an invoice pdf file for a payment (see UserInfo/ListOrders). Returns binary data so call with API_FORMAT_PASSTHRU. |
Get the nearest available fax-in area code for the given IP-Address. Used to show "You can get a fax-in number in ..." to the user to offer PamFax plans to him Arguments: ip_address -- IP-Address to find nearest number for |
Returns different shop links. Use these links to open a browser window with the shop in a specific state. Keyword arguments: type -- Type of link to return. Available: '', credit_packs, basic_plan, pro_plan, checkout product -- Product to add. Available: '',BasicPlan12,ProPlan12,OnDemand,Pack10,Pack30,Pack50,Pack100,Pack250,Pack500,Pack1000 pay -- (DEPRECATED) direct leads to checkout page |
Returns a list of available items from the shop. When a user is logged in, it will also contain the items only available to validated customers. |
Redeem a credit voucher. These are different then the shop vouchers to be used in the online shop! You can use "PCPC0815" to test this function in the Sandbox API Arguments: vouchercode -- The voucher code. Format is ignored. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Sep 21 21:30:32 2011 | http://epydoc.sourceforge.net |