Package com.adyen.model
Class AccountInfo
- java.lang.Object
-
- com.adyen.model.AccountInfo
-
public class AccountInfo extends Object
AccountInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountInfo.AccountAgeIndicatorEnumIndicator for the length of time since this shopper account was created in the merchant's environment.static classAccountInfo.AccountChangeIndicatorEnumIndicator for the length of time since the shopper's account was last updated.static classAccountInfo.AccountTypeEnumIndicates the type of account.static classAccountInfo.DeliveryAddressUsageIndicatorEnumIndicator for the length of time since this delivery address was first used.static classAccountInfo.PasswordChangeIndicatorEnumIndicator when the shopper has changed their password.static classAccountInfo.PaymentAccountIndicatorEnumIndicator for the length of time since this payment method was added to this shopper's account.
-
Constructor Summary
Constructors Constructor Description AccountInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountInfoaccountAgeIndicator(AccountInfo.AccountAgeIndicatorEnum accountAgeIndicator)AccountInfoaccountChangeDate(Date accountChangeDate)AccountInfoaccountChangeIndicator(AccountInfo.AccountChangeIndicatorEnum accountChangeIndicator)AccountInfoaccountCreationDate(Date accountCreationDate)AccountInfoaccountType(AccountInfo.AccountTypeEnum accountType)AccountInfoaddCardAttemptsDay(Integer addCardAttemptsDay)AccountInfodeliveryAddressUsageDate(Date deliveryAddressUsageDate)AccountInfodeliveryAddressUsageIndicator(AccountInfo.DeliveryAddressUsageIndicatorEnum deliveryAddressUsageIndicator)booleanequals(Object o)AccountInfo.AccountAgeIndicatorEnumgetAccountAgeIndicator()Indicator for the length of time since this shopper account was created in the merchant's environment.DategetAccountChangeDate()Date when the shopper's account was last changed.AccountInfo.AccountChangeIndicatorEnumgetAccountChangeIndicator()Indicator for the length of time since the shopper's account was last updated.DategetAccountCreationDate()Date when the shopper's account was created.AccountInfo.AccountTypeEnumgetAccountType()Indicates the type of account.IntegergetAddCardAttemptsDay()Number of attempts the shopper tried to add a card to their account in the last day.DategetDeliveryAddressUsageDate()Date the selected delivery address was first used.AccountInfo.DeliveryAddressUsageIndicatorEnumgetDeliveryAddressUsageIndicator()Indicator for the length of time since this delivery address was first used.StringgetHomePhone()Shopper's home phone number (including the country code).StringgetMobilePhone()Shopper's mobile phone number (including the country code).DategetPasswordChangeDate()Date when the shopper last changed their password.AccountInfo.PasswordChangeIndicatorEnumgetPasswordChangeIndicator()Indicator when the shopper has changed their password.IntegergetPastTransactionsDay()Number of all transactions (successful and abandoned) from this shopper in the past 24 hours.IntegergetPastTransactionsYear()Number of all transactions (successful and abandoned) from this shopper in the past year.DategetPaymentAccountAge()Date this payment method was added to the shopper's account.AccountInfo.PaymentAccountIndicatorEnumgetPaymentAccountIndicator()Indicator for the length of time since this payment method was added to this shopper's account.IntegergetPurchasesLast6Months()Number of successful purchases in the last six months.StringgetWorkPhone()Shopper's work phone number (including the country code).inthashCode()AccountInfohomePhone(String homePhone)BooleanisSuspiciousActivity()Whether suspicious activity was recorded on this account.AccountInfomobilePhone(String mobilePhone)AccountInfopasswordChangeDate(Date passwordChangeDate)AccountInfopasswordChangeIndicator(AccountInfo.PasswordChangeIndicatorEnum passwordChangeIndicator)AccountInfopastTransactionsDay(Integer pastTransactionsDay)AccountInfopastTransactionsYear(Integer pastTransactionsYear)AccountInfopaymentAccountAge(Date paymentAccountAge)AccountInfopaymentAccountIndicator(AccountInfo.PaymentAccountIndicatorEnum paymentAccountIndicator)AccountInfopurchasesLast6Months(Integer purchasesLast6Months)voidsetAccountAgeIndicator(AccountInfo.AccountAgeIndicatorEnum accountAgeIndicator)voidsetAccountChangeDate(Date accountChangeDate)voidsetAccountChangeIndicator(AccountInfo.AccountChangeIndicatorEnum accountChangeIndicator)voidsetAccountCreationDate(Date accountCreationDate)voidsetAccountType(AccountInfo.AccountTypeEnum accountType)voidsetAddCardAttemptsDay(Integer addCardAttemptsDay)voidsetDeliveryAddressUsageDate(Date deliveryAddressUsageDate)voidsetDeliveryAddressUsageIndicator(AccountInfo.DeliveryAddressUsageIndicatorEnum deliveryAddressUsageIndicator)voidsetHomePhone(String homePhone)voidsetMobilePhone(String mobilePhone)voidsetPasswordChangeDate(Date passwordChangeDate)voidsetPasswordChangeIndicator(AccountInfo.PasswordChangeIndicatorEnum passwordChangeIndicator)voidsetPastTransactionsDay(Integer pastTransactionsDay)voidsetPastTransactionsYear(Integer pastTransactionsYear)voidsetPaymentAccountAge(Date paymentAccountAge)voidsetPaymentAccountIndicator(AccountInfo.PaymentAccountIndicatorEnum paymentAccountIndicator)voidsetPurchasesLast6Months(Integer purchasesLast6Months)voidsetSuspiciousActivity(Boolean suspiciousActivity)voidsetWorkPhone(String workPhone)AccountInfosuspiciousActivity(Boolean suspiciousActivity)StringtoString()AccountInfoworkPhone(String workPhone)
-
-
-
Method Detail
-
accountAgeIndicator
public AccountInfo accountAgeIndicator(AccountInfo.AccountAgeIndicatorEnum accountAgeIndicator)
-
getAccountAgeIndicator
public AccountInfo.AccountAgeIndicatorEnum getAccountAgeIndicator()
Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days- Returns:
- accountAgeIndicator
-
setAccountAgeIndicator
public void setAccountAgeIndicator(AccountInfo.AccountAgeIndicatorEnum accountAgeIndicator)
-
accountChangeDate
public AccountInfo accountChangeDate(Date accountChangeDate)
-
getAccountChangeDate
public Date getAccountChangeDate()
Date when the shopper's account was last changed.- Returns:
- accountChangeDate
-
setAccountChangeDate
public void setAccountChangeDate(Date accountChangeDate)
-
accountChangeIndicator
public AccountInfo accountChangeIndicator(AccountInfo.AccountChangeIndicatorEnum accountChangeIndicator)
-
getAccountChangeIndicator
public AccountInfo.AccountChangeIndicatorEnum getAccountChangeIndicator()
Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days- Returns:
- accountChangeIndicator
-
setAccountChangeIndicator
public void setAccountChangeIndicator(AccountInfo.AccountChangeIndicatorEnum accountChangeIndicator)
-
accountCreationDate
public AccountInfo accountCreationDate(Date accountCreationDate)
-
getAccountCreationDate
public Date getAccountCreationDate()
Date when the shopper's account was created.- Returns:
- accountCreationDate
-
setAccountCreationDate
public void setAccountCreationDate(Date accountCreationDate)
-
accountType
public AccountInfo accountType(AccountInfo.AccountTypeEnum accountType)
-
getAccountType
public AccountInfo.AccountTypeEnum getAccountType()
Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit- Returns:
- accountType
-
setAccountType
public void setAccountType(AccountInfo.AccountTypeEnum accountType)
-
addCardAttemptsDay
public AccountInfo addCardAttemptsDay(Integer addCardAttemptsDay)
-
getAddCardAttemptsDay
public Integer getAddCardAttemptsDay()
Number of attempts the shopper tried to add a card to their account in the last day.- Returns:
- addCardAttemptsDay
-
setAddCardAttemptsDay
public void setAddCardAttemptsDay(Integer addCardAttemptsDay)
-
deliveryAddressUsageDate
public AccountInfo deliveryAddressUsageDate(Date deliveryAddressUsageDate)
-
getDeliveryAddressUsageDate
public Date getDeliveryAddressUsageDate()
Date the selected delivery address was first used.- Returns:
- deliveryAddressUsageDate
-
setDeliveryAddressUsageDate
public void setDeliveryAddressUsageDate(Date deliveryAddressUsageDate)
-
deliveryAddressUsageIndicator
public AccountInfo deliveryAddressUsageIndicator(AccountInfo.DeliveryAddressUsageIndicatorEnum deliveryAddressUsageIndicator)
-
getDeliveryAddressUsageIndicator
public AccountInfo.DeliveryAddressUsageIndicatorEnum getDeliveryAddressUsageIndicator()
Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days- Returns:
- deliveryAddressUsageIndicator
-
setDeliveryAddressUsageIndicator
public void setDeliveryAddressUsageIndicator(AccountInfo.DeliveryAddressUsageIndicatorEnum deliveryAddressUsageIndicator)
-
homePhone
public AccountInfo homePhone(String homePhone)
-
getHomePhone
public String getHomePhone()
Shopper's home phone number (including the country code).- Returns:
- homePhone
-
setHomePhone
public void setHomePhone(String homePhone)
-
mobilePhone
public AccountInfo mobilePhone(String mobilePhone)
-
getMobilePhone
public String getMobilePhone()
Shopper's mobile phone number (including the country code).- Returns:
- mobilePhone
-
setMobilePhone
public void setMobilePhone(String mobilePhone)
-
passwordChangeDate
public AccountInfo passwordChangeDate(Date passwordChangeDate)
-
getPasswordChangeDate
public Date getPasswordChangeDate()
Date when the shopper last changed their password.- Returns:
- passwordChangeDate
-
setPasswordChangeDate
public void setPasswordChangeDate(Date passwordChangeDate)
-
passwordChangeIndicator
public AccountInfo passwordChangeIndicator(AccountInfo.PasswordChangeIndicatorEnum passwordChangeIndicator)
-
getPasswordChangeIndicator
public AccountInfo.PasswordChangeIndicatorEnum getPasswordChangeIndicator()
Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days- Returns:
- passwordChangeIndicator
-
setPasswordChangeIndicator
public void setPasswordChangeIndicator(AccountInfo.PasswordChangeIndicatorEnum passwordChangeIndicator)
-
pastTransactionsDay
public AccountInfo pastTransactionsDay(Integer pastTransactionsDay)
-
getPastTransactionsDay
public Integer getPastTransactionsDay()
Number of all transactions (successful and abandoned) from this shopper in the past 24 hours.- Returns:
- pastTransactionsDay
-
setPastTransactionsDay
public void setPastTransactionsDay(Integer pastTransactionsDay)
-
pastTransactionsYear
public AccountInfo pastTransactionsYear(Integer pastTransactionsYear)
-
getPastTransactionsYear
public Integer getPastTransactionsYear()
Number of all transactions (successful and abandoned) from this shopper in the past year.- Returns:
- pastTransactionsYear
-
setPastTransactionsYear
public void setPastTransactionsYear(Integer pastTransactionsYear)
-
paymentAccountAge
public AccountInfo paymentAccountAge(Date paymentAccountAge)
-
getPaymentAccountAge
public Date getPaymentAccountAge()
Date this payment method was added to the shopper's account.- Returns:
- paymentAccountAge
-
setPaymentAccountAge
public void setPaymentAccountAge(Date paymentAccountAge)
-
paymentAccountIndicator
public AccountInfo paymentAccountIndicator(AccountInfo.PaymentAccountIndicatorEnum paymentAccountIndicator)
-
getPaymentAccountIndicator
public AccountInfo.PaymentAccountIndicatorEnum getPaymentAccountIndicator()
Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days- Returns:
- paymentAccountIndicator
-
setPaymentAccountIndicator
public void setPaymentAccountIndicator(AccountInfo.PaymentAccountIndicatorEnum paymentAccountIndicator)
-
purchasesLast6Months
public AccountInfo purchasesLast6Months(Integer purchasesLast6Months)
-
getPurchasesLast6Months
public Integer getPurchasesLast6Months()
Number of successful purchases in the last six months.- Returns:
- purchasesLast6Months
-
setPurchasesLast6Months
public void setPurchasesLast6Months(Integer purchasesLast6Months)
-
suspiciousActivity
public AccountInfo suspiciousActivity(Boolean suspiciousActivity)
-
isSuspiciousActivity
public Boolean isSuspiciousActivity()
Whether suspicious activity was recorded on this account.- Returns:
- suspiciousActivity
-
setSuspiciousActivity
public void setSuspiciousActivity(Boolean suspiciousActivity)
-
workPhone
public AccountInfo workPhone(String workPhone)
-
getWorkPhone
public String getWorkPhone()
Shopper's work phone number (including the country code).- Returns:
- workPhone
-
setWorkPhone
public void setWorkPhone(String workPhone)
-
-