public interface BillingMgrIf
Modifier and Type | Method and Description |
---|---|
PaymentSchedule |
getPaymentSchedule(int id)
Returns the payment schedule object for the
id parameter, or Null if the payment
schedule object doesn't exist in the DB. |
Subscription[] |
getSubscriptionsPerCustomer(java.lang.String sessionId)
Returns an array of Subscription objects for a customer referred to by the sessionId
parameter.
|
int |
insertSubscription(java.lang.String sessionId,
SubscriptionIf subscription)
A Subscription object is inserted into the database.
|
int |
insertSubscription(SubscriptionIf subscription)
A Subscription object is inserted into the database.
|
Subscriptions |
searchForSubscriptionsPerCustomer(java.lang.String sessionId,
DataDescriptorIf dataDesc,
SubscriptionSearchIf subscriptionSearch)
Return subscriptions matching the search criteria.
|
void |
updateSubscription(java.lang.String sessionId,
SubscriptionIf subscription)
A Subscription object identified by the subscription passed in as a parameter is updated in
the database.
|
void |
updateSubscription(SubscriptionIf subscription)
A Subscription object identified by the subscription passed in as a parameter is updated in
the database.
|
int insertSubscription(java.lang.String sessionId, SubscriptionIf subscription) throws java.lang.Exception
The methods:
sessionId
- The session id of the logged in usersubscription
- The subscription object to be insertedjava.lang.Exception
- an unexpected exceptionint insertSubscription(SubscriptionIf subscription) throws java.lang.Exception
The methods:
subscription
- The subscription object to be insertedjava.lang.Exception
- an unexpected exceptionvoid updateSubscription(SubscriptionIf subscription) throws java.lang.Exception
subscription
- The subscription object to be updatedjava.lang.Exception
- an unexpected exceptionvoid updateSubscription(java.lang.String sessionId, SubscriptionIf subscription) throws java.lang.Exception
sessionId
- The session id of the logged in usersubscription
- The subscription object to be updatedjava.lang.Exception
- an unexpected exceptionPaymentSchedule getPaymentSchedule(int id) throws com.konakart.app.KKException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
id
parameter, or Null if the payment
schedule object doesn't exist in the DB.id
- The id of the payment schedule objectcom.konakart.app.KKException
- an unexpected KKException exceptionorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)Subscription[] getSubscriptionsPerCustomer(java.lang.String sessionId) throws java.lang.Exception
sessionId
- The session id of the logged in userjava.lang.Exception
- an unexpected exceptionSubscriptions searchForSubscriptionsPerCustomer(java.lang.String sessionId, DataDescriptorIf dataDesc, SubscriptionSearchIf subscriptionSearch) throws java.lang.Exception
sessionId
- The session id of the logged in userdataDesc
- Used to control the data offset, limit the number of items returned and set the
sortsubscriptionSearch
- Contains information used to add search constraintsjava.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.