Attributes

public class Attributes : APIModel

Undocumented

  • The amount that this token represents.

    Declaration

    Swift

    public var amount: Double?
  • Undocumented

    Declaration

    Swift

    public var currency: PCPayCurrency?
  • PACE resource name(s) of one or multiple resources, for which the payment was authorized.

    Declaration

    Swift

    public var purposePRNs: [String]?
  • The datetime (iso8601) after which the token is no longer valid. May not be provided.

    Declaration

    Swift

    public var validUntil: DateTime?
  • paymentToken value. Format might change (externally provided - by payment provider)

    Declaration

    Swift

    public var value: String?
  • Undocumented

    Declaration

    Swift

    public init(amount: Double? = nil, currency: PCPayCurrency? = nil, purposePRNs: [String]? = nil, validUntil: DateTime? = nil, value: String? = nil)
  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Undocumented

    Declaration

    Swift

    public func isEqual(to object: Any?) -> Bool
  • Declaration

    Swift

    public static func == (lhs: Attributes, rhs: Attributes) -> Bool