stripe/model/
account_capabilities.rs

1use serde::{Serialize, Deserialize};
2///
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct AccountCapabilities {
5    ///The status of the Canadian pre-authorized debits payments capability of the account, or whether the account can directly process Canadian pre-authorized debits charges.
6    #[serde(skip_serializing_if = "Option::is_none")]
7    pub acss_debit_payments: Option<String>,
8    ///The status of the Affirm capability of the account, or whether the account can directly process Affirm charges.
9    #[serde(skip_serializing_if = "Option::is_none")]
10    pub affirm_payments: Option<String>,
11    ///The status of the Afterpay Clearpay capability of the account, or whether the account can directly process Afterpay Clearpay charges.
12    #[serde(skip_serializing_if = "Option::is_none")]
13    pub afterpay_clearpay_payments: Option<String>,
14    ///The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
15    #[serde(skip_serializing_if = "Option::is_none")]
16    pub au_becs_debit_payments: Option<String>,
17    ///The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
18    #[serde(skip_serializing_if = "Option::is_none")]
19    pub bacs_debit_payments: Option<String>,
20    ///The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
21    #[serde(skip_serializing_if = "Option::is_none")]
22    pub bancontact_payments: Option<String>,
23    ///The status of the customer_balance payments capability of the account, or whether the account can directly process customer_balance charges.
24    #[serde(skip_serializing_if = "Option::is_none")]
25    pub bank_transfer_payments: Option<String>,
26    ///The status of the blik payments capability of the account, or whether the account can directly process blik charges.
27    #[serde(skip_serializing_if = "Option::is_none")]
28    pub blik_payments: Option<String>,
29    ///The status of the boleto payments capability of the account, or whether the account can directly process boleto charges.
30    #[serde(skip_serializing_if = "Option::is_none")]
31    pub boleto_payments: Option<String>,
32    ///The status of the card issuing capability of the account, or whether you can use Issuing to distribute funds on cards
33    #[serde(skip_serializing_if = "Option::is_none")]
34    pub card_issuing: Option<String>,
35    ///The status of the card payments capability of the account, or whether the account can directly process credit and debit card charges.
36    #[serde(skip_serializing_if = "Option::is_none")]
37    pub card_payments: Option<String>,
38    ///The status of the Cartes Bancaires payments capability of the account, or whether the account can directly process Cartes Bancaires card charges in EUR currency.
39    #[serde(skip_serializing_if = "Option::is_none")]
40    pub cartes_bancaires_payments: Option<String>,
41    ///The status of the Cash App Pay capability of the account, or whether the account can directly process Cash App Pay payments.
42    #[serde(skip_serializing_if = "Option::is_none")]
43    pub cashapp_payments: Option<String>,
44    ///The status of the EPS payments capability of the account, or whether the account can directly process EPS charges.
45    #[serde(skip_serializing_if = "Option::is_none")]
46    pub eps_payments: Option<String>,
47    ///The status of the FPX payments capability of the account, or whether the account can directly process FPX charges.
48    #[serde(skip_serializing_if = "Option::is_none")]
49    pub fpx_payments: Option<String>,
50    ///The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
51    #[serde(skip_serializing_if = "Option::is_none")]
52    pub giropay_payments: Option<String>,
53    ///The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
54    #[serde(skip_serializing_if = "Option::is_none")]
55    pub grabpay_payments: Option<String>,
56    ///The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
57    #[serde(skip_serializing_if = "Option::is_none")]
58    pub ideal_payments: Option<String>,
59    ///The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
60    #[serde(skip_serializing_if = "Option::is_none")]
61    pub india_international_payments: Option<String>,
62    ///The status of the JCB payments capability of the account, or whether the account (Japan only) can directly process JCB credit card charges in JPY currency.
63    #[serde(skip_serializing_if = "Option::is_none")]
64    pub jcb_payments: Option<String>,
65    ///The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges.
66    #[serde(skip_serializing_if = "Option::is_none")]
67    pub klarna_payments: Option<String>,
68    ///The status of the konbini payments capability of the account, or whether the account can directly process konbini charges.
69    #[serde(skip_serializing_if = "Option::is_none")]
70    pub konbini_payments: Option<String>,
71    ///The status of the legacy payments capability of the account.
72    #[serde(skip_serializing_if = "Option::is_none")]
73    pub legacy_payments: Option<String>,
74    ///The status of the link_payments capability of the account, or whether the account can directly process Link charges.
75    #[serde(skip_serializing_if = "Option::is_none")]
76    pub link_payments: Option<String>,
77    ///The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.
78    #[serde(skip_serializing_if = "Option::is_none")]
79    pub oxxo_payments: Option<String>,
80    ///The status of the P24 payments capability of the account, or whether the account can directly process P24 charges.
81    #[serde(skip_serializing_if = "Option::is_none")]
82    pub p24_payments: Option<String>,
83    ///The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
84    #[serde(skip_serializing_if = "Option::is_none")]
85    pub paynow_payments: Option<String>,
86    ///The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
87    #[serde(skip_serializing_if = "Option::is_none")]
88    pub promptpay_payments: Option<String>,
89    ///The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
90    #[serde(skip_serializing_if = "Option::is_none")]
91    pub revolut_pay_payments: Option<String>,
92    ///The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
93    #[serde(skip_serializing_if = "Option::is_none")]
94    pub sepa_debit_payments: Option<String>,
95    ///The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
96    #[serde(skip_serializing_if = "Option::is_none")]
97    pub sofort_payments: Option<String>,
98    ///The status of the tax reporting 1099-K (US) capability of the account.
99    #[serde(rename = "tax_reporting_us_1099_k")]
100    #[serde(skip_serializing_if = "Option::is_none")]
101    pub tax_reporting_us1099_k: Option<String>,
102    ///The status of the tax reporting 1099-MISC (US) capability of the account.
103    #[serde(rename = "tax_reporting_us_1099_misc")]
104    #[serde(skip_serializing_if = "Option::is_none")]
105    pub tax_reporting_us1099_misc: Option<String>,
106    ///The status of the transfers capability of the account, or whether your platform can transfer funds to the account.
107    #[serde(skip_serializing_if = "Option::is_none")]
108    pub transfers: Option<String>,
109    ///The status of the banking capability, or whether the account can have bank accounts.
110    #[serde(skip_serializing_if = "Option::is_none")]
111    pub treasury: Option<String>,
112    ///The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
113    #[serde(skip_serializing_if = "Option::is_none")]
114    pub us_bank_account_ach_payments: Option<String>,
115    ///The status of the Zip capability of the account, or whether the account can directly process Zip charges.
116    #[serde(skip_serializing_if = "Option::is_none")]
117    pub zip_payments: Option<String>,
118}
119impl std::fmt::Display for AccountCapabilities {
120    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
121        write!(f, "{}", serde_json::to_string(self).unwrap())
122    }
123}