Package com.stripe.net
Class KeyValuePair<K,V>
java.lang.Object
java.util.AbstractMap.SimpleEntry<K,V>
com.stripe.net.KeyValuePair<K,V>
- Type Parameters:
K
- the type of the keyV
- the type of the value
- All Implemented Interfaces:
Serializable
,Map.Entry<K,
V>
A KeyValuePair holds a key and a value. This class is used to represent parameters when encoding
API requests.
- See Also:
-
Constructor Summary
ConstructorDescriptionKeyValuePair
(K key, V value) Initializes a new instance of theKeyValuePair
class using the specified key and value. -
Method Summary
-
Constructor Details
-
KeyValuePair
Initializes a new instance of theKeyValuePair
class using the specified key and value.- Parameters:
key
- the keyvalue
- the value
-