Class DefaultCisSubscriptionFacade
- java.lang.Object
-
- de.hybris.platform.subscriptionfacades.impl.AbstractSubscriptionFacade
-
- de.hybris.platform.integration.cis.subscription.facades.impl.DefaultCisSubscriptionFacade
-
- All Implemented Interfaces:
SubscriptionFacade
public class DefaultCisSubscriptionFacade extends AbstractSubscriptionFacade
CIS specific extension of theAbstractSubscriptionFacade.
-
-
Constructor Summary
Constructors Constructor Description DefaultCisSubscriptionFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CCPaymentInfoDatachangePaymentMethod(CCPaymentInfoData paymentInfo, java.lang.String action, boolean propagate, java.util.Map<java.lang.String,java.lang.String> parameters)Changes an existing payment method.SubscriptionDatachangeSubscriptionState(java.lang.String subscriptionId, java.lang.String newStatus, java.util.Map<java.lang.String,java.lang.String> parameters)Updates the state of an existing subscription.protected SubscriptionPaymentDatacombineCisResponseDataResults(java.util.List<SubscriptionPaymentData> cisResults)protected java.util.List<com.hybris.cis.api.model.CisLineItem>convertCisLineItems(AbstractOrderData orderData)protected com.hybris.cis.api.model.AnnotationHashMapconvertVendorParameters(java.util.Map<java.lang.String,java.lang.String> parameters)CCPaymentInfoDatacreatePaymentSubscription(java.util.Map<java.lang.String,java.lang.String> paymentParameters)Creates a payment subscription on the hybris side.SubscriptionPaymentDatacreateSubscriptions(OrderData order, java.util.Map<java.lang.String,java.lang.String> parameters)Creates subscriptions for the given order and current user.SubscriptionDataextendSubscriptionTermDuration(java.lang.String subscriptionId, java.lang.Integer contractDurationExtension, java.util.Map<java.lang.String,java.lang.String> parameters)Extends the subscription term duration of an existing subscription.SubscriptionPaymentDatafinalizeTransaction(java.lang.String authorizationRequestId, java.lang.String authorizationRequestToken, java.util.Map<java.lang.String,java.lang.String> parameters)Finalizes an established subscription with the subscription billing provider.protected java.lang.StringgenerateMerchantTransactionDescription(AbstractOrderData orderData, java.lang.String customerId)protected java.lang.StringgenerateMerchantTransactionId(AbstractOrderData orderData, java.lang.String customerId)protected BaseSiteServicegetBaseSiteService()SubscriptionBillingDetailFileStreamgetBillingActivityDetail(java.lang.String billingActivityId, java.util.Map<java.lang.String,java.lang.String> parameters)Returns a file stream containing detail information for the specified billing activity.java.util.List<SubscriptionBillingData>getBillingActivityList(java.lang.String subscriptionId, java.util.Map<java.lang.String,java.lang.String> parameters)Returns a list of billing activities for the given subscription.protected CartServicegetCartService()protected Converter<java.util.Map<java.lang.String,java.lang.String>,CCPaymentInfoData>getCcPaymentInfoDataConverter()protected Converter<AddressData,com.hybris.cis.api.model.CisAddress>getCisAddressConverter()protected Converter<org.springframework.http.ResponseEntity,CCPaymentInfoData>getCisCCPaymentInfoDataConverter()protected java.lang.StringgetCisClientRef(AbstractOrderData orderData)protected Converter<com.hybris.cis.api.subscription.model.CisFileStreamResult,SubscriptionBillingDetailFileStream>getCisFileStreamConverter()protected Converter<OrderEntryData,com.hybris.cis.api.model.CisLineItem>getCisLineItemConverter()protected Converter<org.springframework.http.ResponseEntity,SubscriptionPaymentData>getCisPaymentConverter()protected Converter<com.hybris.cis.api.subscription.model.CisSubscriptionBillingActivityList,java.util.List<SubscriptionBillingData>>getCisSubscriptionBillingActivityListConverter()protected Converter<com.hybris.cis.api.subscription.model.CisSubscriptionData,SubscriptionData>getCisSubscriptionConverter()protected Converter<OrderEntryData,com.hybris.cis.api.subscription.model.CisSubscriptionItem>getCisSubscriptionItemConverter()protected Converter<AbstractOrderData,com.hybris.cis.api.subscription.model.CisSubscriptionOrder>getCisSubscriptionOrderConverter()protected CisSubscriptionServicegetCisSubscriptionService()protected Converter<java.util.List<com.hybris.cis.api.subscription.model.CisSubscriptionBillingInfo>,java.util.List<SubscriptionBillingData>>getCisUpgradePreviewBillingConverter()protected Converter<CreditCardPaymentInfoModel,CCPaymentInfoData>getCreditCardPaymentInfoConverter()protected Converter<CustomerModel,CustomerData>getCustomerConverter()protected java.lang.StringgetMerchantPaymentMethodIdFromPaymentInfo(CCPaymentInfoData paymentInfo)protected PriceDatagetPayNowPrice(AbstractOrderData orderData)protected SiteBaseUrlResolutionServicegetSiteBaseUrlResolutionService()SubscriptionDatagetSubscription(java.lang.String subscriptionId)Returns the subscription with the given ID.protected java.lang.StringgetSubscriptionEffectiveFrom()Needs to be overridden with provider specific logic to return the correct value for effectiveFromjava.util.Collection<SubscriptionData>getSubscriptions()Returns all subscriptions for the current user.protected java.lang.StringgetSubscriptionSettlement()Needs to be overridden with provider specific logic to return the correct value for settlementjava.util.List<SubscriptionBillingData>getUpgradePreviewBillings(java.lang.String subscriptionId, java.lang.String upgradeId)Returns a list of the possible billing changes between the current subscription and an upgrade option.protected booleanhasNewSubscriptions(AbstractOrderData orderData)protected booleanhasPayNowPrice(AbstractOrderData orderData)protected booleanhasSubscriptionUpgrades(AbstractOrderData orderData)java.lang.StringhpfUrl()Returns the HPF URL.SubscriptionPaymentDatainitializeTransaction(java.lang.String clientIpAddress, java.lang.String returnUrl, java.lang.String cancelReturnUrl, java.util.Map<java.lang.String,java.lang.String> parameters)Initializes a transaction with the subscription billing provider.protected SubscriptionPaymentDataprocessPayNow(AbstractOrderData orderData, java.util.Map<java.lang.String,java.lang.String> parameters)protected java.util.List<SubscriptionPaymentData>processSubscriptions(AbstractOrderData orderData, java.util.Map<java.lang.String,java.lang.String> parameters)protected java.util.List<SubscriptionPaymentData>processSubscriptionUpgrades(AbstractOrderData orderData, java.util.Map<java.lang.String,java.lang.String> parameters)Processes the entries that upgrade an existing subscription to another subscription productSubscriptionDatareplacePaymentMethod(java.lang.String subscriptionId, java.lang.String paymentMethodId, java.lang.String effectiveFrom, java.util.Map<java.lang.String,java.lang.String> parameters)SubscriptionPaymentDatareplacePaymentMethod(java.lang.String subscriptionId, java.lang.String paymentMethodId, java.util.Map<java.lang.String,java.lang.String> parameters)Replaces the payment method for the given subscription.voidsetBaseSiteService(BaseSiteService baseSiteService)voidsetCartService(CartService cartService)voidsetCcPaymentInfoDataConverter(Converter<java.util.Map<java.lang.String,java.lang.String>,CCPaymentInfoData> ccPaymentInfoDataConverter)voidsetCisAddressConverter(Converter<AddressData,com.hybris.cis.api.model.CisAddress> cisAddressConverter)voidsetCisCCPaymentInfoDataConverter(Converter<org.springframework.http.ResponseEntity,CCPaymentInfoData> cisCCPaymentInfoDataConverter)voidsetCisFileStreamConverter(Converter<com.hybris.cis.api.subscription.model.CisFileStreamResult,SubscriptionBillingDetailFileStream> cisFileStreamConverter)voidsetCisLineItemConverter(Converter<OrderEntryData,com.hybris.cis.api.model.CisLineItem> cisLineItemConverter)voidsetCisPaymentConverter(Converter<org.springframework.http.ResponseEntity,SubscriptionPaymentData> cisPaymentConverter)voidsetCisSubscriptionBillingActivityListConverter(Converter<com.hybris.cis.api.subscription.model.CisSubscriptionBillingActivityList,java.util.List<SubscriptionBillingData>> cisSubscriptionBillingActivityListConverter)voidsetCisSubscriptionConverter(Converter<com.hybris.cis.api.subscription.model.CisSubscriptionData,SubscriptionData> cisSubscriptionConverter)voidsetCisSubscriptionItemConverter(Converter<OrderEntryData,com.hybris.cis.api.subscription.model.CisSubscriptionItem> cisSubscriptionItemConverter)voidsetCisSubscriptionOrderConverter(Converter<AbstractOrderData,com.hybris.cis.api.subscription.model.CisSubscriptionOrder> cisSubscriptionOrderConverter)voidsetCisSubscriptionService(CisSubscriptionService cisSubscriptionService)voidsetCisUpgradePreviewBillingConverter(Converter<java.util.List<com.hybris.cis.api.subscription.model.CisSubscriptionBillingInfo>,java.util.List<SubscriptionBillingData>> cisUpgradePreviewBillingConverter)voidsetCreditCardPaymentInfoConverter(Converter<CreditCardPaymentInfoModel,CCPaymentInfoData> creditCardPaymentInfoConverter)voidsetCustomerConverter(Converter<CustomerModel,CustomerData> customerConverter)voidsetSiteBaseUrlResolutionService(SiteBaseUrlResolutionService siteBaseUrlResolutionService)SubscriptionPaymentDataupdateProfile(java.util.Map<java.lang.String,java.lang.String> parameters)Creates or updates a subscription profile for the current user.SubscriptionPaymentDataupdateSubscription(java.lang.String subscriptionId, boolean force, SubscriptionUpdateActionEnum action, java.util.Map<java.lang.String,java.lang.String> parameters)Updates the given subscription (e.g.SubscriptionDataupdateSubscriptionAutorenewal(java.lang.String subscriptionId, boolean isAutorenewal, java.util.Map<java.lang.String,java.lang.String> parameters)Updates the auto-renewal status of an existing subscription.-
Methods inherited from class de.hybris.platform.subscriptionfacades.impl.AbstractSubscriptionFacade
createEmptyCCPaymentInfoData, createEmptySubscriptionPaymentData, getBaseStoreService, getCheckoutFacade, getCurrencyIso, getCurrentCustomerId, getCustomerAccountService, getCustomerResolutionService, getModelService, getOrderEntryForOrderCodeAndEntryNumber, getOrderService, getProductFacade, getSubscriptionEndDate, getSubscriptionsForPaymentMethod, getUpsellingOptionsForSubscription, setBaseStoreService, setCheckoutFacade, setCustomerAccountService, setCustomerResolutionService, setModelService, setOrderService, setProductFacade, updateCreatedPaymentMethod
-
-
-
-
Method Detail
-
updateProfile
@Nonnull public SubscriptionPaymentData updateProfile(java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeCreates or updates a subscription profile for the current user.- Parameters:
parameters- provider specific parameters- Returns:
SubscriptionPaymentDatacontaining the results of the operation- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
createSubscriptions
public SubscriptionPaymentData createSubscriptions(@Nonnull OrderData order, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeCreates subscriptions for the given order and current user.- Parameters:
order- the order to create the subscriptions forparameters- provider specific parameters- Returns:
SubscriptionPaymentDatacontaining the results of the operation- Throws:
SubscriptionFacadeException- if subscription cannot be created
-
initializeTransaction
@Nonnull public SubscriptionPaymentData initializeTransaction(java.lang.String clientIpAddress, java.lang.String returnUrl, java.lang.String cancelReturnUrl, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeInitializes a transaction with the subscription billing provider.- Parameters:
clientIpAddress- the IP address of the calling client. May be empty.returnUrl- the URL to redirect to after the silent from post. May not be null or empty.cancelReturnUrl- the URL to redirect to in case of errors after the silent from post. May not be null or empty.parameters- provider specific parameters- Returns:
SubscriptionPaymentDatacontaining the results of the operation (hpfUrl and session token). result.getParameters().get("sessionTransactionToken") returns not-null String value.- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
hpfUrl
public java.lang.String hpfUrl() throws SubscriptionFacadeExceptionDescription copied from interface:SubscriptionFacadeReturns the HPF URL.- Returns:
- the HPF URL
- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
finalizeTransaction
@Nonnull public SubscriptionPaymentData finalizeTransaction(java.lang.String authorizationRequestId, java.lang.String authorizationRequestToken, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeFinalizes an established subscription with the subscription billing provider.- Parameters:
authorizationRequestId- the request IDauthorizationRequestToken- the request token retrieved from the result of aSubscriptionFacade.initializeTransaction(java.lang.String, java.lang.String, java.lang.String, java.util.Map<java.lang.String, java.lang.String>)call.parameters- provider specific parameters- Returns:
SubscriptionPaymentDatacontaining the results of the operation- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
changePaymentMethod
@Nonnull public CCPaymentInfoData changePaymentMethod(@Nonnull CCPaymentInfoData paymentInfo, java.lang.String action, boolean propagate, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeChanges an existing payment method.- Parameters:
paymentInfo-CCPaymentInfoDatathe updated payment informationaction-Stringthe change action to perform (currently supported: "enable", "disable")propagate- determines whether to propagate the change to all billing subscriptions using the given payment methodparameters- provider specific parameters- Returns:
CCPaymentInfoDatacontaining the results of the operation- Throws:
SubscriptionFacadeException- if payment method cannot be changed
-
getMerchantPaymentMethodIdFromPaymentInfo
protected java.lang.String getMerchantPaymentMethodIdFromPaymentInfo(CCPaymentInfoData paymentInfo)
-
replacePaymentMethod
@Nonnull public SubscriptionPaymentData replacePaymentMethod(java.lang.String subscriptionId, java.lang.String paymentMethodId, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeReplaces the payment method for the given subscription.- Parameters:
subscriptionId- the ID of the subscription to replace the payment method forpaymentMethodId- the ID of the new payment method which replaces the current oneparameters- provider specific parameters- Returns:
SubscriptionPaymentDatacontaining the results of the operation- Throws:
SubscriptionFacadeException- if payment method cannot be replaced
-
replacePaymentMethod
@Nonnull public SubscriptionData replacePaymentMethod(java.lang.String subscriptionId, java.lang.String paymentMethodId, java.lang.String effectiveFrom, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
- Parameters:
subscriptionId- the ID of the subscriptionpaymentMethodId- the ID of the payment method to seteffectiveFrom- determines when the replacement will take effectparameters- provider specific parameters- Returns:
SubscriptionDatacontaining the results of the operation- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
updateSubscription
@Nonnull public SubscriptionPaymentData updateSubscription(java.lang.String subscriptionId, boolean force, SubscriptionUpdateActionEnum action, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeUpdates the given subscription (e.g. cancel)- Parameters:
subscriptionId- the subscription to updateforce- determines whether to force the update or notaction- the update action to performparameters- provider specific parameters- Returns:
SubscriptionPaymentDatacontaining the results of the operation- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
updateSubscriptionAutorenewal
@Nonnull public SubscriptionData updateSubscriptionAutorenewal(java.lang.String subscriptionId, boolean isAutorenewal, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeUpdates the auto-renewal status of an existing subscription.- Parameters:
subscriptionId- the ID of the subscriptionisAutorenewal- the new auto-renewal status of the subscriptionparameters- provider specific parameters- Returns:
SubscriptionDatacontaining the results of the operation- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
extendSubscriptionTermDuration
@Nonnull public SubscriptionData extendSubscriptionTermDuration(java.lang.String subscriptionId, java.lang.Integer contractDurationExtension, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeExtends the subscription term duration of an existing subscription.- Parameters:
subscriptionId- the ID of the subscriptioncontractDurationExtension- extends the duration x timesparameters- provider specific parameters- Returns:
SubscriptionDatacontaining the results of the operation- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
getSubscriptions
@Nonnull public java.util.Collection<SubscriptionData> getSubscriptions() throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeReturns all subscriptions for the current user.- Returns:
Collection<SubscriptionData> the current user's subscription- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
getSubscription
@Nullable public SubscriptionData getSubscription(java.lang.String subscriptionId) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeReturns the subscription with the given ID.- Parameters:
subscriptionId- the ID of the subscription- Returns:
SubscriptionDatathe subscription with the given ID- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
changeSubscriptionState
@Nonnull public SubscriptionData changeSubscriptionState(java.lang.String subscriptionId, java.lang.String newStatus, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeUpdates the state of an existing subscription.- Parameters:
subscriptionId- the ID of the subscriptionnewStatus- new status of the subscriptionparameters- provider specific parameters- Returns:
SubscriptionDatacontaining the results of the operation- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
createPaymentSubscription
@Nonnull public CCPaymentInfoData createPaymentSubscription(java.util.Map<java.lang.String,java.lang.String> paymentParameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeCreates a payment subscription on the hybris side.- Parameters:
paymentParameters- parameters retrieved from the result of aSubscriptionFacade.finalizeTransaction(java.lang.String, java.lang.String, java.util.Map<java.lang.String, java.lang.String>)call.- Returns:
CCPaymentInfoDatathe payment information created based on the given parameters- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
getBillingActivityList
public java.util.List<SubscriptionBillingData> getBillingActivityList(java.lang.String subscriptionId, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeReturns a list of billing activities for the given subscription.- Parameters:
subscriptionId- the ID of the subscriptionparameters- provider specific parameters- Returns:
List<SubscriptionBillingData>- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
getBillingActivityDetail
public SubscriptionBillingDetailFileStream getBillingActivityDetail(java.lang.String billingActivityId, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeReturns a file stream containing detail information for the specified billing activity.- Parameters:
billingActivityId- the ID of the billing activityparameters- provider specific parameters- Returns:
SubscriptionBillingDetailFileStream- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
getUpgradePreviewBillings
public java.util.List<SubscriptionBillingData> getUpgradePreviewBillings(java.lang.String subscriptionId, java.lang.String upgradeId) throws SubscriptionFacadeException
Description copied from interface:SubscriptionFacadeReturns a list of the possible billing changes between the current subscription and an upgrade option.- Parameters:
subscriptionId- the current subscriptionupgradeId- the upgrade option- Returns:
ListofSubscriptionBillingData- Throws:
SubscriptionFacadeException- if operation cannot be performed
-
processSubscriptions
protected java.util.List<SubscriptionPaymentData> processSubscriptions(AbstractOrderData orderData, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
- Throws:
SubscriptionFacadeException
-
processSubscriptionUpgrades
protected java.util.List<SubscriptionPaymentData> processSubscriptionUpgrades(AbstractOrderData orderData, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
Processes the entries that upgrade an existing subscription to another subscription product- Throws:
SubscriptionFacadeException
-
processPayNow
protected SubscriptionPaymentData processPayNow(AbstractOrderData orderData, java.util.Map<java.lang.String,java.lang.String> parameters) throws SubscriptionFacadeException
- Throws:
SubscriptionFacadeException
-
convertVendorParameters
protected com.hybris.cis.api.model.AnnotationHashMap convertVendorParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
-
hasPayNowPrice
protected boolean hasPayNowPrice(AbstractOrderData orderData)
-
getPayNowPrice
protected PriceData getPayNowPrice(AbstractOrderData orderData)
-
getSubscriptionEffectiveFrom
protected java.lang.String getSubscriptionEffectiveFrom()
Needs to be overridden with provider specific logic to return the correct value for effectiveFrom- Returns:
- value for
CisSubscriptionUpgradeRequest.setEffectiveFrom(String)
-
getSubscriptionSettlement
protected java.lang.String getSubscriptionSettlement()
Needs to be overridden with provider specific logic to return the correct value for settlement- Returns:
- value for
CisSubscriptionUpgradeRequest.setSettlement(String)
-
hasNewSubscriptions
protected boolean hasNewSubscriptions(AbstractOrderData orderData)
-
hasSubscriptionUpgrades
protected boolean hasSubscriptionUpgrades(AbstractOrderData orderData)
-
combineCisResponseDataResults
protected SubscriptionPaymentData combineCisResponseDataResults(java.util.List<SubscriptionPaymentData> cisResults)
-
convertCisLineItems
protected java.util.List<com.hybris.cis.api.model.CisLineItem> convertCisLineItems(AbstractOrderData orderData)
-
generateMerchantTransactionId
protected java.lang.String generateMerchantTransactionId(AbstractOrderData orderData, java.lang.String customerId)
-
generateMerchantTransactionDescription
protected java.lang.String generateMerchantTransactionDescription(AbstractOrderData orderData, java.lang.String customerId)
-
getCisClientRef
protected java.lang.String getCisClientRef(AbstractOrderData orderData)
-
getCisSubscriptionService
protected CisSubscriptionService getCisSubscriptionService()
-
setCisSubscriptionService
public void setCisSubscriptionService(CisSubscriptionService cisSubscriptionService)
-
getCisPaymentConverter
protected Converter<org.springframework.http.ResponseEntity,SubscriptionPaymentData> getCisPaymentConverter()
-
getCartService
protected CartService getCartService()
- Overrides:
getCartServicein classAbstractSubscriptionFacade
-
setCartService
public void setCartService(CartService cartService)
- Overrides:
setCartServicein classAbstractSubscriptionFacade
-
setCisPaymentConverter
public void setCisPaymentConverter(Converter<org.springframework.http.ResponseEntity,SubscriptionPaymentData> cisPaymentConverter)
-
getCisAddressConverter
protected Converter<AddressData,com.hybris.cis.api.model.CisAddress> getCisAddressConverter()
-
setCisAddressConverter
public void setCisAddressConverter(Converter<AddressData,com.hybris.cis.api.model.CisAddress> cisAddressConverter)
-
getCisSubscriptionOrderConverter
protected Converter<AbstractOrderData,com.hybris.cis.api.subscription.model.CisSubscriptionOrder> getCisSubscriptionOrderConverter()
-
setCisSubscriptionOrderConverter
public void setCisSubscriptionOrderConverter(Converter<AbstractOrderData,com.hybris.cis.api.subscription.model.CisSubscriptionOrder> cisSubscriptionOrderConverter)
-
getBaseSiteService
protected BaseSiteService getBaseSiteService()
-
setBaseSiteService
public void setBaseSiteService(BaseSiteService baseSiteService)
-
getSiteBaseUrlResolutionService
protected SiteBaseUrlResolutionService getSiteBaseUrlResolutionService()
-
setSiteBaseUrlResolutionService
public void setSiteBaseUrlResolutionService(SiteBaseUrlResolutionService siteBaseUrlResolutionService)
-
getCisLineItemConverter
protected Converter<OrderEntryData,com.hybris.cis.api.model.CisLineItem> getCisLineItemConverter()
-
setCisLineItemConverter
public void setCisLineItemConverter(Converter<OrderEntryData,com.hybris.cis.api.model.CisLineItem> cisLineItemConverter)
-
getCreditCardPaymentInfoConverter
protected Converter<CreditCardPaymentInfoModel,CCPaymentInfoData> getCreditCardPaymentInfoConverter()
- Overrides:
getCreditCardPaymentInfoConverterin classAbstractSubscriptionFacade
-
setCreditCardPaymentInfoConverter
public void setCreditCardPaymentInfoConverter(Converter<CreditCardPaymentInfoModel,CCPaymentInfoData> creditCardPaymentInfoConverter)
- Overrides:
setCreditCardPaymentInfoConverterin classAbstractSubscriptionFacade
-
getCcPaymentInfoDataConverter
protected Converter<java.util.Map<java.lang.String,java.lang.String>,CCPaymentInfoData> getCcPaymentInfoDataConverter()
-
setCcPaymentInfoDataConverter
public void setCcPaymentInfoDataConverter(Converter<java.util.Map<java.lang.String,java.lang.String>,CCPaymentInfoData> ccPaymentInfoDataConverter)
-
getCustomerConverter
protected Converter<CustomerModel,CustomerData> getCustomerConverter()
-
setCustomerConverter
public void setCustomerConverter(Converter<CustomerModel,CustomerData> customerConverter)
-
getCisSubscriptionConverter
protected Converter<com.hybris.cis.api.subscription.model.CisSubscriptionData,SubscriptionData> getCisSubscriptionConverter()
-
setCisSubscriptionConverter
public void setCisSubscriptionConverter(Converter<com.hybris.cis.api.subscription.model.CisSubscriptionData,SubscriptionData> cisSubscriptionConverter)
-
getCisSubscriptionBillingActivityListConverter
protected Converter<com.hybris.cis.api.subscription.model.CisSubscriptionBillingActivityList,java.util.List<SubscriptionBillingData>> getCisSubscriptionBillingActivityListConverter()
-
setCisSubscriptionBillingActivityListConverter
public void setCisSubscriptionBillingActivityListConverter(Converter<com.hybris.cis.api.subscription.model.CisSubscriptionBillingActivityList,java.util.List<SubscriptionBillingData>> cisSubscriptionBillingActivityListConverter)
-
getCisFileStreamConverter
protected Converter<com.hybris.cis.api.subscription.model.CisFileStreamResult,SubscriptionBillingDetailFileStream> getCisFileStreamConverter()
-
setCisFileStreamConverter
public void setCisFileStreamConverter(Converter<com.hybris.cis.api.subscription.model.CisFileStreamResult,SubscriptionBillingDetailFileStream> cisFileStreamConverter)
-
getCisSubscriptionItemConverter
protected Converter<OrderEntryData,com.hybris.cis.api.subscription.model.CisSubscriptionItem> getCisSubscriptionItemConverter()
-
setCisSubscriptionItemConverter
public void setCisSubscriptionItemConverter(Converter<OrderEntryData,com.hybris.cis.api.subscription.model.CisSubscriptionItem> cisSubscriptionItemConverter)
-
getCisCCPaymentInfoDataConverter
protected Converter<org.springframework.http.ResponseEntity,CCPaymentInfoData> getCisCCPaymentInfoDataConverter()
-
setCisCCPaymentInfoDataConverter
public void setCisCCPaymentInfoDataConverter(Converter<org.springframework.http.ResponseEntity,CCPaymentInfoData> cisCCPaymentInfoDataConverter)
-
getCisUpgradePreviewBillingConverter
protected Converter<java.util.List<com.hybris.cis.api.subscription.model.CisSubscriptionBillingInfo>,java.util.List<SubscriptionBillingData>> getCisUpgradePreviewBillingConverter()
-
setCisUpgradePreviewBillingConverter
public void setCisUpgradePreviewBillingConverter(Converter<java.util.List<com.hybris.cis.api.subscription.model.CisSubscriptionBillingInfo>,java.util.List<SubscriptionBillingData>> cisUpgradePreviewBillingConverter)
-
-