Class CartDiscountDraftCustomTypeAdapter

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.commercetools.api.models.type.CustomFieldsDraft getCustom()
      Get custom fields of the CartDiscountDraft
      static CartDiscountDraftCustomTypeAdapter of​(com.commercetools.api.models.cart_discount.CartDiscountDraft cartDiscountDraft)
      Build an adapter to be used for preparing custom type actions of with the given CartDiscountDraft
      • Methods inherited from class java.lang.Object

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

      • getCustom

        @Nullable
        public com.commercetools.api.models.type.CustomFieldsDraft getCustom()
        Get custom fields of the CartDiscountDraft
        Specified by:
        getCustom in interface CustomDraft
        Returns:
        the CustomFieldsDraft
      • of

        public static CartDiscountDraftCustomTypeAdapter of​(com.commercetools.api.models.cart_discount.CartDiscountDraft cartDiscountDraft)
        Build an adapter to be used for preparing custom type actions of with the given CartDiscountDraft
        Parameters:
        cartDiscountDraft - the CartDiscountDraft
        Returns:
        the CartDiscountDraftCustomTypeAdapter