<?php

// File generated from our OpenAPI spec
namespace FormGent\Stripe\V2\MoneyManagement;

/**
 * The Financial Account is the container that allows for the configuration of money movement.
 *
 * @property string $id Unique identifier for the object.
 * @property string $object String representing the object's type. Objects of the same type share the same value of the object field.
 * @property (object{available: \Stripe\StripeObject, inbound_pending: \Stripe\StripeObject, outbound_pending: \Stripe\StripeObject}&\Stripe\StripeObject) $balance Multi-currency balance of this FinancialAccount, split by availability state. Each balance is represented as a hash where the key is the three-letter ISO currency code, in lowercase, and the value is the amount for that currency.
 * @property string $country Open Enum. Two-letter country code that represents the country where the LegalEntity associated with the FinancialAccount is based in.
 * @property int $created Time at which the object was created.
 * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
 * @property null|\Stripe\StripeObject $metadata Metadata associated with the FinancialAccount
 * @property null|(object{type: string}&\Stripe\StripeObject) $other If this is a <code>other</code> FinancialAccount, this hash indicates what the actual type is. Upgrade your API version to see it reflected in <code>type</code>.
 * @property string $status Closed Enum. An enum representing the status of the FinancialAccount. This indicates whether or not the FinancialAccount can be used for any money movement flows.
 * @property null|(object{closed: null|(object{forwarding_settings: null|(object{payment_method: null|string, payout_method: null|string}&\Stripe\StripeObject), reason: string}&\Stripe\StripeObject)}&\Stripe\StripeObject) $status_details
 * @property null|(object{holds_currencies: string[]}&\Stripe\StripeObject) $storage If this is a <code>storage</code> FinancialAccount, this hash includes details specific to <code>storage</code> FinancialAccounts.
 * @property string $type Type of the FinancialAccount. An additional hash is included on the FinancialAccount with a name matching this value. It contains additional information specific to the FinancialAccount type.
 */
