Class PaymentInstrumentResource


  • public class PaymentInstrumentResource
    extends Resource
    PaymentInstrumentResource
    • Field Detail

    • Constructor Detail

      • PaymentInstrumentResource

        public PaymentInstrumentResource()
    • Method Detail

      • paymentInstrumentId

        public PaymentInstrumentResource paymentInstrumentId​(String paymentInstrumentId)
        paymentInstrumentId
        Parameters:
        paymentInstrumentId -
        Returns:
        the current PaymentInstrumentResource instance, allowing for method chaining
      • getPaymentInstrumentId

        public String getPaymentInstrumentId()
        Get paymentInstrumentId
        Returns:
        paymentInstrumentId
      • setPaymentInstrumentId

        public void setPaymentInstrumentId​(String paymentInstrumentId)
        paymentInstrumentId
        Parameters:
        paymentInstrumentId -
      • equals

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

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

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