package com.adyen.model.additionalData;

import com.adyen.enums.VatCategory;

public class InvoiceLine {

    private String currencyCode = null;
    private String description = null;
    private Long itemAmount = null;
    private Long itemVATAmount = null;
    private Long itemVatPercentage = null;
    private Integer numberOfItems = null;
    private VatCategory vatCategory = null;
    private String itemId = null;

    public String getCurrencyCode() {
        return currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getItemAmount() {
        return itemAmount;
    }

    public void setItemAmount(Long itemAmount) {
        this.itemAmount = itemAmount;
    }

    public Long getItemVATAmount() {
        return itemVATAmount;
    }

    public void setItemVATAmount(Long itemVATAmount) {
        this.itemVATAmount = itemVATAmount;
    }

    public Long getItemVatPercentage() {
        return itemVatPercentage;
    }

    public void setItemVatPercentage(Long itemVatPercentage) {
        this.itemVatPercentage = itemVatPercentage;
    }

    public Integer getNumberOfItems() {
        return numberOfItems;
    }

    public void setNumberOfItems(Integer numberOfItems) {
        this.numberOfItems = numberOfItems;
    }

    public VatCategory getVatCategory() {
        return vatCategory;
    }

    public void setVatCategory(VatCategory vatCategory) {
        this.vatCategory = vatCategory;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }
}

@@ -69,16 +69,68 @@
 ategory;
+%0Aimport static com.adyen.Util.Util.toIndentedString;
 %0A%0Apublic
@@ -1873,11 +1873,947 @@
 d;%0A    %7D
+%0A%0A    @Override%0A    public String toString() %7B%0A        StringBuilder sb = new StringBuilder();%0A        sb.append(%22class InvoiceLine %7B%5Cn%22);%0A        sb.append(%22    currencyCode: %22).append(toIndentedString(currencyCode)).append(%22%5Cn%22);%0A        sb.append(%22    description: %22).append(toIndentedString(description)).append(%22%5Cn%22);%0A        sb.append(%22    itemAmount: %22).append(toIndentedString(itemAmount)).append(%22%5Cn%22);%0A        sb.append(%22    itemVATAmount: %22).append(toIndentedString(itemVATAmount)).append(%22%5Cn%22);%0A        sb.append(%22    itemVatPercentage: %22).append(toIndentedString(itemVatPercentage)).append(%22%5Cn%22);%0A        sb.append(%22    numberOfItems: %22).append(toIndentedString(numberOfItems)).append(%22%5Cn%22);%0A        sb.append(%22    vatCategory: %22).append(toIndentedString(vatCategory)).append(%22%5Cn%22);%0A        sb.append(%22    itemId: %22).append(toIndentedString(itemId)).append(%22%5Cn%22);%0A        sb.append(%22%7D%22);%0A        return sb.toString();%0A    %7D
 %0A%7D%0A

Add toString() method for InvoiceLine