public class Account extends APIResource implements HasId, MetadataStore<Account>
Modifier and Type | Class and Description |
---|---|
static class |
Account.Keys |
static class |
Account.Verification |
APIResource.RequestMethod, APIResource.RequestType
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
Account() |
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, requestCollection, setExpandableFieldID, setStripeResponseGetter, singleClassURL, singleClassURL, urlEncode
equals, toJson, toString
public String getObject()
public void setObject(String object)
public String getBusinessLogo()
public String getBusinessName()
public String getBusinessPrimaryColor()
public void setBusinessPrimaryColor(String businessPrimaryColor)
public String getBusinessURL()
public Boolean getChargesEnabled()
public String getCountry()
public Boolean getDebitNegativeBalances()
public void setDebitNegativeBalances(Boolean debitNegativeBalances)
public AccountDeclineChargeOn getDeclineChargeOn()
public void setDeclineChargeOn(AccountDeclineChargeOn declineChargeOn)
public String getDefaultCurrency()
public Boolean getDetailsSubmitted()
public String getDisplayName()
public String getEmail()
public ExternalAccountCollection getExternalAccounts()
public Account.Keys getKeys()
public LegalEntity getLegalEntity()
public Boolean getManaged()
public Map<String,String> getMetadata()
getMetadata
in interface MetadataStore<Account>
public String getProductDescription()
public void setProductDescription(String productDescription)
public String getStatementDescriptor()
public String getSupportEmail()
public String getSupportPhone()
public String getSupportURL()
public String getTimezone()
public AccountTosAcceptance getTosAcceptance()
public void setTosAcceptance(AccountTosAcceptance tosAcceptance)
public AccountTransferSchedule getTransferSchedule()
public void setTransferSchedule(AccountTransferSchedule transferSchedule)
public Boolean getTransfersEnabled()
public Account.Verification getVerification()
@Deprecated public List<String> getCurrenciesSupported()
public static Account create(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Account create(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static AccountCollection list(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static AccountCollection list(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static AccountCollection all(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static AccountCollection all(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Account retrieve() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static Account retrieve(String apiKeyOrAccountId) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Account retrieve(RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Account retrieve(String id, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Account update(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
update
in interface MetadataStore<Account>
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
public Account reject(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Account update(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
update
in interface MetadataStore<Account>
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
public DeletedAccount delete() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public DeletedAccount delete(RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public DeletedAccount delete(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public DeletedAccount delete(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
Copyright © 2017 Stripe. All rights reserved.