Package com.adyen.model.balanceplatform
Class PaymentInstrumentGroupInfo
- java.lang.Object
-
- com.adyen.model.balanceplatform.PaymentInstrumentGroupInfo
-
public class PaymentInstrumentGroupInfo extends Object
PaymentInstrumentGroupInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_PROPERTIESstatic StringJSON_PROPERTY_REFERENCEstatic StringJSON_PROPERTY_TX_VARIANT
-
Constructor Summary
Constructors Constructor Description PaymentInstrumentGroupInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentInstrumentGroupInfobalancePlatform(String balancePlatform)PaymentInstrumentGroupInfodescription(String description)booleanequals(Object o)Return true if this PaymentInstrumentGroupInfo object is equal to o.static PaymentInstrumentGroupInfofromJson(String jsonString)Create an instance of PaymentInstrumentGroupInfo given an JSON stringStringgetBalancePlatform()The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs.StringgetDescription()Your description for the payment instrument group, maximum 300 characters.Map<String,String>getProperties()Properties of the payment instrument group.StringgetReference()Your reference for the payment instrument group, maximum 150 characters.StringgetTxVariant()The tx variant of the payment instrument group.inthashCode()PaymentInstrumentGroupInfoproperties(Map<String,String> properties)PaymentInstrumentGroupInfoputPropertiesItem(String key, String propertiesItem)PaymentInstrumentGroupInforeference(String reference)voidsetBalancePlatform(String balancePlatform)The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs.voidsetDescription(String description)Your description for the payment instrument group, maximum 300 characters.voidsetProperties(Map<String,String> properties)Properties of the payment instrument group.voidsetReference(String reference)Your reference for the payment instrument group, maximum 150 characters.voidsetTxVariant(String txVariant)The tx variant of the payment instrument group.StringtoJson()Convert an instance of PaymentInstrumentGroupInfo to an JSON stringStringtoString()PaymentInstrumentGroupInfotxVariant(String txVariant)
-
-
-
Field Detail
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROPERTIES
public static final String JSON_PROPERTY_PROPERTIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE
public static final String JSON_PROPERTY_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TX_VARIANT
public static final String JSON_PROPERTY_TX_VARIANT
- See Also:
- Constant Field Values
-
-
Method Detail
-
balancePlatform
public PaymentInstrumentGroupInfo balancePlatform(String balancePlatform)
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs.- Returns:
- balancePlatform
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs.- Parameters:
balancePlatform-
-
description
public PaymentInstrumentGroupInfo description(String description)
-
getDescription
public String getDescription()
Your description for the payment instrument group, maximum 300 characters.- Returns:
- description
-
setDescription
public void setDescription(String description)
Your description for the payment instrument group, maximum 300 characters.- Parameters:
description-
-
properties
public PaymentInstrumentGroupInfo properties(Map<String,String> properties)
-
putPropertiesItem
public PaymentInstrumentGroupInfo putPropertiesItem(String key, String propertiesItem)
-
getProperties
public Map<String,String> getProperties()
Properties of the payment instrument group.- Returns:
- properties
-
setProperties
public void setProperties(Map<String,String> properties)
Properties of the payment instrument group.- Parameters:
properties-
-
reference
public PaymentInstrumentGroupInfo reference(String reference)
-
getReference
public String getReference()
Your reference for the payment instrument group, maximum 150 characters.- Returns:
- reference
-
setReference
public void setReference(String reference)
Your reference for the payment instrument group, maximum 150 characters.- Parameters:
reference-
-
txVariant
public PaymentInstrumentGroupInfo txVariant(String txVariant)
-
getTxVariant
public String getTxVariant()
The tx variant of the payment instrument group.- Returns:
- txVariant
-
setTxVariant
public void setTxVariant(String txVariant)
The tx variant of the payment instrument group.- Parameters:
txVariant-
-
equals
public boolean equals(Object o)
Return true if this PaymentInstrumentGroupInfo object is equal to o.
-
fromJson
public static PaymentInstrumentGroupInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentInstrumentGroupInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentInstrumentGroupInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentInstrumentGroupInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentInstrumentGroupInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-