Constructor
new DCOfferPaymentConfig()
Properties:
Name | Type | Description |
---|---|---|
priceInfo |
OfferPriceInfoObject | selected offer price information. |
Example
Sample Usage -
Include the component in your template simply by adding c-dc-offer-payment-config HTML tag
<c-dc-offer-payment-config price-info={offer.priceInfo}></c-dc-offer-payment-config>
| Attribute Name | Type Expected | Required |
|-----------------------|---------------------------------------------------------------------------------|----------|
| priceInfo | It expects value in OfferPriceInfoObject format | required |
--------------------------------------------------------------------------------------------------------------------------------------------------------------
KEY INFO -
events fired : none
events registered : none
Dependency - c-dc-offer-payment-config is an independent component but is commonly used as a child component of c-dc-offer-config-details.
| Parent Component | Child Components |
|-----------------------------------|------------------|
| c-dc-offer-config-details | none |
Sample with slots -
<c-dc-offer-payment-config>
<span slot="{slot_name}">
Custom HTML elements goes here
</span>
</c-dc-offer-payment-config>
List of available slots -
| Slot names | Dynamic | Description | Impact |
|---------------------------------|-------------|------------------------------|----------------------|
| dc-offer-payment-wrapper | - | Wrapper for template | Replaces DOM |
Extends
Members
(static) oneTimeCharge
get method for oneTimeCharge value.
(static) recurringCharge
get method for recurringCharge value.