Package com.oracle.bmc.usage.model
Class RedemptionSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.usage.model.RedemptionSummary.Builder
 
- 
- Enclosing class:
- RedemptionSummary
 
 public static class RedemptionSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RedemptionSummary.BuilderbaseRewards(Float baseRewards)It provides the redeemed rewards in base/subscription currency.RedemptionSummarybuild()RedemptionSummary.Buildercopy(RedemptionSummary model)RedemptionSummary.BuilderfxRate(Double fxRate)It provides the fxRate between invoice currency and subscription currency.RedemptionSummary.BuilderinvoiceCurrency(String invoiceCurrency)The currency associated with invoice.RedemptionSummary.BuilderinvoiceNumber(String invoiceNumber)It provides the invoice number against the redemption.RedemptionSummary.BuilderinvoiceTotalAmount(Double invoiceTotalAmount)It provides the invoice total amount of given redemption.RedemptionSummary.BuilderredeemedRewards(Float redeemedRewards)It provides the redeemed rewards in invoice currency.RedemptionSummary.BuilderredemptionCode(String redemptionCode)The redemption code used in the Billing Center during the reward redemption process.RedemptionSummary.BuilderredemptionEmail(String redemptionEmail)It provides the redemption email id.RedemptionSummary.BuildertimeInvoiced(Date timeInvoiced)It provides the invoice date.RedemptionSummary.BuildertimeRedeemed(Date timeRedeemed)It provides redeem date.
 
- 
- 
- 
Method Detail- 
timeRedeemedpublic RedemptionSummary.Builder timeRedeemed(Date timeRedeemed) It provides redeem date.- Parameters:
- timeRedeemed- the value to set
- Returns:
- this builder
 
 - 
redemptionEmailpublic RedemptionSummary.Builder redemptionEmail(String redemptionEmail) It provides the redemption email id.- Parameters:
- redemptionEmail- the value to set
- Returns:
- this builder
 
 - 
redemptionCodepublic RedemptionSummary.Builder redemptionCode(String redemptionCode) The redemption code used in the Billing Center during the reward redemption process.- Parameters:
- redemptionCode- the value to set
- Returns:
- this builder
 
 - 
invoiceNumberpublic RedemptionSummary.Builder invoiceNumber(String invoiceNumber) It provides the invoice number against the redemption.- Parameters:
- invoiceNumber- the value to set
- Returns:
- this builder
 
 - 
invoiceTotalAmountpublic RedemptionSummary.Builder invoiceTotalAmount(Double invoiceTotalAmount) It provides the invoice total amount of given redemption.- Parameters:
- invoiceTotalAmount- the value to set
- Returns:
- this builder
 
 - 
invoiceCurrencypublic RedemptionSummary.Builder invoiceCurrency(String invoiceCurrency) The currency associated with invoice.- Parameters:
- invoiceCurrency- the value to set
- Returns:
- this builder
 
 - 
redeemedRewardspublic RedemptionSummary.Builder redeemedRewards(Float redeemedRewards) It provides the redeemed rewards in invoice currency.- Parameters:
- redeemedRewards- the value to set
- Returns:
- this builder
 
 - 
baseRewardspublic RedemptionSummary.Builder baseRewards(Float baseRewards) It provides the redeemed rewards in base/subscription currency.- Parameters:
- baseRewards- the value to set
- Returns:
- this builder
 
 - 
fxRatepublic RedemptionSummary.Builder fxRate(Double fxRate) It provides the fxRate between invoice currency and subscription currency.- Parameters:
- fxRate- the value to set
- Returns:
- this builder
 
 - 
timeInvoicedpublic RedemptionSummary.Builder timeInvoiced(Date timeInvoiced) It provides the invoice date.- Parameters:
- timeInvoiced- the value to set
- Returns:
- this builder
 
 - 
buildpublic RedemptionSummary build() 
 - 
copypublic RedemptionSummary.Builder copy(RedemptionSummary model) 
 
- 
 
-