receivedAt property
DateTime
receivedAt
Implementation
DateTime get receivedAt => _getAttribute<DateTime>(kReceivedAt, DateTime(0));
The date and time at which a donation was received. For card and ACH donations processed by Stripe, this is the moment when the donation was created in Giving. For batch donations, this is a customizable value that can be set via the Giving UI or API to any date. This allows for batch donations recieved on a previous day to be dated in the past, as well as for postdated checks to have a date in the future. It is important to ensure that this attribute is set accurately, as this is the date used to filter donations in the Giving admin UI. When creating new donations via the API, this attribute will default to the current date and time. Example: 2000-01-01T12:00:00Z
pass null
to remove key from attributes
Implementation
set receivedAt(DateTime? x) => (x == null)
? _attributes.remove(kReceivedAt)
: _attributes[kReceivedAt] = x.toIso8601String();