Class PaymentInstrumentRevealInfo


  • public class PaymentInstrumentRevealInfo
    extends Object
    PaymentInstrumentRevealInfo
    • Constructor Detail

      • PaymentInstrumentRevealInfo

        public PaymentInstrumentRevealInfo()
    • Method Detail

      • cvc

        public PaymentInstrumentRevealInfo cvc​(String cvc)
        The CVC2 value of the card.
        Parameters:
        cvc -
        Returns:
        the current PaymentInstrumentRevealInfo instance, allowing for method chaining
      • getCvc

        public String getCvc()
        The CVC2 value of the card.
        Returns:
        cvc
      • setCvc

        public void setCvc​(String cvc)
        The CVC2 value of the card.
        Parameters:
        cvc -
      • expiration

        public PaymentInstrumentRevealInfo expiration​(Expiry expiration)
        expiration
        Parameters:
        expiration -
        Returns:
        the current PaymentInstrumentRevealInfo instance, allowing for method chaining
      • getExpiration

        public Expiry getExpiration()
        expiration
        Returns:
        expiration
      • setExpiration

        public void setExpiration​(Expiry expiration)
        expiration
        Parameters:
        expiration -
      • pan

        public PaymentInstrumentRevealInfo pan​(String pan)
        The primary account number (PAN) of the card.
        Parameters:
        pan -
        Returns:
        the current PaymentInstrumentRevealInfo instance, allowing for method chaining
      • getPan

        public String getPan()
        The primary account number (PAN) of the card.
        Returns:
        pan
      • setPan

        public void setPan​(String pan)
        The primary account number (PAN) of the card.
        Parameters:
        pan -
      • equals

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

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

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

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