All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ingenico.connect.gateway.sdk.java.domain.payment.definitions.OrderLineDetails Maven / Gradle / Ivy

Go to download

SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API

There is a newer version: 6.47.0
Show newest version
/*
 * This class was auto-generated from the API references found at
 * https://epayments-api.developer-ingenico.com/s2sapi/v1/
 */
package com.ingenico.connect.gateway.sdk.java.domain.payment.definitions;

public class OrderLineDetails {

	private Long discountAmount = null;

	private Long googleProductCategoryId = null;

	private Long lineAmountTotal = null;

	private String productCategory = null;

	private String productCode = null;

	private String productName = null;

	private Long productPrice = null;

	private String productType = null;

	private Long quantity = null;

	private Long taxAmount = null;

	private String unit = null;

	/**
	 * Discount on the line item, with the last two digits implied as decimal places
	 */
	public Long getDiscountAmount() {
		return discountAmount;
	}

	/**
	 * Discount on the line item, with the last two digits implied as decimal places
	 */
	public void setDiscountAmount(Long value) {
		this.discountAmount = value;
	}

	/**
	 * The Google product category ID for the item.
	 */
	public Long getGoogleProductCategoryId() {
		return googleProductCategoryId;
	}

	/**
	 * The Google product category ID for the item.
	 */
	public void setGoogleProductCategoryId(Long value) {
		this.googleProductCategoryId = value;
	}

	/**
	 * Total amount for the line item
	 */
	public Long getLineAmountTotal() {
		return lineAmountTotal;
	}

	/**
	 * Total amount for the line item
	 */
	public void setLineAmountTotal(Long value) {
		this.lineAmountTotal = value;
	}

	/**
	 * The category of the product (i.e. home appliance). This property can be used for fraud screening on the Ogone Platform.
	 */
	public String getProductCategory() {
		return productCategory;
	}

	/**
	 * The category of the product (i.e. home appliance). This property can be used for fraud screening on the Ogone Platform.
	 */
	public void setProductCategory(String value) {
		this.productCategory = value;
	}

	/**
	 * Product or UPC Code, left justified
* Note: Must not be all spaces or all zeros */ public String getProductCode() { return productCode; } /** * Product or UPC Code, left justified
* Note: Must not be all spaces or all zeros */ public void setProductCode(String value) { this.productCode = value; } /** * The name of the product. */ public String getProductName() { return productName; } /** * The name of the product. */ public void setProductName(String value) { this.productName = value; } /** * The price of one unit of the product, the value should be zero or greater */ public Long getProductPrice() { return productPrice; } /** * The price of one unit of the product, the value should be zero or greater */ public void setProductPrice(Long value) { this.productPrice = value; } /** * Code used to classify items that are purchased
* Note: Must not be all spaces or all zeros */ public String getProductType() { return productType; } /** * Code used to classify items that are purchased
* Note: Must not be all spaces or all zeros */ public void setProductType(String value) { this.productType = value; } /** * Quantity of the units being purchased, should be greater than zero
* Note: Must not be all spaces or all zeros */ public Long getQuantity() { return quantity; } /** * Quantity of the units being purchased, should be greater than zero
* Note: Must not be all spaces or all zeros */ public void setQuantity(Long value) { this.quantity = value; } /** * Tax on the line item, with the last two digits implied as decimal places */ public Long getTaxAmount() { return taxAmount; } /** * Tax on the line item, with the last two digits implied as decimal places */ public void setTaxAmount(Long value) { this.taxAmount = value; } /** * Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc. */ public String getUnit() { return unit; } /** * Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc. */ public void setUnit(String value) { this.unit = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy