InPersonDonationSettings class abstract

InPersonDonationSettings

Properties:

  • defaultAmount - The default amount for donations.
  • displayTextField - The text shown on the payment terminal, either the name or the cause of the nonprofit organization.
  • donationFlow - The interaction flow for in-person donations. Possible values: - oneStep: The shopper presents their payment method for the payment and the donation in one go, after the donation. - twoStep: The shopper presents their payment method twice: after the payment and after the donation.
  • 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 - Required if donationFlow is set to twoStep. The time, in milliseconds, that the terminal waits for the shopper to present their card. Defaults to 10000 (10 seconds). Range: 5000 to 15000.
  • promptTimeoutMs - The time, in milliseconds, that the terminal waits for the shopper to make a selection on the donation screen. Defaults to 10000 (10 seconds). Range: 5000 to 15000.
  • storeIds - The Adyen-generated unique identifiers of stores for this sales channel that are associated with the donation campaign.
Annotations
  • @BuiltValue.new()

Constructors

InPersonDonationSettings([void updates(InPersonDonationSettingsBuilder b)])
factory

Properties

defaultAmount → DonationAmount?
The default amount for donations.
no setter
displayTextField → DisplayTextField
The text shown on the payment terminal, either the name or the cause of the nonprofit organization.
no setter
donationFlow → DonationFlow
The interaction flow for in-person donations. Possible values: - oneStep: The shopper presents their payment method for the payment and the donation in one go, after the donation. - twoStep: The shopper presents their payment method twice: after the payment and after the donation.
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?
Required if donationFlow is set to twoStep. The time, in milliseconds, that the terminal waits for the shopper to present their card. Defaults to 10000 (10 seconds). Range: 5000 to 15000.
no setter
promptTimeoutMs → int?
The time, in milliseconds, that the terminal waits for the shopper to make a selection on the donation screen. Defaults to 10000 (10 seconds). Range: 5000 to 15000.
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(InPersonDonationSettingsBuilder)) → InPersonDonationSettings
Rebuilds the instance.
inherited
toBuilder() → InPersonDonationSettingsBuilder
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<InPersonDonationSettings>
no setter