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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
timeRedeemed
public RedemptionSummary.Builder timeRedeemed(Date timeRedeemed)
It provides redeem date.- Parameters:
timeRedeemed- the value to set- Returns:
- this builder
-
redemptionEmail
public RedemptionSummary.Builder redemptionEmail(String redemptionEmail)
It provides the redemption email id.- Parameters:
redemptionEmail- the value to set- Returns:
- this builder
-
redemptionCode
public 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
-
invoiceNumber
public RedemptionSummary.Builder invoiceNumber(String invoiceNumber)
It provides the invoice number against the redemption.- Parameters:
invoiceNumber- the value to set- Returns:
- this builder
-
invoiceTotalAmount
public RedemptionSummary.Builder invoiceTotalAmount(Double invoiceTotalAmount)
It provides the invoice total amount of given redemption.- Parameters:
invoiceTotalAmount- the value to set- Returns:
- this builder
-
invoiceCurrency
public RedemptionSummary.Builder invoiceCurrency(String invoiceCurrency)
The currency associated with invoice.- Parameters:
invoiceCurrency- the value to set- Returns:
- this builder
-
redeemedRewards
public RedemptionSummary.Builder redeemedRewards(Float redeemedRewards)
It provides the redeemed rewards in invoice currency.- Parameters:
redeemedRewards- the value to set- Returns:
- this builder
-
baseRewards
public RedemptionSummary.Builder baseRewards(Float baseRewards)
It provides the redeemed rewards in base/subscription currency.- Parameters:
baseRewards- the value to set- Returns:
- this builder
-
fxRate
public RedemptionSummary.Builder fxRate(Double fxRate)
It provides the fxRate between invoice currency and subscription currency.- Parameters:
fxRate- the value to set- Returns:
- this builder
-
timeInvoiced
public RedemptionSummary.Builder timeInvoiced(Date timeInvoiced)
It provides the invoice date.- Parameters:
timeInvoiced- the value to set- Returns:
- this builder
-
build
public RedemptionSummary build()
-
copy
public RedemptionSummary.Builder copy(RedemptionSummary model)
-
-