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 idempotencyKey,
String locationId,
String planId,
String customerId,
String startDate,
String canceledDate,
String taxPercentage,
Money priceOverrideMoney,
String cardId,
String timezone)
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.
|
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. |
public CreateSubscriptionRequest(String idempotencyKey, String locationId, String planId, String customerId, String startDate, String canceledDate, String taxPercentage, Money priceOverrideMoney, String cardId, String timezone)
idempotencyKey
- locationId
- planId
- customerId
- startDate
- canceledDate
- taxPercentage
- priceOverrideMoney
- cardId
- timezone
- 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 CreateSubscriptionRequest.Builder toBuilder()
CreateSubscriptionRequest.Builder
object.
Creates the instance with the state of the current model.CreateSubscriptionRequest.Builder
objectCopyright © 2020. All rights reserved.