class FinancialAccount extends \FormGent\Stripe\ApiResource
{
    const OBJECT_NAME = 'v2.money_management.financial_account';
    const COUNTRY_AD = 'ad';
    const COUNTRY_AE = 'ae';
    const COUNTRY_AF = 'af';
    const COUNTRY_AG = 'ag';
    const COUNTRY_AI = 'ai';
    const COUNTRY_AL = 'al';
    const COUNTRY_AM = 'am';
    const COUNTRY_AO = 'ao';
    const COUNTRY_AQ = 'aq';
    const COUNTRY_AR = 'ar';
    const COUNTRY_AS = 'as';
    const COUNTRY_AT = 'at';
    const COUNTRY_AU = 'au';
    const COUNTRY_AW = 'aw';
    const COUNTRY_AX = 'ax';
    const COUNTRY_AZ = 'az';
    const COUNTRY_BA = 'ba';
    const COUNTRY_BB = 'bb';
    const COUNTRY_BD = 'bd';
    const COUNTRY_BE = 'be';
    const COUNTRY_BF = 'bf';
    const COUNTRY_BG = 'bg';
    const COUNTRY_BH = 'bh';
    const COUNTRY_BI = 'bi';
    const COUNTRY_BJ = 'bj';
    const COUNTRY_BL = 'bl';
    const COUNTRY_BM = 'bm';
    const COUNTRY_BN = 'bn';
    const COUNTRY_BO = 'bo';
    const COUNTRY_BQ = 'bq';
    const COUNTRY_BR = 'br';
    const COUNTRY_BS = 'bs';
    const COUNTRY_BT = 'bt';
    const COUNTRY_BV = 'bv';
    const COUNTRY_BW = 'bw';
    const COUNTRY_BY = 'by';
    const COUNTRY_BZ = 'bz';
    const COUNTRY_CA = 'ca';
    const COUNTRY_CC = 'cc';
    const COUNTRY_CD = 'cd';
    const COUNTRY_CF = 'cf';
    const COUNTRY_CG = 'cg';
    const COUNTRY_CH = 'ch';
    const COUNTRY_CI = 'ci';
    const COUNTRY_CK = 'ck';
    const COUNTRY_CL = 'cl';
    const COUNTRY_CM = 'cm';
    const COUNTRY_CN = 'cn';
    const COUNTRY_CO = 'co';
    const COUNTRY_CR = 'cr';
    const COUNTRY_CU = 'cu';
    const COUNTRY_CV = 'cv';
    const COUNTRY_CW = 'cw';
    const COUNTRY_CX = 'cx';
    const COUNTRY_CY = 'cy';
    const COUNTRY_CZ = 'cz';
    const COUNTRY_DE = 'de';
    const COUNTRY_DJ = 'dj';
    const COUNTRY_DK = 'dk';
    const COUNTRY_DM = 'dm';
    const COUNTRY_DO = 'do';
    const COUNTRY_DZ = 'dz';
    const COUNTRY_EC = 'ec';
    const COUNTRY_EE = 'ee';
    const COUNTRY_EG = 'eg';
    const COUNTRY_EH = 'eh';
    const COUNTRY_ER = 'er';
    const COUNTRY_ES = 'es';
    const COUNTRY_ET = 'et';
    const COUNTRY_FI = 'fi';
    const COUNTRY_FJ = 'fj';
    const COUNTRY_FK = 'fk';
    const COUNTRY_FM = 'fm';
    const COUNTRY_FO = 'fo';
    const COUNTRY_FR = 'fr';
    const COUNTRY_GA = 'ga';
    const COUNTRY_GB = 'gb';
    const COUNTRY_GD = 'gd';
    const COUNTRY_GE = 'ge';
    const COUNTRY_GF = 'gf';
    const COUNTRY_GG = 'gg';
    const COUNTRY_GH = 'gh';
    const COUNTRY_GI = 'gi';
    const COUNTRY_GL = 'gl';
    const COUNTRY_GM = 'gm';
    const COUNTRY_GN = 'gn';
    const COUNTRY_GP = 'gp';
    const COUNTRY_GQ = 'gq';
    const COUNTRY_GR = 'gr';
    const COUNTRY_GS = 'gs';
    const COUNTRY_GT = 'gt';
    const COUNTRY_GU = 'gu';
    const COUNTRY_GW = 'gw';
    const COUNTRY_GY = 'gy';
    const COUNTRY_HK = 'hk';
    const COUNTRY_HM = 'hm';
    const COUNTRY_HN = 'hn';
    const COUNTRY_HR = 'hr';
    const COUNTRY_HT = 'ht';
    const COUNTRY_HU = 'hu';
    const COUNTRY_ID = 'id';
    const COUNTRY_IE = 'ie';
    const COUNTRY_IL = 'il';
    const COUNTRY_IM = 'im';
    const COUNTRY_IN = 'in';
    const COUNTRY_IO = 'io';
    const COUNTRY_IQ = 'iq';
    const COUNTRY_IR = 'ir';
    const COUNTRY_IS = 'is';
    const COUNTRY_IT = 'it';
    const COUNTRY_JE = 'je';
    const COUNTRY_JM = 'jm';
    const COUNTRY_JO = 'jo';
    const COUNTRY_JP = 'jp';
    const COUNTRY_KE = 'ke';
    const COUNTRY_KG = 'kg';
    const COUNTRY_KH = 'kh';
    const COUNTRY_KI = 'ki';
    const COUNTRY_KM = 'km';
    const COUNTRY_KN = 'kn';
    const COUNTRY_KP = 'kp';
    const COUNTRY_KR = 'kr';
    const COUNTRY_KW = 'kw';
    const COUNTRY_KY = 'ky';
    const COUNTRY_KZ = 'kz';
    const COUNTRY_LA = 'la';
    const COUNTRY_LB = 'lb';
    const COUNTRY_LC = 'lc';
    const COUNTRY_LI = 'li';
    const COUNTRY_LK = 'lk';
    const COUNTRY_LR = 'lr';
    const COUNTRY_LS = 'ls';
    const COUNTRY_LT = 'lt';
    const COUNTRY_LU = 'lu';
    const COUNTRY_LV = 'lv';
    const COUNTRY_LY = 'ly';
    const COUNTRY_MA = 'ma';
    const COUNTRY_MC = 'mc';
    const COUNTRY_MD = 'md';
    const COUNTRY_ME = 'me';
    const COUNTRY_MF = 'mf';
    const COUNTRY_MG = 'mg';
    const COUNTRY_MH = 'mh';
    const COUNTRY_MK = 'mk';
    const COUNTRY_ML = 'ml';
    const COUNTRY_MM = 'mm';
    const COUNTRY_MN = 'mn';
    const COUNTRY_MO = 'mo';
    const COUNTRY_MP = 'mp';
    const COUNTRY_MQ = 'mq';
    const COUNTRY_MR = 'mr';
    const COUNTRY_MS = 'ms';
    const COUNTRY_MT = 'mt';
    const COUNTRY_MU = 'mu';
    const COUNTRY_MV = 'mv';
    const COUNTRY_MW = 'mw';
    const COUNTRY_MX = 'mx';
    const COUNTRY_MY = 'my';
    const COUNTRY_MZ = 'mz';
    const COUNTRY_NA = 'na';
    const COUNTRY_NC = 'nc';
    const COUNTRY_NE = 'ne';
    const COUNTRY_NF = 'nf';
    const COUNTRY_NG = 'ng';
    const COUNTRY_NI = 'ni';
    const COUNTRY_NL = 'nl';
    const COUNTRY_NO = 'no';
    const COUNTRY_NP = 'np';
    const COUNTRY_NR = 'nr';
    const COUNTRY_NU = 'nu';
    const COUNTRY_NZ = 'nz';
    const COUNTRY_OM = 'om';
    const COUNTRY_PA = 'pa';
    const COUNTRY_PE = 'pe';
    const COUNTRY_PF = 'pf';
    const COUNTRY_PG = 'pg';
    const COUNTRY_PH = 'ph';
    const COUNTRY_PK = 'pk';
    const COUNTRY_PL = 'pl';
    const COUNTRY_PM = 'pm';
    const COUNTRY_PN = 'pn';
    const COUNTRY_PR = 'pr';
    const COUNTRY_PS = 'ps';
    const COUNTRY_PT = 'pt';
    const COUNTRY_PW = 'pw';
    const COUNTRY_PY = 'py';
    const COUNTRY_QA = 'qa';
    const COUNTRY_QZ = 'qz';
    const COUNTRY_RE = 're';
    const COUNTRY_RO = 'ro';
    const COUNTRY_RS = 'rs';
    const COUNTRY_RU = 'ru';
    const COUNTRY_RW = 'rw';
    const COUNTRY_SA = 'sa';
    const COUNTRY_SB = 'sb';
    const COUNTRY_SC = 'sc';
    const COUNTRY_SD = 'sd';
    const COUNTRY_SE = 'se';
    const COUNTRY_SG = 'sg';
    const COUNTRY_SH = 'sh';
    const COUNTRY_SI = 'si';
    const COUNTRY_SJ = 'sj';
    const COUNTRY_SK = 'sk';
    const COUNTRY_SL = 'sl';
    const COUNTRY_SM = 'sm';
    const COUNTRY_SN = 'sn';
    const COUNTRY_SO = 'so';
    const COUNTRY_SR = 'sr';
    const COUNTRY_SS = 'ss';
    const COUNTRY_ST = 'st';
    const COUNTRY_SV = 'sv';
    const COUNTRY_SX = 'sx';
    const COUNTRY_SY = 'sy';
    const COUNTRY_SZ = 'sz';
    const COUNTRY_TC = 'tc';
    const COUNTRY_TD = 'td';
    const COUNTRY_TF = 'tf';
    const COUNTRY_TG = 'tg';
    const COUNTRY_TH = 'th';
    const COUNTRY_TJ = 'tj';
    const COUNTRY_TK = 'tk';
    const COUNTRY_TL = 'tl';
    const COUNTRY_TM = 'tm';
    const COUNTRY_TN = 'tn';
    const COUNTRY_TO = 'to';
    const COUNTRY_TR = 'tr';
    const COUNTRY_TT = 'tt';
    const COUNTRY_TV = 'tv';
    const COUNTRY_TW = 'tw';
    const COUNTRY_TZ = 'tz';
    const COUNTRY_UA = 'ua';
    const COUNTRY_UG = 'ug';
    const COUNTRY_UM = 'um';
    const COUNTRY_US = 'us';
    const COUNTRY_UY = 'uy';
    const COUNTRY_UZ = 'uz';
    const COUNTRY_VA = 'va';
    const COUNTRY_VC = 'vc';
    const COUNTRY_VE = 've';
    const COUNTRY_VG = 'vg';
    const COUNTRY_VI = 'vi';
    const COUNTRY_VN = 'vn';
    const COUNTRY_VU = 'vu';
    const COUNTRY_WF = 'wf';
    const COUNTRY_WS = 'ws';
    const COUNTRY_XX = 'xx';
    const COUNTRY_YE = 'ye';
    const COUNTRY_YT = 'yt';
    const COUNTRY_ZA = 'za';
    const COUNTRY_ZM = 'zm';
    const COUNTRY_ZW = 'zw';
    const STATUS_CLOSED = 'closed';
    const STATUS_OPEN = 'open';
    const STATUS_PENDING = 'pending';
    const TYPE_OTHER = 'other';
    const TYPE_STORAGE = 'storage';
}
