Class Invoice
java.lang.Object
dev.vality.swag_webhook_events.model.Invoice
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2024-02-26T07:25:16.040246332Z[Etc/UTC]")
public class Invoice
extends Object
Invoice data
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvoice.StatusEnumInvoice 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)@NotNull @Min(1L) LonggetAmount()The price of the goods or services offered, in minor monetary units, e.g.@Valid @Size(min=1,max=100) List<InvoiceCartLine>getCart()A shopping cart with a list of items of provided goods or services@NotNull @Valid OffsetDateTimegetCreatedAt()Date and time of creation@NotNull StringgetCurrency()Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).StringgetDescription()Description of the goods or services offered@NotNull @Valid OffsetDateTimegetDueDate()Expiration date and timeStringgetExternalId()Merchant's transaction identifier@NotNull StringgetId()Invoice ID@NotNull ObjectgetMetadata()Invoice metadata@NotNull StringgetProduct()Name of the offered goods or servicesStringgetReason()Reason for invoice cancellation or redemption@NotNull StringgetShopID()Shop ID@NotNull Invoice.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()
-
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
-