Class InvoiceCartLine

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2022-02-21T10:48:08.381944838Z[Etc/UTC]")
public class InvoiceCartLine
extends Object
Позиция товара или услуги
  • Field Details

  • Constructor Details

    • InvoiceCartLine

      public InvoiceCartLine()
  • Method Details

    • product

      public InvoiceCartLine product​(String product)
    • getProduct

      @Nonnull public String getProduct()
      Описание предлагаемого товара или услуги
      Returns:
      product
    • setProduct

      public void setProduct​(String product)
    • quantity

      public InvoiceCartLine quantity​(Long quantity)
    • getQuantity

      @Nonnull public Long getQuantity()
      Количество единиц товаров или услуг, предлагаемых на продажу в этой позиции minimum: 1
      Returns:
      quantity
    • setQuantity

      public void setQuantity​(Long quantity)
    • price

      public InvoiceCartLine price​(Long price)
    • getPrice

      @Nonnull public Long getPrice()
      Цена предлагаемого товара или услуги, в минорных денежных единицах, например в копейках в случае указания российских рублей в качестве валюты minimum: 1
      Returns:
      price
    • setPrice

      public void setPrice​(Long price)
    • cost

      public InvoiceCartLine cost​(Long cost)
    • getCost

      @Nonnull public Long getCost()
      Суммарная стоимость позиции с учётом количества единиц товаров или услуг 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