PEApplePayContact class

A model class representing a contact associated with Apple Pay.

This class encapsulates details about a contact, such as their name, address, email, and phone number. It also provides methods for serializing and deserializing from JSON.

Constructors

PEApplePayContact({String? givenName, String? familyName, List<String>? addressLines, String? locality, String? administrativeArea, String? postalCode, String? country, String? countryCode, String? subAdministrativeArea, String? subLocality, String? emailAddress, String? phoneNumber})
Creates a new instance of PEApplePayContact.
PEApplePayContact.fromJson(Map<String, dynamic> json)
Creates an instance of PEApplePayContact from a JSON map.
factory

Properties

addressLines List<String>?
The contact's address lines, typically representing street addresses.
final
administrativeArea String?
The state, province, or administrative area of the contact's address.
final
country String?
The full country name of the contact's address.
final
countryCode String?
The ISO country code (e.g., "US" for the United States).
final
emailAddress String?
The contact's email address.
final
familyName String?
The family (last) name of the contact.
final
givenName String?
The given (first) name of the contact.
final
hashCode int
The hash code for this object.
no setterinherited
locality String?
The city or locality of the contact's address.
final
phoneNumber String?
The contact's phone number.
final
postalCode String?
The postal code (ZIP code) of the contact's address.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subAdministrativeArea String?
A more specific administrative area within the main administrative area.
final
subLocality String?
A more specific locality within the main locality.
final

Methods

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

Operators

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