PaymentItemStatus enum

Copyright 2021 Google LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The payment price statuses supported in the payment selector.

  • final_price determines that the price has been calculated and won't change.
  • pending expects changes to the final price in response to user selection or other circumstances that are not known when first requesting the payment.
  • unknown for any other scenario.
Inheritance

Constructors

PaymentItemStatus()
const

Values

unknown → const PaymentItemStatus
pending → const PaymentItemStatus
final_price → const PaymentItemStatus

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<PaymentItemStatus>
A constant List of the values in this enum, in order of their declaration.