Donation |
Donation.addValuesItem(Long valuesItem) |
|
Donation |
Donation.currency(String currency) |
The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes/).
|
Donation |
Donation.donationType(String donationType) |
The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).
|
static Donation |
Donation.fromJson(String jsonString) |
Create an instance of Donation given an JSON string
|
Donation |
DonationCampaign.getDonation() |
Get donation
|
Donation |
Donation.maxRoundupAmount(Long maxRoundupAmount) |
The maximum amount a transaction can be rounded up to make a donation.
|
Donation |
Donation.type(String type) |
The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).
|
Donation |
Donation.values(List<Long> values) |
The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units).
|