Class CargoOrderData
Inheritance
System.Object
CargoOrderData
Assembly: Content.Shared.dll
Syntax
public sealed class CargoOrderData : object
Constructors
|
Improve this Doc
View Source
CargoOrderData(Int32, String, Int32, Int32, String, String)
Declaration
public CargoOrderData(int orderId, string productId, int price, int amount, string requester, string reason)
Parameters
Type |
Name |
Description |
System.Int32 |
orderId |
|
System.String |
productId |
|
System.Int32 |
price |
|
System.Int32 |
amount |
|
System.String |
requester |
|
System.String |
reason |
|
Fields
|
Improve this Doc
View Source
Approver
Declaration
Field Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
NumDispatched
How many instances of this order that we've already dispatched
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
OrderId
A unique (arbitrary) ID which identifies this order.
Declaration
public readonly int OrderId
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
OrderQuantity
The number of items in the order. Not readonly, as it might change
due to caps on the amount of orders that can be placed.
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Price
Price when the order was added.
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ProductId
Prototype Id for the item to be created
Declaration
public readonly string ProductId
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Reason
Declaration
public readonly string Reason
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Requester
Declaration
public readonly string Requester
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
Approved
Declaration
public bool Approved { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
SetApproverData(Nullable<String>, Nullable<String>)
Declaration
public void SetApproverData(string? fullName, string? jobTitle)
Parameters
Type |
Name |
Description |
System.Nullable<System.String> |
fullName |
|
System.Nullable<System.String> |
jobTitle |
|