OSID Logo
OSID Specifications
bidding package
Version 3.1.0
Interfaceosid.bidding.Bid
Implementsosid.OsidRelationship
Used Byosid.bidding.BidAdminSession
osid.bidding.BidList
osid.bidding.BidLookupSession
Description

A Bid represents a bid for an item at an auction.

MethodgetAuctionId
Description

Gets the Id of the auction.

Returnosid.id.Id the auction Id
Compliancemandatory This method must be implemented.
MethodgetAuction
Description

Gets the auction.

Returnosid.bidding.Auction the auction
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetBidderId
Description

Gets the Id of the bidder.

Returnosid.id.Id the resource Id
Compliancemandatory This method must be implemented.
MethodgetBidder
Description

Gets the bidder.

Returnosid.resource.Resource the resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetBiddingAgentId
Description

Gets the Id of the bidding agent.

Returnosid.id.Id the agent Id
Compliancemandatory This method must be implemented.
MethodgetBiddingAgent
Description

Gets the bidding agent.

Returnosid.authentication.Agent the agent
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetQuantity
Description

Gets the quantity of items in this bid.

Returncardinal the quantity of items
Compliancemandatory This method must be implemented.
MethodgetCurrentBid
Description

Gets the current bid amount.

Returnosid.financials.Currency the current bid
Compliancemandatory This method must be implemented.
MethodgetMaximumBid
Description

Gets the maximum bid. For some auctions, the current bid is the maximum bid. For others, the current bid may be less then the maximum bid and automatically increment when greater bids are made up to the maximum bid.

Returnosid.financials.Currency the maximum bid
Compliancemandatory This method must be implemented.
MethodisWinner
Description

Tests if this was a winning bid.

Returnboolean true if this was a winnign bid, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSettlementAmount
Description

Gets the settlement amount owed from the bidder.

Returnosid.financials.Currency the settlement amount
Compliancemandatory This method must be implemented.
MethodgetBidRecord
Description

Gets the bid record corresponding to the given Bid record Type.This method is used to retrieve an object implementing the requested record. The bidRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(bidRecordType) is true.

Parametersosid.type.TypebidRecordType the type of bid record to retrieve
Returnosid.bidding.records.BidRecord the bid record
ErrorsNULL_ARGUMENT bidRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(bidRecordType) is false
Compliancemandatory This method must be implemented.