eb_MakeMYPayment Class
Make Payment class.
Item Index
Methods
Methods
eb_MakeMYPayment.cardPayment
-
cardDetails -
orderId
This method is used to get order history data.
Parameters:
-
cardDetailsObjectCardDetails of login user.
-
orderIdStringOrder Id for order to be placed.
Returns:
jQuery promise object which when resolved returns order history data.
eb_MakeMYPayment.model
-
options
Make Payment model.
Parameters:
-
optionsObjectObject of make payment data.
-
ServicePathStringService URL.
-
SitePathStringSite URL.
-
templatePathStringHTML path.
-
personId:StringUser Linked ID.
-
domElementObjectMake Payment DOM element.
-
dataObjectList of orders.
-
eb_MakeMYPayment.outstandingOrderService
-
personId
This method is used to get order history data.
Parameters:
-
personIdStringLogged-in person Id.
Returns:
jQuery promise object which when resolved returns unpaid order data.
eb_MakeMYPayment.render
-
options
Render make a payment page.
Parameters:
-
optionsObjectArray of required data.
-
templatePathStringOrder history template URL.
-
Returns:
Order history HTML template.
Properties
eb_MakeMYPayment.defaultErrorMessage
String
Default error message.
eb_MakeMYPayment.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_MakeMYPayment.getOrderHistory
String
Make payment service
eb_MakeMYPayment.ServicePath
String
SOA path. It would be set from configuration file.
eb_MakeMYPayment.SitePath
String
Site path. It would be set from configuration file.
eb_MakeMYPayment.TemplatePath
String
Template path.
