OrderMerchant class

The merchant associated with the order.

Annotations
  • @JsonSerializable()

Constructors

OrderMerchant.new({required OrderAddress? address, required Uri? businessChatURL, required Uri? contactURL, required String displayName, required String? emailAddress, required String merchantIdentifier, required String? phoneNumber, required Uri url})
OrderMerchant.fromJson(Map<String, dynamic> json)
Creates an instance of this class from a JSON object
factory

Properties

address OrderAddress?
The contact address of the merchant.
final
businessChatURL Uri?
An Apple Messages for Business URL the customer uses to contact the merchant. For more information, see Starting a Message from a URL.
final
contactURL Uri?
The URL where the customer can contact the merchant.
final
displayName String
The localized display name of the merchant.
final
emailAddress String?
The email address where the customer can contact the merchant.
final
hashCode int
The hash code for this object.
no setterinherited
The name for an image representing the merchant’s logo.
final
merchantIdentifier String
The Apple Merchant Identifier for this merchant, generated atdeveloper.apple.com.
final
phoneNumber String?
The telephone number where the customer can contact the merchant.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url Uri
The URL for the merchant’s website or landing page.
final

Methods

copyWith({OrderAddress? address, Uri? businessChatURL, Uri? contactURL, String? displayName, String? emailAddress, String? merchantIdentifier, String? phoneNumber, Uri? url}) OrderMerchant
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this instance to a JSON object
toString() String
A string representation of this object.
inherited

Operators

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