Class AddonCreateParams.AddonCreateBuilder
java.lang.Object
com.chargebee.v4.models.addon.params.AddonCreateParams.AddonCreateBuilder
- Enclosing class:
- AddonCreateParams
-
Method Summary
Modifier and TypeMethodDescriptionaccountingCategory1(String value) accountingCategory2(String value) accountingCategory3(String value) accountingCategory4(String value) accountingCode(String value) avalaraServiceType(Integer value) avalaraTransactionType(Integer value) build()currencyCode(String value) customField(String fieldName, String value) Add a custom field to the request.customFields(Map<String, String> customFields) Add multiple custom fields to the request.description(String value) enabledInPortal(Boolean value) includedInMrr(Boolean value) invoiceName(String value) invoiceNotes(String value) isShippable(Boolean value) priceInDecimal(String value) shippingFrequencyPeriod(Integer value) showDescriptionInInvoices(Boolean value) showDescriptionInQuotes(Boolean value) status(AddonCreateParams.Status value) taxjarProductCode(String value) taxProfileId(String value) tiers(List<AddonCreateParams.TiersParams> value) type(AddonCreateParams.Type value) Deprecated.
-
Method Details
-
id
-
name
-
invoiceName
-
description
-
chargeType
-
price
-
currencyCode
-
period
-
periodUnit
-
pricingModel
-
type
Deprecated. -
unit
-
enabledInPortal
-
taxable
-
taxProfileId
-
avalaraSaleType
public AddonCreateParams.AddonCreateBuilder avalaraSaleType(AddonCreateParams.AvalaraSaleType value) -
avalaraTransactionType
-
avalaraServiceType
-
taxCode
-
hsnCode
-
taxjarProductCode
-
invoiceNotes
-
metaData
-
sku
-
accountingCode
-
accountingCategory1
-
accountingCategory2
-
accountingCategory3
-
accountingCategory4
-
isShippable
-
shippingFrequencyPeriod
-
shippingFrequencyPeriodUnit
public AddonCreateParams.AddonCreateBuilder shippingFrequencyPeriodUnit(AddonCreateParams.ShippingFrequencyPeriodUnit value) -
includedInMrr
-
showDescriptionInInvoices
-
showDescriptionInQuotes
-
priceInDecimal
-
prorationType
-
status
-
tiers
-
taxProvidersFields
public AddonCreateParams.AddonCreateBuilder taxProvidersFields(List<AddonCreateParams.TaxProvidersFieldsParams> value) -
customField
Add a custom field to the request. Custom fields must start with "cf_".- Parameters:
fieldName- the name of the custom field (e.g., "cf_custom_field_name")value- the value of the custom field- Returns:
- this builder
- Throws:
IllegalArgumentException- if fieldName doesn't start with "cf_"
-
customFields
Add multiple custom fields to the request. All field names must start with "cf_".- Parameters:
customFields- map of custom field names to values- Returns:
- this builder
- Throws:
IllegalArgumentException- if any field name doesn't start with "cf_"
-
build
-