Package io.voucherify.client.model
Class LoyaltiesMembersPointsExpirationListResponseBodyDataItem
java.lang.Object
io.voucherify.client.model.LoyaltiesMembersPointsExpirationListResponseBodyDataItem
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltiesMembersPointsExpirationListResponseBodyDataItem
extends Object
Contains the details about expiring loyalty points.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncampaignId(String campaignId) createdAt(OffsetDateTime createdAt) booleanexpiresAt(OffsetDateTime expiresAt) Create an instance of LoyaltiesMembersPointsExpirationListResponseBodyDataItem given an JSON stringGet bucketUnique identifier of the parent campaign.Timestamp representing the date and time when the loyalty point bucket object was created in ISO 8601 format.Date when the number of points defined in the bucket object are due to expire.getId()Unique identifier of the loyalty points bucket.The type of the object represented by JSON.Loyalty point point bucket status.Timestamp representing the date and time when the loyalty point bucket object was updated in ISO 8601 format.Unique identifier of the parent loyalty card.inthashCode()voidvoidsetCampaignId(String campaignId) voidsetCreatedAt(OffsetDateTime createdAt) voidsetExpiresAt(OffsetDateTime expiresAt) voidvoidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidsetVoucherId(String voucherId) toJson()Convert an instance of LoyaltiesMembersPointsExpirationListResponseBodyDataItem to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_VOUCHER_ID
- See Also:
-
SERIALIZED_NAME_CAMPAIGN_ID
- See Also:
-
SERIALIZED_NAME_BUCKET
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_EXPIRES_AT
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoyaltiesMembersPointsExpirationListResponseBodyDataItem
public LoyaltiesMembersPointsExpirationListResponseBodyDataItem()
-
-
Method Details
-
id
-
getId
Unique identifier of the loyalty points bucket.- Returns:
- id
-
setId
-
voucherId
-
getVoucherId
Unique identifier of the parent loyalty card.- Returns:
- voucherId
-
setVoucherId
-
campaignId
-
getCampaignId
Unique identifier of the parent campaign.- Returns:
- campaignId
-
setCampaignId
-
bucket
-
getBucket
Get bucket- Returns:
- bucket
-
setBucket
-
status
-
getStatus
Loyalty point point bucket status.- Returns:
- status
-
setStatus
-
expiresAt
-
getExpiresAt
Date when the number of points defined in the bucket object are due to expire.- Returns:
- expiresAt
-
setExpiresAt
-
createdAt
-
getCreatedAt
Timestamp representing the date and time when the loyalty point bucket object was created in ISO 8601 format.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp representing the date and time when the loyalty point bucket object was updated in ISO 8601 format.- Returns:
- updatedAt
-
setUpdatedAt
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about the loyalty point bucket.- Returns:
- _object
-
setObject
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static LoyaltiesMembersPointsExpirationListResponseBodyDataItem fromJson(String jsonString) throws IOException Create an instance of LoyaltiesMembersPointsExpirationListResponseBodyDataItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltiesMembersPointsExpirationListResponseBodyDataItem
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltiesMembersPointsExpirationListResponseBodyDataItem
-
toJson
Convert an instance of LoyaltiesMembersPointsExpirationListResponseBodyDataItem to an JSON string- Returns:
- JSON string
-