TransactionInfo class

This object describes a transaction that determines a payer's ability to pay. It's used to present a payment authorization dialog. The following table details the properties of the object.

Constructors

TransactionInfo({String? transactionId, TotalPriceStatus? totalPriceStatus, String? totalPriceLabel, CheckoutOption? checkoutOption})
This object describes a transaction that determines a payer's ability to pay. It's used to present a payment authorization dialog. The following table details the properties of the object.

Properties

checkoutOption CheckoutOption?
Affects the submit button text displayed in the Google Pay payment sheet.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalPriceLabel String?
Custom label for the total price within the display items.
getter/setter pair
totalPriceStatus TotalPriceStatus?
The status of the total price
getter/setter pair
transactionId String?
A unique ID that identifies a transaction attempt. Merchants can use an existing ID or generate a specific one for Google Pay transaction attempts. This field is required when you send callbacks to the Google Transaction Events API.
getter/setter pair

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