Class RecurringDetail


  • public class RecurringDetail
    extends Object
    RecurringDetail
    • Constructor Detail

      • RecurringDetail

        public RecurringDetail()
    • Method Detail

      • getAdditionalData

        public Map<String,​String> getAdditionalData()
        This field contains additional data, which may be returned in a particular response. The additionalData object consists of entries, each of which includes the key and value.
        Returns:
        additionalData
      • setAdditionalData

        public void setAdditionalData​(Map<String,​String> additionalData)
        This field contains additional data, which may be returned in a particular response. The additionalData object consists of entries, each of which includes the key and value.
        Parameters:
        additionalData -
      • getAlias

        public String getAlias()
        The alias of the credit card number. Applies only to recurring contracts storing credit card details
        Returns:
        alias
      • setAlias

        public void setAlias​(String alias)
        The alias of the credit card number. Applies only to recurring contracts storing credit card details
        Parameters:
        alias -
      • getAliasType

        public String getAliasType()
        The alias type of the credit card number. Applies only to recurring contracts storing credit card details.
        Returns:
        aliasType
      • setAliasType

        public void setAliasType​(String aliasType)
        The alias type of the credit card number. Applies only to recurring contracts storing credit card details.
        Parameters:
        aliasType -
      • getBank

        public BankAccount getBank()
        Get bank
        Returns:
        bank
      • setBank

        public void setBank​(BankAccount bank)
        bank
        Parameters:
        bank -
      • getBillingAddress

        public Address getBillingAddress()
        Get billingAddress
        Returns:
        billingAddress
      • setBillingAddress

        public void setBillingAddress​(Address billingAddress)
        billingAddress
        Parameters:
        billingAddress -
      • getCard

        public Card getCard()
        Get card
        Returns:
        card
      • setCard

        public void setCard​(Card card)
        card
        Parameters:
        card -
      • getContractTypes

        public List<String> getContractTypes()
        Types of recurring contracts.
        Returns:
        contractTypes
      • setContractTypes

        public void setContractTypes​(List<String> contractTypes)
        Types of recurring contracts.
        Parameters:
        contractTypes -
      • getCreationDate

        public OffsetDateTime getCreationDate()
        The date when the recurring details were created.
        Returns:
        creationDate
      • setCreationDate

        public void setCreationDate​(OffsetDateTime creationDate)
        The date when the recurring details were created.
        Parameters:
        creationDate -
      • getFirstPspReference

        public String getFirstPspReference()
        The `pspReference` of the first recurring payment that created the recurring detail.
        Returns:
        firstPspReference
      • setFirstPspReference

        public void setFirstPspReference​(String firstPspReference)
        The `pspReference` of the first recurring payment that created the recurring detail.
        Parameters:
        firstPspReference -
      • getName

        public String getName()
        An optional descriptive name for this recurring detail.
        Returns:
        name
      • setName

        public void setName​(String name)
        An optional descriptive name for this recurring detail.
        Parameters:
        name -
      • getNetworkTxReference

        public String getNetworkTxReference()
        Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID.
        Returns:
        networkTxReference
      • setNetworkTxReference

        public void setNetworkTxReference​(String networkTxReference)
        Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID.
        Parameters:
        networkTxReference -
      • getPaymentMethodVariant

        public String getPaymentMethodVariant()
        The type or sub-brand of a payment method used, e.g. Visa Debit, Visa Corporate, etc. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant).
        Returns:
        paymentMethodVariant
      • setPaymentMethodVariant

        public void setPaymentMethodVariant​(String paymentMethodVariant)
        The type or sub-brand of a payment method used, e.g. Visa Debit, Visa Corporate, etc. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant).
        Parameters:
        paymentMethodVariant -
      • recurringDetailReference

        public RecurringDetail recurringDetailReference​(String recurringDetailReference)
      • getRecurringDetailReference

        public String getRecurringDetailReference()
        The reference that uniquely identifies the recurring detail.
        Returns:
        recurringDetailReference
      • setRecurringDetailReference

        public void setRecurringDetailReference​(String recurringDetailReference)
        The reference that uniquely identifies the recurring detail.
        Parameters:
        recurringDetailReference -
      • getShopperName

        public Name getShopperName()
        Get shopperName
        Returns:
        shopperName
      • setShopperName

        public void setShopperName​(Name shopperName)
        shopperName
        Parameters:
        shopperName -
      • getSocialSecurityNumber

        public String getSocialSecurityNumber()
        A shopper's social security number (only in countries where it is legal to collect).
        Returns:
        socialSecurityNumber
      • setSocialSecurityNumber

        public void setSocialSecurityNumber​(String socialSecurityNumber)
        A shopper's social security number (only in countries where it is legal to collect).
        Parameters:
        socialSecurityNumber -
      • getTokenDetails

        public TokenDetails getTokenDetails()
        Get tokenDetails
        Returns:
        tokenDetails
      • setTokenDetails

        public void setTokenDetails​(TokenDetails tokenDetails)
        tokenDetails
        Parameters:
        tokenDetails -
      • getVariant

        public String getVariant()
        The payment method, such as “mc\", \"visa\", \"ideal\", \"paypal\".
        Returns:
        variant
      • setVariant

        public void setVariant​(String variant)
        The payment method, such as “mc\", \"visa\", \"ideal\", \"paypal\".
        Parameters:
        variant -
      • equals

        public boolean equals​(Object o)
        Return true if this RecurringDetail object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static RecurringDetail fromJson​(String jsonString)
                                        throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of RecurringDetail given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of RecurringDetail
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to RecurringDetail
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of RecurringDetail to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException