public class CreateSubscriptionRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateSubscriptionRequest.Builder
Class to build instances of
CreateSubscriptionRequest. |
| Constructor and Description |
|---|
CreateSubscriptionRequest(String locationId,
String customerId,
String idempotencyKey,
String planVariationId,
String startDate,
String canceledDate,
String taxPercentage,
Money priceOverrideMoney,
String cardId,
String timezone,
SubscriptionSource source,
Integer monthlyBillingAnchorDate,
List<Phase> phases)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCanceledDate()
Getter for CanceledDate.
|
String |
getCardId()
Getter for CardId.
|
String |
getCustomerId()
Getter for CustomerId.
|
String |
getIdempotencyKey()
Getter for IdempotencyKey.
|
String |
getLocationId()
Getter for LocationId.
|
Integer |
getMonthlyBillingAnchorDate()
Getter for MonthlyBillingAnchorDate.
|
List<Phase> |
getPhases()
Getter for Phases.
|
String |
getPlanVariationId()
Getter for PlanVariationId.
|
Money |
getPriceOverrideMoney()
Getter for PriceOverrideMoney.
|
SubscriptionSource |
getSource()
Getter for Source.
|
String |
getStartDate()
Getter for StartDate.
|
String |
getTaxPercentage()
Getter for TaxPercentage.
|
String |
getTimezone()
Getter for Timezone.
|
int |
hashCode() |
CreateSubscriptionRequest.Builder |
toBuilder()
Builds a new
CreateSubscriptionRequest.Builder object. |
String |
toString()
Converts this CreateSubscriptionRequest into string format.
|
public CreateSubscriptionRequest(String locationId, String customerId, String idempotencyKey, String planVariationId, String startDate, String canceledDate, String taxPercentage, Money priceOverrideMoney, String cardId, String timezone, SubscriptionSource source, Integer monthlyBillingAnchorDate, List<Phase> phases)
locationId - String value for locationId.customerId - String value for customerId.idempotencyKey - String value for idempotencyKey.planVariationId - String value for planVariationId.startDate - String value for startDate.canceledDate - String value for canceledDate.taxPercentage - String value for taxPercentage.priceOverrideMoney - Money value for priceOverrideMoney.cardId - String value for cardId.timezone - String value for timezone.source - SubscriptionSource value for source.monthlyBillingAnchorDate - Integer value for monthlyBillingAnchorDate.phases - List of Phase value for phases.public String getIdempotencyKey()
public String getLocationId()
public String getPlanVariationId()
public String getCustomerId()
public String getStartDate()
public String getCanceledDate()
public String getTaxPercentage()
public Money getPriceOverrideMoney()
public String getCardId()
public String getTimezone()
public SubscriptionSource getSource()
public Integer getMonthlyBillingAnchorDate()
public List<Phase> getPhases()
public String toString()
public CreateSubscriptionRequest.Builder toBuilder()
CreateSubscriptionRequest.Builder object.
Creates the instance with the state of the current model.CreateSubscriptionRequest.Builder objectCopyright © 2024. All rights reserved.