Class RecurringDetailsResult


  • public class RecurringDetailsResult
    extends Object
    RecurringDetailsResult
    • Constructor Detail

      • RecurringDetailsResult

        public RecurringDetailsResult()
    • Method Detail

      • creationDate

        public RecurringDetailsResult creationDate​(OffsetDateTime creationDate)
        The date when the recurring details were created.
        Parameters:
        creationDate -
        Returns:
        the current RecurringDetailsResult instance, allowing for method chaining
      • 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 -
      • details

        public RecurringDetailsResult details​(List<RecurringDetailWrapper> details)
        Payment details stored for recurring payments.
        Parameters:
        details -
        Returns:
        the current RecurringDetailsResult instance, allowing for method chaining
      • setDetails

        public void setDetails​(List<RecurringDetailWrapper> details)
        Payment details stored for recurring payments.
        Parameters:
        details -
      • lastKnownShopperEmail

        public RecurringDetailsResult lastKnownShopperEmail​(String lastKnownShopperEmail)
        The most recent email for this shopper (if available).
        Parameters:
        lastKnownShopperEmail -
        Returns:
        the current RecurringDetailsResult instance, allowing for method chaining
      • getLastKnownShopperEmail

        public String getLastKnownShopperEmail()
        The most recent email for this shopper (if available).
        Returns:
        lastKnownShopperEmail
      • setLastKnownShopperEmail

        public void setLastKnownShopperEmail​(String lastKnownShopperEmail)
        The most recent email for this shopper (if available).
        Parameters:
        lastKnownShopperEmail -
      • shopperReference

        public RecurringDetailsResult shopperReference​(String shopperReference)
        The reference you use to uniquely identify the shopper (e.g. user ID or account ID).
        Parameters:
        shopperReference -
        Returns:
        the current RecurringDetailsResult 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
      • setShopperReference

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

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

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

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

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