-
Intialize a
BTPayPalPhoneNumberDeclaration
Swift
public init(countryCode: String, nationalNumber: String)Parameters
countryCodeThe international country code for the shopper’s phone number (must be 1 to 3 digits, no symbols or spaces allowed; e.g., “1” for the United States).
nationalNumberThe national segment of the shopper’s phone number (must be 4 to 12 digits, no symbols or spaces allowed; excludes the country code).
-
Declaration
Swift
public func encode(to encoder: any Encoder) throws
View on GitHub