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 Details

    • ExternalOfferProviderProperties

      public ExternalOfferProviderProperties()
  • Method Details

    • getUrl

      public String getUrl()
      The base url for an external service concerning offers.
    • getOffersUri

      public String getOffersUri()
      The base uri path to the offers endpoint
    • getReadOfferUri

      public String getReadOfferUri()
      The uri path to the endpoint that reads an offer based on the passed ID
    • getServiceClient

      public String getServiceClient()
      The service client to use when calling offer/promotion services. Default is "subscriptionopsclient".
    • setUrl

      public void setUrl(String url)
      The base url for an external service concerning offers.
    • setOffersUri

      public void setOffersUri(String offersUri)
      The base uri path to the offers endpoint
    • setReadOfferUri

      public void setReadOfferUri(String readOfferUri)
      The uri path to the endpoint that reads an offer based on the passed ID
    • setServiceClient

      public void setServiceClient(String serviceClient)
      The service client to use when calling offer/promotion services. Default is "subscriptionopsclient".
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object