API Docs for:
Show:

eb_paymentSummaryDetails Class

Define eb_paymentSummaryDetails class.

Methods

eb_paymentSummaryDetails.couponId

(
  • couponName
)
Object

Coupon Name service to get the coupon Id

Parameters:

  • couponName String

    CoupanName

Returns:

Object:

Return Id of Coupon. If not available then return -1

eb_paymentSummaryDetails.domElement

(
  • domElement
)

Page DOM element.

Parameters:

  • domElement Object

    current DOM element.

eb_paymentSummaryDetails.model

(
  • options
)

PaymentSummary Details Model for binding data

Parameters:

  • options Any

    parameter object.

    • ServicePath String

      Service URL.

    • SitePath String

      Site URL

    • shoppingCart Object

      Shopping cart data.

    • domElement Object

      DOM element.

    • templatePath String

      HTML path.

eb_paymentSummaryDetails.render

(
  • options
)
String

Rendering public method to load HTML template. Based on page level configuration it will select the template and load in DOM

Parameters:

  • options Any

    options contains different parameter like Site path, templatePath and domElement..

    • 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_paymentSummaryDetails.shoppingCart

(
  • shoppingCart
)

Shopping cart object

Parameters:

  • shoppingCart Object

    shopping cart object.

eb_paymentSummaryDetails.viewCartObject

(
  • viewCartObject
)

View cart Object

Parameters:

  • viewCartObject Object

    viewCart 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.