Package dev.vality.anapi.v2.model
Class InvoiceAllOf
java.lang.Object
dev.vality.anapi.v2.model.InvoiceAllOf
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2023-07-07T08:12:11.951968249Z[Etc/UTC]")
public class InvoiceAllOf
extends Object
InvoiceAllOf
-
Constructor Summary
Constructors Constructor Description InvoiceAllOf() -
Method Summary
Modifier and Type Method Description InvoiceAllOfaddCartItem(InvoiceLine cartItem)InvoiceAllOfamount(Long amount)InvoiceAllOfcart(List<InvoiceLine> cart)InvoiceAllOfcreatedAt(OffsetDateTime createdAt)InvoiceAllOfcurrency(String currency)InvoiceAllOfdescription(String description)InvoiceAllOfdueDate(OffsetDateTime dueDate)booleanequals(Object o)InvoiceAllOfexternalID(String externalID)@NotNull @Min(1L) LonggetAmount()Стоимость предлагаемых товаров или услуг, в минорных денежных единицах, например в копейках в случае указания российских рублей в качестве валюты.@Valid @Size(min=1,max=100) List<InvoiceLine>getCart()Корзина с набором позиций продаваемых товаров или услуг@NotNull @Valid OffsetDateTimegetCreatedAt()Дата и время создания@NotNull @Pattern(regexp="^[A-Z]{3}$") StringgetCurrency()Валюта, символьный код согласно [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html).@Size(max=1000) StringgetDescription()Описание предлагаемых товаров или услуг@NotNull @Valid OffsetDateTimegetDueDate()Дата и время окончания действияStringgetExternalID()Внешний идентификатор@NotNull StringgetId()Идентификатор инвойсаStringgetInvoiceTemplateID()Идентификатор шаблона (для инвойсов, созданных по шаблону).@NotNull ObjectgetMetadata()Связанные с инвойсом метаданные@NotNull @Size(max=100) StringgetProduct()Наименование предлагаемых товаров или услуг@NotNull StringgetShopID()Идентификатор магазинаinthashCode()InvoiceAllOfid(String id)InvoiceAllOfinvoiceTemplateID(String invoiceTemplateID)InvoiceAllOfmetadata(Object metadata)InvoiceAllOfproduct(String product)voidsetAmount(Long amount)voidsetCart(List<InvoiceLine> cart)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCurrency(String currency)voidsetDescription(String description)voidsetDueDate(OffsetDateTime dueDate)voidsetExternalID(String externalID)voidsetId(String id)voidsetInvoiceTemplateID(String invoiceTemplateID)voidsetMetadata(Object metadata)voidsetProduct(String product)voidsetShopID(String shopID)InvoiceAllOfshopID(String shopID)StringtoString()
-
Constructor Details
-
InvoiceAllOf
public InvoiceAllOf()
-
-
Method Details
-
id
-
getId
Идентификатор инвойса- Returns:
- id
-
setId
-
externalID
-
getExternalID
Внешний идентификатор- Returns:
- externalID
-
setExternalID
-
shopID
-
getShopID
Идентификатор магазина- Returns:
- shopID
-
setShopID
-
createdAt
-
getCreatedAt
Дата и время создания- Returns:
- createdAt
-
setCreatedAt
-
dueDate
-
getDueDate
Дата и время окончания действия- Returns:
- dueDate
-
setDueDate
-
amount
-
getAmount
Стоимость предлагаемых товаров или услуг, в минорных денежных единицах, например в копейках в случае указания российских рублей в качестве валюты. minimum: 1- Returns:
- amount
-
setAmount
-
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
-
product
-
getProduct
Наименование предлагаемых товаров или услуг- Returns:
- product
-
setProduct
-
description
-
getDescription
Описание предлагаемых товаров или услуг- Returns:
- description
-
setDescription
-
invoiceTemplateID
-
getInvoiceTemplateID
Идентификатор шаблона (для инвойсов, созданных по шаблону).- Returns:
- invoiceTemplateID
-
setInvoiceTemplateID
-
cart
-
addCartItem
-
getCart
Корзина с набором позиций продаваемых товаров или услуг- Returns:
- cart
-
setCart
-
metadata
-
getMetadata
Связанные с инвойсом метаданные- Returns:
- metadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-