Skip to 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 int32 PriceItemId
public int32 Quantity
public int32 Price
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.
public inline const int32 & GetPriceItemId() constGets the value of PriceItemId.
public inline void SetPriceItemId(int32 NewValue)Sets the value of PriceItemId.
public inline bool IsPriceItemIdDefaultValue() constReturns true if PriceItemId matches the default value.
public inline void SetPriceItemIdToDefault()Sets the value of PriceItemId to its default
public inline int32 & GetQuantity()Gets the value of Quantity.
public inline const int32 & GetQuantity() constGets the value of Quantity.
public inline void SetQuantity(int32 NewValue)Sets the value of Quantity.
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.
public inline const int32 & GetPrice() constGets the value of Price.
public inline void SetPrice(int32 NewValue)Sets the value of Price.
public inline bool IsPriceDefaultValue() constReturns true if Price matches the default value.
public inline void SetPriceToDefault()Sets the value of Price to its default

Members

public int32 PriceItemId

public int32 Quantity

public int32 Price

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.

public inline const int32 & GetPriceItemId() const

Gets the value of PriceItemId.

public inline void SetPriceItemId(int32 NewValue)

Sets the value of PriceItemId.

public inline bool IsPriceItemIdDefaultValue() const

Returns true if PriceItemId matches the default value.

public inline void SetPriceItemIdToDefault()

Sets the value of PriceItemId to its default

public inline int32 & GetQuantity()

Gets the value of Quantity.

public inline const int32 & GetQuantity() const

Gets the value of Quantity.

public inline void SetQuantity(int32 NewValue)

Sets the value of Quantity.

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.

public inline const int32 & GetPrice() const

Gets the value of Price.

public inline void SetPrice(int32 NewValue)

Sets the value of Price.

public inline bool IsPriceDefaultValue() const

Returns true if Price matches the default value.

public inline void SetPriceToDefault()

Sets the value of Price to its default