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)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.PaymentInstrumentGroupInfodescription(String description)Your description for the payment instrument group.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.Map<String,String>getProperties()Properties of the payment instrument group.StringgetReference()Your reference for the payment instrument group.StringgetTxVariant()The tx variant of the payment instrument group.inthashCode()PaymentInstrumentGroupInfoproperties(Map<String,String> properties)Properties of the payment instrument group.PaymentInstrumentGroupInfoputPropertiesItem(String key, String propertiesItem)PaymentInstrumentGroupInforeference(String reference)Your reference for the payment instrument group.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.voidsetProperties(Map<String,String> properties)Properties of the payment instrument group.voidsetReference(String reference)Your reference for the payment instrument group.voidsetTxVariant(String txVariant)The tx variant of the payment instrument group.StringtoJson()Convert an instance of PaymentInstrumentGroupInfo to an JSON stringStringtoString()PaymentInstrumentGroupInfotxVariant(String txVariant)The tx variant of the payment instrument group.
-
-
-
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)
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-- Returns:
- the current
PaymentInstrumentGroupInfoinstance, allowing for method chaining
-
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)
Your description for the payment instrument group.- Parameters:
description-- Returns:
- the current
PaymentInstrumentGroupInfoinstance, allowing for method chaining
-
getDescription
public String getDescription()
Your description for the payment instrument group.- Returns:
- description
-
setDescription
public void setDescription(String description)
Your description for the payment instrument group.- Parameters:
description-
-
properties
public PaymentInstrumentGroupInfo properties(Map<String,String> properties)
Properties of the payment instrument group.- Parameters:
properties-- Returns:
- the current
PaymentInstrumentGroupInfoinstance, allowing for method chaining
-
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)
Your reference for the payment instrument group.- Parameters:
reference-- Returns:
- the current
PaymentInstrumentGroupInfoinstance, allowing for method chaining
-
getReference
public String getReference()
Your reference for the payment instrument group.- Returns:
- reference
-
setReference
public void setReference(String reference)
Your reference for the payment instrument group.- Parameters:
reference-
-
txVariant
public PaymentInstrumentGroupInfo txVariant(String txVariant)
The tx variant of the payment instrument group.- Parameters:
txVariant-- Returns:
- the current
PaymentInstrumentGroupInfoinstance, allowing for method chaining
-
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
-
-