eb_paymentSummaryDetails Class
Define eb_paymentSummaryDetails class.
Item Index
Methods
Properties
- eb_paymentSummaryDetails.cName
- eb_paymentSummaryDetails.defaultErrorMessage
- eb_paymentSummaryDetails.errorResponses
- eb_paymentSummaryDetails.orderConfirmationUrl
- eb_paymentSummaryDetails.proceedToCheckoutUrl
- eb_paymentSummaryDetails.proceedToPaymentUrl
- eb_paymentSummaryDetails.ServicePath
- eb_paymentSummaryDetails.SitePath
- eb_paymentSummaryDetails.TemplatePath
Methods
eb_paymentSummaryDetails.couponId
-
couponName
Coupon Name service to get the coupon Id
Parameters:
-
couponNameStringCoupanName
Returns:
Return Id of Coupon. If not available then return -1
eb_paymentSummaryDetails.domElement
-
domElement
Page DOM element.
Parameters:
-
domElementObjectcurrent DOM element.
eb_paymentSummaryDetails.model
-
options
PaymentSummary Details Model for binding data
Parameters:
-
optionsAnyparameter object.
-
ServicePathStringService URL.
-
SitePathStringSite URL
-
shoppingCartObjectShopping cart data.
-
domElementObjectDOM element.
-
templatePathStringHTML path.
-
eb_paymentSummaryDetails.render
-
options
Rendering public method to load HTML template. Based on page level configuration it will select the template and load in DOM
Parameters:
-
optionsAnyoptions contains different parameter like Site path, templatePath and domElement..
-
SitePathStringSite path.
-
templatePathStringHTML file path.
-
domElementObjectDOM element.
-
Returns:
jQuery promise object which when resolved returns HTML template.
eb_paymentSummaryDetails.shoppingCart
-
shoppingCart
Shopping cart object
Parameters:
-
shoppingCartObjectshopping cart object.
eb_paymentSummaryDetails.viewCartObject
-
viewCartObject
View cart Object
Parameters:
-
viewCartObjectObjectviewCart object.
Properties
eb_paymentSummaryDetails.cName
Number
Coupon Name service to get the Id
eb_paymentSummaryDetails.defaultErrorMessage
String
Default error message.
eb_paymentSummaryDetails.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_paymentSummaryDetails.orderConfirmationUrl
String
Skipping payment step on checkout wizard if Order total is Zero.
eb_paymentSummaryDetails.proceedToCheckoutUrl
String
Proceed to checkout URL if user has not passed from outside.
eb_paymentSummaryDetails.proceedToPaymentUrl
String
Proceed to checkout URL if user has not passed from outside.
eb_paymentSummaryDetails.ServicePath
String
The path to the eBusiness SOA layer.
eb_paymentSummaryDetails.SitePath
String
Control level setting: Site path.
eb_paymentSummaryDetails.TemplatePath
String
Control level setting Template path.
