To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Properties
Name | Returns | Notes | Example |
---|---|---|---|
nextInvoiceNumber | String |
Methods
Name | Returns | Notes | Example |
---|---|---|---|
createCartFromInvoice ( invoice, website ) | Cart | ||
quoteAccepted ( quote ) | void | Makes a quote as accepted and fires events | |
quoteRejected ( quote ) | void | Marks the quote as rejected, and fires events | |
quoteSent ( quote ) | void | Marks the quote as accepted, and fires events | |
getInvoiceListStatus ( name ) | InvoiceListStatus | ||
newInvoiceBean ( ) | InvoiceBean | ||
newLineItemBean ( ) | PaymentLineItemBean | ||
getNextInvoiceNumber ( ) | String | ||
getInvoice ( id ) | Invoice | ||
getInvoiceAsPDF ( invoice ) | String | ||
createInvoice ( customer, vendor, invoiceList ) | Invoice | ||
addLineItem ( paymentItemList, description, quantity, unitPrice, account, taxRate, amount, discountRate, productSku, supplier ) | LineItem | ||
addLineItem ( paymentItemList, checkoutLineItem ) | LineItem | ||
markInvoiceAsSent ( invoice ) | void | ||
markInvoiceAsPaid ( invoice ) | void | ||
newPaymentTransaction ( createdBy, paymentProviderAppId ) | PaymentTransaction | Just creates a blank instance with minimal properties set. The calling code must then set other properties and save with the paymentTransaction KCriteriaBuilder | |
createRecurringTransaction ( ptx, customerTokenId, amount, currencyCode, startDate, frequency, multiples, invoiceNumExp, invoiceDescExpr, cart ) | RecurringTransaction | ||
createRecurringTransactionResult ( rtx, ptx ) | RecurringTransactionResult | ||
findRecurringTransaction ( id ) | RecurringTransaction | ||
lookupFrequency ( ru ) | Frequency | ||
lookupFrequency ( ru ) | Frequency | ||
lookupStatus ( status ) | Status | Lookup status from string | |
findPaymentTransactionsForCart ( cart ) | List | ||
findPaymentTx ( id ) | PaymentTransaction | ||
findRecurringTxForPaymentTx ( ptx ) | RecurringTransaction | ||
makeEWayTokenPayment ( rtx, credentialsBean ) | PaymentTransaction | Legacy. Allows submitting token payments through the old EWayService | |
newCredentialsBean ( user, password, sandbox ) | CredentialsBean | ||
resetDueTransaction ( dtx ) | void |
This will clear down the DueTransaction so it will be processed again as
if it was new. This does not affect or delete any related
PaymentTransaction or RecurringTransactionResult records
This does not start a transaction, so be sure to wrap with runInTransaction |
|
doRecurringPayment ( dtx ) | void | ||
findProposals ( lead ) | ProposalsList |