Class RawBidThreadsClient
- java.lang.Object
-
- com.chrt.api.resources.listing.bidthreads.RawBidThreadsClient
-
public class RawBidThreadsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawBidThreadsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChrtApiHttpResponse<java.lang.Boolean>acceptV1(java.lang.String bidThreadId)Pushes a bidder-side ACCEPT onto an OPEN thread.ChrtApiHttpResponse<java.lang.Boolean>acceptV1(java.lang.String bidThreadId, BidAppendReq request)Pushes a bidder-side ACCEPT onto an OPEN thread.ChrtApiHttpResponse<java.lang.Boolean>acceptV1(java.lang.String bidThreadId, BidAppendReq request, RequestOptions requestOptions)Pushes a bidder-side ACCEPT onto an OPEN thread.ChrtApiHttpResponse<BidThread1>byIdV1(java.lang.String bidThreadId)Fetches a bid thread by id.ChrtApiHttpResponse<BidThread1>byIdV1(java.lang.String bidThreadId, RequestOptions requestOptions)Fetches a bid thread by id.ChrtApiHttpResponse<java.lang.Boolean>confirmAcceptV1(java.lang.String bidThreadId)Lister confirmation of a bidder's ACCEPT on this thread, used whenlisting.auto_award_first_accept == False.ChrtApiHttpResponse<java.lang.Boolean>confirmAcceptV1(java.lang.String bidThreadId, RequestOptions requestOptions)Lister confirmation of a bidder's ACCEPT on this thread, used whenlisting.auto_award_first_accept == False.ChrtApiHttpResponse<java.lang.Boolean>counterV1(java.lang.String bidThreadId)Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread.ChrtApiHttpResponse<java.lang.Boolean>counterV1(java.lang.String bidThreadId, BidAppendReq request)Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread.ChrtApiHttpResponse<java.lang.Boolean>counterV1(java.lang.String bidThreadId, BidAppendReq request, RequestOptions requestOptions)Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread.ChrtApiHttpResponse<java.lang.String>createV1(BidThreadClientCreate1 request)Opens a new BidThread on a Listing.ChrtApiHttpResponse<java.lang.String>createV1(BidThreadClientCreate1 request, RequestOptions requestOptions)Opens a new BidThread on a Listing.ChrtApiHttpResponse<java.lang.Boolean>denyV1(java.lang.String bidThreadId)Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal).ChrtApiHttpResponse<java.lang.Boolean>denyV1(java.lang.String bidThreadId, BidAppendReq request)Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal).ChrtApiHttpResponse<java.lang.Boolean>denyV1(java.lang.String bidThreadId, BidAppendReq request, RequestOptions requestOptions)Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal).ChrtApiHttpResponse<BidThreadListRes>listForBidderV1()Lists bid threads where the caller is the bidder — either as the bidder org (operator+) or as the bidder driver (driver).ChrtApiHttpResponse<BidThreadListRes>listForBidderV1(BidThreadsListForBidderV1Request request)Lists bid threads where the caller is the bidder — either as the bidder org (operator+) or as the bidder driver (driver).ChrtApiHttpResponse<BidThreadListRes>listForBidderV1(BidThreadsListForBidderV1Request request, RequestOptions requestOptions)Lists bid threads where the caller is the bidder — either as the bidder org (operator+) or as the bidder driver (driver).ChrtApiHttpResponse<BidThreadListRes>listForListingV1(java.lang.String listingId)Lists all bid threads on a listing with filtering, sorting, and pagination.ChrtApiHttpResponse<BidThreadListRes>listForListingV1(java.lang.String listingId, BidThreadsListForListingV1Request request)Lists all bid threads on a listing with filtering, sorting, and pagination.ChrtApiHttpResponse<BidThreadListRes>listForListingV1(java.lang.String listingId, BidThreadsListForListingV1Request request, RequestOptions requestOptions)Lists all bid threads on a listing with filtering, sorting, and pagination.ChrtApiHttpResponse<java.lang.Boolean>withdrawV1(java.lang.String bidThreadId)Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal).ChrtApiHttpResponse<java.lang.Boolean>withdrawV1(java.lang.String bidThreadId, BidAppendReq request)Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal).ChrtApiHttpResponse<java.lang.Boolean>withdrawV1(java.lang.String bidThreadId, BidAppendReq request, RequestOptions requestOptions)Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal).
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawBidThreadsClient
public RawBidThreadsClient(ClientOptions clientOptions)
-
-
Method Detail
-
byIdV1
public ChrtApiHttpResponse<BidThread1> byIdV1(java.lang.String bidThreadId)
Fetches a bid thread by id. Visible to the lister, the bidder org (provider), and the bidder driver. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (BidThread1)
-
byIdV1
public ChrtApiHttpResponse<BidThread1> byIdV1(java.lang.String bidThreadId, RequestOptions requestOptions)
Fetches a bid thread by id. Visible to the lister, the bidder org (provider), and the bidder driver. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (BidThread1)
-
listForListingV1
public ChrtApiHttpResponse<BidThreadListRes> listForListingV1(java.lang.String listingId)
Lists all bid threads on a listing with filtering, sorting, and pagination. Lister-only — the listing must belong to the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (BidThreadListRes)
-
listForListingV1
public ChrtApiHttpResponse<BidThreadListRes> listForListingV1(java.lang.String listingId, BidThreadsListForListingV1Request request)
Lists all bid threads on a listing with filtering, sorting, and pagination. Lister-only — the listing must belong to the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (BidThreadListRes)
-
listForListingV1
public ChrtApiHttpResponse<BidThreadListRes> listForListingV1(java.lang.String listingId, BidThreadsListForListingV1Request request, RequestOptions requestOptions)
Lists all bid threads on a listing with filtering, sorting, and pagination. Lister-only — the listing must belong to the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (BidThreadListRes)
-
listForBidderV1
public ChrtApiHttpResponse<BidThreadListRes> listForBidderV1()
Lists bid threads where the caller is the bidder — either as the bidder org (operator+) or as the bidder driver (driver). Filtering, sorting, and pagination supported. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (BidThreadListRes)
-
listForBidderV1
public ChrtApiHttpResponse<BidThreadListRes> listForBidderV1(BidThreadsListForBidderV1Request request)
Lists bid threads where the caller is the bidder — either as the bidder org (operator+) or as the bidder driver (driver). Filtering, sorting, and pagination supported. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (BidThreadListRes)
-
listForBidderV1
public ChrtApiHttpResponse<BidThreadListRes> listForBidderV1(BidThreadsListForBidderV1Request request, RequestOptions requestOptions)
Lists bid threads where the caller is the bidder — either as the bidder org (operator+) or as the bidder driver (driver). Filtering, sorting, and pagination supported. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (BidThreadListRes)
-
createV1
public ChrtApiHttpResponse<java.lang.String> createV1(BidThreadClientCreate1 request)
Opens a new BidThread on a Listing. The body carries the thread's first Bid (SUBMIT / ACCEPT / DENY). Bidder identity is resolved server-side from the caller's JWT + the listing's audience. | authz: allowed_org_types=[provider], min_org_role=driver | (BidThreadClientCreate1) -> (PydanticObjectId)
-
createV1
public ChrtApiHttpResponse<java.lang.String> createV1(BidThreadClientCreate1 request, RequestOptions requestOptions)
Opens a new BidThread on a Listing. The body carries the thread's first Bid (SUBMIT / ACCEPT / DENY). Bidder identity is resolved server-side from the caller's JWT + the listing's audience. | authz: allowed_org_types=[provider], min_org_role=driver | (BidThreadClientCreate1) -> (PydanticObjectId)
-
counterV1
public ChrtApiHttpResponse<java.lang.Boolean> counterV1(java.lang.String bidThreadId)
Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread. Both sides of the thread may COUNTER. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
counterV1
public ChrtApiHttpResponse<java.lang.Boolean> counterV1(java.lang.String bidThreadId, BidAppendReq request)
Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread. Both sides of the thread may COUNTER. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
counterV1
public ChrtApiHttpResponse<java.lang.Boolean> counterV1(java.lang.String bidThreadId, BidAppendReq request, RequestOptions requestOptions)
Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread. Both sides of the thread may COUNTER. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
acceptV1
public ChrtApiHttpResponse<java.lang.Boolean> acceptV1(java.lang.String bidThreadId)
Pushes a bidder-side ACCEPT onto an OPEN thread. References the most recent lister-side pro_forma (or the listing's opening for DISPATCH). Onauto_award_first_accept=Truelistings, fires the full cascade immediately (thread ACCEPTED, listing AWARDED, shipping + billing side-effects). Otherwise leaves the thread OPEN for the lister to finalise via confirm_accept. Lister-side finalisation lives on confirm_accept; calling /accept/v1 from the lister side is rejected (400). | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
acceptV1
public ChrtApiHttpResponse<java.lang.Boolean> acceptV1(java.lang.String bidThreadId, BidAppendReq request)
Pushes a bidder-side ACCEPT onto an OPEN thread. References the most recent lister-side pro_forma (or the listing's opening for DISPATCH). Onauto_award_first_accept=Truelistings, fires the full cascade immediately (thread ACCEPTED, listing AWARDED, shipping + billing side-effects). Otherwise leaves the thread OPEN for the lister to finalise via confirm_accept. Lister-side finalisation lives on confirm_accept; calling /accept/v1 from the lister side is rejected (400). | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
acceptV1
public ChrtApiHttpResponse<java.lang.Boolean> acceptV1(java.lang.String bidThreadId, BidAppendReq request, RequestOptions requestOptions)
Pushes a bidder-side ACCEPT onto an OPEN thread. References the most recent lister-side pro_forma (or the listing's opening for DISPATCH). Onauto_award_first_accept=Truelistings, fires the full cascade immediately (thread ACCEPTED, listing AWARDED, shipping + billing side-effects). Otherwise leaves the thread OPEN for the lister to finalise via confirm_accept. Lister-side finalisation lives on confirm_accept; calling /accept/v1 from the lister side is rejected (400). | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
denyV1
public ChrtApiHttpResponse<java.lang.Boolean> denyV1(java.lang.String bidThreadId)
Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal). Both sides may deny. References the most recent opposite-side Bid; carries no pro_forma. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
denyV1
public ChrtApiHttpResponse<java.lang.Boolean> denyV1(java.lang.String bidThreadId, BidAppendReq request)
Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal). Both sides may deny. References the most recent opposite-side Bid; carries no pro_forma. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
denyV1
public ChrtApiHttpResponse<java.lang.Boolean> denyV1(java.lang.String bidThreadId, BidAppendReq request, RequestOptions requestOptions)
Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal). Both sides may deny. References the most recent opposite-side Bid; carries no pro_forma. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
withdrawV1
public ChrtApiHttpResponse<java.lang.Boolean> withdrawV1(java.lang.String bidThreadId)
Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal). Bidder-only — the lister equivalent is CANCEL on the listing. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
withdrawV1
public ChrtApiHttpResponse<java.lang.Boolean> withdrawV1(java.lang.String bidThreadId, BidAppendReq request)
Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal). Bidder-only — the lister equivalent is CANCEL on the listing. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
withdrawV1
public ChrtApiHttpResponse<java.lang.Boolean> withdrawV1(java.lang.String bidThreadId, BidAppendReq request, RequestOptions requestOptions)
Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal). Bidder-only — the lister equivalent is CANCEL on the listing. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
-
confirmAcceptV1
public ChrtApiHttpResponse<java.lang.Boolean> confirmAcceptV1(java.lang.String bidThreadId)
Lister confirmation of a bidder's ACCEPT on this thread, used whenlisting.auto_award_first_accept == False. Runs the full award cascade: thread ACCEPTED, listing AWARDED, sibling threads / listings cancelled, shipping + billing side-effects. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
confirmAcceptV1
public ChrtApiHttpResponse<java.lang.Boolean> confirmAcceptV1(java.lang.String bidThreadId, RequestOptions requestOptions)
Lister confirmation of a bidder's ACCEPT on this thread, used whenlisting.auto_award_first_accept == False. Runs the full award cascade: thread ACCEPTED, listing AWARDED, sibling threads / listings cancelled, shipping + billing side-effects. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
-