Class ParticipantReward
-
- All Implemented Interfaces:
public final class ParticipantReward
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classParticipantReward.BuilderA builder for ParticipantReward.
public final classParticipantReward.Status
-
Method Summary
-
-
Method Detail
-
status
final ParticipantReward.Status status()
-
approvedAt
final Optional<Long> approvedAt()
-
commissionStructure
final Optional<CommissionStructure> commissionStructure()
-
fulfilledAt
final Optional<Long> fulfilledAt()
-
isAvailable
final Optional<Boolean> isAvailable()
-
isFulfilled
final Optional<Boolean> isFulfilled()
-
isReferrer
final Optional<Boolean> isReferrer()
-
referredId
final Optional<String> referredId()
-
referrerId
final Optional<String> referrerId()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_rewardId
final JsonField<String> _rewardId()
Returns the raw JSON value of rewardId.
Unlike rewardId, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<ParticipantReward.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_approved
final JsonField<Boolean> _approved()
Returns the raw JSON value of approved.
Unlike approved, this method doesn't throw if the JSON field has an unexpected type.
-
_approvedAt
final JsonField<Long> _approvedAt()
Returns the raw JSON value of approvedAt.
Unlike approvedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_commissionStructure
final JsonField<CommissionStructure> _commissionStructure()
Returns the raw JSON value of commissionStructure.
Unlike commissionStructure, this method doesn't throw if the JSON field has an unexpected type.
-
_fulfilledAt
final JsonField<Long> _fulfilledAt()
Returns the raw JSON value of fulfilledAt.
Unlike fulfilledAt, this method doesn't throw if the JSON field has an unexpected type.
-
_isAvailable
final JsonField<Boolean> _isAvailable()
Returns the raw JSON value of isAvailable.
Unlike isAvailable, this method doesn't throw if the JSON field has an unexpected type.
-
_isFulfilled
final JsonField<Boolean> _isFulfilled()
Returns the raw JSON value of isFulfilled.
Unlike isFulfilled, this method doesn't throw if the JSON field has an unexpected type.
-
_isReferrer
final JsonField<Boolean> _isReferrer()
Returns the raw JSON value of isReferrer.
Unlike isReferrer, this method doesn't throw if the JSON field has an unexpected type.
-
_referredId
final JsonField<String> _referredId()
Returns the raw JSON value of referredId.
Unlike referredId, this method doesn't throw if the JSON field has an unexpected type.
-
_referrerId
final JsonField<String> _referrerId()
Returns the raw JSON value of referrerId.
Unlike referrerId, this method doesn't throw if the JSON field has an unexpected type.
-
_unread
final JsonField<Boolean> _unread()
Returns the raw JSON value of unread.
Unlike unread, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ParticipantReward.Builder toBuilder()
-
validate
final ParticipantReward validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ParticipantReward.Builder builder()
Returns a mutable builder for constructing an instance of ParticipantReward.
The following fields are required:
.id() .rewardId() .status()
-
-
-
-