Class InvoiceCartLine

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

@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
           date="2023-05-04T13:06:45.139911129Z[Etc/UTC]")
public class InvoiceCartLine
extends Object
Позиция товара или услуги
  • 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()
      Описание предлагаемого товара или услуги
      Returns:
      product
    • setProduct

      public void setProduct​(String product)
    • quantity

      public InvoiceCartLine quantity​(Long quantity)
    • getQuantity

      @NotNull @Min(1L) public @NotNull @Min(1L) Long getQuantity()
      Количество единиц товаров или услуг, предлагаемых на продажу в этой позиции 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()
      Цена предлагаемого товара или услуги, в минорных денежных единицах, например в копейках в случае указания российских рублей в качестве валюты 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()
      Суммарная стоимость позиции с учётом количества единиц товаров или услуг 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