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 planId,
String customerId,
String idempotencyKey,
String startDate,
String canceledDate,
String taxPercentage,
Money priceOverrideMoney,
String cardId,
String timezone,
SubscriptionSource source)
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.
|
String |
getPlanId()
Getter for PlanId.
|
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 planId, String customerId, String idempotencyKey, String startDate, String canceledDate, String taxPercentage, Money priceOverrideMoney, String cardId, String timezone, SubscriptionSource source)
locationId - String value for locationId.planId - String value for planId.customerId - String value for customerId.idempotencyKey - String value for idempotencyKey.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.public String getIdempotencyKey()
public String getLocationId()
public String getPlanId()
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 String toString()
public CreateSubscriptionRequest.Builder toBuilder()
CreateSubscriptionRequest.Builder object.
Creates the instance with the state of the current model.CreateSubscriptionRequest.Builder objectCopyright © 2022. All rights reserved.