Order - liljaba1337/r6-marketplace GitHub Wiki

Order

⚠️ Will most likely be changed soon.

Fields

Field Type Notes
ID string
OrderType Data.OrderType Buy/Sell
CreatedAt DateTime
ExpiresAt DateTime
LastModifiedAt DateTime
Item Item
Price int
Fee int For purchase orders this is always 0.
NetAmount int The amount you will receive after selling this item. For purchase orders this is always 0.

Methods

Cancel

Cancel the order.


HistoryOrder : Order

Fields

Field Type Notes
State Data.OrderState
ExpiresAt DateTime? ⚠️ Always null.
LastModifiedAt DateTime Usually the time when the order was filled / cancelled / expired.

⚠️ **GitHub.com Fallback** ⚠️