Skip to main content

RHAPI_UpdateInventoryRequests

Summary​

MembersDescriptions
struct FRHAPI_UpdateInventoryRequestsCollection of Update Inventory Requests. The Inventory referenced in the Update Inventory Requests must exist otherwise the request will fail. 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_UpdateInventoryRequests ​

struct FRHAPI_UpdateInventoryRequests
: public FRHAPI_Model

Collection of Update Inventory Requests. The Inventory referenced in the Update Inventory Requests must exist otherwise the request will fail. 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​

MembersDescriptions
public ERHAPI_Source Source_OptionalSource of this Inventory Operation.
public bool Source_IsSettrue if Source_Optional has been set to a value
public FGuid ClientOrderRefId_OptionalArbitrary UUID that can be used by clients to correlate Order requests with Order responses.
public bool ClientOrderRefId_IsSettrue if ClientOrderRefId_Optional has been set to a value
public TArray< FRHAPI_UpdateInventoryRequestById>InventoryCollection of Update Inventory Requests.
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) constWrites 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() constGets the value of Source_Optional, regardless of it having been set.
public inline const ERHAPI_Source & GetSource(const ERHAPI_Source & DefaultValue) constGets the value of Source_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetSource(ERHAPI_Source & OutValue) constFills 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() constReturns a pointer to Source_Optional, if it has been set, otherwise returns nullptr.
public inline void SetSource(const ERHAPI_Source & NewValue)Sets the value of Source_Optional and also sets Source_IsSet to true.
public inline void SetSource(ERHAPI_Source && NewValue)Sets the value of Source_Optional and also sets Source_IsSet to true using move semantics.
public inline void ClearSource()Clears the value of Source_Optional and sets Source_IsSet to false.
public inline bool IsSourceSet() constChecks whether Source_Optional has been set.
public inline FGuid & GetClientOrderRefId()Gets the value of ClientOrderRefId_Optional, regardless of it having been set.
public inline const FGuid & GetClientOrderRefId() constGets the value of ClientOrderRefId_Optional, regardless of it having been set.
public inline const FGuid & GetClientOrderRefId(const FGuid & DefaultValue) constGets the value of ClientOrderRefId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetClientOrderRefId(FGuid & OutValue) constFills 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() constReturns a pointer to ClientOrderRefId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetClientOrderRefId(const FGuid & NewValue)Sets the value of ClientOrderRefId_Optional and also sets ClientOrderRefId_IsSet to true.
public inline void SetClientOrderRefId(FGuid && NewValue)Sets the value of ClientOrderRefId_Optional and also sets ClientOrderRefId_IsSet to true using move semantics.
public inline void ClearClientOrderRefId()Clears the value of ClientOrderRefId_Optional and sets ClientOrderRefId_IsSet to false.
public inline bool IsClientOrderRefIdSet() constChecks whether ClientOrderRefId_Optional has been set.
public inline TArray< FRHAPI_UpdateInventoryRequestById> &GetInventory()Gets the value of Inventory.
public inline const TArray< FRHAPI_UpdateInventoryRequestById> &GetInventory() constGets the value of Inventory.
public inline void SetInventory(const TArray< FRHAPI_UpdateInventoryRequestById > & NewValue)Sets the value of Inventory.
public inline void SetInventory(TArray< FRHAPI_UpdateInventoryRequestById > && NewValue)Sets the value of Inventory using move semantics.

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_UpdateInventoryRequestById>Inventory ​

Collection of Update Inventory Requests.

public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue) ​

Fills this object with data from the passed in JSON.

Parameters​

  • JsonValue Data 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​

  • Writer JSON 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(const ERHAPI_Source & NewValue) ​

Sets the value of Source_Optional and also sets Source_IsSet to true.

public inline void SetSource(ERHAPI_Source && NewValue) ​

Sets the value of Source_Optional and also sets Source_IsSet to true using move semantics.

public inline void ClearSource() ​

Clears the value of Source_Optional and sets Source_IsSet to false.

public inline bool IsSourceSet() const ​

Checks whether Source_Optional has been set.

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(const FGuid & NewValue) ​

Sets the value of ClientOrderRefId_Optional and also sets ClientOrderRefId_IsSet to true.

public inline void SetClientOrderRefId(FGuid && NewValue) ​

Sets the value of ClientOrderRefId_Optional and also sets ClientOrderRefId_IsSet to true using move semantics.

public inline void ClearClientOrderRefId() ​

Clears the value of ClientOrderRefId_Optional and sets ClientOrderRefId_IsSet to false.

public inline bool IsClientOrderRefIdSet() const ​

Checks whether ClientOrderRefId_Optional has been set.

public inline TArray< FRHAPI_UpdateInventoryRequestById> &GetInventory() ​

Gets the value of Inventory.

public inline const TArray< FRHAPI_UpdateInventoryRequestById> &GetInventory() const ​

Gets the value of Inventory.

public inline void SetInventory(const TArray< FRHAPI_UpdateInventoryRequestById > & NewValue) ​

Sets the value of Inventory.

public inline void SetInventory(TArray< FRHAPI_UpdateInventoryRequestById > && NewValue) ​

Sets the value of Inventory using move semantics.