Name
@objc(PPCOrderPayerName)
@objcMembers
class Name
extension OrderPayer.Name : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Encodable, Equatable, Hashable, NSObjectProtocol
The name of the payer. Supports only the given_name
and surname
properties.
-
When the party is a person, the party’s given, or first, name. Maximum length: 140.
Declaration
Swift
let givenName: String?
-
Creates a new instance by decoding from the given decoder.
This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
Declaration
Swift
init(from decoder: Decoder) throws
-
Undocumented
Declaration
Swift
init(givenName: String? = nil, surname: String? = nil)
-
When the party is a person, the party’s surname or family name. Also known as the last name. Required when the party is a person. Use also to store multiple surnames including the matronymic, or mother’s, surname. Maximum length: 140.
Declaration
Swift
let surname: String?