content: /*
   * Adyen Checkout API
   *
   * The version of the OpenAPI document: 71
   *
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   * Do not edit the class manually.
   */
  
  package com.adyen.model.checkout;
  
  import com.fasterxml.jackson.annotation.JsonInclude;
  import com.fasterxml.jackson.annotation.JsonProperty;
  import com.fasterxml.jackson.annotation.JsonPropertyOrder;
  import com.fasterxml.jackson.core.JsonProcessingException;
  import java.util.*;
  
  /** AdditionalDataRisk */
  @JsonPropertyOrder({
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_CUSTOM_FIELD_NAME,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_AMOUNT_PER_ITEM,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_BRAND,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CATEGORY,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_COLOR,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CURRENCY,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_ITEM_I_D,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_MANUFACTURER,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_PRODUCT_TITLE,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_QUANTITY,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_RECEIVER_EMAIL,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SIZE,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SKU,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_UPC,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_CODE,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_AMOUNT,
    AdditionalDataRisk
        .JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_CURRENCY,
    AdditionalDataRisk
        .JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_PERCENTAGE,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_NAME,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_RISK_PROFILE_REFERENCE,
    AdditionalDataRisk.JSON_PROPERTY_RISKDATA_SKIP_RISK
  })
  public class AdditionalDataRisk {
    public static final String JSON_PROPERTY_RISKDATA_CUSTOM_FIELD_NAME =
        "riskdata.[customFieldName]";
    private String riskdataCustomFieldName;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_AMOUNT_PER_ITEM =
        "riskdata.basket.item[itemNr].amountPerItem";
    private String riskdataBasketItemItemNrAmountPerItem;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_BRAND =
        "riskdata.basket.item[itemNr].brand";
    private String riskdataBasketItemItemNrBrand;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CATEGORY =
        "riskdata.basket.item[itemNr].category";
    private String riskdataBasketItemItemNrCategory;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_COLOR =
        "riskdata.basket.item[itemNr].color";
    private String riskdataBasketItemItemNrColor;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CURRENCY =
        "riskdata.basket.item[itemNr].currency";
    private String riskdataBasketItemItemNrCurrency;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_ITEM_I_D =
        "riskdata.basket.item[itemNr].itemID";
    private String riskdataBasketItemItemNrItemID;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_MANUFACTURER =
        "riskdata.basket.item[itemNr].manufacturer";
    private String riskdataBasketItemItemNrManufacturer;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_PRODUCT_TITLE =
        "riskdata.basket.item[itemNr].productTitle";
    private String riskdataBasketItemItemNrProductTitle;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_QUANTITY =
        "riskdata.basket.item[itemNr].quantity";
    private String riskdataBasketItemItemNrQuantity;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_RECEIVER_EMAIL =
        "riskdata.basket.item[itemNr].receiverEmail";
    private String riskdataBasketItemItemNrReceiverEmail;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SIZE =
        "riskdata.basket.item[itemNr].size";
    private String riskdataBasketItemItemNrSize;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SKU =
        "riskdata.basket.item[itemNr].sku";
    private String riskdataBasketItemItemNrSku;
  
    public static final String JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_UPC =
        "riskdata.basket.item[itemNr].upc";
    private String riskdataBasketItemItemNrUpc;
  
    public static final String JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_CODE =
        "riskdata.promotions.promotion[itemNr].promotionCode";
    private String riskdataPromotionsPromotionItemNrPromotionCode;
  
    public static final String
        JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_AMOUNT =
            "riskdata.promotions.promotion[itemNr].promotionDiscountAmount";
    private String riskdataPromotionsPromotionItemNrPromotionDiscountAmount;
  
    public static final String
        JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_CURRENCY =
            "riskdata.promotions.promotion[itemNr].promotionDiscountCurrency";
    private String riskdataPromotionsPromotionItemNrPromotionDiscountCurrency;
  
    public static final String
        JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_PERCENTAGE =
            "riskdata.promotions.promotion[itemNr].promotionDiscountPercentage";
    private String riskdataPromotionsPromotionItemNrPromotionDiscountPercentage;
  
    public static final String JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_NAME =
        "riskdata.promotions.promotion[itemNr].promotionName";
    private String riskdataPromotionsPromotionItemNrPromotionName;
  
    public static final String JSON_PROPERTY_RISKDATA_RISK_PROFILE_REFERENCE =
        "riskdata.riskProfileReference";
    private String riskdataRiskProfileReference;
  
    public static final String JSON_PROPERTY_RISKDATA_SKIP_RISK = "riskdata.skipRisk";
    private String riskdataSkipRisk;
  
    public AdditionalDataRisk() {}
  
    /**
     * The data for your custom risk field. For more information, refer to [Create custom risk
     * fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields).
     *
     * @param riskdataCustomFieldName The data for your custom risk field. For more information, refer
     *     to [Create custom risk
     *     fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields).
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataCustomFieldName(String riskdataCustomFieldName) {
      this.riskdataCustomFieldName = riskdataCustomFieldName;
      return this;
    }
  
    /**
     * The data for your custom risk field. For more information, refer to [Create custom risk
     * fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields).
     *
     * @return riskdataCustomFieldName The data for your custom risk field. For more information,
     *     refer to [Create custom risk
     *     fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_CUSTOM_FIELD_NAME)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataCustomFieldName() {
      return riskdataCustomFieldName;
    }
  
    /**
     * The data for your custom risk field. For more information, refer to [Create custom risk
     * fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields).
     *
     * @param riskdataCustomFieldName The data for your custom risk field. For more information, refer
     *     to [Create custom risk
     *     fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_CUSTOM_FIELD_NAME)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataCustomFieldName(String riskdataCustomFieldName) {
      this.riskdataCustomFieldName = riskdataCustomFieldName;
    }
  
    /**
     * The price of item in the basket, represented in [minor
     * units](https://docs.adyen.com/development-resources/currency-codes).
     *
     * @param riskdataBasketItemItemNrAmountPerItem The price of item in the basket, represented in
     *     [minor units](https://docs.adyen.com/development-resources/currency-codes).
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrAmountPerItem(
        String riskdataBasketItemItemNrAmountPerItem) {
      this.riskdataBasketItemItemNrAmountPerItem = riskdataBasketItemItemNrAmountPerItem;
      return this;
    }
  
    /**
     * The price of item in the basket, represented in [minor
     * units](https://docs.adyen.com/development-resources/currency-codes).
     *
     * @return riskdataBasketItemItemNrAmountPerItem The price of item in the basket, represented in
     *     [minor units](https://docs.adyen.com/development-resources/currency-codes).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_AMOUNT_PER_ITEM)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrAmountPerItem() {
      return riskdataBasketItemItemNrAmountPerItem;
    }
  
    /**
     * The price of item in the basket, represented in [minor
     * units](https://docs.adyen.com/development-resources/currency-codes).
     *
     * @param riskdataBasketItemItemNrAmountPerItem The price of item in the basket, represented in
     *     [minor units](https://docs.adyen.com/development-resources/currency-codes).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_AMOUNT_PER_ITEM)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrAmountPerItem(
        String riskdataBasketItemItemNrAmountPerItem) {
      this.riskdataBasketItemItemNrAmountPerItem = riskdataBasketItemItemNrAmountPerItem;
    }
  
    /**
     * Brand of the item.
     *
     * @param riskdataBasketItemItemNrBrand Brand of the item.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrBrand(String riskdataBasketItemItemNrBrand) {
      this.riskdataBasketItemItemNrBrand = riskdataBasketItemItemNrBrand;
      return this;
    }
  
    /**
     * Brand of the item.
     *
     * @return riskdataBasketItemItemNrBrand Brand of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_BRAND)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrBrand() {
      return riskdataBasketItemItemNrBrand;
    }
  
    /**
     * Brand of the item.
     *
     * @param riskdataBasketItemItemNrBrand Brand of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_BRAND)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrBrand(String riskdataBasketItemItemNrBrand) {
      this.riskdataBasketItemItemNrBrand = riskdataBasketItemItemNrBrand;
    }
  
    /**
     * Category of the item.
     *
     * @param riskdataBasketItemItemNrCategory Category of the item.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrCategory(
        String riskdataBasketItemItemNrCategory) {
      this.riskdataBasketItemItemNrCategory = riskdataBasketItemItemNrCategory;
      return this;
    }
  
    /**
     * Category of the item.
     *
     * @return riskdataBasketItemItemNrCategory Category of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CATEGORY)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrCategory() {
      return riskdataBasketItemItemNrCategory;
    }
  
    /**
     * Category of the item.
     *
     * @param riskdataBasketItemItemNrCategory Category of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CATEGORY)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrCategory(String riskdataBasketItemItemNrCategory) {
      this.riskdataBasketItemItemNrCategory = riskdataBasketItemItemNrCategory;
    }
  
    /**
     * Color of the item.
     *
     * @param riskdataBasketItemItemNrColor Color of the item.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrColor(String riskdataBasketItemItemNrColor) {
      this.riskdataBasketItemItemNrColor = riskdataBasketItemItemNrColor;
      return this;
    }
  
    /**
     * Color of the item.
     *
     * @return riskdataBasketItemItemNrColor Color of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_COLOR)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrColor() {
      return riskdataBasketItemItemNrColor;
    }
  
    /**
     * Color of the item.
     *
     * @param riskdataBasketItemItemNrColor Color of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_COLOR)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrColor(String riskdataBasketItemItemNrColor) {
      this.riskdataBasketItemItemNrColor = riskdataBasketItemItemNrColor;
    }
  
    /**
     * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).
     *
     * @param riskdataBasketItemItemNrCurrency The three-character [ISO currency
     *     code](https://en.wikipedia.org/wiki/ISO_4217).
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrCurrency(
        String riskdataBasketItemItemNrCurrency) {
      this.riskdataBasketItemItemNrCurrency = riskdataBasketItemItemNrCurrency;
      return this;
    }
  
    /**
     * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).
     *
     * @return riskdataBasketItemItemNrCurrency The three-character [ISO currency
     *     code](https://en.wikipedia.org/wiki/ISO_4217).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CURRENCY)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrCurrency() {
      return riskdataBasketItemItemNrCurrency;
    }
  
    /**
     * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).
     *
     * @param riskdataBasketItemItemNrCurrency The three-character [ISO currency
     *     code](https://en.wikipedia.org/wiki/ISO_4217).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_CURRENCY)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrCurrency(String riskdataBasketItemItemNrCurrency) {
      this.riskdataBasketItemItemNrCurrency = riskdataBasketItemItemNrCurrency;
    }
  
    /**
     * ID of the item.
     *
     * @param riskdataBasketItemItemNrItemID ID of the item.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrItemID(String riskdataBasketItemItemNrItemID) {
      this.riskdataBasketItemItemNrItemID = riskdataBasketItemItemNrItemID;
      return this;
    }
  
    /**
     * ID of the item.
     *
     * @return riskdataBasketItemItemNrItemID ID of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_ITEM_I_D)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrItemID() {
      return riskdataBasketItemItemNrItemID;
    }
  
    /**
     * ID of the item.
     *
     * @param riskdataBasketItemItemNrItemID ID of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_ITEM_I_D)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrItemID(String riskdataBasketItemItemNrItemID) {
      this.riskdataBasketItemItemNrItemID = riskdataBasketItemItemNrItemID;
    }
  
    /**
     * Manufacturer of the item.
     *
     * @param riskdataBasketItemItemNrManufacturer Manufacturer of the item.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrManufacturer(
        String riskdataBasketItemItemNrManufacturer) {
      this.riskdataBasketItemItemNrManufacturer = riskdataBasketItemItemNrManufacturer;
      return this;
    }
  
    /**
     * Manufacturer of the item.
     *
     * @return riskdataBasketItemItemNrManufacturer Manufacturer of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_MANUFACTURER)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrManufacturer() {
      return riskdataBasketItemItemNrManufacturer;
    }
  
    /**
     * Manufacturer of the item.
     *
     * @param riskdataBasketItemItemNrManufacturer Manufacturer of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_MANUFACTURER)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrManufacturer(String riskdataBasketItemItemNrManufacturer) {
      this.riskdataBasketItemItemNrManufacturer = riskdataBasketItemItemNrManufacturer;
    }
  
    /**
     * A text description of the product the invoice line refers to.
     *
     * @param riskdataBasketItemItemNrProductTitle A text description of the product the invoice line
     *     refers to.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrProductTitle(
        String riskdataBasketItemItemNrProductTitle) {
      this.riskdataBasketItemItemNrProductTitle = riskdataBasketItemItemNrProductTitle;
      return this;
    }
  
    /**
     * A text description of the product the invoice line refers to.
     *
     * @return riskdataBasketItemItemNrProductTitle A text description of the product the invoice line
     *     refers to.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_PRODUCT_TITLE)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrProductTitle() {
      return riskdataBasketItemItemNrProductTitle;
    }
  
    /**
     * A text description of the product the invoice line refers to.
     *
     * @param riskdataBasketItemItemNrProductTitle A text description of the product the invoice line
     *     refers to.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_PRODUCT_TITLE)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrProductTitle(String riskdataBasketItemItemNrProductTitle) {
      this.riskdataBasketItemItemNrProductTitle = riskdataBasketItemItemNrProductTitle;
    }
  
    /**
     * Quantity of the item purchased.
     *
     * @param riskdataBasketItemItemNrQuantity Quantity of the item purchased.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrQuantity(
        String riskdataBasketItemItemNrQuantity) {
      this.riskdataBasketItemItemNrQuantity = riskdataBasketItemItemNrQuantity;
      return this;
    }
  
    /**
     * Quantity of the item purchased.
     *
     * @return riskdataBasketItemItemNrQuantity Quantity of the item purchased.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_QUANTITY)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrQuantity() {
      return riskdataBasketItemItemNrQuantity;
    }
  
    /**
     * Quantity of the item purchased.
     *
     * @param riskdataBasketItemItemNrQuantity Quantity of the item purchased.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_QUANTITY)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrQuantity(String riskdataBasketItemItemNrQuantity) {
      this.riskdataBasketItemItemNrQuantity = riskdataBasketItemItemNrQuantity;
    }
  
    /**
     * Email associated with the given product in the basket (usually in electronic gift cards).
     *
     * @param riskdataBasketItemItemNrReceiverEmail Email associated with the given product in the
     *     basket (usually in electronic gift cards).
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrReceiverEmail(
        String riskdataBasketItemItemNrReceiverEmail) {
      this.riskdataBasketItemItemNrReceiverEmail = riskdataBasketItemItemNrReceiverEmail;
      return this;
    }
  
    /**
     * Email associated with the given product in the basket (usually in electronic gift cards).
     *
     * @return riskdataBasketItemItemNrReceiverEmail Email associated with the given product in the
     *     basket (usually in electronic gift cards).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_RECEIVER_EMAIL)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrReceiverEmail() {
      return riskdataBasketItemItemNrReceiverEmail;
    }
  
    /**
     * Email associated with the given product in the basket (usually in electronic gift cards).
     *
     * @param riskdataBasketItemItemNrReceiverEmail Email associated with the given product in the
     *     basket (usually in electronic gift cards).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_RECEIVER_EMAIL)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrReceiverEmail(
        String riskdataBasketItemItemNrReceiverEmail) {
      this.riskdataBasketItemItemNrReceiverEmail = riskdataBasketItemItemNrReceiverEmail;
    }
  
    /**
     * Size of the item.
     *
     * @param riskdataBasketItemItemNrSize Size of the item.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrSize(String riskdataBasketItemItemNrSize) {
      this.riskdataBasketItemItemNrSize = riskdataBasketItemItemNrSize;
      return this;
    }
  
    /**
     * Size of the item.
     *
     * @return riskdataBasketItemItemNrSize Size of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SIZE)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrSize() {
      return riskdataBasketItemItemNrSize;
    }
  
    /**
     * Size of the item.
     *
     * @param riskdataBasketItemItemNrSize Size of the item.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SIZE)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrSize(String riskdataBasketItemItemNrSize) {
      this.riskdataBasketItemItemNrSize = riskdataBasketItemItemNrSize;
    }
  
    /**
     * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit).
     *
     * @param riskdataBasketItemItemNrSku [Stock keeping
     *     unit](https://en.wikipedia.org/wiki/Stock_keeping_unit).
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrSku(String riskdataBasketItemItemNrSku) {
      this.riskdataBasketItemItemNrSku = riskdataBasketItemItemNrSku;
      return this;
    }
  
    /**
     * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit).
     *
     * @return riskdataBasketItemItemNrSku [Stock keeping
     *     unit](https://en.wikipedia.org/wiki/Stock_keeping_unit).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SKU)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrSku() {
      return riskdataBasketItemItemNrSku;
    }
  
    /**
     * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit).
     *
     * @param riskdataBasketItemItemNrSku [Stock keeping
     *     unit](https://en.wikipedia.org/wiki/Stock_keeping_unit).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_SKU)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrSku(String riskdataBasketItemItemNrSku) {
      this.riskdataBasketItemItemNrSku = riskdataBasketItemItemNrSku;
    }
  
    /**
     * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code).
     *
     * @param riskdataBasketItemItemNrUpc [Universal Product
     *     Code](https://en.wikipedia.org/wiki/Universal_Product_Code).
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataBasketItemItemNrUpc(String riskdataBasketItemItemNrUpc) {
      this.riskdataBasketItemItemNrUpc = riskdataBasketItemItemNrUpc;
      return this;
    }
  
    /**
     * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code).
     *
     * @return riskdataBasketItemItemNrUpc [Universal Product
     *     Code](https://en.wikipedia.org/wiki/Universal_Product_Code).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_UPC)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataBasketItemItemNrUpc() {
      return riskdataBasketItemItemNrUpc;
    }
  
    /**
     * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code).
     *
     * @param riskdataBasketItemItemNrUpc [Universal Product
     *     Code](https://en.wikipedia.org/wiki/Universal_Product_Code).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_BASKET_ITEM_ITEM_NR_UPC)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataBasketItemItemNrUpc(String riskdataBasketItemItemNrUpc) {
      this.riskdataBasketItemItemNrUpc = riskdataBasketItemItemNrUpc;
    }
  
    /**
     * Code of the promotion.
     *
     * @param riskdataPromotionsPromotionItemNrPromotionCode Code of the promotion.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionCode(
        String riskdataPromotionsPromotionItemNrPromotionCode) {
      this.riskdataPromotionsPromotionItemNrPromotionCode =
          riskdataPromotionsPromotionItemNrPromotionCode;
      return this;
    }
  
    /**
     * Code of the promotion.
     *
     * @return riskdataPromotionsPromotionItemNrPromotionCode Code of the promotion.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_CODE)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataPromotionsPromotionItemNrPromotionCode() {
      return riskdataPromotionsPromotionItemNrPromotionCode;
    }
  
    /**
     * Code of the promotion.
     *
     * @param riskdataPromotionsPromotionItemNrPromotionCode Code of the promotion.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_CODE)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataPromotionsPromotionItemNrPromotionCode(
        String riskdataPromotionsPromotionItemNrPromotionCode) {
      this.riskdataPromotionsPromotionItemNrPromotionCode =
          riskdataPromotionsPromotionItemNrPromotionCode;
    }
  
    /**
     * The discount amount of the promotion, represented in [minor
     * units](https://docs.adyen.com/development-resources/currency-codes).
     *
     * @param riskdataPromotionsPromotionItemNrPromotionDiscountAmount The discount amount of the
     *     promotion, represented in [minor
     *     units](https://docs.adyen.com/development-resources/currency-codes).
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionDiscountAmount(
        String riskdataPromotionsPromotionItemNrPromotionDiscountAmount) {
      this.riskdataPromotionsPromotionItemNrPromotionDiscountAmount =
          riskdataPromotionsPromotionItemNrPromotionDiscountAmount;
      return this;
    }
  
    /**
     * The discount amount of the promotion, represented in [minor
     * units](https://docs.adyen.com/development-resources/currency-codes).
     *
     * @return riskdataPromotionsPromotionItemNrPromotionDiscountAmount The discount amount of the
     *     promotion, represented in [minor
     *     units](https://docs.adyen.com/development-resources/currency-codes).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_AMOUNT)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataPromotionsPromotionItemNrPromotionDiscountAmount() {
      return riskdataPromotionsPromotionItemNrPromotionDiscountAmount;
    }
  
    /**
     * The discount amount of the promotion, represented in [minor
     * units](https://docs.adyen.com/development-resources/currency-codes).
     *
     * @param riskdataPromotionsPromotionItemNrPromotionDiscountAmount The discount amount of the
     *     promotion, represented in [minor
     *     units](https://docs.adyen.com/development-resources/currency-codes).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_AMOUNT)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataPromotionsPromotionItemNrPromotionDiscountAmount(
        String riskdataPromotionsPromotionItemNrPromotionDiscountAmount) {
      this.riskdataPromotionsPromotionItemNrPromotionDiscountAmount =
          riskdataPromotionsPromotionItemNrPromotionDiscountAmount;
    }
  
    /**
     * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).
     *
     * @param riskdataPromotionsPromotionItemNrPromotionDiscountCurrency The three-character [ISO
     *     currency code](https://en.wikipedia.org/wiki/ISO_4217).
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionDiscountCurrency(
        String riskdataPromotionsPromotionItemNrPromotionDiscountCurrency) {
      this.riskdataPromotionsPromotionItemNrPromotionDiscountCurrency =
          riskdataPromotionsPromotionItemNrPromotionDiscountCurrency;
      return this;
    }
  
    /**
     * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).
     *
     * @return riskdataPromotionsPromotionItemNrPromotionDiscountCurrency The three-character [ISO
     *     currency code](https://en.wikipedia.org/wiki/ISO_4217).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_CURRENCY)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataPromotionsPromotionItemNrPromotionDiscountCurrency() {
      return riskdataPromotionsPromotionItemNrPromotionDiscountCurrency;
    }
  
    /**
     * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).
     *
     * @param riskdataPromotionsPromotionItemNrPromotionDiscountCurrency The three-character [ISO
     *     currency code](https://en.wikipedia.org/wiki/ISO_4217).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_CURRENCY)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataPromotionsPromotionItemNrPromotionDiscountCurrency(
        String riskdataPromotionsPromotionItemNrPromotionDiscountCurrency) {
      this.riskdataPromotionsPromotionItemNrPromotionDiscountCurrency =
          riskdataPromotionsPromotionItemNrPromotionDiscountCurrency;
    }
  
    /**
     * Promotion&#39;s percentage discount. It is represented in percentage value and there is no need
     * to include the &#39;%&#39; sign. e.g. for a promotion discount of 30%, the value of the field
     * should be 30.
     *
     * @param riskdataPromotionsPromotionItemNrPromotionDiscountPercentage Promotion&#39;s percentage
     *     discount. It is represented in percentage value and there is no need to include the
     *     &#39;%&#39; sign. e.g. for a promotion discount of 30%, the value of the field should be
     *     30.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionDiscountPercentage(
        String riskdataPromotionsPromotionItemNrPromotionDiscountPercentage) {
      this.riskdataPromotionsPromotionItemNrPromotionDiscountPercentage =
          riskdataPromotionsPromotionItemNrPromotionDiscountPercentage;
      return this;
    }
  
    /**
     * Promotion&#39;s percentage discount. It is represented in percentage value and there is no need
     * to include the &#39;%&#39; sign. e.g. for a promotion discount of 30%, the value of the field
     * should be 30.
     *
     * @return riskdataPromotionsPromotionItemNrPromotionDiscountPercentage Promotion&#39;s percentage
     *     discount. It is represented in percentage value and there is no need to include the
     *     &#39;%&#39; sign. e.g. for a promotion discount of 30%, the value of the field should be
     *     30.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_PERCENTAGE)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataPromotionsPromotionItemNrPromotionDiscountPercentage() {
      return riskdataPromotionsPromotionItemNrPromotionDiscountPercentage;
    }
  
    /**
     * Promotion&#39;s percentage discount. It is represented in percentage value and there is no need
     * to include the &#39;%&#39; sign. e.g. for a promotion discount of 30%, the value of the field
     * should be 30.
     *
     * @param riskdataPromotionsPromotionItemNrPromotionDiscountPercentage Promotion&#39;s percentage
     *     discount. It is represented in percentage value and there is no need to include the
     *     &#39;%&#39; sign. e.g. for a promotion discount of 30%, the value of the field should be
     *     30.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_DISCOUNT_PERCENTAGE)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataPromotionsPromotionItemNrPromotionDiscountPercentage(
        String riskdataPromotionsPromotionItemNrPromotionDiscountPercentage) {
      this.riskdataPromotionsPromotionItemNrPromotionDiscountPercentage =
          riskdataPromotionsPromotionItemNrPromotionDiscountPercentage;
    }
  
    /**
     * Name of the promotion.
     *
     * @param riskdataPromotionsPromotionItemNrPromotionName Name of the promotion.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataPromotionsPromotionItemNrPromotionName(
        String riskdataPromotionsPromotionItemNrPromotionName) {
      this.riskdataPromotionsPromotionItemNrPromotionName =
          riskdataPromotionsPromotionItemNrPromotionName;
      return this;
    }
  
    /**
     * Name of the promotion.
     *
     * @return riskdataPromotionsPromotionItemNrPromotionName Name of the promotion.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_NAME)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataPromotionsPromotionItemNrPromotionName() {
      return riskdataPromotionsPromotionItemNrPromotionName;
    }
  
    /**
     * Name of the promotion.
     *
     * @param riskdataPromotionsPromotionItemNrPromotionName Name of the promotion.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_PROMOTIONS_PROMOTION_ITEM_NR_PROMOTION_NAME)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataPromotionsPromotionItemNrPromotionName(
        String riskdataPromotionsPromotionItemNrPromotionName) {
      this.riskdataPromotionsPromotionItemNrPromotionName =
          riskdataPromotionsPromotionItemNrPromotionName;
    }
  
    /**
     * Reference number of the risk profile that you want to apply to the payment. If not provided or
     * left blank, the merchant-level account&#39;s default risk profile will be applied to the
     * payment. For more information, see [dynamically assign a risk profile to a
     * payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment).
     *
     * @param riskdataRiskProfileReference Reference number of the risk profile that you want to apply
     *     to the payment. If not provided or left blank, the merchant-level account&#39;s default
     *     risk profile will be applied to the payment. For more information, see [dynamically assign
     *     a risk profile to a
     *     payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment).
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataRiskProfileReference(String riskdataRiskProfileReference) {
      this.riskdataRiskProfileReference = riskdataRiskProfileReference;
      return this;
    }
  
    /**
     * Reference number of the risk profile that you want to apply to the payment. If not provided or
     * left blank, the merchant-level account&#39;s default risk profile will be applied to the
     * payment. For more information, see [dynamically assign a risk profile to a
     * payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment).
     *
     * @return riskdataRiskProfileReference Reference number of the risk profile that you want to
     *     apply to the payment. If not provided or left blank, the merchant-level account&#39;s
     *     default risk profile will be applied to the payment. For more information, see [dynamically
     *     assign a risk profile to a
     *     payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_RISK_PROFILE_REFERENCE)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataRiskProfileReference() {
      return riskdataRiskProfileReference;
    }
  
    /**
     * Reference number of the risk profile that you want to apply to the payment. If not provided or
     * left blank, the merchant-level account&#39;s default risk profile will be applied to the
     * payment. For more information, see [dynamically assign a risk profile to a
     * payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment).
     *
     * @param riskdataRiskProfileReference Reference number of the risk profile that you want to apply
     *     to the payment. If not provided or left blank, the merchant-level account&#39;s default
     *     risk profile will be applied to the payment. For more information, see [dynamically assign
     *     a risk profile to a
     *     payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment).
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_RISK_PROFILE_REFERENCE)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataRiskProfileReference(String riskdataRiskProfileReference) {
      this.riskdataRiskProfileReference = riskdataRiskProfileReference;
    }
  
    /**
     * If this parameter is provided with the value **true**, risk checks for the payment request are
     * skipped and the transaction will not get a risk score.
     *
     * @param riskdataSkipRisk If this parameter is provided with the value **true**, risk checks for
     *     the payment request are skipped and the transaction will not get a risk score.
     * @return the current {@code AdditionalDataRisk} instance, allowing for method chaining
     */
    public AdditionalDataRisk riskdataSkipRisk(String riskdataSkipRisk) {
      this.riskdataSkipRisk = riskdataSkipRisk;
      return this;
    }
  
    /**
     * If this parameter is provided with the value **true**, risk checks for the payment request are
     * skipped and the transaction will not get a risk score.
     *
     * @return riskdataSkipRisk If this parameter is provided with the value **true**, risk checks for
     *     the payment request are skipped and the transaction will not get a risk score.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_SKIP_RISK)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public String getRiskdataSkipRisk() {
      return riskdataSkipRisk;
    }
  
    /**
     * If this parameter is provided with the value **true**, risk checks for the payment request are
     * skipped and the transaction will not get a risk score.
     *
     * @param riskdataSkipRisk If this parameter is provided with the value **true**, risk checks for
     *     the payment request are skipped and the transaction will not get a risk score.
     */
    @JsonProperty(JSON_PROPERTY_RISKDATA_SKIP_RISK)
    @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
    public void setRiskdataSkipRisk(String riskdataSkipRisk) {
      this.riskdataSkipRisk = riskdataSkipRisk;
    }
  
    /** Return true if this AdditionalDataRisk object is equal to o. */
    @Override
    public boolean equals(Object o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }
      AdditionalDataRisk additionalDataRisk = (AdditionalDataRisk) o;
      return Objects.equals(this.riskdataCustomFieldName, additionalDataRisk.riskdataCustomFieldName)
          && Objects.equals(
              this.riskdataBasketItemItemNrAmountPerItem,
              additionalDataRisk.riskdataBasketItemItemNrAmountPerItem)
          && Objects.equals(
              this.riskdataBasketItemItemNrBrand, additionalDataRisk.riskdataBasketItemItemNrBrand)
          && Objects.equals(
              this.riskdataBasketItemItemNrCategory,
              additionalDataRisk.riskdataBasketItemItemNrCategory)
          && Objects.equals(
              this.riskdataBasketItemItemNrColor, additionalDataRisk.riskdataBasketItemItemNrColor)
          && Objects.equals(
              this.riskdataBasketItemItemNrCurrency,
              additionalDataRisk.riskdataBasketItemItemNrCurrency)
          && Objects.equals(
              this.riskdataBasketItemItemNrItemID, additionalDataRisk.riskdataBasketItemItemNrItemID)
          && Objects.equals(
              this.riskdataBasketItemItemNrManufacturer,
              additionalDataRisk.riskdataBasketItemItemNrManufacturer)
          && Objects.equals(
              this.riskdataBasketItemItemNrProductTitle,
              additionalDataRisk.riskdataBasketItemItemNrProductTitle)
          && Objects.equals(
              this.riskdataBasketItemItemNrQuantity,
              additionalDataRisk.riskdataBasketItemItemNrQuantity)
          && Objects.equals(
              this.riskdataBasketItemItemNrReceiverEmail,
              additionalDataRisk.riskdataBasketItemItemNrReceiverEmail)
          && Objects.equals(
              this.riskdataBasketItemItemNrSize, additionalDataRisk.riskdataBasketItemItemNrSize)
          && Objects.equals(
              this.riskdataBasketItemItemNrSku, additionalDataRisk.riskdataBasketItemItemNrSku)
          && Objects.equals(
              this.riskdataBasketItemItemNrUpc, additionalDataRisk.riskdataBasketItemItemNrUpc)
          && Objects.equals(
              this.riskdataPromotionsPromotionItemNrPromotionCode,
              additionalDataRisk.riskdataPromotionsPromotionItemNrPromotionCode)
          && Objects.equals(
              this.riskdataPromotionsPromotionItemNrPromotionDiscountAmount,
              additionalDataRisk.riskdataPromotionsPromotionItemNrPromotionDiscountAmount)
          && Objects.equals(
              this.riskdataPromotionsPromotionItemNrPromotionDiscountCurrency,
              additionalDataRisk.riskdataPromotionsPromotionItemNrPromotionDiscountCurrency)
          && Objects.equals(
              this.riskdataPromotionsPromotionItemNrPromotionDiscountPercentage,
              additionalDataRisk.riskdataPromotionsPromotionItemNrPromotionDiscountPercentage)
          && Objects.equals(
              this.riskdataPromotionsPromotionItemNrPromotionName,
              additionalDataRisk.riskdataPromotionsPromotionItemNrPromotionName)
          && Objects.equals(
              this.riskdataRiskProfileReference, additionalDataRisk.riskdataRiskProfileReference)
          && Objects.equals(this.riskdataSkipRisk, additionalDataRisk.riskdataSkipRisk);
    }
  
    @Override
    public int hashCode() {
      return Objects.hash(
          riskdataCustomFieldName,
          riskdataBasketItemItemNrAmountPerItem,
          riskdataBasketItemItemNrBrand,
          riskdataBasketItemItemNrCategory,
          riskdataBasketItemItemNrColor,
          riskdataBasketItemItemNrCurrency,
          riskdataBasketItemItemNrItemID,
          riskdataBasketItemItemNrManufacturer,
          riskdataBasketItemItemNrProductTitle,
          riskdataBasketItemItemNrQuantity,
          riskdataBasketItemItemNrReceiverEmail,
          riskdataBasketItemItemNrSize,
          riskdataBasketItemItemNrSku,
          riskdataBasketItemItemNrUpc,
          riskdataPromotionsPromotionItemNrPromotionCode,
          riskdataPromotionsPromotionItemNrPromotionDiscountAmount,
          riskdataPromotionsPromotionItemNrPromotionDiscountCurrency,
          riskdataPromotionsPromotionItemNrPromotionDiscountPercentage,
          riskdataPromotionsPromotionItemNrPromotionName,
          riskdataRiskProfileReference,
          riskdataSkipRisk);
    }
  
    @Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class AdditionalDataRisk {\n");
      sb.append("    riskdataCustomFieldName: ")
          .append(toIndentedString(riskdataCustomFieldName))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrAmountPerItem: ")
          .append(toIndentedString(riskdataBasketItemItemNrAmountPerItem))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrBrand: ")
          .append(toIndentedString(riskdataBasketItemItemNrBrand))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrCategory: ")
          .append(toIndentedString(riskdataBasketItemItemNrCategory))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrColor: ")
          .append(toIndentedString(riskdataBasketItemItemNrColor))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrCurrency: ")
          .append(toIndentedString(riskdataBasketItemItemNrCurrency))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrItemID: ")
          .append(toIndentedString(riskdataBasketItemItemNrItemID))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrManufacturer: ")
          .append(toIndentedString(riskdataBasketItemItemNrManufacturer))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrProductTitle: ")
          .append(toIndentedString(riskdataBasketItemItemNrProductTitle))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrQuantity: ")
          .append(toIndentedString(riskdataBasketItemItemNrQuantity))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrReceiverEmail: ")
          .append(toIndentedString(riskdataBasketItemItemNrReceiverEmail))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrSize: ")
          .append(toIndentedString(riskdataBasketItemItemNrSize))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrSku: ")
          .append(toIndentedString(riskdataBasketItemItemNrSku))
          .append("\n");
      sb.append("    riskdataBasketItemItemNrUpc: ")
          .append(toIndentedString(riskdataBasketItemItemNrUpc))
          .append("\n");
      sb.append("    riskdataPromotionsPromotionItemNrPromotionCode: ")
          .append(toIndentedString(riskdataPromotionsPromotionItemNrPromotionCode))
          .append("\n");
      sb.append("    riskdataPromotionsPromotionItemNrPromotionDiscountAmount: ")
          .append(toIndentedString(riskdataPromotionsPromotionItemNrPromotionDiscountAmount))
          .append("\n");
      sb.append("    riskdataPromotionsPromotionItemNrPromotionDiscountCurrency: ")
          .append(toIndentedString(riskdataPromotionsPromotionItemNrPromotionDiscountCurrency))
          .append("\n");
      sb.append("    riskdataPromotionsPromotionItemNrPromotionDiscountPercentage: ")
          .append(toIndentedString(riskdataPromotionsPromotionItemNrPromotionDiscountPercentage))
          .append("\n");
      sb.append("    riskdataPromotionsPromotionItemNrPromotionName: ")
          .append(toIndentedString(riskdataPromotionsPromotionItemNrPromotionName))
          .append("\n");
      sb.append("    riskdataRiskProfileReference: ")
          .append(toIndentedString(riskdataRiskProfileReference))
          .append("\n");
      sb.append("    riskdataSkipRisk: ").append(toIndentedString(riskdataSkipRisk)).append("\n");
      sb.append("}");
      return sb.toString();
    }
  
    /**
     * Convert the given object to string with each line indented by 4 spaces (except the first line).
     */
    private String toIndentedString(Object o) {
      if (o == null) {
        return "null";
      }
      return o.toString().replace("\n", "\n    ");
    }
  
    /**
     * Create an instance of AdditionalDataRisk given an JSON string
     *
     * @param jsonString JSON string
     * @return An instance of AdditionalDataRisk
     * @throws JsonProcessingException if the JSON string is invalid with respect to
     *     AdditionalDataRisk
     */
    public static AdditionalDataRisk fromJson(String jsonString) throws JsonProcessingException {
      return JSON.getMapper().readValue(jsonString, AdditionalDataRisk.class);
    }
  
    /**
     * Convert an instance of AdditionalDataRisk to an JSON string
     *
     * @return JSON string
     */
    public String toJson() throws JsonProcessingException {
      return JSON.getMapper().writeValueAsString(this);
    }
  }
  