eb_membershipApplication Class
Define eb_membershipApplication class.
Item Index
Methods
- eb_membershipApplication.cardPayment
- eb_membershipApplication.domElement
- eb_membershipApplication.getMembershipApplicationData
- eb_membershipApplication.getMembershipApplicationDefinitionData
- eb_membershipApplication.getPersonPhoneNumberData
- eb_membershipApplication.getProfilePhoneNumberData
- eb_membershipApplication.render
- eb_membershipApplication.updatePersonData
- eb_membershipApplication.updatePersonPhoneNumbersData
- eb_membershipApplication.updateSingleMembershipProductItem
- eb_profile.getCountriesData
- eb_profile.getPersonData
- eb_profile.updateProfilePhoneNumbersData
Properties
- eb_membershipApplication.defaultDate
- eb_membershipApplication.defaultErrorMessage
- eb_membershipApplication.defaultImage
- eb_membershipApplication.errorResponses
- eb_membershipApplication.monthConstants
- eb_membershipApplication.orderConfirmationUrl
- eb_membershipApplication.ServicePath
- eb_membershipApplication.serviceUrls
- eb_membershipApplication.SitePath
- eb_membershipApplication.TemplatePath
Methods
eb_membershipApplication.cardPayment
-
cardDetails
This method is used to make card payment.
Parameters:
-
cardDetails
ObjectCardDetails of login user.
Returns:
jQuery promise object which when resolved returns payment details.
eb_membershipApplication.domElement
-
domElement
Page DOM element.
Parameters:
-
domElement
Objectcurrent DOM element.
eb_membershipApplication.getMembershipApplicationData
()
Object
Get Membership Application data from the server through the get service call.
Returns:
jQuery promise object return the membership application data.
eb_membershipApplication.getMembershipApplicationDefinitionData
()
Object
Get Membership Application definition from the server through the get service call.
Returns:
jQuery promise object return the membership application data definition.
eb_membershipApplication.getPersonPhoneNumberData
-
personId
Public method to get person phone data list from the server. The service will return list of all phones.
Parameters:
-
personId
StringData to be updated
Returns:
jQuery promise object which when resolved returns phones list.
eb_membershipApplication.getProfilePhoneNumberData
-
personId
Public method to get profile phone data list from the server. The service will return list of all phones.
Parameters:
-
personId
StringData person Id.
Returns:
jQuery promise object which when resolved returns phones list.
eb_membershipApplication.render
-
options
Rendering public method to load HTML template. Based on page level configuration it will select the template and load in DOM. Template path and DOM element are required parameters. GET the template by Ajax call using template path and then assign it to DOM element.
Parameters:
-
options
ObjectObject with data required for getting HTML template through Ajax call.
-
SitePath
StringSite path.
-
templatePath
StringHTML file path.
-
domElement
ObjectDOM element.
-
Returns:
jQuery promise object which when resolved returns HTML template.
eb_membershipApplication.updatePersonData
-
data
-
personId
Update person profile information method.
Parameters:
-
data
ObjectData to be updated.
-
personId
ObjectData to be updated.
Returns:
jQuery promise object which when resolved returns updated person data.
eb_membershipApplication.updatePersonPhoneNumbersData
-
data
-
data
-
data
Update person phone number information
Parameters:
-
data
PhoneDataphoneData to be updated.
-
data
PersonIdpersonId to be updated.
-
data
PhoneNamephoneName to be updated.
Returns:
jQuery promise object which when resolved returns updated phone number data.
eb_membershipApplication.updateSingleMembershipProductItem
-
Data
update Single Membership Product Item
Parameters:
-
Data
StringproductId as data
Returns:
jQuery promise object which when resolved returns membership data.
eb_profile.getCountriesData
()
Object
Public method to get countries data list from the server. The service will return list of all countries.
Returns:
jQuery promise object which when resolved returns countries list.
eb_profile.getPersonData
-
personID
Get person data from the server through the get service call.
Parameters:
-
personID
StringPerson Id.
Returns:
jQuery promise object which when resolved returns person data.
eb_profile.updateProfilePhoneNumbersData
()
Object
Update profile phone number information
Returns:
jQuery promise object which when resolved returns phone number data.
Properties
eb_membershipApplication.defaultDate
String
This is default date
eb_membershipApplication.defaultErrorMessage
String
Default error message.
eb_membershipApplication.defaultImage
String
Default image URL. If product image is not available, default image will be shown.
eb_membershipApplication.errorResponses
Object
Globally defined error codes object for the control. Every error code should have boolean 'useServerMessage' attribute, which when true suggests we are showing service error message on the UI. If the 'useServerMessage' is defined as false, then provide another attribute 'frontEndMessage' with the error string which will be shown on UI. If 'useServerMessage' is false and 'frontEndMessage' is not defined, default error message will be shown. If service error response contains error code not defined in this object then default error message will be shown.
eb_membershipApplication.monthConstants
Unknown
Object with each month's numeric value.
eb_membershipApplication.orderConfirmationUrl
String
Order Confirmation page redirection
eb_membershipApplication.ServicePath
String
The path to the eBusiness SOA layer.
eb_membershipApplication.serviceUrls
Object
The service URL path
eb_membershipApplication.SitePath
String
Control level setting: Site path.
eb_membershipApplication.TemplatePath
String
Control level setting Template path.