Package com.adyen.model.balanceplatform
Class PaymentInstrumentGroup
- java.lang.Object
-
- com.adyen.model.balanceplatform.PaymentInstrumentGroup
-
public class PaymentInstrumentGroup extends Object
PaymentInstrumentGroup
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_PROPERTIESstatic StringJSON_PROPERTY_REFERENCEstatic StringJSON_PROPERTY_TX_VARIANT
-
Constructor Summary
Constructors Constructor Description PaymentInstrumentGroup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentInstrumentGroupbalancePlatform(String balancePlatform)PaymentInstrumentGroupdescription(String description)booleanequals(Object o)Return true if this PaymentInstrumentGroup object is equal to o.static PaymentInstrumentGroupfromJson(String jsonString)Create an instance of PaymentInstrumentGroup 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.StringgetId()The unique identifier of 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()PaymentInstrumentGroupid(String id)PaymentInstrumentGroupproperties(Map<String,String> properties)PaymentInstrumentGroupputPropertiesItem(String key, String propertiesItem)PaymentInstrumentGroupreference(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.voidsetId(String id)The unique identifier of 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 PaymentInstrumentGroup to an JSON stringStringtoString()PaymentInstrumentGrouptxVariant(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_ID
public static final String JSON_PROPERTY_ID
- 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 PaymentInstrumentGroup 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 PaymentInstrumentGroup description(String description)
-
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-
-
id
public PaymentInstrumentGroup id(String id)
-
getId
public String getId()
The unique identifier of the payment instrument group.- Returns:
- id
-
setId
public void setId(String id)
The unique identifier of the payment instrument group.- Parameters:
id-
-
properties
public PaymentInstrumentGroup properties(Map<String,String> properties)
-
putPropertiesItem
public PaymentInstrumentGroup 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 PaymentInstrumentGroup reference(String reference)
-
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 PaymentInstrumentGroup 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 PaymentInstrumentGroup object is equal to o.
-
fromJson
public static PaymentInstrumentGroup fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentInstrumentGroup given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentInstrumentGroup
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentInstrumentGroup
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentInstrumentGroup to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-