<commit_before>//
//  Customer.swift
//  Stripe
//
//  Created by <NAME> on 4/19/17.
//
//

import Foundation

/**
 Customer Model
 https://stripe.com/docs/api/curl#customer_object
 */

public struct StripeCustomer: StripeModel {
    public var id: String
    public var object: String
    public var accountBalance: Int?
    public var bussinessVATId: String?
    public var created: Date?
    public var currency: StripeCurrency?
    public var defaultSource: String?
    public var delinquent: Bool?
    public var description: String?
    public var discount: StripeDiscount?
    public var email: String?
    public var livemode: Bool?
    public var metadata: [String: String]
    public var shipping: ShippingLabel?
    public var sources: StripeSourcesList?
    public var subscriptions: StripeSubscriptionsList?
    
    public enum CodingKeys: String, CodingKey {
        case id
        case object
        case accountBalance = "account_balance"
        case bussinessVATId = "bussiness_vat_id"
        case created
        case currency
        case defaultSource = "default_source"
        case delinquent
        case description
        case discount
        case email
        case livemode
        case metadata
        case shipping
        case sources
        case subscriptions
    }
}<commit_msg>Fix a typo in Customer.businessVatId<commit_after>//
//  Customer.swift
//  Stripe
//
//  Created by <NAME> on 4/19/17.
//
//

import Foundation

/**
 Customer Model
 https://stripe.com/docs/api/curl#customer_object
 */

public struct StripeCustomer: StripeModel {
    public var id: String
    public var object: String
    public var accountBalance: Int?
    public var businessVatId: String?
    public var created: Date?
    public var currency: StripeCurrency?
    public var defaultSource: String?
    public var delinquent: Bool?
    public var description: String?
    public var discount: StripeDiscount?
    public var email: String?
    public var livemode: Bool?
    public var metadata: [String: String]
    public var shipping: ShippingLabel?
    public var sources: StripeSourcesList?
    public var subscriptions: StripeSubscriptionsList?
    
    public enum CodingKeys: String, CodingKey {
        case id
        case object
        case accountBalance = "account_balance"
        case businessVatId = "business_vat_id"
        case created
        case currency
        case defaultSource = "default_source"
        case delinquent
        case description
        case discount
        case email
        case livemode
        case metadata
        case shipping
        case sources
        case subscriptions
    }
}
{'fraction_non_alphanumeric': 0.063581640331076, 'fraction_numerical': 0.003762227238525207, 'mean_word_length': 2.5079155672823217, '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': '518950', 'n_tokens_mistral': 747, 'n_tokens_neox': 713, 'n_words': 248}