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
LoyaltiesMembersPointsExpirationListResponseBodyDataItem
-
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 parent campaign ID.Timestamp representing the date and time when the loyalty points bucket object was created.Date when the number of points defined in the bucket object are due to expire.getId()Unique loyalty points bucket ID.The type of the object represented by JSON.Loyalty points bucket point status.Timestamp representing the date and time when the loyalty points bucket object was updated.Unique parent loyalty card ID.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_CREATED_AT
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_EXPIRES_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
-
setId
-
voucherId
-
getVoucherId
-
setVoucherId
-
campaignId
-
getCampaignId
-
setCampaignId
-
bucket
-
getBucket
Get bucket- Returns:
- bucket
-
setBucket
-
createdAt
-
getCreatedAt
Timestamp representing the date and time when the loyalty points bucket object was created. The value is shown in the ISO 8601 format.- Returns:
- createdAt
-
setCreatedAt
-
status
-
getStatus
-
setStatus
-
expiresAt
-
getExpiresAt
Date when the number of points defined in the bucket object are due to expire.- Returns:
- expiresAt
-
setExpiresAt
-
updatedAt
-
getUpdatedAt
Timestamp representing the date and time when the loyalty points bucket object was updated. The value is shown in the ISO 8601 format.- Returns:
- updatedAt
-
setUpdatedAt
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about the loyalty points bucket.- Returns:
- _object
-
setObject
-
equals
-
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
-