public class SubscriptionPricing extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SubscriptionPricing.Builder
Class to build instances of
SubscriptionPricing. |
| Modifier | Constructor and Description |
|---|---|
|
SubscriptionPricing(String type,
List<String> discountIds,
Money priceMoney)
Initialization constructor.
|
protected |
SubscriptionPricing(String type,
io.apimatic.core.types.OptionalNullable<List<String>> discountIds,
Money priceMoney)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getDiscountIds()
Getter for DiscountIds.
|
Money |
getPriceMoney()
Getter for PriceMoney.
|
String |
getType()
Getter for Type.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<List<String>> |
internalGetDiscountIds()
Internal Getter for DiscountIds.
|
SubscriptionPricing.Builder |
toBuilder()
Builds a new
SubscriptionPricing.Builder object. |
String |
toString()
Converts this SubscriptionPricing into string format.
|
public SubscriptionPricing(String type, List<String> discountIds, Money priceMoney)
type - String value for type.discountIds - List of String value for discountIds.priceMoney - Money value for priceMoney.protected SubscriptionPricing(String type, io.apimatic.core.types.OptionalNullable<List<String>> discountIds, Money priceMoney)
type - String value for type.discountIds - List of String value for discountIds.priceMoney - Money value for priceMoney.public String getType()
protected io.apimatic.core.types.OptionalNullable<List<String>> internalGetDiscountIds()
public List<String> getDiscountIds()
public Money getPriceMoney()
public String toString()
public SubscriptionPricing.Builder toBuilder()
SubscriptionPricing.Builder object.
Creates the instance with the state of the current model.SubscriptionPricing.Builder objectCopyright © 2024. All rights reserved.