IssuingAuthorization class final

IssuingAuthorization

When an [issued card](https://stripe.com/docs/issuing) is used to make a purchase, an Issuing `Authorization` object is created. [Authorizations](https://stripe.com/docs/issuing/purchases/authorizations) must be approved for the purchase to be completed successfully. Related guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations)

Implemented types

Constructors

IssuingAuthorization({required int amount, IssuingAuthorizationAmountDetails? amountDetails, required bool approved, required IssuingAuthorizationAuthorizationMethod authorizationMethod, required List<BalanceTransaction> balanceTransactions, required IssuingCard card, IssuingCardholderOrId? cardholder, required DateTime created, required String currency, required String id, required bool livemode, required int merchantAmount, required String merchantCurrency, required IssuingAuthorizationMerchantData merchantData, required Map<String, String> metadata, IssuingAuthorizationNetworkData? networkData, IssuingAuthorizationPendingRequest? pendingRequest, required List<IssuingAuthorizationRequest> requestHistory, required IssuingAuthorizationStatus status, IssuingTokenOrId? token, required List<IssuingTransaction> transactions, IssuingAuthorizationTreasury? treasury, required IssuingAuthorizationVerificationData verificationData, String? wallet})
IssuingAuthorization
const
IssuingAuthorization.fromJson(Object? json)
factory

Properties

amount int
final
amountDetails IssuingAuthorizationAmountDetails?
Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
final
approved bool
final
authorizationMethod IssuingAuthorizationAuthorizationMethod
final
balanceTransactions List<BalanceTransaction>
final
card IssuingCard
final
cardholder IssuingCardholderOrId?
final
created DateTime
final
currency String
final
hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the BalanceTransactionSource.
final
livemode bool
final
merchantAmount int
final
merchantCurrency String
final
merchantData IssuingAuthorizationMerchantData
final
metadata Map<String, String>
final
networkData IssuingAuthorizationNetworkData?
Details about the authorization, such as identifiers, set by the card network.
final
object String
final
pendingRequest IssuingAuthorizationPendingRequest?
The pending authorization request. This field will only be non-null during an `issuing_authorization.request` webhook.
final
requestHistory List<IssuingAuthorizationRequest>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status IssuingAuthorizationStatus
final
token IssuingTokenOrId?
final
transactions List<IssuingTransaction>
final
treasury IssuingAuthorizationTreasury?
[Treasury](https://stripe.com/docs/api/treasury) details related to this authorization if it was created on a [FinancialAccount](https://stripe.com/docs/api/treasury/financial_accounts).
final
verificationData IssuingAuthorizationVerificationData
final
wallet String?
final

Methods

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

Operators

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

Static Methods

encode<V>(IssuingAuthorization instance, Encoder<V> encoder) → V
override