<commit_before>//
//  Charge.swift
//  Stripe
//
//  Created by <NAME> on 4/15/17.
//
//

import Foundation
import Vapor
import Helpers

/**
 Charge Model
 https://stripe.com/docs/api/curl#charge_object
 */
public final class Charge: StripeModelProtocol {
    
    public private(set) var id: String?
    public private(set) var object: String?
    public private(set) var amount: Int?
    public private(set) var amountRefunded: Int?
    public private(set) var application: String?
    public private(set) var applicationFee: Int?
    public private(set) var balanceTransactionId: String?
    public private(set) var isCaptured: Bool?
    public private(set) var created: Date?<commit_msg>charge: Change the applicationFee type<commit_after>//
//  Charge.swift
//  Stripe
//
//  Created by <NAME> on 4/15/17.
//
//

import Foundation
import Vapor
import Helpers

/**
 Charge Model
 https://stripe.com/docs/api/curl#charge_object
 */
public final class Charge: StripeModelProtocol {
    
    public private(set) var id: String?
    public private(set) var object: String?
    public private(set) var amount: Int?
    public private(set) var amountRefunded: Int?
    public private(set) var application: String?
    public private(set) var applicationFee: String?
    public private(set) var balanceTransactionId: String?
    public private(set) var isCaptured: Bool?
    public private(set) var created: Date?
{'fraction_non_alphanumeric': 0.10567375886524823, 'fraction_numerical': 0.0070921985815602835, 'mean_word_length': 3.6262295081967215, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4022266', 'n_tokens_mistral': 446, 'n_tokens_neox': 427, 'n_words': 137}