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

  • AmountCents

    public:
    int64 AmountCents;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreaonAPIClient|User Info

    Amount (in the currency with which the user paid) of the underlying event
  • CurrencyCode

    public:
    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)
  • Date

    public:
    FDateTime Date;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreaonAPIClient|User Info

    The timestamp at which the event occurred
  • PaymentStatus

    public:
    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` - ``
  • PledgePaymentStatus

    public:
    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` - ``
  • TierId

    public:
    FString TierId;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreaonAPIClient|User Info

    ID of the tier associated with this pledge. May be empty.
  • TierTitle

    public:
    FString TierTitle;
    

    Reflection-enabled

    Specifiers:

    • EditAnywhere
    • BlueprintReadWrite
    • Category = NBPatreaonAPIClient|User Info

    Title of the tier associated with this pledge. May be empty.
  • Type

    public:
    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


Methods

  • IsPaid

    //  PatreonPledgeEvent.h : 33
    
    public:
    bool IsPaid() const;
    

    Checks if payment for this event is valid (not failed, declined, etc).


    Returns

    • bool
      
  • operator <

    //  PatreonPledgeEvent.h : 35
    
    public:
    bool operator <(
        const FPatreonPledgeEvent& other
    ) const;
    

    Arguments

    • other

      const FPatreonPledgeEvent& other
      

    Returns

    • bool
      






For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com