Class ExternalOfferProviderProperties
java.lang.Object
com.broadleafcommerce.subscriptionoperation.service.provider.external.ExternalOfferProviderProperties
@ConfigurationProperties("broadleaf.subscriptionoperation.offerprovider")
public class ExternalOfferProviderProperties
extends Object
- Author:
- Julia Lopez-Pozas (jlopezpozas)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe base uri path to the offers endpointThe uri path to the endpoint that reads an offer based on the passed IDThe service client to use when calling offer/promotion services.getUrl()The base url for an external service concerning offers.inthashCode()voidsetOffersUri(String offersUri) The base uri path to the offers endpointvoidsetReadOfferUri(String readOfferUri) The uri path to the endpoint that reads an offer based on the passed IDvoidsetServiceClient(String serviceClient) The service client to use when calling offer/promotion services.voidThe base url for an external service concerning offers.toString()
-
Constructor Details
-
ExternalOfferProviderProperties
public ExternalOfferProviderProperties()
-
-
Method Details
-
getUrl
The base url for an external service concerning offers. -
getOffersUri
The base uri path to the offers endpoint -
getReadOfferUri
The uri path to the endpoint that reads an offer based on the passed ID -
getServiceClient
The service client to use when calling offer/promotion services. Default is "subscriptionopsclient". -
setUrl
The base url for an external service concerning offers. -
setOffersUri
The base uri path to the offers endpoint -
setReadOfferUri
The uri path to the endpoint that reads an offer based on the passed ID -
setServiceClient
The service client to use when calling offer/promotion services. Default is "subscriptionopsclient". -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-