RHAPI_PricePoint
Summary
Members | Descriptions |
---|---|
struct FRHAPI_PricePoint | A collection of Price Breakpoints (volume pricing). |
struct FRHAPI_PricePoint
struct FRHAPI_PricePoint : public FRHAPI_Model
A collection of Price Breakpoints (volume pricing).
Summary
Members | Descriptions |
---|---|
public TMap< FString, FString > CustomData_Optional | Custom data associated with the resource. |
public bool CustomData_IsSet | true if CustomData_Optional has been set to a value |
public FString Name_Optional | The name of the Price Point. |
public bool Name_IsSet | true if Name_Optional has been set to a value |
public bool StrictFlag_Optional | Forces the quantity to be equal to a quantity on a Price Breakpoint. |
public bool StrictFlag_IsSet | true if StrictFlag_Optional has been set to a value |
public bool CapFlag_Optional | Only allows quantity to be fulfilled up the highest quantity on the Price Breakpoints. |
public bool CapFlag_IsSet | true if CapFlag_Optional has been set to a value |
public TArray< FRHAPI_PriceBreakpoint > CurrentBreakpoints_Optional | Current Price Breakpoints. |
public bool CurrentBreakpoints_IsSet | true if CurrentBreakpoints_Optional has been set to a value |
public TArray< FRHAPI_PriceBreakpoint > PreSaleBreakpoints_Optional | Previous Price Breakpoints. |
public bool PreSaleBreakpoints_IsSet | true if PreSaleBreakpoints_Optional has been set to a value |
public FRHAPI_CacheInfo CacheInfo_Optional | Cache info for the Price Point. |
public bool CacheInfo_IsSet | true if CacheInfo_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) const | Writes the data from this object into the specified JSON Writer stream. |
public inline TMap< FString, FString > & GetCustomData () | Gets the value of CustomData_Optional, regardless of it having been set. |
public inline const TMap< FString, FString > & GetCustomData () const | Gets the value of CustomData_Optional, regardless of it having been set. |
public inline const TMap< FString, FString > & GetCustomData (const TMap< FString, FString > & DefaultValue) const | Gets the value of CustomData_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetCustomData (TMap< FString, FString > & OutValue) const | Fills OutValue with the value of CustomData_Optional and returns true if it has been set, otherwise returns false. |
public inline TMap< FString, FString > * GetCustomDataOrNull () | Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr. |
public inline const TMap< FString, FString > * GetCustomDataOrNull () const | Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetCustomData (TMap< FString, FString > NewValue) | Sets the value of CustomData_Optional and also sets CustomData_IsSet to true. |
public inline void ClearCustomData () | Clears the value of CustomData_Optional and sets CustomData_IsSet to false. |
public inline FString & GetName () | Gets the value of Name_Optional, regardless of it having been set. |
public inline const FString & GetName () const | Gets the value of Name_Optional, regardless of it having been set. |
public inline const FString & GetName (const FString & DefaultValue) const | Gets the value of Name_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetName (FString & OutValue) const | Fills OutValue with the value of Name_Optional and returns true if it has been set, otherwise returns false. |
public inline FString * GetNameOrNull () | Returns a pointer to Name_Optional, if it has been set, otherwise returns nullptr. |
public inline const FString * GetNameOrNull () const | Returns a pointer to Name_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetName (FString NewValue) | Sets the value of Name_Optional and also sets Name_IsSet to true. |
public inline void ClearName () | Clears the value of Name_Optional and sets Name_IsSet to false. |
public inline bool & GetStrictFlag () | Gets the value of StrictFlag_Optional, regardless of it having been set. |
public inline const bool & GetStrictFlag () const | Gets the value of StrictFlag_Optional, regardless of it having been set. |
public inline const bool & GetStrictFlag (const bool & DefaultValue) const | Gets the value of StrictFlag_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetStrictFlag (bool & OutValue) const | Fills OutValue with the value of StrictFlag_Optional and returns true if it has been set, otherwise returns false. |
public inline bool * GetStrictFlagOrNull () | Returns a pointer to StrictFlag_Optional, if it has been set, otherwise returns nullptr. |
public inline const bool * GetStrictFlagOrNull () const | Returns a pointer to StrictFlag_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetStrictFlag (bool NewValue) | Sets the value of StrictFlag_Optional and also sets StrictFlag_IsSet to true. |
public inline void ClearStrictFlag () | Clears the value of StrictFlag_Optional and sets StrictFlag_IsSet to false. |
public inline bool IsStrictFlagDefaultValue () const | Returns true if StrictFlag_Optional is set and matches the default value. |
public inline void SetStrictFlagToDefault () | Sets the value of StrictFlag_Optional to its default and also sets StrictFlag_IsSet to true. |
public inline bool & GetCapFlag () | Gets the value of CapFlag_Optional, regardless of it having been set. |
public inline const bool & GetCapFlag () const | Gets the value of CapFlag_Optional, regardless of it having been set. |
public inline const bool & GetCapFlag (const bool & DefaultValue) const | Gets the value of CapFlag_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetCapFlag (bool & OutValue) const | Fills OutValue with the value of CapFlag_Optional and returns true if it has been set, otherwise returns false. |
public inline bool * GetCapFlagOrNull () | Returns a pointer to CapFlag_Optional, if it has been set, otherwise returns nullptr. |
public inline const bool * GetCapFlagOrNull () const | Returns a pointer to CapFlag_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetCapFlag (bool NewValue) | Sets the value of CapFlag_Optional and also sets CapFlag_IsSet to true. |
public inline void ClearCapFlag () | Clears the value of CapFlag_Optional and sets CapFlag_IsSet to false. |
public inline bool IsCapFlagDefaultValue () const | Returns true if CapFlag_Optional is set and matches the default value. |
public inline void SetCapFlagToDefault () | Sets the value of CapFlag_Optional to its default and also sets CapFlag_IsSet to true. |
public inline TArray< FRHAPI_PriceBreakpoint > & GetCurrentBreakpoints () | Gets the value of CurrentBreakpoints_Optional, regardless of it having been set. |
public inline const TArray< FRHAPI_PriceBreakpoint > & GetCurrentBreakpoints () const | Gets the value of CurrentBreakpoints_Optional, regardless of it having been set. |
public inline const TArray< FRHAPI_PriceBreakpoint > & GetCurrentBreakpoints (const TArray< FRHAPI_PriceBreakpoint > & DefaultValue) const | Gets the value of CurrentBreakpoints_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetCurrentBreakpoints (TArray< FRHAPI_PriceBreakpoint > & OutValue) const | Fills OutValue with the value of CurrentBreakpoints_Optional and returns true if it has been set, otherwise returns false. |
public inline TArray< FRHAPI_PriceBreakpoint > * GetCurrentBreakpointsOrNull () | Returns a pointer to CurrentBreakpoints_Optional, if it has been set, otherwise returns nullptr. |
public inline const TArray< FRHAPI_PriceBreakpoint > * GetCurrentBreakpointsOrNull () const | Returns a pointer to CurrentBreakpoints_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetCurrentBreakpoints (TArray< FRHAPI_PriceBreakpoint > NewValue) | Sets the value of CurrentBreakpoints_Optional and also sets CurrentBreakpoints_IsSet to true. |
public inline void ClearCurrentBreakpoints () | Clears the value of CurrentBreakpoints_Optional and sets CurrentBreakpoints_IsSet to false. |
public inline TArray< FRHAPI_PriceBreakpoint > & GetPreSaleBreakpoints () | Gets the value of PreSaleBreakpoints_Optional, regardless of it having been set. |
public inline const TArray< FRHAPI_PriceBreakpoint > & GetPreSaleBreakpoints () const | Gets the value of PreSaleBreakpoints_Optional, regardless of it having been set. |
public inline const TArray< FRHAPI_PriceBreakpoint > & GetPreSaleBreakpoints (const TArray< FRHAPI_PriceBreakpoint > & DefaultValue) const | Gets the value of PreSaleBreakpoints_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetPreSaleBreakpoints (TArray< FRHAPI_PriceBreakpoint > & OutValue) const | Fills OutValue with the value of PreSaleBreakpoints_Optional and returns true if it has been set, otherwise returns false. |
public inline TArray< FRHAPI_PriceBreakpoint > * GetPreSaleBreakpointsOrNull () | Returns a pointer to PreSaleBreakpoints_Optional, if it has been set, otherwise returns nullptr. |
public inline const TArray< FRHAPI_PriceBreakpoint > * GetPreSaleBreakpointsOrNull () const | Returns a pointer to PreSaleBreakpoints_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetPreSaleBreakpoints (TArray< FRHAPI_PriceBreakpoint > NewValue) | Sets the value of PreSaleBreakpoints_Optional and also sets PreSaleBreakpoints_IsSet to true. |
public inline void ClearPreSaleBreakpoints () | Clears the value of PreSaleBreakpoints_Optional and sets PreSaleBreakpoints_IsSet to false. |
public inline FRHAPI_CacheInfo & GetCacheInfo () | Gets the value of CacheInfo_Optional, regardless of it having been set. |
public inline const FRHAPI_CacheInfo & GetCacheInfo () const | Gets the value of CacheInfo_Optional, regardless of it having been set. |
public inline const FRHAPI_CacheInfo & GetCacheInfo (const FRHAPI_CacheInfo & DefaultValue) const | Gets the value of CacheInfo_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetCacheInfo ( FRHAPI_CacheInfo & OutValue) const | Fills OutValue with the value of CacheInfo_Optional and returns true if it has been set, otherwise returns false. |
public inline FRHAPI_CacheInfo * GetCacheInfoOrNull () | Returns a pointer to CacheInfo_Optional, if it has been set, otherwise returns nullptr. |
public inline const FRHAPI_CacheInfo * GetCacheInfoOrNull () const | Returns a pointer to CacheInfo_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetCacheInfo ( FRHAPI_CacheInfo NewValue) | Sets the value of CacheInfo_Optional and also sets CacheInfo_IsSet to true. |
public inline void ClearCacheInfo () | Clears the value of CacheInfo_Optional and sets CacheInfo_IsSet to false. |
Members
public TMap< FString, FString >
CustomData_Optional
Custom data associated with the resource.
public bool
CustomData_IsSet
true if CustomData_Optional has been set to a value
public FString
Name_Optional
The name of the Price Point.
public bool
Name_IsSet
true if Name_Optional has been set to a value
public bool
StrictFlag_Optional
Forces the quantity to be equal to a quantity on a Price Breakpoint.
public bool
StrictFlag_IsSet
true if StrictFlag_Optional has been set to a value
public bool
CapFlag_Optional
Only allows quantity to be fulfilled up the highest quantity on the Price Breakpoints.
public bool
CapFlag_IsSet
true if CapFlag_Optional has been set to a value
public TArray<
FRHAPI_PriceBreakpoint
>
CurrentBreakpoints_Optional
Current Price Breakpoints.
public bool
CurrentBreakpoints_IsSet
true if CurrentBreakpoints_Optional has been set to a value
public TArray<
FRHAPI_PriceBreakpoint
>
PreSaleBreakpoints_Optional
Previous Price Breakpoints.
public bool
PreSaleBreakpoints_IsSet
true if PreSaleBreakpoints_Optional has been set to a value
public
FRHAPI_CacheInfo
CacheInfo_Optional
Cache info for the Price Point.
public bool
CacheInfo_IsSet
true if CacheInfo_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 TMap< FString, FString > &
GetCustomData
()
Gets the value of CustomData_Optional, regardless of it having been set.
public inline const TMap< FString, FString > &
GetCustomData
() const
Gets the value of CustomData_Optional, regardless of it having been set.
public inline const TMap< FString, FString > &
GetCustomData
(const TMap< FString, FString > & DefaultValue) const
Gets the value of CustomData_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetCustomData
(TMap< FString, FString > & OutValue) const
Fills OutValue with the value of CustomData_Optional and returns true if it has been set, otherwise returns false.
public inline TMap< FString, FString > *
GetCustomDataOrNull
()
Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr.
public inline const TMap< FString, FString > *
GetCustomDataOrNull
() const
Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetCustomData
(TMap< FString, FString > NewValue)
Sets the value of CustomData_Optional and also sets CustomData_IsSet to true.
public inline void
ClearCustomData
()
Clears the value of CustomData_Optional and sets CustomData_IsSet to false.
public inline FString &
GetName
()
Gets the value of Name_Optional, regardless of it having been set.
public inline const FString &
GetName
() const
Gets the value of Name_Optional, regardless of it having been set.
public inline const FString &
GetName
(const FString & DefaultValue) const
Gets the value of Name_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetName
(FString & OutValue) const
Fills OutValue with the value of Name_Optional and returns true if it has been set, otherwise returns false.
public inline FString *
GetNameOrNull
()
Returns a pointer to Name_Optional, if it has been set, otherwise returns nullptr.
public inline const FString *
GetNameOrNull
() const
Returns a pointer to Name_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetName
(FString NewValue)
Sets the value of Name_Optional and also sets Name_IsSet to true.
public inline void
ClearName
()
Clears the value of Name_Optional and sets Name_IsSet to false.
public inline bool &
GetStrictFlag
()
Gets the value of StrictFlag_Optional, regardless of it having been set.
public inline const bool &
GetStrictFlag
() const
Gets the value of StrictFlag_Optional, regardless of it having been set.
public inline const bool &
GetStrictFlag
(const bool & DefaultValue) const
Gets the value of StrictFlag_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetStrictFlag
(bool & OutValue) const
Fills OutValue with the value of StrictFlag_Optional and returns true if it has been set, otherwise returns false.
public inline bool *
GetStrictFlagOrNull
()
Returns a pointer to StrictFlag_Optional, if it has been set, otherwise returns nullptr.
public inline const bool *
GetStrictFlagOrNull
() const
Returns a pointer to StrictFlag_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetStrictFlag
(bool NewValue)
Sets the value of StrictFlag_Optional and also sets StrictFlag_IsSet to true.
public inline void
ClearStrictFlag
()
Clears the value of StrictFlag_Optional and sets StrictFlag_IsSet to false.
public inline bool
IsStrictFlagDefaultValue
() const
Returns true if StrictFlag_Optional is set and matches the default value.
public inline void
SetStrictFlagToDefault
()
Sets the value of StrictFlag_Optional to its default and also sets StrictFlag_IsSet to true.
public inline bool &
GetCapFlag
()
Gets the value of CapFlag_Optional, regardless of it having been set.
public inline const bool &
GetCapFlag
() const
Gets the value of CapFlag_Optional, regardless of it having been set.
public inline const bool &
GetCapFlag
(const bool & DefaultValue) const
Gets the value of CapFlag_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetCapFlag
(bool & OutValue) const
Fills OutValue with the value of CapFlag_Optional and returns true if it has been set, otherwise returns false.
public inline bool *
GetCapFlagOrNull
()
Returns a pointer to CapFlag_Optional, if it has been set, otherwise returns nullptr.
public inline const bool *
GetCapFlagOrNull
() const
Returns a pointer to CapFlag_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetCapFlag
(bool NewValue)
Sets the value of CapFlag_Optional and also sets CapFlag_IsSet to true.
public inline void
ClearCapFlag
()
Clears the value of CapFlag_Optional and sets CapFlag_IsSet to false.
public inline bool
IsCapFlagDefaultValue
() const
Returns true if CapFlag_Optional is set and matches the default value.
public inline void
SetCapFlagToDefault
()
Sets the value of CapFlag_Optional to its default and also sets CapFlag_IsSet to true.
public inline TArray<
FRHAPI_PriceBreakpoint
> &
GetCurrentBreakpoints
()
Gets the value of CurrentBreakpoints_Optional, regardless of it having been set.
public inline const TArray<
FRHAPI_PriceBreakpoint
> &
GetCurrentBreakpoints
() const
Gets the value of CurrentBreakpoints_Optional, regardless of it having been set.
public inline const TArray<
FRHAPI_PriceBreakpoint
> &
GetCurrentBreakpoints
(const TArray<
FRHAPI_PriceBreakpoint
> & DefaultValue) const
Gets the value of CurrentBreakpoints_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetCurrentBreakpoints
(TArray<
FRHAPI_PriceBreakpoint
> & OutValue) const
Fills OutValue with the value of CurrentBreakpoints_Optional and returns true if it has been set, otherwise returns false.
public inline TArray<
FRHAPI_PriceBreakpoint
> *
GetCurrentBreakpointsOrNull
()
Returns a pointer to CurrentBreakpoints_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray<
FRHAPI_PriceBreakpoint
> *
GetCurrentBreakpointsOrNull
() const
Returns a pointer to CurrentBreakpoints_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetCurrentBreakpoints
(TArray<
FRHAPI_PriceBreakpoint
> NewValue)
Sets the value of CurrentBreakpoints_Optional and also sets CurrentBreakpoints_IsSet to true.
public inline void
ClearCurrentBreakpoints
()
Clears the value of CurrentBreakpoints_Optional and sets CurrentBreakpoints_IsSet to false.
public inline TArray<
FRHAPI_PriceBreakpoint
> &
GetPreSaleBreakpoints
()
Gets the value of PreSaleBreakpoints_Optional, regardless of it having been set.
public inline const TArray<
FRHAPI_PriceBreakpoint
> &
GetPreSaleBreakpoints
() const
Gets the value of PreSaleBreakpoints_Optional, regardless of it having been set.
public inline const TArray<
FRHAPI_PriceBreakpoint
> &
GetPreSaleBreakpoints
(const TArray<
FRHAPI_PriceBreakpoint
> & DefaultValue) const
Gets the value of PreSaleBreakpoints_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetPreSaleBreakpoints
(TArray<
FRHAPI_PriceBreakpoint
> & OutValue) const
Fills OutValue with the value of PreSaleBreakpoints_Optional and returns true if it has been set, otherwise returns false.
public inline TArray<
FRHAPI_PriceBreakpoint
> *
GetPreSaleBreakpointsOrNull
()
Returns a pointer to PreSaleBreakpoints_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray<
FRHAPI_PriceBreakpoint
> *
GetPreSaleBreakpointsOrNull
() const
Returns a pointer to PreSaleBreakpoints_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetPreSaleBreakpoints
(TArray<
FRHAPI_PriceBreakpoint
> NewValue)
Sets the value of PreSaleBreakpoints_Optional and also sets PreSaleBreakpoints_IsSet to true.
public inline void
ClearPreSaleBreakpoints
()
Clears the value of PreSaleBreakpoints_Optional and sets PreSaleBreakpoints_IsSet to false.
public inline
FRHAPI_CacheInfo
&
GetCacheInfo
()
Gets the value of CacheInfo_Optional, regardless of it having been set.
public inline const
FRHAPI_CacheInfo
&
GetCacheInfo
() const
Gets the value of CacheInfo_Optional, regardless of it having been set.
public inline const
FRHAPI_CacheInfo
&
GetCacheInfo
(const
FRHAPI_CacheInfo
& DefaultValue) const
Gets the value of CacheInfo_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool
GetCacheInfo
(
FRHAPI_CacheInfo
& OutValue) const
Fills OutValue with the value of CacheInfo_Optional and returns true if it has been set, otherwise returns false.
public inline
FRHAPI_CacheInfo
*
GetCacheInfoOrNull
()
Returns a pointer to CacheInfo_Optional, if it has been set, otherwise returns nullptr.
public inline const
FRHAPI_CacheInfo
*
GetCacheInfoOrNull
() const
Returns a pointer to CacheInfo_Optional, if it has been set, otherwise returns nullptr.
public inline void
SetCacheInfo
(
FRHAPI_CacheInfo
NewValue)
Sets the value of CacheInfo_Optional and also sets CacheInfo_IsSet to true.
public inline void
ClearCacheInfo
()
Clears the value of CacheInfo_Optional and sets CacheInfo_IsSet to false.