Skip to content

RHAPI_LootEntitlement

Summary

MembersDescriptions
struct FRHAPI_LootEntitlementHow a Platform SKU will be converted into Loot for a player.

struct FRHAPI_LootEntitlement

struct FRHAPI_LootEntitlement
: public FRHAPI_Model

How a Platform SKU will be converted into Loot for a player.

Summary

MembersDescriptions
public ERHAPI_EntitlementType TypeThe action taken on the platform when granting this SKU.
public int32 LootIdThe Loot ID that will be granted to the player.
public int32 RefundLootId_OptionalThe Loot ID that will be granted to the player when the SKU is refunded.
public bool RefundLootId_IsSettrue if RefundLootId_Optional has been set to a value
public int32 ChargebackLootId_OptionalThe Loot ID that will be granted to the player when the SKU is charged back.
public bool ChargebackLootId_IsSettrue if ChargebackLootId_Optional has been set to a value
public int32 ChargebackReversalLootId_OptionalThe Loot ID that will be granted to the player when the SKU is charged back is reversed.
public bool ChargebackReversalLootId_IsSettrue if ChargebackReversalLootId_Optional has been set to a value
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_EntitlementType & GetType()Gets the value of Type.
public inline const ERHAPI_EntitlementType & GetType() constGets the value of Type.
public inline void SetType(ERHAPI_EntitlementType NewValue)Sets the value of Type.
public inline int32 & GetLootId()Gets the value of LootId.
public inline const int32 & GetLootId() constGets the value of LootId.
public inline void SetLootId(int32 NewValue)Sets the value of LootId.
public inline bool IsLootIdDefaultValue() constReturns true if LootId matches the default value.
public inline void SetLootIdToDefault()Sets the value of LootId to its default
public inline int32 & GetRefundLootId()Gets the value of RefundLootId_Optional, regardless of it having been set.
public inline const int32 & GetRefundLootId() constGets the value of RefundLootId_Optional, regardless of it having been set.
public inline const int32 & GetRefundLootId(const int32 & DefaultValue) constGets the value of RefundLootId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetRefundLootId(int32 & OutValue) constFills OutValue with the value of RefundLootId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetRefundLootIdOrNull()Returns a pointer to RefundLootId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetRefundLootIdOrNull() constReturns a pointer to RefundLootId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetRefundLootId(int32 NewValue)Sets the value of RefundLootId_Optional and also sets RefundLootId_IsSet to true.
public inline void ClearRefundLootId()Clears the value of RefundLootId_Optional and sets RefundLootId_IsSet to false.
public inline bool IsRefundLootIdDefaultValue() constReturns true if RefundLootId_Optional is set and matches the default value.
public inline void SetRefundLootIdToDefault()Sets the value of RefundLootId_Optional to its default and also sets RefundLootId_IsSet to true.
public inline int32 & GetChargebackLootId()Gets the value of ChargebackLootId_Optional, regardless of it having been set.
public inline const int32 & GetChargebackLootId() constGets the value of ChargebackLootId_Optional, regardless of it having been set.
public inline const int32 & GetChargebackLootId(const int32 & DefaultValue) constGets the value of ChargebackLootId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetChargebackLootId(int32 & OutValue) constFills OutValue with the value of ChargebackLootId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetChargebackLootIdOrNull()Returns a pointer to ChargebackLootId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetChargebackLootIdOrNull() constReturns a pointer to ChargebackLootId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetChargebackLootId(int32 NewValue)Sets the value of ChargebackLootId_Optional and also sets ChargebackLootId_IsSet to true.
public inline void ClearChargebackLootId()Clears the value of ChargebackLootId_Optional and sets ChargebackLootId_IsSet to false.
public inline bool IsChargebackLootIdDefaultValue() constReturns true if ChargebackLootId_Optional is set and matches the default value.
public inline void SetChargebackLootIdToDefault()Sets the value of ChargebackLootId_Optional to its default and also sets ChargebackLootId_IsSet to true.
public inline int32 & GetChargebackReversalLootId()Gets the value of ChargebackReversalLootId_Optional, regardless of it having been set.
public inline const int32 & GetChargebackReversalLootId() constGets the value of ChargebackReversalLootId_Optional, regardless of it having been set.
public inline const int32 & GetChargebackReversalLootId(const int32 & DefaultValue) constGets the value of ChargebackReversalLootId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetChargebackReversalLootId(int32 & OutValue) constFills OutValue with the value of ChargebackReversalLootId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetChargebackReversalLootIdOrNull()Returns a pointer to ChargebackReversalLootId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetChargebackReversalLootIdOrNull() constReturns a pointer to ChargebackReversalLootId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetChargebackReversalLootId(int32 NewValue)Sets the value of ChargebackReversalLootId_Optional and also sets ChargebackReversalLootId_IsSet to true.
public inline void ClearChargebackReversalLootId()Clears the value of ChargebackReversalLootId_Optional and sets ChargebackReversalLootId_IsSet to false.
public inline bool IsChargebackReversalLootIdDefaultValue() constReturns true if ChargebackReversalLootId_Optional is set and matches the default value.
public inline void SetChargebackReversalLootIdToDefault()Sets the value of ChargebackReversalLootId_Optional to its default and also sets ChargebackReversalLootId_IsSet to true.

