public static class PlanDetails.Builder extends Object
PlanDetails.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PlanDetails.Builder |
billingCycles(List<SubscriptionBillingCycle> billingCycles)
Setter for billingCycles.
|
PlanDetails |
build()
Builds a new
PlanDetails object using the set fields. |
PlanDetails.Builder |
description(String description)
Setter for description.
|
PlanDetails.Builder |
merchantPreferences(MerchantPreferences merchantPreferences)
Setter for merchantPreferences.
|
PlanDetails.Builder |
name(String name)
Setter for name.
|
PlanDetails.Builder |
paymentPreferences(PaymentPreferences paymentPreferences)
Setter for paymentPreferences.
|
PlanDetails.Builder |
productId(String productId)
Setter for productId.
|
PlanDetails.Builder |
quantitySupported(Boolean quantitySupported)
Setter for quantitySupported.
|
PlanDetails.Builder |
taxes(Taxes taxes)
Setter for taxes.
|
public PlanDetails.Builder productId(String productId)
productId - String value for productId.public PlanDetails.Builder name(String name)
name - String value for name.public PlanDetails.Builder description(String description)
description - String value for description.public PlanDetails.Builder billingCycles(List<SubscriptionBillingCycle> billingCycles)
billingCycles - List of SubscriptionBillingCycle value for billingCycles.public PlanDetails.Builder paymentPreferences(PaymentPreferences paymentPreferences)
paymentPreferences - PaymentPreferences value for paymentPreferences.public PlanDetails.Builder merchantPreferences(MerchantPreferences merchantPreferences)
merchantPreferences - MerchantPreferences value for merchantPreferences.public PlanDetails.Builder taxes(Taxes taxes)
taxes - Taxes value for taxes.public PlanDetails.Builder quantitySupported(Boolean quantitySupported)
quantitySupported - Boolean value for quantitySupported.public PlanDetails build()
PlanDetails object using the set fields.PlanDetailsCopyright © 2026. All rights reserved.