-
- All Implemented Interfaces:
-
android.os.Parcelable,java.io.Serializable
public final class MenigaAccountType implements Parcelable, Serializable
Represents further data on the type of account.
-
-
Field Summary
Fields Modifier and Type Field Description private final Longidprivate final Stringnameprivate final Stringdescriptionprivate final AccountCategoryaccountCategoryprivate final LongorganizationIdprivate final LongrealmIdprivate final StringaccountCategoryDetailsprivate final BooleanisCashbackEnabled
-
Constructor Summary
Constructors Constructor Description MenigaAccountType(Long id, String name, String description, AccountCategory accountCategory, Long organizationId, Long realmId, String accountCategoryDetails, Boolean isCashbackEnabled)
-
Method Summary
Modifier and Type Method Description final Longcomponent1()final Stringcomponent2()final Stringcomponent3()final AccountCategorycomponent4()final Longcomponent5()final Longcomponent6()final Stringcomponent7()final Booleancomponent8()final MenigaAccountTypecopy(Long id, String name, String description, AccountCategory accountCategory, Long organizationId, Long realmId, String accountCategoryDetails, Boolean isCashbackEnabled)final LonggetId()final StringgetName()final StringgetDescription()final AccountCategorygetAccountCategory()final LonggetOrganizationId()final LonggetRealmId()final StringgetAccountCategoryDetails()final BooleangetIsCashbackEnabled()-
Methods inherited from class android.os.Parcelable
equals, hashCode, toString -
Methods inherited from class com.meniga.sdk.models.accounts.MenigaAccountType
describeContents, writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MenigaAccountType
MenigaAccountType(Long id, String name, String description, AccountCategory accountCategory, Long organizationId, Long realmId, String accountCategoryDetails, Boolean isCashbackEnabled)
- Parameters:
id- The unique Id for the account type.name- The name of the account type.description- The description of the account type.accountCategory- he account category for this account type.organizationId- The Id of the organization associated with this account type.realmId- The Id of the realm used to synchronize transactions.accountCategoryDetails- Extra information about the account category, for example "visa" or "amex" for the "Credit" account category.isCashbackEnabled- True if cashback can be calculated for the account.
-
-
Method Detail
-
component1
final Long component1()
-
component2
final String component2()
-
component3
final String component3()
-
component4
final AccountCategory component4()
-
component5
final Long component5()
-
component6
final Long component6()
-
component7
final String component7()
-
component8
final Boolean component8()
-
copy
final MenigaAccountType copy(Long id, String name, String description, AccountCategory accountCategory, Long organizationId, Long realmId, String accountCategoryDetails, Boolean isCashbackEnabled)
- Parameters:
id- The unique Id for the account type.name- The name of the account type.description- The description of the account type.accountCategory- he account category for this account type.organizationId- The Id of the organization associated with this account type.realmId- The Id of the realm used to synchronize transactions.accountCategoryDetails- Extra information about the account category, for example "visa" or "amex" for the "Credit" account category.isCashbackEnabled- True if cashback can be calculated for the account.
-
getDescription
final String getDescription()
-
getAccountCategory
final AccountCategory getAccountCategory()
-
getOrganizationId
final Long getOrganizationId()
-
getRealmId
final Long getRealmId()
-
getAccountCategoryDetails
final String getAccountCategoryDetails()
-
getIsCashbackEnabled
final Boolean getIsCashbackEnabled()
-
-
-
-