Package com.adyen.model.balanceplatform
Class CardConfiguration
- java.lang.Object
-
- com.adyen.model.balanceplatform.CardConfiguration
-
public class CardConfiguration extends Object
CardConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTIVATIONstatic StringJSON_PROPERTY_ACTIVATION_URLstatic StringJSON_PROPERTY_BULK_ADDRESSstatic StringJSON_PROPERTY_CARD_IMAGE_IDstatic StringJSON_PROPERTY_CARRIERstatic StringJSON_PROPERTY_CARRIER_IMAGE_IDstatic StringJSON_PROPERTY_CONFIGURATION_PROFILE_IDstatic StringJSON_PROPERTY_CURRENCYstatic StringJSON_PROPERTY_ENVELOPEstatic StringJSON_PROPERTY_INSERTstatic StringJSON_PROPERTY_LANGUAGEstatic StringJSON_PROPERTY_LOGO_IMAGE_IDstatic StringJSON_PROPERTY_PIN_MAILERstatic StringJSON_PROPERTY_SHIPMENT_METHOD
-
Constructor Summary
Constructors Constructor Description CardConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CardConfigurationactivation(String activation)CardConfigurationactivationUrl(String activationUrl)CardConfigurationbulkAddress(BulkAddress bulkAddress)CardConfigurationcardImageId(String cardImageId)CardConfigurationcarrier(String carrier)CardConfigurationcarrierImageId(String carrierImageId)CardConfigurationconfigurationProfileId(String configurationProfileId)CardConfigurationcurrency(String currency)CardConfigurationenvelope(String envelope)booleanequals(Object o)Return true if this CardConfiguration object is equal to o.static CardConfigurationfromJson(String jsonString)Create an instance of CardConfiguration given an JSON stringStringgetActivation()Overrides the activation label design ID defined in the `configurationProfileId`.StringgetActivationUrl()Your app's URL, if you want to activate cards through your app.BulkAddressgetBulkAddress()Get bulkAddressStringgetCardImageId()The ID of the card image.StringgetCarrier()Overrides the carrier design ID defined in the `configurationProfileId`.StringgetCarrierImageId()The ID of the carrier image.StringgetConfigurationProfileId()The ID of the card configuration profile that contains the settings of the card.StringgetCurrency()The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card.StringgetEnvelope()Overrides the envelope design ID defined in the `configurationProfileId`.StringgetInsert()Overrides the insert design ID defined in the `configurationProfileId`.StringgetLanguage()The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card.StringgetLogoImageId()The ID of the logo image.StringgetPinMailer()Overrides the PIN mailer design ID defined in the `configurationProfileId`.StringgetShipmentMethod()Overrides the logistics company defined in the `configurationProfileId`.inthashCode()CardConfigurationinsert(String insert)CardConfigurationlanguage(String language)CardConfigurationlogoImageId(String logoImageId)CardConfigurationpinMailer(String pinMailer)voidsetActivation(String activation)Overrides the activation label design ID defined in the `configurationProfileId`.voidsetActivationUrl(String activationUrl)Your app's URL, if you want to activate cards through your app.voidsetBulkAddress(BulkAddress bulkAddress)bulkAddressvoidsetCardImageId(String cardImageId)The ID of the card image.voidsetCarrier(String carrier)Overrides the carrier design ID defined in the `configurationProfileId`.voidsetCarrierImageId(String carrierImageId)The ID of the carrier image.voidsetConfigurationProfileId(String configurationProfileId)The ID of the card configuration profile that contains the settings of the card.voidsetCurrency(String currency)The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card.voidsetEnvelope(String envelope)Overrides the envelope design ID defined in the `configurationProfileId`.voidsetInsert(String insert)Overrides the insert design ID defined in the `configurationProfileId`.voidsetLanguage(String language)The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card.voidsetLogoImageId(String logoImageId)The ID of the logo image.voidsetPinMailer(String pinMailer)Overrides the PIN mailer design ID defined in the `configurationProfileId`.voidsetShipmentMethod(String shipmentMethod)Overrides the logistics company defined in the `configurationProfileId`.CardConfigurationshipmentMethod(String shipmentMethod)StringtoJson()Convert an instance of CardConfiguration to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACTIVATION
public static final String JSON_PROPERTY_ACTIVATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACTIVATION_URL
public static final String JSON_PROPERTY_ACTIVATION_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BULK_ADDRESS
public static final String JSON_PROPERTY_BULK_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD_IMAGE_ID
public static final String JSON_PROPERTY_CARD_IMAGE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARRIER
public static final String JSON_PROPERTY_CARRIER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARRIER_IMAGE_ID
public static final String JSON_PROPERTY_CARRIER_IMAGE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONFIGURATION_PROFILE_ID
public static final String JSON_PROPERTY_CONFIGURATION_PROFILE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENCY
public static final String JSON_PROPERTY_CURRENCY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENVELOPE
public static final String JSON_PROPERTY_ENVELOPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSERT
public static final String JSON_PROPERTY_INSERT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LANGUAGE
public static final String JSON_PROPERTY_LANGUAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOGO_IMAGE_ID
public static final String JSON_PROPERTY_LOGO_IMAGE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PIN_MAILER
public static final String JSON_PROPERTY_PIN_MAILER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHIPMENT_METHOD
public static final String JSON_PROPERTY_SHIPMENT_METHOD
- See Also:
- Constant Field Values
-
-
Method Detail
-
activation
public CardConfiguration activation(String activation)
-
getActivation
public String getActivation()
Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions.- Returns:
- activation
-
setActivation
public void setActivation(String activation)
Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions.- Parameters:
activation-
-
activationUrl
public CardConfiguration activationUrl(String activationUrl)
-
getActivationUrl
public String getActivationUrl()
Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters.- Returns:
- activationUrl
-
setActivationUrl
public void setActivationUrl(String activationUrl)
Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters.- Parameters:
activationUrl-
-
bulkAddress
public CardConfiguration bulkAddress(BulkAddress bulkAddress)
-
getBulkAddress
public BulkAddress getBulkAddress()
Get bulkAddress- Returns:
- bulkAddress
-
setBulkAddress
public void setBulkAddress(BulkAddress bulkAddress)
bulkAddress- Parameters:
bulkAddress-
-
cardImageId
public CardConfiguration cardImageId(String cardImageId)
-
getCardImageId
public String getCardImageId()
The ID of the card image. This is the image that will be printed on the full front of the card.- Returns:
- cardImageId
-
setCardImageId
public void setCardImageId(String cardImageId)
The ID of the card image. This is the image that will be printed on the full front of the card.- Parameters:
cardImageId-
-
carrier
public CardConfiguration carrier(String carrier)
-
getCarrier
public String getCarrier()
Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached.- Returns:
- carrier
-
setCarrier
public void setCarrier(String carrier)
Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached.- Parameters:
carrier-
-
carrierImageId
public CardConfiguration carrierImageId(String carrierImageId)
-
getCarrierImageId
public String getCarrierImageId()
The ID of the carrier image. This is the image that will printed on the letter to which the card is attached.- Returns:
- carrierImageId
-
setCarrierImageId
public void setCarrierImageId(String carrierImageId)
The ID of the carrier image. This is the image that will printed on the letter to which the card is attached.- Parameters:
carrierImageId-
-
configurationProfileId
public CardConfiguration configurationProfileId(String configurationProfileId)
-
getConfigurationProfileId
public String getConfigurationProfileId()
The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile.- Returns:
- configurationProfileId
-
setConfigurationProfileId
public void setConfigurationProfileId(String configurationProfileId)
The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile.- Parameters:
configurationProfileId-
-
currency
public CardConfiguration currency(String currency)
-
getCurrency
public String getCurrency()
The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**.- Returns:
- currency
-
setCurrency
public void setCurrency(String currency)
The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**.- Parameters:
currency-
-
envelope
public CardConfiguration envelope(String envelope)
-
getEnvelope
public String getEnvelope()
Overrides the envelope design ID defined in the `configurationProfileId`.- Returns:
- envelope
-
setEnvelope
public void setEnvelope(String envelope)
Overrides the envelope design ID defined in the `configurationProfileId`.- Parameters:
envelope-
-
insert
public CardConfiguration insert(String insert)
-
getInsert
public String getInsert()
Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card.- Returns:
- insert
-
setInsert
public void setInsert(String insert)
Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card.- Parameters:
insert-
-
language
public CardConfiguration language(String language)
-
getLanguage
public String getLanguage()
The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**.- Returns:
- language
-
setLanguage
public void setLanguage(String language)
The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**.- Parameters:
language-
-
logoImageId
public CardConfiguration logoImageId(String logoImageId)
-
getLogoImageId
public String getLogoImageId()
The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner.- Returns:
- logoImageId
-
setLogoImageId
public void setLogoImageId(String logoImageId)
The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner.- Parameters:
logoImageId-
-
pinMailer
public CardConfiguration pinMailer(String pinMailer)
-
getPinMailer
public String getPinMailer()
Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed.- Returns:
- pinMailer
-
setPinMailer
public void setPinMailer(String pinMailer)
Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed.- Parameters:
pinMailer-
-
shipmentMethod
public CardConfiguration shipmentMethod(String shipmentMethod)
-
getShipmentMethod
public String getShipmentMethod()
Overrides the logistics company defined in the `configurationProfileId`.- Returns:
- shipmentMethod
-
setShipmentMethod
public void setShipmentMethod(String shipmentMethod)
Overrides the logistics company defined in the `configurationProfileId`.- Parameters:
shipmentMethod-
-
equals
public boolean equals(Object o)
Return true if this CardConfiguration object is equal to o.
-
fromJson
public static CardConfiguration fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CardConfiguration given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CardConfiguration
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CardConfiguration
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CardConfiguration to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-