Class Listing.ListingBuilder<C extends Listing, B extends Listing.ListingBuilder<C,B> >
java.lang.Object
com.amilesend.discogs.model.Resource.ResourceBuilder<Long,Listing,C,B>
com.amilesend.discogs.model.marketplace.type.Listing.ListingBuilder<C,B>
- Direct Known Subclasses:
GetListingResponse.GetListingResponseBuilder
- Enclosing class:
Listing
public abstract static class Listing.ListingBuilder<C extends Listing, B extends Listing.ListingBuilder<C,B>>
extends Resource.ResourceBuilder<Long,Listing,C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowOffers(Boolean allowOffers) Flag indicator for allowing offers.Indicates if the item is audio.abstract Cbuild()Seller commends.The condition.externalId(String externalId) The external identifier (only visible to the inventory owner).formatQuantity(Integer formatQuantity) The number of items of a given format available (only visible to the inventory owner).Indicates if an item is in a user's cart (only visible to the inventory owner).The location (only visible to the inventory owner).offerSubmitted(Boolean offerSubmitted) Flag indicator for offer submission status.originalPrice(OriginalPrice originalPrice) The original price.posted(LocalDateTime posted) The listing posted timestamp.The price.The total quantity available (only visible to the inventory owner).release(ListingRelease release) The release being listed.The seller.Where the item is shipped from.sleeveCondition(SleeveCondition sleeveCondition) Describes the packaging condition.status(ListingStatus status) The listing status.toString()The website URI.The listing weight (only visible to the inventory owner).Methods inherited from class Resource.ResourceBuilder
id, resourceUrl
-
Constructor Details
-
ListingBuilder
public ListingBuilder()
-
-
Method Details
-
status
-
price
-
originalPrice
-
allowOffers
-
offerSubmitted
-
sleeveCondition
Describes the packaging condition.- Returns:
this.- See Also:
-
condition
-
posted
-
shipsFrom
-
uri
-
comments
-
seller
-
release
-
audio
-
weight
-
formatQuantity
-
externalId
-
location
-
quantity
-
inCart
-
build
-
toString
-