Class PayToPaymentMethod

    • Constructor Detail

      • PayToPaymentMethod

        public PayToPaymentMethod()
    • Method Detail

      • shopperReference

        public PayToPaymentMethod shopperReference​(String shopperReference)
        shopperReference
        Parameters:
        shopperReference -
        Returns:
        the current PayToPaymentMethod instance, allowing for method chaining
      • getShopperReference

        public String getShopperReference()
        Get shopperReference
        Returns:
        shopperReference
      • setShopperReference

        public void setShopperReference​(String shopperReference)
        shopperReference
        Parameters:
        shopperReference -
      • fromJson

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

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of PayToPaymentMethod to an JSON string
        Overrides:
        toJson in class ShopperIdPaymentMethod
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException