Package com.chrt.api.types
Class BidThread1.Builder
- java.lang.Object
-
- com.chrt.api.types.BidThread1.Builder
-
- All Implemented Interfaces:
BidThread1._FinalStage,BidThread1.CreatedAtTimestampStage,BidThread1.IdStage,BidThread1.ListingIdStage,BidThread1.StatusChangedAtTimestampStage,BidThread1.StatusStage
- Enclosing class:
- BidThread1
public static final class BidThread1.Builder extends java.lang.Object implements BidThread1.ListingIdStage, BidThread1.CreatedAtTimestampStage, BidThread1.StatusStage, BidThread1.StatusChangedAtTimestampStage, BidThread1.IdStage, BidThread1._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BidThread1._FinalStageacceptedProFormaLineItems(Nullable<java.util.List<ProFormaLineItem1>> acceptedProFormaLineItems)BidThread1._FinalStageacceptedProFormaLineItems(java.util.List<ProFormaLineItem1> acceptedProFormaLineItems)BidThread1._FinalStageacceptedProFormaLineItems(java.util.Optional<java.util.List<ProFormaLineItem1>> acceptedProFormaLineItems)BidThread1._FinalStageaddAllBids(java.util.List<Bid> bids)BidThread1._FinalStageaddBids(Bid bids)BidThread1._FinalStagebidderDriverId(Nullable<java.lang.String> bidderDriverId)BidThread1._FinalStagebidderDriverId(java.lang.String bidderDriverId)BidThread1._FinalStagebidderDriverId(java.util.Optional<java.lang.String> bidderDriverId)BidThread1._FinalStagebidderProviderOrgId(Nullable<java.lang.String> bidderProviderOrgId)Must be a string starting withorg_BidThread1._FinalStagebidderProviderOrgId(java.lang.String bidderProviderOrgId)Must be a string starting withorg_BidThread1._FinalStagebidderProviderOrgId(java.util.Optional<java.lang.String> bidderProviderOrgId)Must be a string starting withorg_BidThread1._FinalStagebids(java.util.List<Bid> bids)BidThread1build()BidThread1.StatusStagecreatedAtTimestamp(java.time.OffsetDateTime createdAtTimestamp)BidThread1.Builderfrom(BidThread1 other)BidThread1._FinalStageid(java.lang.String id)BidThread1.CreatedAtTimestampStagelistingId(java.lang.String listingId)BidThread1._FinalStageschemaVersion(java.lang.Integer schemaVersion)BidThread1._FinalStageschemaVersion(java.util.Optional<java.lang.Integer> schemaVersion)BidThread1.StatusChangedAtTimestampStagestatus(BidThreadStatusEnum status)BidThread1.IdStagestatusChangedAtTimestamp(java.time.OffsetDateTime statusChangedAtTimestamp)
-
-
-
Method Detail
-
from
public BidThread1.Builder from(BidThread1 other)
- Specified by:
fromin interfaceBidThread1.ListingIdStage
-
listingId
public BidThread1.CreatedAtTimestampStage listingId(@NotNull java.lang.String listingId)
- Specified by:
listingIdin interfaceBidThread1.ListingIdStage
-
createdAtTimestamp
public BidThread1.StatusStage createdAtTimestamp(@NotNull java.time.OffsetDateTime createdAtTimestamp)
- Specified by:
createdAtTimestampin interfaceBidThread1.CreatedAtTimestampStage
-
status
public BidThread1.StatusChangedAtTimestampStage status(@NotNull BidThreadStatusEnum status)
- Specified by:
statusin interfaceBidThread1.StatusStage
-
statusChangedAtTimestamp
public BidThread1.IdStage statusChangedAtTimestamp(@NotNull java.time.OffsetDateTime statusChangedAtTimestamp)
- Specified by:
statusChangedAtTimestampin interfaceBidThread1.StatusChangedAtTimestampStage
-
id
public BidThread1._FinalStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceBidThread1.IdStage
-
acceptedProFormaLineItems
public BidThread1._FinalStage acceptedProFormaLineItems(Nullable<java.util.List<ProFormaLineItem1>> acceptedProFormaLineItems)
- Specified by:
acceptedProFormaLineItemsin interfaceBidThread1._FinalStage
-
acceptedProFormaLineItems
public BidThread1._FinalStage acceptedProFormaLineItems(java.util.List<ProFormaLineItem1> acceptedProFormaLineItems)
- Specified by:
acceptedProFormaLineItemsin interfaceBidThread1._FinalStage
-
acceptedProFormaLineItems
public BidThread1._FinalStage acceptedProFormaLineItems(java.util.Optional<java.util.List<ProFormaLineItem1>> acceptedProFormaLineItems)
- Specified by:
acceptedProFormaLineItemsin interfaceBidThread1._FinalStage
-
addAllBids
public BidThread1._FinalStage addAllBids(java.util.List<Bid> bids)
- Specified by:
addAllBidsin interfaceBidThread1._FinalStage
-
addBids
public BidThread1._FinalStage addBids(Bid bids)
- Specified by:
addBidsin interfaceBidThread1._FinalStage
-
bids
public BidThread1._FinalStage bids(java.util.List<Bid> bids)
- Specified by:
bidsin interfaceBidThread1._FinalStage
-
bidderDriverId
public BidThread1._FinalStage bidderDriverId(Nullable<java.lang.String> bidderDriverId)
- Specified by:
bidderDriverIdin interfaceBidThread1._FinalStage
-
bidderDriverId
public BidThread1._FinalStage bidderDriverId(java.lang.String bidderDriverId)
- Specified by:
bidderDriverIdin interfaceBidThread1._FinalStage
-
bidderDriverId
public BidThread1._FinalStage bidderDriverId(java.util.Optional<java.lang.String> bidderDriverId)
- Specified by:
bidderDriverIdin interfaceBidThread1._FinalStage
-
bidderProviderOrgId
public BidThread1._FinalStage bidderProviderOrgId(Nullable<java.lang.String> bidderProviderOrgId)
Must be a string starting with
org_- Specified by:
bidderProviderOrgIdin interfaceBidThread1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
bidderProviderOrgId
public BidThread1._FinalStage bidderProviderOrgId(java.lang.String bidderProviderOrgId)
Must be a string starting with
org_- Specified by:
bidderProviderOrgIdin interfaceBidThread1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
bidderProviderOrgId
public BidThread1._FinalStage bidderProviderOrgId(java.util.Optional<java.lang.String> bidderProviderOrgId)
Must be a string starting with
org_- Specified by:
bidderProviderOrgIdin interfaceBidThread1._FinalStage
-
schemaVersion
public BidThread1._FinalStage schemaVersion(java.lang.Integer schemaVersion)
- Specified by:
schemaVersionin interfaceBidThread1._FinalStage
-
schemaVersion
public BidThread1._FinalStage schemaVersion(java.util.Optional<java.lang.Integer> schemaVersion)
- Specified by:
schemaVersionin interfaceBidThread1._FinalStage
-
build
public BidThread1 build()
- Specified by:
buildin interfaceBidThread1._FinalStage
-
-