public class PaymentController
extends java.lang.Object
| Constructor and Description |
|---|
PaymentController(NodeRPCConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
Order |
createOrder(java.lang.String subscription,
java.lang.String pricingPlan) |
Order |
getOrderInfo(java.lang.String orderId) |
java.util.List<Order> |
getOrders(java.lang.String subscription) |
java.util.List<Receipt> |
getReceipts(java.lang.String subscription) |
java.lang.String |
getVersion() |
Receipt |
payOrder(java.lang.String orderId,
java.lang.String transIds) |
public PaymentController(NodeRPCConnection connection)
public Order createOrder(java.lang.String subscription, java.lang.String pricingPlan) throws HiveException
HiveExceptionpublic Receipt payOrder(java.lang.String orderId, java.lang.String transIds) throws HiveException
HiveExceptionpublic Order getOrderInfo(java.lang.String orderId) throws HiveException
HiveExceptionpublic java.util.List<Order> getOrders(java.lang.String subscription) throws HiveException
HiveExceptionpublic java.util.List<Receipt> getReceipts(java.lang.String subscription) throws HiveException
HiveExceptionpublic java.lang.String getVersion()
throws HiveException
HiveException