TransactionDetailChargeAttribute
public struct TransactionDetailChargeAttribute : Hashable
Transaction detail. Depending on transaction type will detail things like fees, real credit card transaction details etc.
-
Representation of a markup formula.
See moreDeclaration
Swift
public struct Markup : Hashable
-
Amount the merchant charged the virtual card.
Declaration
Swift
public let virtualCardAmount: CurrencyAmount
-
Markup formula applied to billedAmount to calculate.
Declaration
Swift
public let markup: Markup
-
Markup amount added to
Transaction.transactedAmout
.Declaration
Swift
public let markupAmount: CurrencyAmount
-
Amount charged to funding source.
Declaration
Swift
public let fundingSourceAmount: CurrencyAmount
-
ID of funding source that funded this item.
Declaration
Swift
public let fundingSourceId: String
-
Description that will show on the real funding source statement.
Declaration
Swift
public let description: String
-
Initialize an instance of
TransactionDetailChargeAttribute
.Declaration
Swift
public init( virtualCardAmount: CurrencyAmount, markup: Markup, markupAmount: CurrencyAmount, fundingSourceAmount: CurrencyAmount, fundingSourceId: String, description: String )