- Enclosing class:
public static class PaymentLinkCreateParams.SubscriptionData extends Object
The ID of the Shipping Rate to use for this shipping option.
Nested Class SummaryModifier and TypeClassDescription
Method SummaryModifier and TypeMethodDescription
builder()The subscription's description, meant to be displayable to the customer.Map of extra parameters for custom features not available in this client library.Integer representing the number of trial period days before the customer is charged for the first time.
builderpublic static PaymentLinkCreateParams.SubscriptionData.Builder builder()
getDescriptionpublic String getDescription()The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
getExtraParamsMap of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's
@SerializedNamevalue. 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.
getTrialPeriodDayspublic Long getTrialPeriodDays()Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.