public class PlanRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PlanRequest.Builder
Class to build instances of
PlanRequest. |
| Constructor and Description |
|---|
PlanRequest()
Default constructor.
|
PlanRequest(String productId,
String name,
List<SubscriptionBillingCycle> billingCycles,
PaymentPreferences paymentPreferences,
PlanRequestStatus status,
String description,
MerchantPreferences merchantPreferences,
Taxes taxes,
Boolean quantitySupported)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<SubscriptionBillingCycle> |
getBillingCycles()
Getter for BillingCycles.
|
String |
getDescription()
Getter for Description.
|
MerchantPreferences |
getMerchantPreferences()
Getter for MerchantPreferences.
|
String |
getName()
Getter for Name.
|
PaymentPreferences |
getPaymentPreferences()
Getter for PaymentPreferences.
|
String |
getProductId()
Getter for ProductId.
|
Boolean |
getQuantitySupported()
Getter for QuantitySupported.
|
PlanRequestStatus |
getStatus()
Getter for Status.
|
Taxes |
getTaxes()
Getter for Taxes.
|
void |
setBillingCycles(List<SubscriptionBillingCycle> billingCycles)
Setter for BillingCycles.
|
void |
setDescription(String description)
Setter for Description.
|
void |
setMerchantPreferences(MerchantPreferences merchantPreferences)
Setter for MerchantPreferences.
|
void |
setName(String name)
Setter for Name.
|
void |
setPaymentPreferences(PaymentPreferences paymentPreferences)
Setter for PaymentPreferences.
|
void |
setProductId(String productId)
Setter for ProductId.
|
void |
setQuantitySupported(Boolean quantitySupported)
Setter for QuantitySupported.
|
void |
setStatus(PlanRequestStatus status)
Setter for Status.
|
void |
setTaxes(Taxes taxes)
Setter for Taxes.
|
PlanRequest.Builder |
toBuilder()
Builds a new
PlanRequest.Builder object. |
String |
toString()
Converts this PlanRequest into string format.
|
public PlanRequest()
public PlanRequest(String productId, String name, List<SubscriptionBillingCycle> billingCycles, PaymentPreferences paymentPreferences, PlanRequestStatus status, String description, MerchantPreferences merchantPreferences, Taxes taxes, Boolean quantitySupported)
productId - String value for productId.name - String value for name.billingCycles - List of SubscriptionBillingCycle value for billingCycles.paymentPreferences - PaymentPreferences value for paymentPreferences.status - PlanRequestStatus value for status.description - String value for description.merchantPreferences - MerchantPreferences value for merchantPreferences.taxes - Taxes value for taxes.quantitySupported - Boolean value for quantitySupported.public String getProductId()
public void setProductId(String productId)
productId - Value for Stringpublic String getName()
public void setName(String name)
name - Value for Stringpublic PlanRequestStatus getStatus()
public void setStatus(PlanRequestStatus status)
status - Value for PlanRequestStatuspublic String getDescription()
public void setDescription(String description)
description - Value for Stringpublic List<SubscriptionBillingCycle> getBillingCycles()
public void setBillingCycles(List<SubscriptionBillingCycle> billingCycles)
billingCycles - Value for List of SubscriptionBillingCyclepublic PaymentPreferences getPaymentPreferences()
public void setPaymentPreferences(PaymentPreferences paymentPreferences)
paymentPreferences - Value for PaymentPreferencespublic MerchantPreferences getMerchantPreferences()
public void setMerchantPreferences(MerchantPreferences merchantPreferences)
merchantPreferences - Value for MerchantPreferencespublic Taxes getTaxes()
public void setTaxes(Taxes taxes)
taxes - Value for Taxespublic Boolean getQuantitySupported()
public void setQuantitySupported(Boolean quantitySupported)
quantitySupported - Value for Booleanpublic String toString()
public PlanRequest.Builder toBuilder()
PlanRequest.Builder object.
Creates the instance with the state of the current model.PlanRequest.Builder objectCopyright © 2026. All rights reserved.