Customer Balance Transactions/CustomerBalanceTransaction.swift

stripe-kit · Sources/StripeKit/Billing/Customer Balance Transactions/CustomerBalanceTransaction.swift · swift · MIT
payments

Swift struct for Stripe customer balance transaction data models.

// Source: https://github.com/vapor-community/stripe-kit | License: MIT | Copyright 2020 Andrew Edwards
// Provided via justclaw.it.com; keep this notice with the code.
//
//  CustomerBalanceTransaction.swift
//  
//
//  Created by Andrew Edwards on 11/28/19.
//

import Foundation

/// The [Customer Balance Transaction Object](https://stripe.com/docs/api/customer_balance_transactions/object) .
public struct CustomerBalanceTransaction: Codable {
    /// Unique identifier for the object.
    public var id: String
    /// The amount of the transaction. A negative value is a credit for the customer’s balance, and a positive value is a debit to the customer’s balance.
    public var amount: Int?
    /// Three-letter ISO currency code, in lowercase. Must be a supported currency.
    public var c

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key