[config-name].js |
File |
Active |
Stores configuration scripts (implicit calls) that can be used to configure billing setup for a given merchant.
The following scripting functions are available:
void billingCycle(String cycleType); Creates one or billing cycle codes.
api.billingCycle("W"); Creates weekly billing cycle codes (from W01 to W07).
api.billingCycle("M"); Creates monthly billing cycle codes (from M01 to M31).
api.itemCode("Membership","Membership"); Creates a new item code.
Exp.: void itemCode(String itemCode, String itemName);
api.tax("tax","tax",10); Creates a new tax code.
Exp.: void tax (String taxCode, String taxName, Integer taxRate);
api.adjustmentCode("adjustment","adjustmant",true,true); Creates a new adjustment code.
Exp.: void adjustmentCode (String code, String name, Boolean isFreeze, Boolean isCancelation);
api.groupCode("Group","Group"); Creates a new group code.
Exp.: void groupCode(String groupCode, String groupName);
api.actionCode("actionCode", "actionCode"); Creates a new action code.
Exp.: void actionCode (String actionCode, String actionName);
api.letterCode("letterCode","letterCode", true); Creates a new letter code.
Exp.: void letterCode (String letterCode, String letterName, Boolean isStatement);
api.noteCode("note","note"); Creates a new note code.
Exp.: void noteCode (String noteCode, String noteName);
api.emailCode("email","email"); Creates a new email code.
Exp.: void emailCode(String emailCode, String emailName);
api.documentCode("document","document"); Creates a new document code.
Exp.: void documentCode(String documentCode, String documentName);
api.createBillingProfile(); Creates default billing and billing profile.
Exp.: void createBillingProfile(); |