CommercePurchaseRequest class final

Requests a purchase of one logical offer.

The commerce authority resolves offerId to the exact purchasable configuration; the request never names provider products, and device input cannot widen what the authority resolved. Selection among multiple purchasable alternatives under one offer is reserved for future optional parameters.

Inheritance

Constructors

CommercePurchaseRequest(CommerceOfferId offerId)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
offerId CommerceOfferId
final
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.
override