Payee

@objc(PPCPurchaseUnitPayee)
@objcMembers
class Payee
extension PurchaseUnit.Payee : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Encodable, Equatable, Hashable, NSObjectProtocol

The merchant who receives payment for this transaction.

  • The email address of merchant

    Declaration

    Swift

    let emailAddress: String?
  • Undocumented

    Declaration

    Swift

    init(emailAddress: String? = nil, merchantId: String? = nil)
  • 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
  • The encrypted PayPal account ID of the merchant.

    Declaration

    Swift

    let merchantId: String?