InPersonDonationSettingsResponse class abstract
InPersonDonationSettingsResponse
Properties:
- amounts - The currency and fixed amounts for donations. We automatically add calculated amounts in other currencies for participating stores that use a different currency than the default.
- defaultCurrency - The currency that was used in the request to set fixed donation amounts. Format: three-character ISO currency code.
- displayTextField - The text shown on the payment terminal, asking the shopper for a donation.
- donationFlow - The interaction flow for in-person donations: complete payment for the purchase and the donation in one go, or separately.
- donationType - The type of donation to collect from the shopper. Possible values: - roundup: Round up the transaction amount. - fixedAmounts: Choose a fixed amount. - fixedAmountsRoundup: Round up, or choose a fixed amount.
- merchantAccounts - The merchant accounts for this sales channel that are associated with the donation campaign.
- presentCardTimeoutMs - The time, in milliseconds, that the terminal waits for the shopper to present their card.
- promptTimeoutMs - The time, in milliseconds, that the terminal waits for the shopper to respond to the text asking for a donation.
- storeIds - The Adyen-generated unique identifiers of stores for this sales channel that are associated with the donation campaign.
- Annotations
-
- @BuiltValue.new()
Constructors
- InPersonDonationSettingsResponse([void updates(InPersonDonationSettingsResponseBuilder b)])
-
factory
Properties
-
amounts
→ BuiltList<
DonationAmount> ? -
The currency and fixed amounts for donations. We automatically add calculated amounts in other currencies for participating stores that use a different currency than the default.
no setter
- defaultCurrency → String?
-
The currency that was used in the request to set fixed donation amounts. Format: three-character ISO currency code.
no setter
- displayTextField → DisplayTextField?
-
The text shown on the payment terminal, asking the shopper for a donation.
no setter
- donationFlow → DonationFlow?
-
The interaction flow for in-person donations: complete payment for the purchase and the donation in one go, or separately.
no setter
- donationType → DonationType?
-
The type of donation to collect from the shopper. Possible values: - roundup: Round up the transaction amount. - fixedAmounts: Choose a fixed amount. - fixedAmountsRoundup: Round up, or choose a fixed amount.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
merchantAccounts
→ BuiltList<
String> ? -
The merchant accounts for this sales channel that are associated with the donation campaign.
no setter
- presentCardTimeoutMs → int?
-
The time, in milliseconds, that the terminal waits for the shopper to present their card.
no setter
- promptTimeoutMs → int?
-
The time, in milliseconds, that the terminal waits for the shopper to respond to the text asking for a donation.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storeIds
→ BuiltList<
String> ? -
The Adyen-generated unique identifiers of stores for this sales channel that are associated with the donation campaign.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(InPersonDonationSettingsResponseBuilder)) → InPersonDonationSettingsResponse -
Rebuilds the instance.
inherited
-
toBuilder(
) → InPersonDonationSettingsResponseBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
InPersonDonationSettingsResponse> -
no setter