Phone

public struct Phone : Encodable

Buyer’s phone number details for use with the Shopper Insights feature.

Warning

This feature is in beta. It’s public API may change or be removed in future releases.
  • Initialize a BTShopperInsightsRequest.Phone.

    Warning

    This feature is in beta. It’s public API may change or be removed in future releases.

    Declaration

    Swift

    public init(countryCode: String, nationalNumber: String)

    Parameters

    countryCode

    The buyer’s country code prefix to the national telephone number. An identifier for a specific country. Must not contain special characters.

    nationalNumber

    The buyer’s national phone number. Must not contain special characters.