Class PaymentMethodWrapper


  • public class PaymentMethodWrapper
    extends Object
    PaymentMethodWrapper
    • Constructor Detail

      • PaymentMethodWrapper

        public PaymentMethodWrapper()
    • Method Detail

      • getPaymentMethod

        public PaymentMethod getPaymentMethod()
        Get paymentMethod
        Returns:
        paymentMethod
      • setPaymentMethod

        public void setPaymentMethod​(PaymentMethod paymentMethod)
      • equals

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

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

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

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