Skip to main content

RHAPI_PurchasePrice

Summary

MembersDescriptions
struct FRHAPI_PurchasePriceThe purchase price of an Item.

struct FRHAPI_PurchasePrice

struct FRHAPI_PurchasePrice
: public FRHAPI_Model

The purchase price of an Item.

Summary

MembersDescriptions
public int32 PriceItemId_OptionalThe Item used as the currency for the purchase. Deprecated. Use currencies instead.
public bool PriceItemId_IsSettrue if PriceItemId_Optional has been set to a value
public int32 Price_OptionalThe price of the Item. Deprecated. Use currencies instead.
public bool Price_IsSettrue if Price_Optional has been set to a value
public int32 PriceCouponItemId_OptionalThe Item used as the coupon for the purchase.
public bool PriceCouponItemId_IsSettrue if PriceCouponItemId_Optional has been set to a value
public TArray< FRHAPI_PurchasePriceCurrency>Currencies_OptionalList of currencies for this purchase price.
public bool Currencies_IsSettrue if Currencies_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 int32 & GetPriceItemId()Gets the value of PriceItemId_Optional, regardless of it having been set.
public inline const int32 & GetPriceItemId() constGets the value of PriceItemId_Optional, regardless of it having been set.
public inline const int32 & GetPriceItemId(const int32 & DefaultValue) constGets the value of PriceItemId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetPriceItemId(int32 & OutValue) constFills OutValue with the value of PriceItemId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetPriceItemIdOrNull()Returns a pointer to PriceItemId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetPriceItemIdOrNull() constReturns a pointer to PriceItemId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetPriceItemId(const int32 & NewValue)Sets the value of PriceItemId_Optional and also sets PriceItemId_IsSet to true.
public inline void SetPriceItemId(int32 && NewValue)Sets the value of PriceItemId_Optional and also sets PriceItemId_IsSet to true using move semantics.
public inline void ClearPriceItemId()Clears the value of PriceItemId_Optional and sets PriceItemId_IsSet to false.
public inline bool IsPriceItemIdSet() constChecks whether PriceItemId_Optional has been set.
public inline bool IsPriceItemIdDefaultValue() constReturns true if PriceItemId_Optional is set and matches the default value.
public inline void SetPriceItemIdToDefault()Sets the value of PriceItemId_Optional to its default and also sets PriceItemId_IsSet to true.
public inline int32 & GetPrice()Gets the value of Price_Optional, regardless of it having been set.
public inline const int32 & GetPrice() constGets the value of Price_Optional, regardless of it having been set.
public inline const int32 & GetPrice(const int32 & DefaultValue) constGets the value of Price_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetPrice(int32 & OutValue) constFills OutValue with the value of Price_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetPriceOrNull()Returns a pointer to Price_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetPriceOrNull() constReturns a pointer to Price_Optional, if it has been set, otherwise returns nullptr.
public inline void SetPrice(const int32 & NewValue)Sets the value of Price_Optional and also sets Price_IsSet to true.
public inline void SetPrice(int32 && NewValue)Sets the value of Price_Optional and also sets Price_IsSet to true using move semantics.
public inline void ClearPrice()Clears the value of Price_Optional and sets Price_IsSet to false.
public inline bool IsPriceSet() constChecks whether Price_Optional has been set.
public inline bool IsPriceDefaultValue() constReturns true if Price_Optional is set and matches the default value.
public inline void SetPriceToDefault()Sets the value of Price_Optional to its default and also sets Price_IsSet to true.
public inline int32 & GetPriceCouponItemId()Gets the value of PriceCouponItemId_Optional, regardless of it having been set.
public inline const int32 & GetPriceCouponItemId() constGets the value of PriceCouponItemId_Optional, regardless of it having been set.
public inline const int32 & GetPriceCouponItemId(const int32 & DefaultValue) constGets the value of PriceCouponItemId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetPriceCouponItemId(int32 & OutValue) constFills OutValue with the value of PriceCouponItemId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetPriceCouponItemIdOrNull()Returns a pointer to PriceCouponItemId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetPriceCouponItemIdOrNull() constReturns a pointer to PriceCouponItemId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetPriceCouponItemId(const int32 & NewValue)Sets the value of PriceCouponItemId_Optional and also sets PriceCouponItemId_IsSet to true.
public inline void SetPriceCouponItemId(int32 && NewValue)Sets the value of PriceCouponItemId_Optional and also sets PriceCouponItemId_IsSet to true using move semantics.
public inline void ClearPriceCouponItemId()Clears the value of PriceCouponItemId_Optional and sets PriceCouponItemId_IsSet to false.
public inline bool IsPriceCouponItemIdSet() constChecks whether PriceCouponItemId_Optional has been set.
public inline bool IsPriceCouponItemIdDefaultValue() constReturns true if PriceCouponItemId_Optional is set and matches the default value.
public inline void SetPriceCouponItemIdToDefault()Sets the value of PriceCouponItemId_Optional to its default and also sets PriceCouponItemId_IsSet to true.
public inline TArray< FRHAPI_PurchasePriceCurrency> &GetCurrencies()Gets the value of Currencies_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_PurchasePriceCurrency> &GetCurrencies() constGets the value of Currencies_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_PurchasePriceCurrency> &GetCurrencies(const TArray< FRHAPI_PurchasePriceCurrency > & DefaultValue) constGets the value of Currencies_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetCurrencies(TArray< FRHAPI_PurchasePriceCurrency > & OutValue) constFills OutValue with the value of Currencies_Optional and returns true if it has been set, otherwise returns false.
public inline TArray< FRHAPI_PurchasePriceCurrency> *GetCurrenciesOrNull()Returns a pointer to Currencies_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray< FRHAPI_PurchasePriceCurrency> *GetCurrenciesOrNull() constReturns a pointer to Currencies_Optional, if it has been set, otherwise returns nullptr.
public inline void SetCurrencies(const TArray< FRHAPI_PurchasePriceCurrency > & NewValue)Sets the value of Currencies_Optional and also sets Currencies_IsSet to true.
public inline void SetCurrencies(TArray< FRHAPI_PurchasePriceCurrency > && NewValue)Sets the value of Currencies_Optional and also sets Currencies_IsSet to true using move semantics.
public inline void ClearCurrencies()Clears the value of Currencies_Optional and sets Currencies_IsSet to false.
public inline bool IsCurrenciesSet() constChecks whether Currencies_Optional has been set.

Members

public int32 PriceItemId_Optional

The Item used as the currency for the purchase. Deprecated. Use currencies instead.

public bool PriceItemId_IsSet

true if PriceItemId_Optional has been set to a value

public int32 Price_Optional

The price of the Item. Deprecated. Use currencies instead.

public bool Price_IsSet

true if Price_Optional has been set to a value

public int32 PriceCouponItemId_Optional

The Item used as the coupon for the purchase.

public bool PriceCouponItemId_IsSet

true if PriceCouponItemId_Optional has been set to a value

public TArray< FRHAPI_PurchasePriceCurrency>Currencies_Optional

List of currencies for this purchase price.

public bool Currencies_IsSet

true if Currencies_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 int32 & GetPriceItemId()

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

public inline const int32 & GetPriceItemId() const

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

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

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

public inline bool GetPriceItemId(int32 & OutValue) const

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

public inline int32 * GetPriceItemIdOrNull()

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

public inline const int32 * GetPriceItemIdOrNull() const

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

public inline void SetPriceItemId(const int32 & NewValue)

Sets the value of PriceItemId_Optional and also sets PriceItemId_IsSet to true.

public inline void SetPriceItemId(int32 && NewValue)

Sets the value of PriceItemId_Optional and also sets PriceItemId_IsSet to true using move semantics.

public inline void ClearPriceItemId()

Clears the value of PriceItemId_Optional and sets PriceItemId_IsSet to false.

public inline bool IsPriceItemIdSet() const

Checks whether PriceItemId_Optional has been set.

public inline bool IsPriceItemIdDefaultValue() const

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

public inline void SetPriceItemIdToDefault()

Sets the value of PriceItemId_Optional to its default and also sets PriceItemId_IsSet to true.

public inline int32 & GetPrice()

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

public inline const int32 & GetPrice() const

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

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

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

public inline bool GetPrice(int32 & OutValue) const

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

public inline int32 * GetPriceOrNull()

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

public inline const int32 * GetPriceOrNull() const

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

public inline void SetPrice(const int32 & NewValue)

Sets the value of Price_Optional and also sets Price_IsSet to true.

public inline void SetPrice(int32 && NewValue)

Sets the value of Price_Optional and also sets Price_IsSet to true using move semantics.

public inline void ClearPrice()

Clears the value of Price_Optional and sets Price_IsSet to false.

public inline bool IsPriceSet() const

Checks whether Price_Optional has been set.

public inline bool IsPriceDefaultValue() const

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

public inline void SetPriceToDefault()

Sets the value of Price_Optional to its default and also sets Price_IsSet to true.

public inline int32 & GetPriceCouponItemId()

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

public inline const int32 & GetPriceCouponItemId() const

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

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

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

public inline bool GetPriceCouponItemId(int32 & OutValue) const

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

public inline int32 * GetPriceCouponItemIdOrNull()

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

public inline const int32 * GetPriceCouponItemIdOrNull() const

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

public inline void SetPriceCouponItemId(const int32 & NewValue)

Sets the value of PriceCouponItemId_Optional and also sets PriceCouponItemId_IsSet to true.

public inline void SetPriceCouponItemId(int32 && NewValue)

Sets the value of PriceCouponItemId_Optional and also sets PriceCouponItemId_IsSet to true using move semantics.

public inline void ClearPriceCouponItemId()

Clears the value of PriceCouponItemId_Optional and sets PriceCouponItemId_IsSet to false.

public inline bool IsPriceCouponItemIdSet() const

Checks whether PriceCouponItemId_Optional has been set.

public inline bool IsPriceCouponItemIdDefaultValue() const

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

public inline void SetPriceCouponItemIdToDefault()

Sets the value of PriceCouponItemId_Optional to its default and also sets PriceCouponItemId_IsSet to true.

public inline TArray< FRHAPI_PurchasePriceCurrency> &GetCurrencies()

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

public inline const TArray< FRHAPI_PurchasePriceCurrency> &GetCurrencies() const

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

public inline const TArray< FRHAPI_PurchasePriceCurrency> &GetCurrencies(const TArray< FRHAPI_PurchasePriceCurrency > & DefaultValue) const

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

public inline bool GetCurrencies(TArray< FRHAPI_PurchasePriceCurrency > & OutValue) const

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

public inline TArray< FRHAPI_PurchasePriceCurrency> *GetCurrenciesOrNull()

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

public inline const TArray< FRHAPI_PurchasePriceCurrency> *GetCurrenciesOrNull() const

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

public inline void SetCurrencies(const TArray< FRHAPI_PurchasePriceCurrency > & NewValue)

Sets the value of Currencies_Optional and also sets Currencies_IsSet to true.

public inline void SetCurrencies(TArray< FRHAPI_PurchasePriceCurrency > && NewValue)

Sets the value of Currencies_Optional and also sets Currencies_IsSet to true using move semantics.

public inline void ClearCurrencies()

Clears the value of Currencies_Optional and sets Currencies_IsSet to false.

public inline bool IsCurrenciesSet() const

Checks whether Currencies_Optional has been set.