Package com.fedapay.model
Class Account
- java.lang.Object
-
- com.fedapay.model.FedaPayObject
-
- com.fedapay.model.Account
-
public class Account extends FedaPayObject
-
-
Field Summary
-
Fields inherited from class com.fedapay.model.FedaPayObject
rawJsonResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountCollectionall()static Accountcreate(Map<String,Object> accountMap)static Stringdelete(String accountId)StringgetCountry()StringgetCreatedAt()StringgetId()StringgetName()StringgetTimezone()StringgetUpdatedAt()StringgetVerify()static Accountretrieve(String accountId)Accountsave()voidsetCountry(String country)voidsetCreatedAt(String created_at)voidsetId(String id)voidsetName(String name)voidsetTimezone(String timezone)voidsetUpdatedAt(String updated_at)voidsetVerify(String verify)Map<String,Object>toMap()static Accountupdate(String accountId, Map<String,Object> accountMap)-
Methods inherited from class com.fedapay.model.FedaPayObject
getRawJsonResponse, setRawJsonResponse
-
-
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getTimezone
public String getTimezone()
-
setTimezone
public void setTimezone(String timezone)
-
getCountry
public String getCountry()
-
setCountry
public void setCountry(String country)
-
getVerify
public String getVerify()
-
setVerify
public void setVerify(String verify)
-
getCreatedAt
public String getCreatedAt()
-
setCreatedAt
public void setCreatedAt(String created_at)
-
getUpdatedAt
public String getUpdatedAt()
-
setUpdatedAt
public void setUpdatedAt(String updated_at)
-
all
public static AccountCollection all() throws Exception
- Throws:
Exception
-
create
public static Account create(Map<String,Object> accountMap) throws Exception
- Throws:
Exception
-
update
public static Account update(String accountId, Map<String,Object> accountMap) throws Exception
- Throws:
Exception
-
-