Members

public ERHAPI_EntitlementType Type

The action taken on the platform when granting this SKU.

public int32 LootId

The Loot ID that will be granted to the player.

public int32 RefundLootId_Optional

The Loot ID that will be granted to the player when the SKU is refunded.

public bool RefundLootId_IsSet

true if RefundLootId_Optional has been set to a value

public int32 ChargebackLootId_Optional

The Loot ID that will be granted to the player when the SKU is charged back.

public bool ChargebackLootId_IsSet

true if ChargebackLootId_Optional has been set to a value

public int32 ChargebackReversalLootId_Optional

The Loot ID that will be granted to the player when the SKU is charged back is reversed.

public bool ChargebackReversalLootId_IsSet

true if ChargebackReversalLootId_Optional has been set to a value

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_EntitlementType & GetType()

Gets the value of Type.

public inline const ERHAPI_EntitlementType & GetType() const

Gets the value of Type.

public inline void SetType(ERHAPI_EntitlementType NewValue)

Sets the value of Type.

public inline int32 & GetLootId()

Gets the value of LootId.

public inline const int32 & GetLootId() const

Gets the value of LootId.

public inline void SetLootId(int32 NewValue)

Sets the value of LootId.

public inline bool IsLootIdDefaultValue() const

Returns true if LootId matches the default value.

public inline void SetLootIdToDefault()

Sets the value of LootId to its default

public inline int32 & GetRefundLootId()

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

public inline const int32 & GetRefundLootId() const

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

public inline const int32 & GetRefundLootId(const int32 & DefaultValue) const

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

public inline bool GetRefundLootId(int32 & OutValue) const

Fills OutValue with the value of RefundLootId_Optional and returns true if it has been set, otherwise returns false.

public inline int32 * GetRefundLootIdOrNull()

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

public inline const int32 * GetRefundLootIdOrNull() const

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

public inline void SetRefundLootId(int32 NewValue)

Sets the value of RefundLootId_Optional and also sets RefundLootId_IsSet to true.

public inline void ClearRefundLootId()

Clears the value of RefundLootId_Optional and sets RefundLootId_IsSet to false.

public inline bool IsRefundLootIdDefaultValue() const

Returns true if RefundLootId_Optional is set and matches the default value.

public inline void SetRefundLootIdToDefault()

Sets the value of RefundLootId_Optional to its default and also sets RefundLootId_IsSet to true.

public inline int32 & GetChargebackLootId()

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

public inline const int32 & GetChargebackLootId() const

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

public inline const int32 & GetChargebackLootId(const int32 & DefaultValue) const

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

public inline bool GetChargebackLootId(int32 & OutValue) const

Fills OutValue with the value of ChargebackLootId_Optional and returns true if it has been set, otherwise returns false.

public inline int32 * GetChargebackLootIdOrNull()

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

public inline const int32 * GetChargebackLootIdOrNull() const

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

public inline void SetChargebackLootId(int32 NewValue)

Sets the value of ChargebackLootId_Optional and also sets ChargebackLootId_IsSet to true.

public inline void ClearChargebackLootId()

Clears the value of ChargebackLootId_Optional and sets ChargebackLootId_IsSet to false.

public inline bool IsChargebackLootIdDefaultValue() const

Returns true if ChargebackLootId_Optional is set and matches the default value.

public inline void SetChargebackLootIdToDefault()

Sets the value of ChargebackLootId_Optional to its default and also sets ChargebackLootId_IsSet to true.

public inline int32 & GetChargebackReversalLootId()

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

public inline const int32 & GetChargebackReversalLootId() const

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

public inline const int32 & GetChargebackReversalLootId(const int32 & DefaultValue) const

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

public inline bool GetChargebackReversalLootId(int32 & OutValue) const

Fills OutValue with the value of ChargebackReversalLootId_Optional and returns true if it has been set, otherwise returns false.

public inline int32 * GetChargebackReversalLootIdOrNull()

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

public inline const int32 * GetChargebackReversalLootIdOrNull() const

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

public inline void SetChargebackReversalLootId(int32 NewValue)

Sets the value of ChargebackReversalLootId_Optional and also sets ChargebackReversalLootId_IsSet to true.

public inline void ClearChargebackReversalLootId()

Clears the value of ChargebackReversalLootId_Optional and sets ChargebackReversalLootId_IsSet to false.

public inline bool IsChargebackReversalLootIdDefaultValue() const

Returns true if ChargebackReversalLootId_Optional is set and matches the default value.

public inline void SetChargebackReversalLootIdToDefault()

Sets the value of ChargebackReversalLootId_Optional to its default and also sets ChargebackReversalLootId_IsSet to true.