Package com.microsoft.graph.models
Class WorkbookFunctionsPriceDiscParameterSet.WorkbookFunctionsPriceDiscParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.WorkbookFunctionsPriceDiscParameterSet.WorkbookFunctionsPriceDiscParameterSetBuilder
- Enclosing class:
WorkbookFunctionsPriceDiscParameterSet
public static final class WorkbookFunctionsPriceDiscParameterSet.WorkbookFunctionsPriceDiscParameterSetBuilder
extends Object
Fluent builder for the WorkbookFunctionsPriceDiscParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.google.gson.JsonElementThe basis parameter valueprotected com.google.gson.JsonElementThe discount parameter valueprotected com.google.gson.JsonElementThe maturity parameter valueprotected com.google.gson.JsonElementThe redemption parameter valueprotected com.google.gson.JsonElementThe settlement parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new WorkbookFunctionsPriceDiscParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()Buils the resulting body object to be passed to the requestwithBasis(com.google.gson.JsonElement val) Sets the BasiswithDiscount(com.google.gson.JsonElement val) Sets the DiscountwithMaturity(com.google.gson.JsonElement val) Sets the MaturitywithRedemption(com.google.gson.JsonElement val) Sets the RedemptionwithSettlement(com.google.gson.JsonElement val) Sets the Settlement
-
Field Details
-
settlement
@Nullable protected com.google.gson.JsonElement settlementThe settlement parameter value -
maturity
@Nullable protected com.google.gson.JsonElement maturityThe maturity parameter value -
discount
@Nullable protected com.google.gson.JsonElement discountThe discount parameter value -
redemption
@Nullable protected com.google.gson.JsonElement redemptionThe redemption parameter value -
basis
@Nullable protected com.google.gson.JsonElement basisThe basis parameter value
-
-
Constructor Details
-
WorkbookFunctionsPriceDiscParameterSetBuilder
@Nullable protected WorkbookFunctionsPriceDiscParameterSetBuilder()Instanciates a new WorkbookFunctionsPriceDiscParameterSetBuilder
-
-
Method Details
-
withSettlement
@Nonnull public WorkbookFunctionsPriceDiscParameterSet.WorkbookFunctionsPriceDiscParameterSetBuilder withSettlement(@Nullable com.google.gson.JsonElement val) Sets the Settlement- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withMaturity
@Nonnull public WorkbookFunctionsPriceDiscParameterSet.WorkbookFunctionsPriceDiscParameterSetBuilder withMaturity(@Nullable com.google.gson.JsonElement val) Sets the Maturity- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withDiscount
@Nonnull public WorkbookFunctionsPriceDiscParameterSet.WorkbookFunctionsPriceDiscParameterSetBuilder withDiscount(@Nullable com.google.gson.JsonElement val) Sets the Discount- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withRedemption
@Nonnull public WorkbookFunctionsPriceDiscParameterSet.WorkbookFunctionsPriceDiscParameterSetBuilder withRedemption(@Nullable com.google.gson.JsonElement val) Sets the Redemption- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withBasis
@Nonnull public WorkbookFunctionsPriceDiscParameterSet.WorkbookFunctionsPriceDiscParameterSetBuilder withBasis(@Nullable com.google.gson.JsonElement val) Sets the Basis- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
build
Buils the resulting body object to be passed to the request- Returns:
- the body object to pass to the request
-