public class CountrySpec extends APIResource implements HasId
APIResource.RequestMethod, APIResource.RequestTypeCHARSET, GSONPRETTY_PRINT_GSON| Constructor and Description |
|---|
CountrySpec() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultCurrency() |
String |
getId() |
Map<String,List<String>> |
getSupportedBankAccountCurrencies() |
List<String> |
getSupportedPaymentCurrencies() |
List<String> |
getSupportedPaymentMethods() |
VerificationFields |
getVerificationFields() |
static CountrySpecCollection |
list(Map<String,Object> params) |
static CountrySpecCollection |
list(Map<String,Object> params,
RequestOptions options) |
static CountrySpec |
retrieve(String country) |
static CountrySpec |
retrieve(String country,
RequestOptions options) |
void |
setDefaultCurrency(String defaultCurrency) |
void |
setId(String id) |
void |
setSupportedBankAccountCurrencies(Map<String,List<String>> supportedBankAccountCurrencies) |
void |
setSupportedPaymentCurrencies(List<String> supportedPaymentCurrencies) |
void |
setSupportedPaymentMethods(List<String> supportedPaymentMethods) |
void |
setVerificationFields(VerificationFields verificationFields) |
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, requestCollection, setStripeResponseGetter, singleClassURL, singleClassURL, urlEncodeequals, toStringpublic void setId(String id)
public String getDefaultCurrency()
public void setDefaultCurrency(String defaultCurrency)
public Map<String,List<String>> getSupportedBankAccountCurrencies()
public void setSupportedBankAccountCurrencies(Map<String,List<String>> supportedBankAccountCurrencies)
public void setSupportedPaymentCurrencies(List<String> supportedPaymentCurrencies)
public void setSupportedPaymentMethods(List<String> supportedPaymentMethods)
public VerificationFields getVerificationFields()
public void setVerificationFields(VerificationFields verificationFields)
public static CountrySpec retrieve(String country) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static CountrySpec retrieve(String country, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static CountrySpecCollection list(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static CountrySpecCollection list(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
Copyright © 2016 Stripe. All rights reserved.