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:
-
cardDetails
ObjectCardDetails of login user.
-
orderId
StringOrder 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:
-
options
ObjectObject of make payment data.
-
ServicePath
StringService URL.
-
SitePath
StringSite URL.
-
templatePath
StringHTML path.
-
personId:
StringUser Linked ID.
-
domElement
ObjectMake Payment DOM element.
-
data
ObjectList of orders.
-
eb_MakeMYPayment.outstandingOrderService
-
personId
This method is used to get order history data.
Parameters:
-
personId
StringLogged-in person Id.
Returns:
jQuery promise object which when resolved returns unpaid order data.
eb_MakeMYPayment.render
-
options
Render make a payment page.
Parameters:
-
options
ObjectArray of required data.
-
templatePath
StringOrder 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.