public class PlanUpdateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
PlanUpdateParams.Builder |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static PlanUpdateParams.Builder |
builder() |
java.lang.Boolean |
getActive()
Whether the plan is currently available for new subscriptions.
|
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
java.lang.Object |
getNickname()
A brief description of the plan, hidden from customers.
|
java.lang.Object |
getProduct()
The product the plan belongs to.
|
java.lang.Long |
getTrialPeriodDays()
Default number of trial days when subscribing a customer to this plan using
trial_from_plan=true . |
toMap
public static PlanUpdateParams.Builder builder()
public java.lang.Boolean getActive()
public java.util.List<java.lang.String> getExpand()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@SerializedName
value. Instead, each
key/value pair is serialized as if the key is a root-level field (serialized) name in this
param object. Effectively, this map is flattened to its parent instance.public java.util.Map<java.lang.String,java.lang.String> getMetadata()
metadata
.public java.lang.Object getNickname()
public java.lang.Object getProduct()
public java.lang.Long getTrialPeriodDays()
trial_from_plan=true
.