Class InvoiceCartLine
java.lang.Object
dev.vality.swag_webhook_events.model.InvoiceCartLine
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-08T11:08:44.744020346Z[Etc/UTC]")
public class InvoiceCartLine
extends Object
Product or service item
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COSTstatic StringJSON_PROPERTY_PRICEstatic StringJSON_PROPERTY_PRODUCTstatic StringJSON_PROPERTY_QUANTITYstatic StringJSON_PROPERTY_TAX_MODE -
Constructor Summary
Constructors Constructor Description InvoiceCartLine() -
Method Summary
Modifier and Type Method Description InvoiceCartLinecost(Long cost)booleanequals(Object o)LonggetCost()The total value of the item, taking into account the number of units of goods or services minimum: 1LonggetPrice()The price of the good or service offered, in minor monetary units, e.g.StringgetProduct()Description of the goods or services offeredLonggetQuantity()Number of units of goods or services offered in this item minimum: 1InvoiceCartLineTaxModegetTaxMode()Get taxModeinthashCode()InvoiceCartLineprice(Long price)InvoiceCartLineproduct(String product)InvoiceCartLinequantity(Long quantity)voidsetCost(Long cost)voidsetPrice(Long price)voidsetProduct(String product)voidsetQuantity(Long quantity)voidsetTaxMode(InvoiceCartLineTaxMode taxMode)InvoiceCartLinetaxMode(InvoiceCartLineTaxMode taxMode)StringtoString()
-
Field Details
-
JSON_PROPERTY_PRODUCT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_QUANTITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRICE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TAX_MODE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
InvoiceCartLine
public InvoiceCartLine()
-
-
Method Details
-
product
-
getProduct
Description of the goods or services offered- Returns:
- product
-
setProduct
-
quantity
-
getQuantity
Number of units of goods or services offered in this item minimum: 1- Returns:
- quantity
-
setQuantity
-
price
-
getPrice
The price of the good or service offered, in minor monetary units, e.g. cents if U.S. dollars are specified as the currency minimum: 1- Returns:
- price
-
setPrice
-
cost
-
getCost
The total value of the item, taking into account the number of units of goods or services minimum: 1- Returns:
- cost
-
setCost
-
taxMode
-
getTaxMode
Get taxMode- Returns:
- taxMode
-
setTaxMode
-
equals
-
hashCode
public int hashCode() -
toString
-