-
- 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 Long
id
private final String
name
private final String
description
private final AccountCategory
accountCategory
private final Long
organizationId
private final Long
realmId
private final String
accountCategoryDetails
private final Boolean
isCashbackEnabled
-
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 Long
component1()
final String
component2()
final String
component3()
final AccountCategory
component4()
final Long
component5()
final Long
component6()
final String
component7()
final Boolean
component8()
final MenigaAccountType
copy(Long id, String name, String description, AccountCategory accountCategory, Long organizationId, Long realmId, String accountCategoryDetails, Boolean isCashbackEnabled)
final Long
getId()
final String
getName()
final String
getDescription()
final AccountCategory
getAccountCategory()
final Long
getOrganizationId()
final Long
getRealmId()
final String
getAccountCategoryDetails()
final Boolean
getIsCashbackEnabled()
-
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()
-
-
-
-