public static class MonthlyRewardSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonthlyRewardSummary.Builder |
availableRewards(Float availableRewards)
The number of rewards available for a specific usage period.
|
MonthlyRewardSummary |
build() |
MonthlyRewardSummary.Builder |
copy(MonthlyRewardSummary model) |
MonthlyRewardSummary.Builder |
earnedRewards(Float earnedRewards)
The number of rewards earned for the specific usage period.
|
MonthlyRewardSummary.Builder |
eligibleUsageAmount(Double eligibleUsageAmount)
The eligible usage amount for the usage period.
|
MonthlyRewardSummary.Builder |
ineligibleUsageAmount(Double ineligibleUsageAmount)
The ineligible usage amount for the usage period.
|
MonthlyRewardSummary.Builder |
isManual(Boolean isManual)
The boolean parameter to indicate whether or not the available rewards are manually
posted.
|
MonthlyRewardSummary.Builder |
redeemedRewards(Float redeemedRewards)
The number of rewards redeemed for a specific month.
|
MonthlyRewardSummary.Builder |
timeRewardsEarned(Date timeRewardsEarned)
The date and time when rewards accrue.
|
MonthlyRewardSummary.Builder |
timeRewardsExpired(Date timeRewardsExpired)
The date and time when rewards expire.
|
MonthlyRewardSummary.Builder |
timeUsageEnded(Date timeUsageEnded)
The end date and time for the usage period.
|
MonthlyRewardSummary.Builder |
timeUsageStarted(Date timeUsageStarted)
The start date and time for the usage period.
|
MonthlyRewardSummary.Builder |
usageAmount(Double usageAmount)
The usage amount for the usage period.
|
MonthlyRewardSummary.Builder |
usagePeriodKey(String usagePeriodKey)
The usage period ID.
|
public MonthlyRewardSummary.Builder availableRewards(Float availableRewards)
The number of rewards available for a specific usage period.
availableRewards
- the value to setpublic MonthlyRewardSummary.Builder redeemedRewards(Float redeemedRewards)
The number of rewards redeemed for a specific month.
redeemedRewards
- the value to setpublic MonthlyRewardSummary.Builder earnedRewards(Float earnedRewards)
The number of rewards earned for the specific usage period.
earnedRewards
- the value to setpublic MonthlyRewardSummary.Builder isManual(Boolean isManual)
The boolean parameter to indicate whether or not the available rewards are manually posted.
isManual
- the value to setpublic MonthlyRewardSummary.Builder timeRewardsExpired(Date timeRewardsExpired)
The date and time when rewards expire.
timeRewardsExpired
- the value to setpublic MonthlyRewardSummary.Builder timeRewardsEarned(Date timeRewardsEarned)
The date and time when rewards accrue.
timeRewardsEarned
- the value to setpublic MonthlyRewardSummary.Builder timeUsageStarted(Date timeUsageStarted)
The start date and time for the usage period.
timeUsageStarted
- the value to setpublic MonthlyRewardSummary.Builder timeUsageEnded(Date timeUsageEnded)
The end date and time for the usage period.
timeUsageEnded
- the value to setpublic MonthlyRewardSummary.Builder usageAmount(Double usageAmount)
The usage amount for the usage period.
usageAmount
- the value to setpublic MonthlyRewardSummary.Builder eligibleUsageAmount(Double eligibleUsageAmount)
The eligible usage amount for the usage period.
eligibleUsageAmount
- the value to setpublic MonthlyRewardSummary.Builder ineligibleUsageAmount(Double ineligibleUsageAmount)
The ineligible usage amount for the usage period.
ineligibleUsageAmount
- the value to setpublic MonthlyRewardSummary.Builder usagePeriodKey(String usagePeriodKey)
The usage period ID.
usagePeriodKey
- the value to setpublic MonthlyRewardSummary build()
public MonthlyRewardSummary.Builder copy(MonthlyRewardSummary model)
Copyright © 2016–2024. All rights reserved.