Package software.xdev.brevo.model
Class MainOrderPayload
java.lang.Object
software.xdev.brevo.model.MainOrderPayload
MainOrderPayload
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCouponsItem(String couponsItem) addProductsItem(MainProductPayload productsItem) amount(BigDecimal amount) billing(MainBillingPayload billing) createdAt(OffsetDateTime createdAt) booleanTotal amount of the orderBilling information for the orderUnique identifier for the contactList of coupon codes applied to the orderTimestamp when the order was createdgetEmail()Email address associated with the ordergetId()Unique identifier for the orderAdditional identifiers for the orderList of products in the orderCurrent status of the orderIdentifier for the store where the order was placedTimestamp when the order was last updatedinthashCode()identifiers(MainIdentifiersPayload identifiers) products(List<MainProductPayload> products) voidsetAmount(BigDecimal amount) voidsetBilling(MainBillingPayload billing) voidsetContactId(Long contactId) voidsetCoupons(List<String> coupons) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidvoidsetIdentifiers(MainIdentifiersPayload identifiers) voidsetProducts(List<MainProductPayload> products) voidvoidsetStoreId(String storeId) voidsetUpdatedAt(OffsetDateTime updatedAt) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
JSON_PROPERTY_AMOUNT
- See Also:
-
JSON_PROPERTY_BILLING
- See Also:
-
JSON_PROPERTY_CONTACT_ID
- See Also:
-
JSON_PROPERTY_COUPONS
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_IDENTIFIERS
- See Also:
-
JSON_PROPERTY_PRODUCTS
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_STORE_ID
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
-
Constructor Details
-
MainOrderPayload
public MainOrderPayload()
-
-
Method Details
-
amount
-
getAmount
Total amount of the order- Returns:
- amount
-
setAmount
-
billing
-
getBilling
Billing information for the order- Returns:
- billing
-
setBilling
-
contactId
-
getContactId
Unique identifier for the contact- Returns:
- contactId
-
setContactId
-
coupons
-
addCouponsItem
-
getCoupons
List of coupon codes applied to the order- Returns:
- coupons
-
setCoupons
-
createdAt
-
getCreatedAt
Timestamp when the order was created- Returns:
- createdAt
-
setCreatedAt
-
email
-
getEmail
Email address associated with the order- Returns:
-
setEmail
-
id
-
getId
Unique identifier for the order- Returns:
- id
-
setId
-
identifiers
-
getIdentifiers
Additional identifiers for the order- Returns:
- identifiers
-
setIdentifiers
-
products
-
addProductsItem
-
getProducts
List of products in the order- Returns:
- products
-
setProducts
-
status
-
getStatus
Current status of the order- Returns:
- status
-
setStatus
-
storeId
-
getStoreId
Identifier for the store where the order was placed- Returns:
- storeId
-
setStoreId
-
updatedAt
-
getUpdatedAt
Timestamp when the order was last updated- Returns:
- updatedAt
-
setUpdatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-