Skip to content

RHAPI_CreateInventoryRequests

Summary

MembersDescriptions
struct FRHAPI_CreateInventoryRequestsCollection 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

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_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) 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(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() 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(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() constGets 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`](#structFRHAPI__CreateInventoryRequests_1a3e42709481fb0b75617b3bbd7314bbfb)

true if Source_Optional has been set to a value


#### `public FGuid `[`ClientOrderRefId_Optional`](#structFRHAPI__CreateInventoryRequests_1a4c62974407c099235da7ecc889b1f5da)

Arbitrary UUID that can be used by clients to correlate Order requests with Order responses.


#### `public bool `[`ClientOrderRefId_IsSet`](#structFRHAPI__CreateInventoryRequests_1a65113778350c9bdc67e1c97626afb562)

true if ClientOrderRefId_Optional has been set to a value


#### `public TArray< `[`FRHAPI_CreateInventoryRequest`](RHAPI_CreateInventoryRequest.md#structFRHAPI__CreateInventoryRequest)` > `[`Inventory`](#structFRHAPI__CreateInventoryRequests_1ad5c1065a425471ead065a069b830e19a)
#### `public virtual bool `[`FromJson`](#structFRHAPI__CreateInventoryRequests_1ac2b8055447714c8995c1559a981b65f5)`(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`](#structFRHAPI__CreateInventoryRequests_1afa6301fedd555ab58c415e584e9098ac)`(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`](#structFRHAPI__CreateInventoryRequests_1a9e43c93b0a9a5c7af37a7d9cf3ae97fc)`()`

Gets the value of Source_Optional, regardless of it having been set.


#### `public inline const ERHAPI_Source & `[`GetSource`](#structFRHAPI__CreateInventoryRequests_1a9f9ff36141cdb47965679de1fbcb83a1)`() const`

Gets the value of Source_Optional, regardless of it having been set.


#### `public inline const ERHAPI_Source & `[`GetSource`](#structFRHAPI__CreateInventoryRequests_1aefae853960da20680ba75f5a65683ddc)`(const ERHAPI_Source & DefaultValue) const`

Gets the value of Source_Optional, if it has been set, otherwise it returns DefaultValue.


#### `public inline bool `[`GetSource`](#structFRHAPI__CreateInventoryRequests_1a1a99930daf928829ebb924a5a740f540)`(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`](#structFRHAPI__CreateInventoryRequests_1abd0c538423d0ec9ec2c899f9631455ca)`()`

Returns a pointer to Source_Optional, if it has been set, otherwise returns nullptr.


#### `public inline const ERHAPI_Source * `[`GetSourceOrNull`](#structFRHAPI__CreateInventoryRequests_1a62033c4a6e9c0ad4881120b246031b3b)`() const`

Returns a pointer to Source_Optional, if it has been set, otherwise returns nullptr.


#### `public inline void `[`SetSource`](#structFRHAPI__CreateInventoryRequests_1adbf3bf91c9312625188443c623b57096)`(ERHAPI_Source NewValue)`

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


#### `public inline void `[`ClearSource`](#structFRHAPI__CreateInventoryRequests_1a90ace01fa6f2f82a0e13574fe30bb348)`()`

Clears the value of Source_Optional and sets Source_IsSet to false.


#### `public inline FGuid & `[`GetClientOrderRefId`](#structFRHAPI__CreateInventoryRequests_1a565a833705289f5c07105b05943cc039)`()`

Gets the value of ClientOrderRefId_Optional, regardless of it having been set.


#### `public inline const FGuid & `[`GetClientOrderRefId`](#structFRHAPI__CreateInventoryRequests_1a0698edcf7fbb16caf071a17880b7e28a)`() const`

Gets the value of ClientOrderRefId_Optional, regardless of it having been set.


#### `public inline const FGuid & `[`GetClientOrderRefId`](#structFRHAPI__CreateInventoryRequests_1acdfc93d4f3cbaab4f34422a5b43fbe4b)`(const FGuid & DefaultValue) const`

Gets the value of ClientOrderRefId_Optional, if it has been set, otherwise it returns DefaultValue.


#### `public inline bool `[`GetClientOrderRefId`](#structFRHAPI__CreateInventoryRequests_1ab9f6db390a15c3fa4ac4ff104db322d8)`(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`](#structFRHAPI__CreateInventoryRequests_1a3fa2f0c4554d53851b954d409a4bc214)`()`

Returns a pointer to ClientOrderRefId_Optional, if it has been set, otherwise returns nullptr.


#### `public inline const FGuid * `[`GetClientOrderRefIdOrNull`](#structFRHAPI__CreateInventoryRequests_1ab0f6306bd9ef3d60caf067e4a11fbc4e)`() const`

Returns a pointer to ClientOrderRefId_Optional, if it has been set, otherwise returns nullptr.


#### `public inline void `[`SetClientOrderRefId`](#structFRHAPI__CreateInventoryRequests_1a3bc963edff75d6cdc2b9f52f8b4c573c)`(FGuid NewValue)`

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


#### `public inline void `[`ClearClientOrderRefId`](#structFRHAPI__CreateInventoryRequests_1ad1d3d71c22d0fa589bbd5574932c60a8)`()`

Clears the value of ClientOrderRefId_Optional and sets ClientOrderRefId_IsSet to false.


#### `public inline TArray< `[`FRHAPI_CreateInventoryRequest`](RHAPI_CreateInventoryRequest.md#structFRHAPI__CreateInventoryRequest)` > & `[`GetInventory`](#structFRHAPI__CreateInventoryRequests_1ab87530ee191fc29901fa0476956ac096)`()`

Gets the value of Inventory.


#### `public inline const TArray< `[`FRHAPI_CreateInventoryRequest`](RHAPI_CreateInventoryRequest.md#structFRHAPI__CreateInventoryRequest)` > & `[`GetInventory`](#structFRHAPI__CreateInventoryRequests_1a3e03c3090869f269a876a2aebc5ecae9)`() const`

Gets the value of Inventory.


#### `public inline void `[`SetInventory`](#structFRHAPI__CreateInventoryRequests_1ae6e1d27accc25ddc56041bf6ac6af78a)`(TArray< `[`FRHAPI_CreateInventoryRequest`](RHAPI_CreateInventoryRequest.md#structFRHAPI__CreateInventoryRequest)` > NewValue)`

Sets the value of Inventory.