Struct: FPatreonPledgeEvent
// PatreonPledgeEvent.h : 14
struct NBPATREONAPICLIENT_API FPatreonPledgeEvent;
Reflection-enabled
Specifiers:
- BlueprintType
Contains information about when a user changed their pledge status.
See: https://docs.patreon.com/#pledge-event
Properties
-
AmountCentspublic: int64 AmountCents;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreaonAPIClient|User Info
Amount (in the currency with which the user paid) of the underlying event -
CurrencyCodepublic: FString CurrencyCode;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreaonAPIClient|User Info
ISO code of the currency of the event (may not be the same currency as your campaign) -
Datepublic: FDateTime Date;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreaonAPIClient|User Info
The timestamp at which the event occurred -
PaymentStatuspublic: FString PaymentStatus;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreaonAPIClient|User Info
Status of underlying payment. One of: - `Paid` - `Declined` - `Deleted` - `Pending` - `Refunded` - `Fraud` - `Refunded by Patreon` - `Other` - `Partially Refunded` - `Free Trial` - ` ` -
PledgePaymentStatuspublic: FString PledgePaymentStatus;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreaonAPIClient|User Info
The payment status of the pledge. One of: - `queued` - `pending` - `valid` - `declined` - `fraud` - `disabled` - ` ` -
TierIdpublic: FString TierId;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreaonAPIClient|User Info
ID of the tier associated with this pledge. May be empty. -
TierTitlepublic: FString TierTitle;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreaonAPIClient|User Info
Title of the tier associated with this pledge. May be empty. -
Typepublic: FString Type;
Reflection-enabled
Specifiers:
- EditAnywhere
- BlueprintReadWrite
- Category = NBPatreaonAPIClient|User Info
Event type. One of: - `pledge_start` - `pledge_upgrade` - `pledge_downgrade` - `pledge_delete` - `subscription`
Constructors
-
FPatreonPledgeEvent// PatreonPledgeEvent.h : 19 public: FPatreonPledgeEvent(); -
FPatreonPledgeEvent// PatreonPledgeEvent.h : 28 public: FPatreonPledgeEvent( const TSharedPtr<FJsonObject> pledgeEventEntry );Construct FPatreonPledgeEvent from a JSON string. Populates any fields it can find in the provided JSON. If the provided JSON string cannot be parsed for any reason, the result will be uninitialized.
Arguments
-
pledgeEventEntryconst TSharedPtr<FJsonObject> pledgeEventEntry
-
Methods
-
IsPaid// PatreonPledgeEvent.h : 33 public: bool IsPaid() const; -
operator <// PatreonPledgeEvent.h : 35 public: bool operator <( const FPatreonPledgeEvent& other ) const;
For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com