Class MyAccountInvoiceCacheKey

java.lang.Object
de.hybris.platform.regioncache.key.AbstractCacheKey
com.sap.myaccountsapservices.cache.MyAccountInvoiceCacheKey
All Implemented Interfaces:
de.hybris.platform.integrationservices.cache.IntegrationCacheKey<String>, de.hybris.platform.regioncache.key.CacheKey

public class MyAccountInvoiceCacheKey extends de.hybris.platform.regioncache.key.AbstractCacheKey implements de.hybris.platform.integrationservices.cache.IntegrationCacheKey<String>
This Class @MyAccountInvoiceCacheKey represents the key used for retrieving and storing invoices in MyAccountInvoiceCache
  • Constructor Details

    • MyAccountInvoiceCacheKey

      public MyAccountInvoiceCacheKey(String invoiceId)
  • Method Details

    • from

      public static MyAccountInvoiceCacheKey from(@NotNull @NotNull String invoiceId)
    • getId

      public String getId()
      Specified by:
      getId in interface de.hybris.platform.integrationservices.cache.IntegrationCacheKey<String>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class de.hybris.platform.regioncache.key.AbstractCacheKey
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class de.hybris.platform.regioncache.key.AbstractCacheKey