Class AccountInfo


  • public class AccountInfo
    extends Object
    AccountInfo
    • Constructor Detail

      • AccountInfo

        public AccountInfo()
    • Method Detail

      • 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
      • 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)
      • 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
      • 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)
      • 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
      • 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)
      • 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
      • getHomePhone

        public String getHomePhone()
        Shopper's home phone number (including the country code).
        Returns:
        homePhone
      • setHomePhone

        public void setHomePhone​(String homePhone)
      • 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)
      • getPasswordChangeIndicator

        public AccountInfo.PasswordChangeIndicatorEnum getPasswordChangeIndicator()
        Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days
        Returns:
        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)
      • 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
      • 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)
      • getWorkPhone

        public String getWorkPhone()
        Shopper's work phone number (including the country code).
        Returns:
        workPhone
      • setWorkPhone

        public void setWorkPhone​(String workPhone)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object