Class Listing

java.lang.Object
com.amilesend.discogs.model.Resource<Long,Listing>
com.amilesend.discogs.model.marketplace.type.Listing
Direct Known Subclasses:
GetListingResponse

public class Listing extends Resource<Long,Listing>
Describes a listing.
See Also:
  • Method Details

    • builder

      public static Listing.ListingBuilder<?,?> builder()
    • getStatus

      public ListingStatus getStatus()
      The listing status.
      See Also:
    • getPrice

      public Price getPrice()
      The price.
      See Also:
    • getOriginalPrice

      public OriginalPrice getOriginalPrice()
      The original price.
    • getAllowOffers

      public Boolean getAllowOffers()
      Flag indicator for allowing offers.
    • getOfferSubmitted

      public Boolean getOfferSubmitted()
      Flag indicator for offer submission status.
    • getSleeveCondition

      public SleeveCondition getSleeveCondition()
      Describes the packaging condition.
      See Also:
    • getCondition

      public Condition getCondition()
      The condition.
      See Also:
    • getPosted

      public LocalDateTime getPosted()
      The listing posted timestamp.
    • getShipsFrom

      public String getShipsFrom()
      Where the item is shipped from.
    • getUri

      public String getUri()
      The website URI.
    • getComments

      public String getComments()
      Seller commends.
    • getSeller

      public Seller getSeller()
      The seller.
      See Also:
    • getRelease

      public ListingRelease getRelease()
      The release being listed.
      See Also:
    • getAudio

      public Boolean getAudio()
      Indicates if the item is audio.
    • getWeight

      public Integer getWeight()
      The listing weight (only visible to the inventory owner).
    • getFormatQuantity

      public Integer getFormatQuantity()
      The number of items of a given format available (only visible to the inventory owner).
    • getExternalId

      public String getExternalId()
      The external identifier (only visible to the inventory owner).
    • getLocation

      public String getLocation()
      The location (only visible to the inventory owner).
    • getQuantity

      public Integer getQuantity()
      The total quantity available (only visible to the inventory owner).
    • getInCart

      public Boolean getInCart()
      Indicates if an item is in a user's cart (only visible to the inventory owner).
    • toString

      public String toString()
      Overrides:
      toString in class Resource<Long,Listing>