public static class RedemptionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RedemptionSummary.Builder |
baseRewards(Float baseRewards)
It provides the redeemed rewards in base/subscription currency.
|
RedemptionSummary |
build() |
RedemptionSummary.Builder |
copy(RedemptionSummary model) |
RedemptionSummary.Builder |
fxRate(Double fxRate)
It provides the fxRate between invoice currency and subscription currency.
|
RedemptionSummary.Builder |
invoiceCurrency(String invoiceCurrency)
The currency associated with invoice.
|
RedemptionSummary.Builder |
invoiceNumber(String invoiceNumber)
It provides the invoice number against the redemption.
|
RedemptionSummary.Builder |
invoiceTotalAmount(Double invoiceTotalAmount)
It provides the invoice total amount of given redemption.
|
RedemptionSummary.Builder |
redeemedRewards(Float redeemedRewards)
It provides the redeemed rewards in invoice currency.
|
RedemptionSummary.Builder |
redemptionCode(String redemptionCode)
The redemption code used in the Billing Center during the reward redemption process.
|
RedemptionSummary.Builder |
redemptionEmail(String redemptionEmail)
It provides the redemption email id.
|
RedemptionSummary.Builder |
timeInvoiced(Date timeInvoiced)
It provides the invoice date.
|
RedemptionSummary.Builder |
timeRedeemed(Date timeRedeemed)
It provides redeem date.
|
public RedemptionSummary.Builder timeRedeemed(Date timeRedeemed)
It provides redeem date.
timeRedeemed
- the value to setpublic RedemptionSummary.Builder redemptionEmail(String redemptionEmail)
It provides the redemption email id.
redemptionEmail
- the value to setpublic RedemptionSummary.Builder redemptionCode(String redemptionCode)
The redemption code used in the Billing Center during the reward redemption process.
redemptionCode
- the value to setpublic RedemptionSummary.Builder invoiceNumber(String invoiceNumber)
It provides the invoice number against the redemption.
invoiceNumber
- the value to setpublic RedemptionSummary.Builder invoiceTotalAmount(Double invoiceTotalAmount)
It provides the invoice total amount of given redemption.
invoiceTotalAmount
- the value to setpublic RedemptionSummary.Builder invoiceCurrency(String invoiceCurrency)
The currency associated with invoice.
invoiceCurrency
- the value to setpublic RedemptionSummary.Builder redeemedRewards(Float redeemedRewards)
It provides the redeemed rewards in invoice currency.
redeemedRewards
- the value to setpublic RedemptionSummary.Builder baseRewards(Float baseRewards)
It provides the redeemed rewards in base/subscription currency.
baseRewards
- the value to setpublic RedemptionSummary.Builder fxRate(Double fxRate)
It provides the fxRate between invoice currency and subscription currency.
fxRate
- the value to setpublic RedemptionSummary.Builder timeInvoiced(Date timeInvoiced)
It provides the invoice date.
timeInvoiced
- the value to setpublic RedemptionSummary build()
public RedemptionSummary.Builder copy(RedemptionSummary model)
Copyright © 2016–2024. All rights reserved.