public static class ProductSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProductSummary |
build() |
ProductSummary.Builder |
copy(ProductSummary model) |
ProductSummary.Builder |
earnedRewards(Float earnedRewards)
The earned rewards for the product.
|
ProductSummary.Builder |
isEligibleToEarnRewards(Boolean isEligibleToEarnRewards)
The boolean parameter to indicate if the product is eligible to earn rewards.
|
ProductSummary.Builder |
productName(String productName)
The rate card product name.
|
ProductSummary.Builder |
productNumber(String productNumber)
The rate card product number.
|
ProductSummary.Builder |
usageAmount(Double usageAmount)
The rate card product usage amount.
|
public ProductSummary.Builder productNumber(String productNumber)
The rate card product number.
productNumber
- the value to setpublic ProductSummary.Builder productName(String productName)
The rate card product name.
productName
- the value to setpublic ProductSummary.Builder usageAmount(Double usageAmount)
The rate card product usage amount.
usageAmount
- the value to setpublic ProductSummary.Builder earnedRewards(Float earnedRewards)
The earned rewards for the product.
earnedRewards
- the value to setpublic ProductSummary.Builder isEligibleToEarnRewards(Boolean isEligibleToEarnRewards)
The boolean parameter to indicate if the product is eligible to earn rewards.
isEligibleToEarnRewards
- the value to setpublic ProductSummary build()
public ProductSummary.Builder copy(ProductSummary model)
Copyright © 2016–2024. All rights reserved.