Class Invoice
java.lang.Object
dev.vality.swag_webhook_events.model.Invoice
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-08T11:08:44.744020346Z[Etc/UTC]")
public class Invoice
extends Object
Invoice data
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvoice.StatusEnumInvoice status -
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AMOUNTstatic StringJSON_PROPERTY_CARTstatic StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_CURRENCYstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_DUE_DATEstatic StringJSON_PROPERTY_EXTERNAL_IDstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_PRODUCTstatic StringJSON_PROPERTY_REASONstatic StringJSON_PROPERTY_SHOP_I_Dstatic StringJSON_PROPERTY_STATUS -
Constructor Summary
Constructors Constructor Description Invoice() -
Method Summary
Modifier and Type Method Description InvoiceaddCartItem(InvoiceCartLine cartItem)Invoiceamount(Long amount)Invoicecart(List<InvoiceCartLine> cart)InvoicecreatedAt(OffsetDateTime createdAt)Invoicecurrency(String currency)Invoicedescription(String description)InvoicedueDate(OffsetDateTime dueDate)booleanequals(Object o)InvoiceexternalId(String externalId)LonggetAmount()The price of the goods or services offered, in minor monetary units, e.g.List<InvoiceCartLine>getCart()A shopping cart with a list of items of provided goods or servicesOffsetDateTimegetCreatedAt()Date and time of creationStringgetCurrency()Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).StringgetDescription()Description of the goods or services offeredOffsetDateTimegetDueDate()Expiration date and timeStringgetExternalId()Merchant's transaction identifierStringgetId()Invoice IDObjectgetMetadata()Invoice metadataStringgetProduct()Name of the offered goods or servicesStringgetReason()Reason for invoice cancellation or redemptionStringgetShopID()Shop IDInvoice.StatusEnumgetStatus()Invoice statusinthashCode()Invoiceid(String id)Invoicemetadata(Object metadata)Invoiceproduct(String product)Invoicereason(String reason)voidsetAmount(Long amount)voidsetCart(List<InvoiceCartLine> cart)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCurrency(String currency)voidsetDescription(String description)voidsetDueDate(OffsetDateTime dueDate)voidsetExternalId(String externalId)voidsetId(String id)voidsetMetadata(Object metadata)voidsetProduct(String product)voidsetReason(String reason)voidsetShopID(String shopID)voidsetStatus(Invoice.StatusEnum status)InvoiceshopID(String shopID)Invoicestatus(Invoice.StatusEnum status)StringtoString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOP_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DUE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENCY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRODUCT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CART
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXTERNAL_ID
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Invoice
public Invoice()
-
-
Method Details
-
id
-
getId
Invoice ID- Returns:
- id
-
setId
-
shopID
-
getShopID
Shop ID- Returns:
- shopID
-
setShopID
-
createdAt
-
getCreatedAt
Date and time of creation- Returns:
- createdAt
-
setCreatedAt
-
status
-
getStatus
Invoice status- Returns:
- status
-
setStatus
-
reason
-
getReason
Reason for invoice cancellation or redemption- Returns:
- reason
-
setReason
-
dueDate
-
getDueDate
Expiration date and time- Returns:
- dueDate
-
setDueDate
-
amount
-
getAmount
The price of the goods or services offered, in minor monetary units, e.g. cents if U.S. dollars are specified as the currency minimum: 1- Returns:
- amount
-
setAmount
-
currency
-
getCurrency
Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).- Returns:
- currency
-
setCurrency
-
metadata
-
getMetadata
Invoice metadata- Returns:
- metadata
-
setMetadata
-
product
-
getProduct
Name of the offered goods or services- Returns:
- product
-
setProduct
-
description
-
getDescription
Description of the goods or services offered- Returns:
- description
-
setDescription
-
cart
-
addCartItem
-
getCart
A shopping cart with a list of items of provided goods or services- Returns:
- cart
-
setCart
-
externalId
-
getExternalId
Merchant's transaction identifier- Returns:
- externalId
-
setExternalId
-
equals
-
hashCode
public int hashCode() -
toString
-