API Docs for:
Show:

eb_membershipApplication Class

Define eb_membershipApplication class.

Methods

eb_membershipApplication.cardPayment

(
  • cardDetails
)
Object

This method is used to make card payment.

Parameters:

  • cardDetails Object

    CardDetails of login user.

Returns:

Object:

jQuery promise object which when resolved returns payment details.

eb_membershipApplication.domElement

(
  • domElement
)

Page DOM element.

Parameters:

  • domElement Object

    current DOM element.

eb_membershipApplication.getMembershipApplicationData

() Object

Get Membership Application data from the server through the get service call.

Returns:

Object:

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:

Object:

jQuery promise object return the membership application data definition.

eb_membershipApplication.getPersonPhoneNumberData

(
  • personId
)
Object

Public method to get person phone data list from the server. The service will return list of all phones.

Parameters:

  • personId String

    Data to be updated

Returns:

Object:

jQuery promise object which when resolved returns phones list.

eb_membershipApplication.getProfilePhoneNumberData

(
  • personId
)
Object

Public method to get profile phone data list from the server. The service will return list of all phones.

Parameters:

  • personId String

    Data person Id.

Returns:

Object:

jQuery promise object which when resolved returns phones list.

eb_membershipApplication.render

(
  • options
)
String

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 Object

    Object with data required for getting HTML template through Ajax call.

    • SitePath String

      Site path.

    • templatePath String

      HTML file path.

    • domElement Object

      DOM element.

Returns:

String:

jQuery promise object which when resolved returns HTML template.

eb_membershipApplication.updatePersonData

(
  • data
  • personId
)
Object

Update person profile information method.

Parameters:

  • data Object

    Data to be updated.

  • personId Object

    Data to be updated.

Returns:

Object:

jQuery promise object which when resolved returns updated person data.

eb_membershipApplication.updatePersonPhoneNumbersData

(
  • data
  • data
  • data
)
Object

Update person phone number information

Parameters:

  • data PhoneData

    phoneData to be updated.

  • data PersonId

    personId to be updated.

  • data PhoneName

    phoneName to be updated.

Returns:

Object:

jQuery promise object which when resolved returns updated phone number data.

eb_membershipApplication.updateSingleMembershipProductItem

(
  • Data
)
Object

update Single Membership Product Item

Parameters:

  • Data String

    productId as data

Returns:

Object:

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:

Object:

jQuery promise object which when resolved returns countries list.

eb_profile.getPersonData

(
  • personID
)
Object

Get person data from the server through the get service call.

Parameters:

  • personID String

    Person Id.

Returns:

Object:

jQuery promise object which when resolved returns person data.

eb_profile.updateProfilePhoneNumbersData

() Object

Update profile phone number information

Returns:

Object:

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.