Class GeneratePciDescriptionRequest
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.GeneratePciDescriptionRequest
-
public class GeneratePciDescriptionRequest extends Object
GeneratePciDescriptionRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeneratePciDescriptionRequest.AdditionalSalesChannelsEnumGets or Sets additionalSalesChannels
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDITIONAL_SALES_CHANNELSstatic StringJSON_PROPERTY_LANGUAGE
-
Constructor Summary
Constructors Constructor Description GeneratePciDescriptionRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneratePciDescriptionRequestaddAdditionalSalesChannelsItem(GeneratePciDescriptionRequest.AdditionalSalesChannelsEnum additionalSalesChannelsItem)GeneratePciDescriptionRequestadditionalSalesChannels(List<GeneratePciDescriptionRequest.AdditionalSalesChannelsEnum> additionalSalesChannels)An array of additional sales channels to generate PCI questionnaires.booleanequals(Object o)Return true if this GeneratePciDescriptionRequest object is equal to o.static GeneratePciDescriptionRequestfromJson(String jsonString)Create an instance of GeneratePciDescriptionRequest given an JSON stringList<GeneratePciDescriptionRequest.AdditionalSalesChannelsEnum>getAdditionalSalesChannels()An array of additional sales channels to generate PCI questionnaires.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetLanguage()Sets the language of the PCI questionnaire.inthashCode()GeneratePciDescriptionRequestincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.GeneratePciDescriptionRequestlanguage(String language)Sets the language of the PCI questionnaire.voidsetAdditionalSalesChannels(List<GeneratePciDescriptionRequest.AdditionalSalesChannelsEnum> additionalSalesChannels)An array of additional sales channels to generate PCI questionnaires.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetLanguage(String language)Sets the language of the PCI questionnaire.StringtoJson()Convert an instance of GeneratePciDescriptionRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ADDITIONAL_SALES_CHANNELS
public static final String JSON_PROPERTY_ADDITIONAL_SALES_CHANNELS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LANGUAGE
public static final String JSON_PROPERTY_LANGUAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
additionalSalesChannels
public GeneratePciDescriptionRequest additionalSalesChannels(List<GeneratePciDescriptionRequest.AdditionalSalesChannelsEnum> additionalSalesChannels)
An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto**- Parameters:
additionalSalesChannels- An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto**- Returns:
- the current
GeneratePciDescriptionRequestinstance, allowing for method chaining
-
addAdditionalSalesChannelsItem
public GeneratePciDescriptionRequest addAdditionalSalesChannelsItem(GeneratePciDescriptionRequest.AdditionalSalesChannelsEnum additionalSalesChannelsItem)
-
getAdditionalSalesChannels
public List<GeneratePciDescriptionRequest.AdditionalSalesChannelsEnum> getAdditionalSalesChannels()
An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto**- Returns:
- additionalSalesChannels An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto**
-
setAdditionalSalesChannels
public void setAdditionalSalesChannels(List<GeneratePciDescriptionRequest.AdditionalSalesChannelsEnum> additionalSalesChannels)
An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto**- Parameters:
additionalSalesChannels- An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto**
-
language
public GeneratePciDescriptionRequest language(String language)
Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.- Parameters:
language- Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.- Returns:
- the current
GeneratePciDescriptionRequestinstance, allowing for method chaining
-
getLanguage
public String getLanguage()
Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.- Returns:
- language Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.
-
setLanguage
public void setLanguage(String language)
Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.- Parameters:
language- Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.
-
includeNullValues
public GeneratePciDescriptionRequest includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this GeneratePciDescriptionRequest object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static GeneratePciDescriptionRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GeneratePciDescriptionRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GeneratePciDescriptionRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GeneratePciDescriptionRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GeneratePciDescriptionRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-