Class NotifyShopperResult


  • public class NotifyShopperResult
    extends Object
    NotifyShopperResult
    • Constructor Detail

      • NotifyShopperResult

        public NotifyShopperResult()
    • Method Detail

      • displayedReference

        public NotifyShopperResult displayedReference​(String displayedReference)
        Reference of Pre-debit notification that is displayed to the shopper
        Parameters:
        displayedReference -
        Returns:
        the current NotifyShopperResult instance, allowing for method chaining
      • getDisplayedReference

        public String getDisplayedReference()
        Reference of Pre-debit notification that is displayed to the shopper
        Returns:
        displayedReference
      • setDisplayedReference

        public void setDisplayedReference​(String displayedReference)
        Reference of Pre-debit notification that is displayed to the shopper
        Parameters:
        displayedReference -
      • message

        public NotifyShopperResult message​(String message)
        A simple description of the `resultCode`.
        Parameters:
        message -
        Returns:
        the current NotifyShopperResult instance, allowing for method chaining
      • getMessage

        public String getMessage()
        A simple description of the `resultCode`.
        Returns:
        message
      • setMessage

        public void setMessage​(String message)
        A simple description of the `resultCode`.
        Parameters:
        message -
      • pspReference

        public NotifyShopperResult pspReference​(String pspReference)
        The unique reference that is associated with the request.
        Parameters:
        pspReference -
        Returns:
        the current NotifyShopperResult instance, allowing for method chaining
      • getPspReference

        public String getPspReference()
        The unique reference that is associated with the request.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
        The unique reference that is associated with the request.
        Parameters:
        pspReference -
      • reference

        public NotifyShopperResult reference​(String reference)
        Reference of Pre-debit notification sent in my the merchant
        Parameters:
        reference -
        Returns:
        the current NotifyShopperResult instance, allowing for method chaining
      • getReference

        public String getReference()
        Reference of Pre-debit notification sent in my the merchant
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        Reference of Pre-debit notification sent in my the merchant
        Parameters:
        reference -
      • resultCode

        public NotifyShopperResult resultCode​(String resultCode)
        The code indicating the status of notification.
        Parameters:
        resultCode -
        Returns:
        the current NotifyShopperResult instance, allowing for method chaining
      • getResultCode

        public String getResultCode()
        The code indicating the status of notification.
        Returns:
        resultCode
      • setResultCode

        public void setResultCode​(String resultCode)
        The code indicating the status of notification.
        Parameters:
        resultCode -
      • shopperNotificationReference

        public NotifyShopperResult shopperNotificationReference​(String shopperNotificationReference)
        The unique reference for the request sent downstream.
        Parameters:
        shopperNotificationReference -
        Returns:
        the current NotifyShopperResult instance, allowing for method chaining
      • getShopperNotificationReference

        public String getShopperNotificationReference()
        The unique reference for the request sent downstream.
        Returns:
        shopperNotificationReference
      • setShopperNotificationReference

        public void setShopperNotificationReference​(String shopperNotificationReference)
        The unique reference for the request sent downstream.
        Parameters:
        shopperNotificationReference -
      • storedPaymentMethodId

        public NotifyShopperResult storedPaymentMethodId​(String storedPaymentMethodId)
        This is the recurringDetailReference returned in the response when token was created
        Parameters:
        storedPaymentMethodId -
        Returns:
        the current NotifyShopperResult instance, allowing for method chaining
      • getStoredPaymentMethodId

        public String getStoredPaymentMethodId()
        This is the recurringDetailReference returned in the response when token was created
        Returns:
        storedPaymentMethodId
      • setStoredPaymentMethodId

        public void setStoredPaymentMethodId​(String storedPaymentMethodId)
        This is the recurringDetailReference returned in the response when token was created
        Parameters:
        storedPaymentMethodId -
      • equals

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

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

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

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