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 -
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
        Overrides:
        isIncludeNullValues in class Resource
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
        Overrides:
        setIncludeNullValues in class Resource
      • equals

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
        Overrides:
        getExplicitNulls 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