TransactionDetailChargeAttribute

public struct TransactionDetailChargeAttribute : Hashable

Transaction detail. Depending on transaction type will detail things like fees, real credit card transaction details etc.

Supplementary

  • Representation of a markup formula.

    See more

    Declaration

    Swift

    public struct Markup : Hashable
  • Enum describing the state of the transaction charge detail. Historically all transaction charges would complete immediately, resulting in a CLEARED state, however some transactions, particularly those backed by ACH funding sources can take some time to resolve so will begin as PENDING and may result in failure.

    See more

    Declaration

    Swift

    public enum ChargeDetailState : Hashable

Properties

  • 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
  • Current state of the transaction detail charge

    Declaration

    Swift

    public let state: ChargeDetailState

Lifecycle