PaymentMethodDomain class final

PaymentMethodDomainResourcePaymentMethodDomain

A payment method domain represents a web domain that you have registered with Stripe. Stripe Elements use registered payment method domains to control where certain payment methods are shown. Related guides: [Payment method domains](https://stripe.com/docs/payments/payment-methods/pmd-registration).

Implemented types

Constructors

PaymentMethodDomain({required PaymentMethodDomainResourcePaymentMethodStatus applePay, required DateTime created, required String domainName, required bool enabled, required PaymentMethodDomainResourcePaymentMethodStatus googlePay, required String id, required PaymentMethodDomainResourcePaymentMethodStatus link, required bool livemode, required PaymentMethodDomainResourcePaymentMethodStatus paypal})
PaymentMethodDomainResourcePaymentMethodDomain
const
PaymentMethodDomain.fromJson(Object? json)
factory

Properties

applePay → PaymentMethodDomainResourcePaymentMethodStatus
final
created → DateTime
final
domainName → String
final
enabled → bool
final
googlePay → PaymentMethodDomainResourcePaymentMethodStatus
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
final
livemode → bool
final
object → String
The resource's type.
final
paypal → PaymentMethodDomainResourcePaymentMethodStatus
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

encode<V>(PaymentMethodDomain instance, Encoder<V> encoder) → V