PaymentToken class abstract

Surrogate of the PAN (Primary Account Number) of the payment card to identify the payment mean of the customer. It allows, for a merchant, to identify the customer.

Properties:

  • tokenRequestedType - Type of token replacing the PAN of a payment card to identify the payment mean of the customer. It allows, for a merchant, to use a token for a transaction only or for a longer period. Possible values: * Customer * Transaction
  • tokenValue - Payment token replacing the PAN of the payment card to identify the payment mean of the customer.
  • expiryDateTime - Expiry date and time. Limits the validity of a payment token.
Annotations
  • @BuiltValue.new()

Constructors

PaymentToken([void updates(PaymentTokenBuilder b)])
factory

Properties

expiryDateTime DateTime?
Expiry date and time. Limits the validity of a payment token.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenRequestedType TokenRequestedType
Type of token replacing the PAN of a payment card to identify the payment mean of the customer. It allows, for a merchant, to use a token for a transaction only or for a longer period. Possible values: * Customer * Transaction
no setter
tokenValue String
Payment token replacing the PAN of the payment card to identify the payment mean of the customer.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(PaymentTokenBuilder)) PaymentToken
Rebuilds the instance.
inherited
toBuilder() PaymentTokenBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<PaymentToken>
no setter