PlatformPayPaymentMethod class

Result object when creating a payment method through apple pay or google pay.

Annotations
  • @freezed

Constructors

PlatformPayPaymentMethod({required PaymentMethod paymentMethod, PlatformPayShippingContact? shippingContact})
const
factory
PlatformPayPaymentMethod.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $PlatformPayPaymentMethodCopyWith<PlatformPayPaymentMethod>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
paymentMethod PaymentMethod
The payment method
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingContact PlatformPayShippingContact?
shipping contact of the user
no setterinherited

Methods

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

Operators

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