Class InvoiceTemplateCartAllOf

java.lang.Object
dev.vality.anapi.v2.model.InvoiceTemplateCartAllOf

@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
           date="2023-07-07T08:12:11.951968249Z[Etc/UTC]")
public class InvoiceTemplateCartAllOf
extends Object
InvoiceTemplateCartAllOf
  • Constructor Details

    • InvoiceTemplateCartAllOf

      public InvoiceTemplateCartAllOf()
  • Method Details

    • cart

      public InvoiceTemplateCartAllOf cart​(List<InvoiceLine> cart)
    • addCartItem

      public InvoiceTemplateCartAllOf addCartItem​(InvoiceLine cartItem)
    • getCart

      @NotNull @Valid @Size(min=1, max=100) public @NotNull @Valid @Size(min=1,max=100) List<InvoiceLine> getCart()
      Корзина с набором позиций продаваемых товаров или услуг
      Returns:
      cart
    • setCart

      public void setCart​(List<InvoiceLine> cart)
    • currency

      public InvoiceTemplateCartAllOf currency​(String currency)
    • getCurrency

      @NotNull @Pattern(regexp="^[A-Z]{3}$") public @NotNull @Pattern(regexp="^[A-Z]{3}$") String getCurrency()
      Валюта, символьный код согласно [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html).
      Returns:
      currency
    • setCurrency

      public void setCurrency​(String currency)
    • 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