PaymentElementAddressFields class

Annotations
  • @freezed

Constructors

PaymentElementAddressFields({@Default(PaymentElementFieldRequired.auto) PaymentElementFieldRequired line1, @Default(PaymentElementFieldRequired.auto) PaymentElementFieldRequired line2, @Default(PaymentElementFieldRequired.auto) PaymentElementFieldRequired city, @Default(PaymentElementFieldRequired.auto) PaymentElementFieldRequired state, @Default(PaymentElementFieldRequired.auto) PaymentElementFieldRequired country, @Default(PaymentElementFieldRequired.auto) PaymentElementFieldRequired postalCode})
const
factory
PaymentElementAddressFields.fromJson(Map<String, dynamic> json)
factory

Properties

city PaymentElementFieldRequired
no setterinherited
copyWith → $PaymentElementAddressFieldsCopyWith<PaymentElementAddressFields>
no setterinherited
country PaymentElementFieldRequired
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
line1 PaymentElementFieldRequired
no setterinherited
line2 PaymentElementFieldRequired
no setterinherited
postalCode PaymentElementFieldRequired
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state PaymentElementFieldRequired
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

Constants

auto → const PaymentElementAddressFields