LineItemInput Class
Sends the list of individual line items associated with the payment to the gateway adapter.
The following are properties for LineItemInput.
-
Map of additional attributes.
-
Commodity code.
-
Description of the product.
-
Discount applied to the line item level.
-
Specifies whether a discount was applied to the specific line item.
-
Duty or tariff applied specifically to a item (not the whole order).
-
Specifies if the line item amount is Gross (before discounts) or Net (after discounts).
-
Line item identifier. Specify when multiple items are present.
-
Total amount for that line item.
-
Product or service name.
-
Quantity purchased.
-
Shipping or freight cost allocated to that line item.
-
SKU or product code.
-
Line-level tax amount.
-
Tax percentage applied to that specific line item.
-
Unit price.
-
Unit of measure. For example, EA, HRS, and KG.
Map of additional attributes.
public Map<String,String> additionalAttributes {get; set;}
Commodity code.
public String commodityCode {get; set;}
Type: String
Description of the product.
public String description {get; set;}
Type: String
Discount applied to the line item level.
public Double discount {get; set;}
Type: Double
Specifies whether a discount was applied to the specific line item.
public Boolean discountIndicator {get; set;}
Type: Boolean
Duty or tariff applied specifically to a item (not the whole order).
public Double dutyAmount {get; set;}
Type: Double
Specifies if the line item amount is Gross (before discounts) or Net (after discounts).
public String grossNetIndicator {get; set;}
Type: String
Line item identifier. Specify when multiple items are present.
public String lineItemId {get; set;}
Type: String
Total amount for that line item.
public Double lineItemTotal {get; set;}
Type: Double
Product or service name.
public String name {get; set;}
Type: String
Quantity purchased.
public Integer quantity {get; set;}
Type: Integer
Shipping or freight cost allocated to that line item.
public Double shippingAmount {get; set;}
Type: Double
SKU or product code.
public String sku {get; set;}
Type: String
Line-level tax amount.
public Double taxAmount {get; set;}
Type: Double
Tax percentage applied to that specific line item.
public Double taxRate {get; set;}
Type: Double
Unit price.
public Double unitPrice {get; set;}
Type: Double
Unit of measure. For example, EA, HRS, and KG.
public String uom {get; set;}
Type: String
The following are methods for LineItemInput.
-
Maintains the integrity of lists of type
LineItemInputby determining the equality of external objects in a list. This method is dynamic and based on the equals method in Java. -
Maintains the integrity of lists of type
LineItemInput. -
Converts a date to a string.
Maintains the integrity of lists of type LineItemInput by determining the equality of external objects in a list. This method is dynamic and based on the equals method in Java.
public Boolean equals(Object obj)
-
obj:
Type:
Object External object whose key is to be validated.
Type: Boolean
Maintains the integrity of lists of type LineItemInput.
public Integer hashCode()
Type: Integer
Converts a date to a string.
public String toString()
Type: String