RHAPI_CreateInventoryRequests
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_CreateInventoryRequests | Collection of Create Inventory Requests. This will create new Inventory for each request. Each individual entry will be processed in the order they are specified in the collection. Note: Partial success is possible as each request is processed individually.. |
struct FRHAPI_CreateInventoryRequests
struct FRHAPI_CreateInventoryRequests
: public FRHAPI_Model
Collection of Create Inventory Requests. This will create new Inventory for each request. Each individual entry will be processed in the order they are specified in the collection. Note: Partial success is possible as each request is processed individually..
Summary
| Members | Descriptions |
|---|---|
public ERHAPI_Source Source_Optional | Source of this Inventory Operation. |
public bool Source_IsSet | true if Source_Optional has been set to a value |
public FGuid ClientOrderRefId_Optional | Arbitrary UUID that can be used by clients to correlate Order requests with Order responses. |
public bool ClientOrderRefId_IsSet | true if ClientOrderRefId_Optional has been set to a value |
public TArray< FRHAPI_CreateInventoryRequest>Inventory | |
public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue) | Fills this object with data from the passed in JSON. |
public virtual void WriteJson(TSharedRef< TJsonWriter<>> & Writer) const | Writes the data from this object into the specified JSON Writer stream. |
public inline ERHAPI_Source & GetSource() | Gets the value of Source_Optional, regardless of it having been set. |
public inline const ERHAPI_Source & GetSource() const | Gets the value of Source_Optional, regardless of it having been set. |
public inline const ERHAPI_Source & GetSource(const ERHAPI_Source & DefaultValue) const | Gets the value of Source_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetSource(ERHAPI_Source & OutValue) const | Fills OutValue with the value of Source_Optional and returns true if it has been set, otherwise returns false. |
public inline ERHAPI_Source * GetSourceOrNull() | Returns a pointer to Source_Optional, if it has been set, otherwise returns nullptr. |
public inline const ERHAPI_Source * GetSourceOrNull() const | Returns a pointer to Source_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetSource(ERHAPI_Source NewValue) | Sets the value of Source_Optional and also sets Source_IsSet to true. |
public inline void ClearSource() | Clears the value of Source_Optional and sets Source_IsSet to false. |
public inline FGuid & GetClientOrderRefId() | Gets the value of ClientOrderRefId_Optional, regardless of it having been set. |
public inline const FGuid & GetClientOrderRefId() const | Gets the value of ClientOrderRefId_Optional, regardless of it having been set. |
public inline const FGuid & GetClientOrderRefId(const FGuid & DefaultValue) const | Gets the value of ClientOrderRefId_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetClientOrderRefId(FGuid & OutValue) const | Fills OutValue with the value of ClientOrderRefId_Optional and returns true if it has been set, otherwise returns false. |
public inline FGuid * GetClientOrderRefIdOrNull() | Returns a pointer to ClientOrderRefId_Optional, if it has been set, otherwise returns nullptr. |
public inline const FGuid * GetClientOrderRefIdOrNull() const | Returns a pointer to ClientOrderRefId_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetClientOrderRefId(FGuid NewValue) | Sets the value of ClientOrderRefId_Optional and also sets ClientOrderRefId_IsSet to true. |
public inline void ClearClientOrderRefId() | Clears the value of ClientOrderRefId_Optional and sets ClientOrderRefId_IsSet to false. |
public inline TArray< FRHAPI_CreateInventoryRequest> &GetInventory() | Gets the value of Inventory. |
public inline const TArray< FRHAPI_CreateInventoryRequest> &GetInventory() const | Gets the value of Inventory. |
public inline void SetInventory(TArray< FRHAPI_CreateInventoryRequest > NewValue) | Sets the value of Inventory. |
Members
public ERHAPI_Source Source_Optional
Source of this Inventory Operation.
public bool Source_IsSet
true if Source_Optional has been set to a value
public FGuid ClientOrderRefId_Optional
Arbitrary UUID that can be used by clients to correlate Order requests with Order responses.
public bool ClientOrderRefId_IsSet
true if ClientOrderRefId_Optional has been set to a value
public TArray< FRHAPI_CreateInventoryRequest>Inventory
public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue)
Fills this object with data from the passed in JSON.
Parameters
JsonValueData from the API call.
Returns
true if parsing of the JSON data was successful.
public virtual void WriteJson(TSharedRef< TJsonWriter<>> & Writer) const
Writes the data from this object into the specified JSON Writer stream.
Parameters
WriterJSON Writer stream to push .
public inline ERHAPI_Source & GetSource()
Gets the value of Source_Optional, regardless of it having been set.
public inline const ERHAPI_Source & GetSource() const
Gets the value of Source_Optional, regardless of it having been set.
public inline const ERHAPI_Source & GetSource(const ERHAPI_Source & DefaultValue) const
Gets the value of Source_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetSource(ERHAPI_Source & OutValue) const
Fills OutValue with the value of Source_Optional and returns true if it has been set, otherwise returns false.
public inline ERHAPI_Source * GetSourceOrNull()
Returns a pointer to Source_Optional, if it has been set, otherwise returns nullptr.
public inline const ERHAPI_Source * GetSourceOrNull() const
Returns a pointer to Source_Optional, if it has been set, otherwise returns nullptr.
public inline void SetSource(ERHAPI_Source NewValue)
Sets the value of Source_Optional and also sets Source_IsSet to true.
public inline void ClearSource()
Clears the value of Source_Optional and sets Source_IsSet to false.
public inline FGuid & GetClientOrderRefId()
Gets the value of ClientOrderRefId_Optional, regardless of it having been set.
public inline const FGuid & GetClientOrderRefId() const
Gets the value of ClientOrderRefId_Optional, regardless of it having been set.
public inline const FGuid & GetClientOrderRefId(const FGuid & DefaultValue) const
Gets the value of ClientOrderRefId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetClientOrderRefId(FGuid & OutValue) const
Fills OutValue with the value of ClientOrderRefId_Optional and returns true if it has been set, otherwise returns false.
public inline FGuid * GetClientOrderRefIdOrNull()
Returns a pointer to ClientOrderRefId_Optional, if it has been set, otherwise returns nullptr.
public inline const FGuid * GetClientOrderRefIdOrNull() const
Returns a pointer to ClientOrderRefId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetClientOrderRefId(FGuid NewValue)
Sets the value of ClientOrderRefId_Optional and also sets ClientOrderRefId_IsSet to true.
public inline void ClearClientOrderRefId()
Clears the value of ClientOrderRefId_Optional and sets ClientOrderRefId_IsSet to false.
public inline TArray< FRHAPI_CreateInventoryRequest> &GetInventory()
Gets the value of Inventory.
public inline const TArray< FRHAPI_CreateInventoryRequest> &GetInventory() const
Gets the value of Inventory.
public inline void SetInventory(TArray< FRHAPI_CreateInventoryRequest > NewValue)
Sets the value of Inventory.