Class Bid
A raw serializable Bid class.
Inheritance
System.Object
Bid
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Algorand
Assembly: Algorand.dll
Syntax
[JsonObject]
public class Bid
Constructors
| Improve this Doc View SourceBid()
Declaration
public Bid()
Bid(Address, Address, Nullable<UInt64>, Nullable<UInt64>, Nullable<UInt64>, Nullable<UInt64>)
Create a new bid
Declaration
public Bid(Address bidderKey, Address auctionKey, ulong? bidCurrency, ulong? maxPrice, ulong? bidID, ulong? auctionID)
Parameters
Type | Name | Description |
---|---|---|
Address | bidderKey | |
Address | auctionKey | |
System.Nullable<System.UInt64> | bidCurrency | |
System.Nullable<System.UInt64> | maxPrice | |
System.Nullable<System.UInt64> | bidID | |
System.Nullable<System.UInt64> | auctionID |
Bid(Byte[], Byte[], Nullable<UInt64>, Nullable<UInt64>, Nullable<UInt64>, Nullable<UInt64>)
Declaration
[JsonConstructor]
public Bid([JsonProperty(PropertyName = "bidder")] byte[] bidderKey, [JsonProperty(PropertyName = "auc")] byte[] auctionKey, [JsonProperty(PropertyName = "cur")] ulong? bidCurrency, [JsonProperty(PropertyName = "price")] ulong? maxPrice, [JsonProperty(PropertyName = "id")] ulong? bidID, [JsonProperty(PropertyName = "aid")] ulong? auctionID)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bidderKey | |
System.Byte[] | auctionKey | |
System.Nullable<System.UInt64> | bidCurrency | |
System.Nullable<System.UInt64> | maxPrice | |
System.Nullable<System.UInt64> | bidID | |
System.Nullable<System.UInt64> | auctionID |
Fields
| Improve this Doc View SourceauctionID
Declaration
[JsonProperty(PropertyName = "aid")]
public ulong? auctionID
Field Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
auctionKey
Declaration
[JsonProperty(PropertyName = "auc")]
public Address auctionKey
Field Value
Type | Description |
---|---|
Address |
bidCurrency
Declaration
[JsonProperty(PropertyName = "cur")]
public ulong? bidCurrency
Field Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
bidderKey
Declaration
[JsonProperty(PropertyName = "bidder")]
public Address bidderKey
Field Value
Type | Description |
---|---|
Address |
bidID
Declaration
[JsonProperty(PropertyName = "id")]
public ulong? bidID
Field Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
maxPrice
Declaration
[JsonProperty(PropertyName = "price")]
public ulong? maxPrice
Field Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()