Class RecurringDetailsRequest


  • public class RecurringDetailsRequest
    extends Object
    RecurringDetailsRequest
    • Constructor Detail

      • RecurringDetailsRequest

        public RecurringDetailsRequest()
    • Method Detail

      • merchantAccount

        public RecurringDetailsRequest merchantAccount​(String merchantAccount)
        The merchant account identifier you want to process the (transaction) request with.
        Parameters:
        merchantAccount - The merchant account identifier you want to process the (transaction) request with.
        Returns:
        the current RecurringDetailsRequest instance, allowing for method chaining
      • getMerchantAccount

        public String getMerchantAccount()
        The merchant account identifier you want to process the (transaction) request with.
        Returns:
        merchantAccount The merchant account identifier you want to process the (transaction) request with.
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
        The merchant account identifier you want to process the (transaction) request with.
        Parameters:
        merchantAccount - The merchant account identifier you want to process the (transaction) request with.
      • recurring

        public RecurringDetailsRequest recurring​(Recurring recurring)
        recurring
        Parameters:
        recurring -
        Returns:
        the current RecurringDetailsRequest instance, allowing for method chaining
      • getRecurring

        public Recurring getRecurring()
        Get recurring
        Returns:
        recurring
      • setRecurring

        public void setRecurring​(Recurring recurring)
        recurring
        Parameters:
        recurring -
      • shopperReference

        public RecurringDetailsRequest shopperReference​(String shopperReference)
        The reference you use to uniquely identify the shopper (e.g. user ID or account ID).
        Parameters:
        shopperReference - The reference you use to uniquely identify the shopper (e.g. user ID or account ID).
        Returns:
        the current RecurringDetailsRequest instance, allowing for method chaining
      • getShopperReference

        public String getShopperReference()
        The reference you use to uniquely identify the shopper (e.g. user ID or account ID).
        Returns:
        shopperReference The reference you use to uniquely identify the shopper (e.g. user ID or account ID).
      • setShopperReference

        public void setShopperReference​(String shopperReference)
        The reference you use to uniquely identify the shopper (e.g. user ID or account ID).
        Parameters:
        shopperReference - The reference you use to uniquely identify the shopper (e.g. user ID or account ID).
      • includeNullValues

        public RecurringDetailsRequest includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

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

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

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

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