|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.logicboxes.foundation.sfnb.management.Fund
public class Fund
Constructor Summary | |
---|---|
Fund()
|
Method Summary | |
---|---|
int |
addCustomerDebitNote(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int customerId,
double sellingAmount,
double accountingAmount,
double conversionRate,
java.lang.String description,
int debitNoteDate,
int paymentReminderDays,
java.lang.String transactionKey,
java.util.HashMap transactionInfo,
boolean updateTotalReceipt)
Adds a debit note against the given customer. |
int |
addCustomerFund(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int customerId,
double sellingAmount,
java.lang.String description,
java.lang.String type,
java.lang.String transactionKey,
boolean updateTotalReceipt)
|
int |
addCustomerGreedyDebitNote(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int customerId,
double sellingAmount,
double accountingAmount,
double conversionRate,
java.lang.String description,
int debitNoteDate,
int paymentReminderDays,
java.lang.String transactionKey,
java.util.HashMap transactionInfo,
boolean updateTotalReceipt)
Adds a debit note against the given customer. |
int |
addCustomerGreedyMiscInvoice(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int orderId,
int customerId,
double sellingAmount,
double accountingAmount,
double conversionRate,
java.lang.String description,
int invoiceDate,
int invoiceDueDate,
int invoiceDeletionDate,
int paymentReminderDays,
java.lang.String transactionKey)
Adds a miscellenoeus invoice against the specified customer. |
int |
addCustomerMiscInvoice(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int orderId,
int customerId,
double sellingAmount,
double accountingAmount,
double conversionRate,
java.lang.String description,
int invoiceDate,
int invoiceDueDate,
int invoiceDeletionDate,
int paymentReminderDays,
java.lang.String transactionKey)
Adds a miscellenoeus invoice against the specified customer. |
int |
addResellerDebitNote(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int resellerId,
double sellingAmount,
double accountingAmount,
double conversionRate,
java.lang.String description,
int debitNoteDate,
int paymentReminderDays,
java.lang.String transactionKey,
java.util.HashMap transactionInfo,
boolean updateTotalReceipt)
Adds a debit note against the given customer. |
int |
addResellerFund(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int resellerId,
double sellingAmount,
java.lang.String description,
java.lang.String type,
java.lang.String transactionKey,
boolean updateTotalReceipt)
|
int |
addResellerGreedyDebitNote(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int resellerId,
double sellingAmount,
double accountingAmount,
double conversionRate,
java.lang.String description,
int debitNoteDate,
int paymentReminderDays,
java.lang.String transactionKey,
java.util.HashMap transactionInfo,
boolean updateTotalReceipt)
Adds a debit note against the given customer. |
int |
addResellerGreedyMiscInvoice(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int orderId,
int resellerId,
double sellingAmount,
double accountingAmount,
double conversionRate,
java.lang.String description,
int invoiceDate,
int invoiceDueDate,
int invoiceDeletionDate,
int paymentReminderDays,
java.lang.String transactionKey)
Adds a miscellenoeus invoice against the specified reseller. |
int |
addResellerMiscInvoice(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int orderId,
int resellerId,
double sellingAmount,
double accountingAmount,
double conversionRate,
java.lang.String description,
int invoiceDate,
int invoiceDueDate,
int invoiceDeletionDate,
int paymentReminderDays,
java.lang.String transactionKey)
Adds a miscellenoeus invoice against the specified reseller. |
java.util.HashMap |
executeWithoutPayment(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int[] invoiceTransId,
boolean cancelInvoice)
Executes a particular action pendingf against the given transaction id. |
java.util.HashMap |
getCustomerAvailableBalance(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int customerId)
Returns the total available balance in the account of the given cuatomer |
java.util.HashMap |
getCustomerGreedyTransactions(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int customerId)
|
java.util.HashMap |
getCustomerTransactionDetails(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int transId)
|
java.util.HashMap |
getDeletedRefundDetails(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int[] customerId,
int[] refundId,
java.lang.String[] status,
int numOfRecordPerPage,
int pageNum,
java.lang.String[] orderBy)
Deprecated. |
java.util.HashMap |
getResellerGreedyTransactions(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int resellerId)
|
java.util.HashMap |
getTransactionDetails(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int[] ids,
java.lang.String role)
|
java.util.HashMap |
listBalancedTransactions(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int transId,
java.lang.String forRole)
Deprecated. |
java.util.HashMap |
listCustomerTransactions(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int[] customerId,
java.lang.String[] customerUserName,
java.lang.String[] type,
java.lang.String key,
int[] typeId,
int[] transId,
java.lang.String balanceType,
java.lang.String description,
java.lang.String amountStartRange,
java.lang.String amountEndRange,
java.lang.String fromDate,
java.lang.String toDate,
int numOfRecordPerPage,
int pageNum,
java.lang.String[] orderBy)
Returns a list of the customer transactions for a given customer |
java.util.HashMap |
listResellerTransactions(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int[] resellerId,
java.lang.String[] resellerUserName,
java.lang.String[] type,
java.lang.String key,
int[] typeId,
int[] transId,
java.lang.String balanceType,
java.lang.String description,
java.lang.String amountStartRange,
java.lang.String amountEndRange,
java.lang.String fromDate,
java.lang.String toDate,
int numOfRecordPerPage,
int pageNum,
java.lang.String[] orderBy)
Returns a list of the reseller transactions for a given reseller |
java.util.HashMap |
payCustomerTransaction(java.lang.String SERVICE_USERNAME,
java.lang.String SERVICE_PASSWORD,
java.lang.String SERVICE_ROLE,
java.lang.String SERVICE_LANGPREF,
int SERVICE_PARENTID,
int[] invoiceTransIdArr,
int[] debitNoteIdArr)
This method allows you to pay a Customer's pending Invoices or Debit Notes |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Fund()
Method Detail |
---|
public java.util.HashMap listCustomerTransactions(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int[] customerId, java.lang.String[] customerUserName, java.lang.String[] type, java.lang.String key, int[] typeId, int[] transId, java.lang.String balanceType, java.lang.String description, java.lang.String amountStartRange, java.lang.String amountEndRange, java.lang.String fromDate, java.lang.String toDate, int numOfRecordPerPage, int pageNum, java.lang.String[] orderBy)
customerId
- Specifies the customer whose transaction have to be listedcustomerUserName
- Specifies the username of the customertype
- Specifies the type of transaction to be listedkey
- Specifies the sub-type of transaction to be listed. The key parameter can take the following values:
1. Any product key: If you want to list the transactions corresponding to a particualr product type, you can
enter the corresponding product key, such as domcno, dombiz for con/net and biz domains respectively in the key field.
The name of the product key can also be prefixed my the word "misc-". This specifies that you want to list those type of
specified transactions which fall undeer the category of miscelleneous. For example, if you click the "Pay Invoice"
button from your control panel, then the invoice generated against that particular transacyion will be prefixed by the word
"misc-". Therefore to list those type of transactions you need to prefix the type of the key with "misc-". For example, you
will enter "misc-dombiz" instead of "dombiz".
2. "manually" : This key value specifies that you want to list all the manual transactions made against the specifies transaction type.
3. Payment Gateway Id: The payment gateway id is specified when you want to list the specifies type of transaction which are made
from the specifies payment gateway.typeId
- Specifies the identification number of the specified type of transaction that you want ot list.transId
- Specifies the identification number of the particular transaction the details of which needs to be displayedbalanceType
- Specifies if only the balanced or unbalanced transactions needs to be listed. This parameter can take the
two values, onlybalanced and onlyunbalanced for the corresponding type of transactions.description
- Specifies the transaction description that needs to be searched while listing the transaction.amountStartRange
- Specifies the start range of the ammount of which the details needs to be displayedamountEndRange
- Specifies the end range of the ammount fro which the details needs to be displayedfromDate
- Specifies the start date from which the transaction have to be listedtoDate
- Specifies the end date from which the transaction have to be listednumOfRecordPerPage
- Specifies the number of records to be displayed in one particular pagepageNum
- Specifies the page number to be displayyed from the total numnber of pages to be displayedorderBy
- Specifies the paramerter to be used to decide the order in which the transactions needs to be displayed
public java.util.HashMap payCustomerTransaction(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int[] invoiceTransIdArr, int[] debitNoteIdArr)
invoiceTransIdArr
- Array of Invoice Ids for which you wish to make the paymentdebitNoteIdArr
- Array of Debit Note Ids for which you wish to make the payment
public java.util.HashMap getCustomerAvailableBalance(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int customerId)
customerId
- Specifies the customer whose balanace has to be displayed
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic int addResellerFund(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int resellerId, double sellingAmount, java.lang.String description, java.lang.String type, java.lang.String transactionKey, boolean updateTotalReceipt)
resellerId
- ResellerId whose funds are to be addedsellingAmount
- Amount to adddescription
- Description for the transactiontype
- Type of transaction
Valid entries are: credit,receipt.transactionKey
- Unique key for the transactionupdateTotalReceipt
- boolean value to indicate whether
to add this amount to the Total Receipt
public int addCustomerFund(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int customerId, double sellingAmount, java.lang.String description, java.lang.String type, java.lang.String transactionKey, boolean updateTotalReceipt)
customerId
- CustomerId whose funds are to be addedsellingAmount
- Amount to adddescription
- Description for the transactiontype
- Type of transaction
Valid entries are: credit,receipt.transactionKey
- Unique key for the transactionupdateTotalReceipt
- boolean value to indicate whether to add this amount
to the Total Receipt
public java.util.HashMap executeWithoutPayment(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int[] invoiceTransId, boolean cancelInvoice)
invoiceTransId
- Specifies the transaction identification number of the particular
action that needs to be executed without paymentcancelInvoice
- Specifies whether the invoice needs to be generated against the transaction or not.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occur@Deprecated public java.util.HashMap getDeletedRefundDetails(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int[] customerId, int[] refundId, java.lang.String[] status, int numOfRecordPerPage, int pageNum, java.lang.String[] orderBy)
customerId
- Specifies the customerid of the cusotmer for which the deletion refund details need to be returnedrefundId
- Specifies the identification number of the particular refund transactionstatus
- Specifies the status of the order that of which the deletion refund details need to be producednumOfRecordPerPage
- Specifies the number of records that you want to be displayed on one pagepageNum
- Specifies the page number the deatils on which you want to displayorderBy
- Specifies the parameter that is used to order the details while they are displaye on the page
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap listResellerTransactions(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int[] resellerId, java.lang.String[] resellerUserName, java.lang.String[] type, java.lang.String key, int[] typeId, int[] transId, java.lang.String balanceType, java.lang.String description, java.lang.String amountStartRange, java.lang.String amountEndRange, java.lang.String fromDate, java.lang.String toDate, int numOfRecordPerPage, int pageNum, java.lang.String[] orderBy)
resellerId
- Specifies the reseller whose transaction have to be listedresellerUserName
- Specifies the username of the resellertype
- Specifies the type of transaction to be listed, such as credit, debit, invoice, and receipt.key
- Specifies the sub-type of transaction to be listed. The key parameter can take the following values:
1. Any product key: If you want to list the transactions corresponding to a particualr product type, you can
enter the corresponding product key, such as domcno, dombiz for con/net and biz domains respectively in the key field.
The name of the product key can also be prefixed my the word "misc-". This specifies that you want to list those type of
specified transactions which fall undeer the category of miscelleneous. For example, if you click the "Pay Invoice"
button from your control panel, then the invoice generated against that particular transacyion will be prefixed by the word
"misc-". Therefore to list those type of transactions you need to prefix the type of the key with "misc-". For example, you
will enter "misc-dombiz" instead of "dombiz".
2. "manually" : This key value specifies that you want to list all the manual transactions made against the specifies transaction type.
3. Payment Gateway Id: The payment gateway id is specified when you want to list the specifies type of transaction which are made
from the specifies payment gateway.typeId
- Specifies the identification number of the specified type of transaction that you want ot list.transId
- Specifies the identification number of the specified transaction that you want ot list.balanceType
- Specifies if only the balanced or unbalanced transactions needs to be listed. This parameter can take the
two values, onlybalanced and onlyunbalanced for the corresponding type of transactions.description
- Specifies the transaction description that needs to be searched while listing the transaction.amountStartRange
- Specifies the start range of the ammount of which the details needs to be displayedamountEndRange
- Specifies the end range of the ammount fro which the details needs to be displayedfromDate
- Specifies the start date from which the transaction have to be listedtoDate
- Specifies the end date from which the transaction have to be listednumOfRecordPerPage
- Specifies the number of records to be displayed in one particular pagepageNum
- Specifies the page number to be displayyed from the total numnber of pages to be displayedorderBy
- Specifies the paramerter to be used to decide the order in which the transactions needs to be displayed
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic int addCustomerDebitNote(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int customerId, double sellingAmount, double accountingAmount, double conversionRate, java.lang.String description, int debitNoteDate, int paymentReminderDays, java.lang.String transactionKey, java.util.HashMap transactionInfo, boolean updateTotalReceipt)
customerId
- Specifies the customer id of the cusotmer for whome you need to add the debit notesellingAmount
- Specifies the selling price in the selling currency that you choose for the specified customer.accountingAmount
- Specifies the accounting price in the accounting currency that you choose for the specified customer.conversionRate
- Specifies the onversion rate between the seling and accounting ammounts.description
- Specifies the description that you want to add against that particular debit note.debitNoteDate
- Specifies the date on which you want the debit note to be added.paymentReminderDays
- Specifies the number od days in which the customer needs to be reminded about the debit note.
A periodical Reminder is sent to a Customer/Reseller for all Pending Invoices/Debit Notes. You can control the frequency
of this Reminder by setting how often this Reminder should be sent below. If you do not wish to send any Payment Reminders
to your Customers/Resellers simply leave the box blank.transactionKey
- Specifies the transaction key for that particular transaction. This key ensures that the
transaction is made by the customer intentionally and not because of accidental refreshing of the browser. The customer
has to enter a unique transaction key for each transaction he performs.transactionInfo
- ***********To be excluded.*****************updateTotalReceipt
- Specifies if the total receipt of the given customer has to be updated after adding the
fund or not. You need to select this option if you wish to subtract this amount from the Total Receipts figure of
your Customer. The Total Receipts figure of your Customer is used to determine his purchase price of various products
based on your pricing settings.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic int addCustomerGreedyDebitNote(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int customerId, double sellingAmount, double accountingAmount, double conversionRate, java.lang.String description, int debitNoteDate, int paymentReminderDays, java.lang.String transactionKey, java.util.HashMap transactionInfo, boolean updateTotalReceipt)
customerId
- Specifies the customer id of the cusotmer for whome you need to add the debit notesellingAmount
- Specifies the selling price in the selling currency that you choose for the specified customer.accountingAmount
- Specifies the accounting price in the accounting currency that you choose for the specified customer.conversionRate
- Specifies the onversion rate between the seling and accounting ammounts.description
- Specifies the description that you want to add against that particular debit note.debitNoteDate
- Specifies the date on which you want the debit note to be added.paymentReminderDays
- Specifies the number od days in which the customer needs to be reminded about the debit note.
A periodical Reminder is sent to a Customer/Reseller for all Pending Invoices/Debit Notes. You can control the frequency
of this Reminder by setting how often this Reminder should be sent below. If you do not wish to send any Payment Reminders
to your Customers/Resellers simply leave the box blank.transactionKey
- Specifies the transaction key for that particular transaction. This key ensures that the
transaction is made by the customer intentionally and not because of accidental refreshing of the browser. The customer
has to enter a unique transaction key for each transaction he performs.transactionInfo
- ***********To be excluded.*****************updateTotalReceipt
- Specifies if the total receipt of the given customer has to be updated after adding the
fund or not. You need to select this option if you wish to subtract this amount from the Total Receipts figure of
your Customer. The Total Receipts figure of your Customer is used to determine his purchase price of various products
based on your pricing settings.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic int addCustomerMiscInvoice(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int orderId, int customerId, double sellingAmount, double accountingAmount, double conversionRate, java.lang.String description, int invoiceDate, int invoiceDueDate, int invoiceDeletionDate, int paymentReminderDays, java.lang.String transactionKey)
orderId
- Specifies the order for which the invoice needs to be added.customerId
- Specifies the identification number of the customer for whome the invoice needs to be added.sellingAmount
- Specifies the selling price in the selling currency that you choose for the specified customer.accountingAmount
- Specifies the accounting price in the accounting currency that you choose for the specified customer.conversionRate
- Specifies the onversion rate between the seling and accounting ammounts.description
- Specifies the description that you want to add against that particular debit note.invoiceDate
- Specifies the date on which the invoice is to be added.invoiceDueDate
- Specifies the date on which the invoice is set to be due.invoiceDeletionDate
- Specifies the dat eon which the invoice needs to be deleted.paymentReminderDays
- Specifies the number od days in which the customer needs to be reminded about the debit note.
A periodical Reminder is sent to a Customer/Reseller for all Pending Invoices/Debit Notes. You can control the frequency
of this Reminder by setting how often this Reminder should be sent below. If you do not wish to send any Payment Reminders
to your Customers/Resellers simply leave the box blank.transactionKey
- Specifies the transaction key for that particular transaction. This key ensures that the
transaction is made by the customer intentionally and not because of accidental refreshing of the browser. The customer
has to enter a unique transaction key for each transaction he performs.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic int addCustomerGreedyMiscInvoice(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int orderId, int customerId, double sellingAmount, double accountingAmount, double conversionRate, java.lang.String description, int invoiceDate, int invoiceDueDate, int invoiceDeletionDate, int paymentReminderDays, java.lang.String transactionKey)
orderId
- Specifies the order for which the invoice needs to be added.customerId
- Specifies the identification number of the customer for whome the invoice needs to be added.sellingAmount
- Specifies the selling price in the selling currency that you choose for the specified customer.accountingAmount
- Specifies the accounting price in the accounting currency that you choose for the specified customer.conversionRate
- Specifies the onversion rate between the seling and accounting ammounts.description
- Specifies the description that you want to add against that particular debit note.invoiceDate
- Specifies the date on which the invoice is to be added.invoiceDueDate
- Specifies the date on which the invoice is set to be due.invoiceDeletionDate
- Specifies the dat eon which the invoice needs to be deleted.paymentReminderDays
- Specifies the number od days in which the customer needs to be reminded about the debit note.
A periodical Reminder is sent to a Customer/Reseller for all Pending Invoices/Debit Notes. You can control the frequency
of this Reminder by setting how often this Reminder should be sent below. If you do not wish to send any Payment Reminders
to your Customers/Resellers simply leave the box blank.transactionKey
- Specifies the transaction key for that particular transaction. This key ensures that the
transaction is made by the customer intentionally and not because of accidental refreshing of the browser. The customer
has to enter a unique transaction key for each transaction he performs.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic int addResellerDebitNote(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int resellerId, double sellingAmount, double accountingAmount, double conversionRate, java.lang.String description, int debitNoteDate, int paymentReminderDays, java.lang.String transactionKey, java.util.HashMap transactionInfo, boolean updateTotalReceipt)
resellerId
- Specifies the customer id of the cusotmer for whome you need to add the debit notesellingAmount
- Specifies the selling price in the selling currency that you choose for the specified reseller.accountingAmount
- Specifies the accounting price in the accounting currency that you choose for the specified reseller.conversionRate
- Specifies the onversion rate between the seling and accounting ammounts.description
- Specifies the description that you want to add against that particular debit note.debitNoteDate
- Specifies the date on which you want the debit note to be added.paymentReminderDays
- Specifies the number od days in which the reseller needs to be reminded about the debit note.
A periodical Reminder is sent to a reseller/Reseller for all Pending Invoices/Debit Notes. You can control the frequency
of this Reminder by setting how often this Reminder should be sent below. If you do not wish to send any Payment Reminders
to your resellers/Resellers simply leave the box blank.transactionKey
- Specifies the transaction key for that particular transaction. This key ensures that the
transaction is made by the reseller intentionally and not because of accidental refreshing of the browser. The reseller
has to enter a unique transaction key for each transaction he performs.transactionInfo
- ***********To be excluded.*****************updateTotalReceipt
- Specifies if the total receipt of the given reseller has to be updated after adding the
fund or not. You need to select this option if you wish to subtract this amount from the Total Receipts figure of
your reseller. The Total Receipts figure of your reseller is used to determine his purchase price of various products
based on your pricing settings.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic int addResellerGreedyDebitNote(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int resellerId, double sellingAmount, double accountingAmount, double conversionRate, java.lang.String description, int debitNoteDate, int paymentReminderDays, java.lang.String transactionKey, java.util.HashMap transactionInfo, boolean updateTotalReceipt)
resellerId
- Specifies the customer id of the cusotmer for whome you need to add the debit notesellingAmount
- Specifies the selling price in the selling currency that you choose for the specified reseller.accountingAmount
- Specifies the accounting price in the accounting currency that you choose for the specified reseller.conversionRate
- Specifies the onversion rate between the seling and accounting ammounts.description
- Specifies the description that you want to add against that particular debit note.debitNoteDate
- Specifies the date on which you want the debit note to be added.paymentReminderDays
- Specifies the number od days in which the reseller needs to be reminded about the debit note.
A periodical Reminder is sent to a reseller/Reseller for all Pending Invoices/Debit Notes. You can control the frequency
of this Reminder by setting how often this Reminder should be sent below. If you do not wish to send any Payment Reminders
to your resellers/Resellers simply leave the box blank.transactionKey
- Specifies the transaction key for that particular transaction. This key ensures that the
transaction is made by the reseller intentionally and not because of accidental refreshing of the browser. The reseller
has to enter a unique transaction key for each transaction he performs.transactionInfo
- ***********To be excluded.*****************updateTotalReceipt
- Specifies if the total receipt of the given reseller has to be updated after adding the
fund or not. You need to select this option if you wish to subtract this amount from the Total Receipts figure of
your reseller. The Total Receipts figure of your reseller is used to determine his purchase price of various products
based on your pricing settings.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic int addResellerMiscInvoice(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int orderId, int resellerId, double sellingAmount, double accountingAmount, double conversionRate, java.lang.String description, int invoiceDate, int invoiceDueDate, int invoiceDeletionDate, int paymentReminderDays, java.lang.String transactionKey)
orderId
- Specifies the order for which the invoice needs to be added.resellerId
- Specifies the identification number of the reseller for whome the invoice needs to be added.sellingAmount
- Specifies the selling price in the selling currency that you choose for the specified reseller.accountingAmount
- Specifies the accounting price in the accounting currency that you choose for the specified reseller.conversionRate
- Specifies the onversion rate between the seling and accounting ammounts.description
- Specifies the description that you want to add against that particular debit note.invoiceDate
- Specifies the date on which the invoice is to be added.invoiceDueDate
- Specifies the date on which the invoice is set to be due.invoiceDeletionDate
- Specifies the dat eon which the invoice needs to be deleted.paymentReminderDays
- Specifies the number od days in which the reseller needs to be reminded about the debit note.
A periodical Reminder is sent to a reseller/Reseller for all Pending Invoices/Debit Notes. You can control the frequency
of this Reminder by setting how often this Reminder should be sent below. If you do not wish to send any Payment Reminders
to your resellers/Resellers simply leave the box blank.transactionKey
- Specifies the transaction key for that particular transaction. This key ensures that the
transaction is made by the reseller intentionally and not because of accidental refreshing of the browser. The reseller
has to enter a unique transaction key for each transaction he performs.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic int addResellerGreedyMiscInvoice(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int orderId, int resellerId, double sellingAmount, double accountingAmount, double conversionRate, java.lang.String description, int invoiceDate, int invoiceDueDate, int invoiceDeletionDate, int paymentReminderDays, java.lang.String transactionKey)
orderId
- Specifies the order for which the invoice needs to be added.resellerId
- Specifies the identification number of the reseller for whome the invoice needs to be added.sellingAmount
- Specifies the selling price in the selling currency that you choose for the specified reseller.accountingAmount
- Specifies the accounting price in the accounting currency that you choose for the specified reseller.conversionRate
- Specifies the onversion rate between the seling and accounting ammounts.description
- Specifies the description that you want to add against that particular debit note.invoiceDate
- Specifies the date on which the invoice is to be added.invoiceDueDate
- Specifies the date on which the invoice is set to be due.invoiceDeletionDate
- Specifies the dat eon which the invoice needs to be deleted.paymentReminderDays
- Specifies the number od days in which the reseller needs to be reminded about the debit note.
A periodical Reminder is sent to a reseller/Reseller for all Pending Invoices/Debit Notes. You can control the frequency
of this Reminder by setting how often this Reminder should be sent below. If you do not wish to send any Payment Reminders
to your resellers/Resellers simply leave the box blank.transactionKey
- Specifies the transaction key for that particular transaction. This key ensures that the
transaction is made by the reseller intentionally and not because of accidental refreshing of the browser. The reseller
has to enter a unique transaction key for each transaction he performs.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap getCustomerTransactionDetails(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int transId)
transId
- TransactionId
@Deprecated public java.util.HashMap listBalancedTransactions(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int transId, java.lang.String forRole)
transId
- TransactionIdforRole
- Role i.e. reseller, customer
public java.util.HashMap getCustomerGreedyTransactions(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int customerId)
customerId
- CustomerId
public java.util.HashMap getResellerGreedyTransactions(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int resellerId)
resellerId
- ResellerId
public java.util.HashMap getTransactionDetails(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int[] ids, java.lang.String role)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |