public static class RewardDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RewardDetails |
build() |
RewardDetails.Builder |
copy(RewardDetails model) |
RewardDetails.Builder |
currency(String currency)
The currency unit for the reward amount.
|
RewardDetails.Builder |
redemptionCode(String redemptionCode)
The redemption code used in the Billing Center during the reward redemption process.
|
RewardDetails.Builder |
rewardsRate(Double rewardsRate)
The current Rewards percentage in decimal format.
|
RewardDetails.Builder |
subscriptionId(String subscriptionId)
The entitlement ID from MQS, which is the same as the subcription ID.
|
RewardDetails.Builder |
tenancyId(String tenancyId)
The OCID of the target tenancy.
|
RewardDetails.Builder |
totalRewardsAvailable(Float totalRewardsAvailable)
The total number of available rewards for a given subscription ID.
|
public RewardDetails.Builder tenancyId(String tenancyId)
The OCID of the target tenancy.
tenancyId
- the value to setpublic RewardDetails.Builder subscriptionId(String subscriptionId)
The entitlement ID from MQS, which is the same as the subcription ID.
subscriptionId
- the value to setpublic RewardDetails.Builder currency(String currency)
The currency unit for the reward amount.
currency
- the value to setpublic RewardDetails.Builder rewardsRate(Double rewardsRate)
The current Rewards percentage in decimal format.
rewardsRate
- the value to setpublic RewardDetails.Builder totalRewardsAvailable(Float totalRewardsAvailable)
The total number of available rewards for a given subscription ID.
totalRewardsAvailable
- the value to setpublic RewardDetails.Builder redemptionCode(String redemptionCode)
The redemption code used in the Billing Center during the reward redemption process.
redemptionCode
- the value to setpublic RewardDetails build()
public RewardDetails.Builder copy(RewardDetails model)
Copyright © 2016–2024. All rights reserved.