Class InvoiceCartLine

java.lang.Object
dev.vality.swag_webhook_events.model.InvoiceCartLine

@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
           date="2024-02-26T07:25:16.040246332Z[Etc/UTC]")
public class InvoiceCartLine
extends Object
Product or service item
  • Constructor Details

    • InvoiceCartLine

      public InvoiceCartLine()
  • Method Details

    • product

      public InvoiceCartLine product​(String product)
    • getProduct

      @NotNull @Size(max=1000) public @NotNull @Size(max=1000) String getProduct()
      Description of the goods or services offered
      Returns:
      product
    • setProduct

      public void setProduct​(String product)
    • quantity

      public InvoiceCartLine quantity​(Long quantity)
    • getQuantity

      @NotNull @Min(1L) public @NotNull @Min(1L) 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

      @NotNull @Min(1L) public @NotNull @Min(1L) 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

      @NotNull @Min(1L) public @NotNull @Min(1L) 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

      @Valid public @Valid 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