Authorization class

Constructors

Authorization({required String mode, String? pin, String? city, String? address, String? state, String? country, String? endpoint, String? zipcode, List<String>? fields, String redirect = '', String? validateInstructions})
Authorization.fromMap(Map map)
Parses a json object to Authorization

Properties

address String?
This is the cards billing address. It is required when the suggested auth mode is avs_noauth
getter/setter pair
city String?
This is the city in the card's billing details. It is required when the suggested auth mode is avs_noauth
getter/setter pair
country String?
This is the cards issuing country. It is required when the suggested auth mode is avs_noauth
getter/setter pair
endpoint String?
endpoint
getter/setter pair
fields List<String>?
The missing required billing fields for Version.v3
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mode String
This is the auth model of the card to use when validating, it is returned in the initiate charge call as authorization.mode
getter/setter pair
pin String?
This is the card's pin. Required when the suggested auth mode is PIN
getter/setter pair
redirect String
The redirect url when payment is completed
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
This is the card issuing state. It is required when the suggested auth mode is avs_noauth
getter/setter pair
validateInstructions String?
This is the auth model of the card to use when validating, it is returned in the initiate charge call as authorization.mode
getter/setter pair
zipcode String?
This is cards billing address zipcod. It is required when the suggested auth mode is avs_noauth
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap(Version version) Map<String, dynamic>
converts a Authorization to JSON object
toString() String
A string representation of this object.
inherited

Operators

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