Activity
public protocol Activity
An activity on the credit card, like a authorization, transactions or payment
-
Reference number for posted transactions
Declaration
Swift
var referenceNumber: String? { get } -
Activity type, e.g. Transaction or Authorization
Declaration
Swift
var activityType: ActivityType { get } -
Amount charged - if transaction was in foreign currency, see foreign for the original amount
Declaration
Swift
var amount: Amount { get } -
Status of the transaction, e.g. approved or pending
Declaration
Swift
var activityStatus: ActivityStatus { get } -
Category, e.g. Purchase, Payment for Authorization
Declaration
Swift
var activityCategory: ActivityCategory { get } -
Activity classification
Declaration
Swift
var activityClassification: String { get } -
Card Number with all but the last 4 digits replaced with *
Declaration
Swift
var cardNumber: String { get } -
Merchant
Declaration
Swift
var merchant: Merchant { get } -
Foreign currency information if the transaction was in one
Declaration
Swift
var foreign: ForeignCurrency? { get } -
Date of the transaction
Declaration
Swift
var date: Date { get } -
Activity Category Code
Declaration
Swift
var activityCategoryCode: String? { get } -
Customer ID, see Customer.customerId
Declaration
Swift
var customerId: String { get } -
If the transaction is posted, the date of the posting
Declaration
Swift
var postedDate: Date? { get } -
Activity Id for pending transactions
Declaration
Swift
var activityId: String? { get }
View on GitHub
Install in Dash