OrderRequestIntent enum

The intent to either capture payment immediately or authorize a payment for an order after order creation.

Inheritance

Constructors

OrderRequestIntent()
const

Values

capture → const OrderRequestIntent

The merchant intends to capture payment immediately after the customer makes a payment.

authorize → const OrderRequestIntent

The merchant intends to authorize a payment and place funds on hold after the customer makes a payment. Authorized payments are best captured within three days of authorization but are available to capture for up to 29 days. After the three-day honor period, the original authorized payment expires and you must re-authorize the payment. You must make a separate request to capture payments on demand. This intent is not supported when you have more than one purchase_unit within your order.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<OrderRequestIntent>
A constant List of the values in this enum, in order of their declaration.