feeCents property
int
feeCents
Implementation
int get feeCents => _getAttribute<int>(kFeeCents, 0);
The fee to process a donation. This should either be 0 or a negative integer. For a donation processed by Giving via Stripe, this is the amount the associated organization paid Stripe to process it. For donations not processed by Stripe, this can be used to record fees from other systems. Note: while amount_cents
is assigned via a donation's designations, fee_cents
is set here, and used by Giving to distribute fees across all designations in proportion to the amount of each designation.
pass null
to remove key from attributes
Implementation
set feeCents(int? x) =>
(x == null) ? _attributes.remove(kFeeCents) : _attributes[kFeeCents] = x;