Class PriceCustomTypeAdapter

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.commercetools.api.models.type.CustomFields getCustom()
      Get custom fields of the Price
      java.lang.String getId()
      Get Id of the Price
      java.lang.String getKey()
      Get Key of the Price
      java.lang.String getTypeId()
      Get typeId of the Price see: https://docs.commercetools.com/api/types#referencetype
      static PriceCustomTypeAdapter of​(com.commercetools.api.models.common.Price price)
      Build an adapter to be used for preparing custom type actions of with the given Price
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getId

        public java.lang.String getId()
        Get Id of the Price
        Specified by:
        getId in interface Custom
        Returns:
        the Price.getId()
      • getTypeId

        public java.lang.String getTypeId()
        Get typeId of the Price see: https://docs.commercetools.com/api/types#referencetype
        Specified by:
        getTypeId in interface Custom
        Returns:
        the typeId "price"
      • getCustom

        @Nullable
        public com.commercetools.api.models.type.CustomFields getCustom()
        Get custom fields of the Price
        Specified by:
        getCustom in interface Custom
        Returns:
        the CustomFields
      • getKey

        public java.lang.String getKey()
        Get Key of the Price
        Returns:
        the Price.getKey()
      • of

        public static PriceCustomTypeAdapter of​(com.commercetools.api.models.common.Price price)
        Build an adapter to be used for preparing custom type actions of with the given Price
        Parameters:
        price - the Price
        Returns:
        the PriceCustomTypeAdapter