Class RecurringDetail


  • public class RecurringDetail
    extends Object
    RecurringDetail
    • Constructor Detail

      • RecurringDetail

        public RecurringDetail()
    • Method Detail

      • setApps

        public void setApps​(List<PaymentMethodUPIApps> apps)
        A list of apps for this payment method.
        Parameters:
        apps -
      • getBrand

        public String getBrand()
        Brand for the selected gift card. For example: plastix, hmclub.
        Returns:
        brand
      • setBrand

        public void setBrand​(String brand)
        Brand for the selected gift card. For example: plastix, hmclub.
        Parameters:
        brand -
      • getBrands

        public List<String> getBrands()
        List of possible brands. For example: visa, mc.
        Returns:
        brands
      • setBrands

        public void setBrands​(List<String> brands)
        List of possible brands. For example: visa, mc.
        Parameters:
        brands -
      • getConfiguration

        public Map<String,​String> getConfiguration()
        The configuration of the payment method.
        Returns:
        configuration
      • setConfiguration

        public void setConfiguration​(Map<String,​String> configuration)
        The configuration of the payment method.
        Parameters:
        configuration -
      • setFundingSource

        public void setFundingSource​(RecurringDetail.FundingSourceEnum fundingSource)
        The funding source of the payment method.
        Parameters:
        fundingSource -
      • getInputDetails

        @Deprecated
        public List<InputDetail> getInputDetails()
        Deprecated.
        All input details to be provided to complete the payment with this payment method.
        Returns:
        inputDetails
      • setInputDetails

        @Deprecated
        public void setInputDetails​(List<InputDetail> inputDetails)
        Deprecated.
        All input details to be provided to complete the payment with this payment method.
        Parameters:
        inputDetails -
      • getIssuers

        public List<PaymentMethodIssuer> getIssuers()
        A list of issuers for this payment method.
        Returns:
        issuers
      • setIssuers

        public void setIssuers​(List<PaymentMethodIssuer> issuers)
        A list of issuers for this payment method.
        Parameters:
        issuers -
      • getName

        public String getName()
        The displayable name of this payment method.
        Returns:
        name
      • setName

        public void setName​(String name)
        The displayable name of this payment method.
        Parameters:
        name -
      • 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 -
      • getStoredDetails

        public StoredDetails getStoredDetails()
        Get storedDetails
        Returns:
        storedDetails
      • setStoredDetails

        public void setStoredDetails​(StoredDetails storedDetails)
        storedDetails
        Parameters:
        storedDetails -
      • getType

        public String getType()
        The unique payment method code.
        Returns:
        type
      • setType

        public void setType​(String type)
        The unique payment method code.
        Parameters:
        type -
      • 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