Skip to main content

RHAPI_PriceBreakpoint

Summary

MembersDescriptions
struct FRHAPI_PriceBreakpointPrice based on quantity and the Item ID of the currency used.

struct FRHAPI_PriceBreakpoint

struct FRHAPI_PriceBreakpoint
: public FRHAPI_Model

Price based on quantity and the Item ID of the currency used.

Summary

MembersDescriptions
public FGuid PriceItemUuid_OptionalThe Item used as the currency for the purchase.
public bool PriceItemUuid_IsSettrue if PriceItemUuid_Optional has been set to a value
public int32 PriceItemId_OptionalDeprecated. Use the currencies field instead.
public bool PriceItemId_IsSettrue if PriceItemId_Optional has been set to a value
public int32 Quantity
public int32 Price_OptionalDeprecated. Use the currencies field instead.
public bool Price_IsSettrue if Price_Optional has been set to a value
public TArray< FRHAPI_PriceBreakPointCurrency>Currencies_OptionalList of currencies for this break point.
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 FGuid & GetPriceItemUuid()Gets the value of PriceItemUuid_Optional, regardless of it having been set.
public inline const FGuid & GetPriceItemUuid() constGets the value of PriceItemUuid_Optional, regardless of it having been set.
public inline const FGuid & GetPriceItemUuid(const FGuid & DefaultValue) constGets the value of PriceItemUuid_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetPriceItemUuid(FGuid & OutValue) constFills OutValue with the value of PriceItemUuid_Optional and returns true if it has been set, otherwise returns false.
public inline FGuid * GetPriceItemUuidOrNull()Returns a pointer to PriceItemUuid_Optional, if it has been set, otherwise returns nullptr.
public inline const FGuid * GetPriceItemUuidOrNull() constReturns a pointer to PriceItemUuid_Optional, if it has been set, otherwise returns nullptr.
public inline void SetPriceItemUuid(const FGuid & NewValue)Sets the value of PriceItemUuid_Optional and also sets PriceItemUuid_IsSet to true.
public inline void SetPriceItemUuid(FGuid && NewValue)Sets the value of PriceItemUuid_Optional and also sets PriceItemUuid_IsSet to true using move semantics.
public inline void ClearPriceItemUuid()Clears the value of PriceItemUuid_Optional and sets PriceItemUuid_IsSet to false.
public inline bool IsPriceItemUuidSet() constChecks whether PriceItemUuid_Optional has been set.
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 & GetQuantity()Gets the value of Quantity.
public inline const int32 & GetQuantity() constGets the value of Quantity.
public inline void SetQuantity(const int32 & NewValue)Sets the value of Quantity.
public inline void SetQuantity(int32 && NewValue)Sets the value of Quantity using move semantics.
public inline bool IsQuantityDefaultValue() constReturns true if Quantity matches the default value.
public inline void SetQuantityToDefault()Sets the value of Quantity to its default
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 TArray< FRHAPI_PriceBreakPointCurrency> &GetCurrencies()Gets the value of Currencies_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_PriceBreakPointCurrency> &GetCurrencies() constGets the value of Currencies_Optional, regardless of it having been set.
public inline const TArray< FRHAPI_PriceBreakPointCurrency> &GetCurrencies(const TArray< FRHAPI_PriceBreakPointCurrency > & DefaultValue) constGets the value of Currencies_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetCurrencies(TArray< FRHAPI_PriceBreakPointCurrency > & OutValue) constFills OutValue with the value of Currencies_Optional and returns true if it has been set, otherwise returns false.
public inline TArray< FRHAPI_PriceBreakPointCurrency> *GetCurrenciesOrNull()Returns a pointer to Currencies_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray< FRHAPI_PriceBreakPointCurrency> *GetCurrenciesOrNull() constReturns a pointer to Currencies_Optional, if it has been set, otherwise returns nullptr.
public inline void SetCurrencies(const TArray< FRHAPI_PriceBreakPointCurrency > & NewValue)Sets the value of Currencies_Optional and also sets Currencies_IsSet to true.
public inline void SetCurrencies(TArray< FRHAPI_PriceBreakPointCurrency > && 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 FGuid PriceItemUuid_Optional

The Item used as the currency for the purchase.

public bool PriceItemUuid_IsSet

true if PriceItemUuid_Optional has been set to a value

public int32 PriceItemId_Optional

Deprecated. Use the currencies field instead.

public bool PriceItemId_IsSet

true if PriceItemId_Optional has been set to a value

public int32 Quantity

public int32 Price_Optional

Deprecated. Use the currencies field instead.

public bool Price_IsSet

true if Price_Optional has been set to a value

public TArray< FRHAPI_PriceBreakPointCurrency>Currencies_Optional

List of currencies for this break point.

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 FGuid & GetPriceItemUuid()

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

public inline const FGuid & GetPriceItemUuid() const

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

public inline const FGuid & GetPriceItemUuid(const FGuid & DefaultValue) const

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

public inline bool GetPriceItemUuid(FGuid & OutValue) const

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

public inline FGuid * GetPriceItemUuidOrNull()

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

public inline const FGuid * GetPriceItemUuidOrNull() const

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

public inline void SetPriceItemUuid(const FGuid & NewValue)

Sets the value of PriceItemUuid_Optional and also sets PriceItemUuid_IsSet to true.

public inline void SetPriceItemUuid(FGuid && NewValue)

Sets the value of PriceItemUuid_Optional and also sets PriceItemUuid_IsSet to true using move semantics.

public inline void ClearPriceItemUuid()

Clears the value of PriceItemUuid_Optional and sets PriceItemUuid_IsSet to false.

public inline bool IsPriceItemUuidSet() const

Checks whether PriceItemUuid_Optional has been set.

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 & GetQuantity()

Gets the value of Quantity.

public inline const int32 & GetQuantity() const

Gets the value of Quantity.

public inline void SetQuantity(const int32 & NewValue)

Sets the value of Quantity.

public inline void SetQuantity(int32 && NewValue)

Sets the value of Quantity using move semantics.

public inline bool IsQuantityDefaultValue() const

Returns true if Quantity matches the default value.

public inline void SetQuantityToDefault()

Sets the value of Quantity to its default

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 TArray< FRHAPI_PriceBreakPointCurrency> &GetCurrencies()

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

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

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

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

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

public inline bool GetCurrencies(TArray< FRHAPI_PriceBreakPointCurrency > & 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_PriceBreakPointCurrency> *GetCurrenciesOrNull()

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

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

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

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

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

public inline void SetCurrencies(TArray< FRHAPI_PriceBreakPointCurrency > && 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.