Authorization class

Details for authorized payment

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

Authorization(AuthorizationStatus? status, AuthorizationStatusDetails? statusDetails, String? id, Money? amount, String? invoiceId, String? customId, SellerProtection? sellerProtection, String? expirationTime, List<LinkDescription>? links, String? createTime, String? updateTime)
const
Authorization.fromJson(Map<String, dynamic> json)
factory

Properties

amount Money?
The amount for this authorized payment.
final
createTime String?
The date and time when the transaction occurred, in Internet date and time format
final
customId String?
The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports.
final
expirationTime String?
The date and time when the authorized payment expires, in <a href="https://datatracker.ietf.org/doc/h
final
hashCode int
The hash code for this object.
no setterinherited
id String?
The PayPal-generated ID for the authorized payment.
final
invoiceId String?
The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives.
final
An array of request-related HATEOAS links.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sellerProtection SellerProtection?
The level of protection offered as defined by PayPal Seller Protection for Merchants.
final
status AuthorizationStatus?
The status for the authorized payment.
final
statusDetails AuthorizationStatusDetails?
The details of the authorized order pending status.
final
updateTime String?
The date and time when the transaction was last updated, in Internet date and time format
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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