PlatformPayShippingContact constructor

  1. @JsonSerializable(explicitToJson: true)
const PlatformPayShippingContact({
  1. String? emailAddress,
  2. required ApplePayContactName name,
  3. required ApplePayPostalAddress postalAddress,
  4. String? phoneNumber,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PlatformPayShippingContact({
  /// Email address of the shipping contact
  String? emailAddress,

  /// Name of shipping contact
  required ApplePayContactName name,

  /// Postal address of shipping contact
  required ApplePayPostalAddress postalAddress,

  ///Phone Number of the shipping contact
  String? phoneNumber,
}) = _PlatformPayShippingContact;