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 Details

  • Constructor Details

    • InvoiceCartLine

      public InvoiceCartLine()
  • Method Details

    • product

      public InvoiceCartLine product​(String product)
    • getProduct

      @Nonnull public String getProduct()
      Description of the goods or services offered
      Returns:
      product
    • setProduct

      public void setProduct​(String product)
    • quantity

      public InvoiceCartLine quantity​(Long quantity)
    • getQuantity

      @Nonnull public Long getQuantity()
      Number of units of goods or services offered in this item minimum: 1
      Returns:
      quantity
    • setQuantity

      public void setQuantity​(Long quantity)
    • price

      public InvoiceCartLine price​(Long price)
    • getPrice

      @Nonnull public Long 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

      public void setPrice​(Long price)
    • cost

      public InvoiceCartLine cost​(Long cost)
    • getCost

      @Nonnull public Long getCost()
      The total value of the item, taking into account the number of units of goods or services minimum: 1
      Returns:
      cost
    • setCost

      public void setCost​(Long cost)
    • taxMode

      public InvoiceCartLine taxMode​(InvoiceCartLineTaxMode taxMode)
    • getTaxMode

      @Nullable public InvoiceCartLineTaxMode getTaxMode()
      Get taxMode
      Returns:
      taxMode
    • setTaxMode

      public void setTaxMode​(InvoiceCartLineTaxMode taxMode)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object