The Endurance_Pledge
object contains information related to a Neon Fundraise endurance pledge.
Availability: The Endurance_Pledge
object is available in all automated emails related to endurance pledges and in the "Post Endurance Pledge Form" social shares.
Attributes: The Endurance_Pledge
object has the following attributes:
- Endurance_Pledge.Donor_Display_Name
-
Endurance_Pledge.Amount_Per_Metric
-
Endurance_Pledge.Pledge_To (list of Goal objects)
-
Endurance_Pledge.Pledge_For (Endurance_Challenge object)
-
Endurance_Pledge.Start_Date
-
Endurance_Pledge.End_Date
- Endurance_Pledge.Ends_At_Challenge_End
-
Endurance_Pledge.Maximum_Amount
-
Endurance_Pledge.Donate_Remainder
-
Endurance_Pledge.Total_Pledge_Amount
-
Endurance_Pledge.Payment_Option
Endurance_Pledge.Donor_Display_Name
Returns the display name of the donor — display name if provided, otherwise the donor's actual name. The donor determines whether the donor's actual name or a different given display name should be displayed when they submit their pledge.
Endurance_Pledge.Amount_Per_Metric
Returns the amount of the pledge per unit of activity completed. Use a money filter to return the value in a monetary format:
You are pledging to donate {{ Endurance_Pledge.Amount_Per_Metric | money }}
per mile.
You are pledging to donate $10 per mile.
Endurance_Pledge.Pledge_To
Returns a list of goal IDs toward which the pledge should apply. This can be the campaign, a team page, or a personal fundraising page. Use with array filters map and list when using in a sentence to list out campaign, team, and fundraiser names in a readable list. If pledging toward a campaign or single team, only the campaign name or single team's name is listed (not each fundraiser within the campaign or team).
You are pledging to donate $10 per mile to {{ Endurance_Pledge.Pledge_To | map: "Name" | list }}
.
You are pledging to donate $10 per mile to John Doe, Jane Pickford, and Molly Stafford.
Endurance_Pledge.Pledge_For
Returns an Endurance_Challenge to which the pledge should apply. Use this to provide more context for the endurance pledge.
You are pledging to donate $10 per {{ Endurance_Pledge.Pledge_For.Metric }}
for the {{ Endurance_Pledge.Pledge_For.Name }}
challenge!
You are pledging to donate $10 per mile for the Walkathon challenge!
Endurance_Pledge.Start_Date
Returns the pledge start date. Use a date filter to return the value in a recognized format:
{{ Endurance_Pledge.Start_Date | date: "%B %d, %Y, %I:%M %p" }}
January 1, 2022, 08:16 PM
Endurance_Pledge.End_Date
Returns the pledge end date. Use a date filter to return the value in a recognized format:
{{ Endurance_Pledge.End_Date | date: "%B %d, %Y, %I:%M %p" }}
January 1, 2022, 08:16 PM
Endurance_Pledge.Ends_At_Challenge_End
Returns true if the endurance pledge is set to end when the challenge ends. This can be used in lieu of an explicit end date. Use an if tag to display desired content.
Endurance_Pledge.Maximum_Amount
Returns the maximum amount to donate, as set by the donor. Use a money filter to return the value in a monetary format:
{{ Endurance_Pledge.Maximum_Amount | money }}
$1,000
Endurance_Pledge.Donate_Remainder
Returns true if the donor chose to donate any potential difference between the actual pledge amount and the maximum pledge amount. Use an if tag to display desired content.
Endurance_Pledge.Total_Pledge_Amount
Returns the total pledge amount. Use a money filter to return the value in a monetary format:
You have pledged {{ Endurance_Pledge.Total_Pledge_Amount | money }}
in total.
You have pledged $100 in total.
Endurance_Pledge.Payment_Options
Returns the payment option selected by the donor or administrator. Options are:
- Charge at end
- Offline