Package dev.vality.anapi.v2.model
Class InvoiceTemplateCart
java.lang.Object
dev.vality.anapi.v2.model.InvoiceTemplateDetails
dev.vality.anapi.v2.model.InvoiceTemplateCart
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2023-07-07T08:12:11.951968249Z[Etc/UTC]")
public class InvoiceTemplateCart
extends InvoiceTemplateDetails
InvoiceTemplateCart
-
Constructor Summary
Constructors Constructor Description InvoiceTemplateCart() -
Method Summary
Modifier and Type Method Description InvoiceTemplateCartaddCartItem(InvoiceLine cartItem)InvoiceTemplateCartcart(List<InvoiceLine> cart)InvoiceTemplateCartcurrency(String currency)booleanequals(Object o)@NotNull @Valid @Size(min=1,max=100) List<InvoiceLine>getCart()Корзина с набором позиций продаваемых товаров или услуг@NotNull @Pattern(regexp="^[A-Z]{3}$") StringgetCurrency()Валюта, символьный код согласно [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html).inthashCode()voidsetCart(List<InvoiceLine> cart)voidsetCurrency(String currency)StringtoString()Methods inherited from class dev.vality.anapi.v2.model.InvoiceTemplateDetails
getTemplateType, setTemplateType, templateType
-
Constructor Details
-
InvoiceTemplateCart
public InvoiceTemplateCart()
-
-
Method Details
-
cart
-
addCartItem
-
getCart
@NotNull @Valid @Size(min=1, max=100) public @NotNull @Valid @Size(min=1,max=100) List<InvoiceLine> getCart()Корзина с набором позиций продаваемых товаров или услуг- Returns:
- cart
-
setCart
-
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
-
equals
- Overrides:
equalsin classInvoiceTemplateDetails
-
hashCode
public int hashCode()- Overrides:
hashCodein classInvoiceTemplateDetails
-
toString
- Overrides:
toStringin classInvoiceTemplateDetails
-