@Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public final class RateCardSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Rate Card Summary
Note: Objects should always be created or deserialized using the RateCardSummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the RateCardSummary.Builder
, which maintain a
set of all explicitly set fields called RateCardSummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
RateCardSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
RateCardSummary(String subscribedServiceId,
RateCardProduct product,
Date timeStart,
Date timeEnd,
String netUnitPrice,
String discretionaryDiscountPercentage,
String overagePrice,
Boolean isTier,
SubscriptionCurrency currency,
List<RateCardTier> rateCardTiers)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RateCardSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
SubscriptionCurrency |
getCurrency() |
String |
getDiscretionaryDiscountPercentage()
Rate card discretionary discount percentage
|
Boolean |
getIsTier()
Rate card price tier flag
|
String |
getNetUnitPrice()
Rate card net unit price
|
String |
getOveragePrice()
Rate card overage price
|
RateCardProduct |
getProduct() |
List<RateCardTier> |
getRateCardTiers()
List of tiered rate card prices
|
String |
getSubscribedServiceId()
SPM internal Subscribed Service ID
|
Date |
getTimeEnd()
Rate card end date
|
Date |
getTimeStart()
Rate card start date
|
int |
hashCode() |
RateCardSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"subscribedServiceId","product","timeStart","timeEnd","netUnitPrice","discretionaryDiscountPercentage","overagePrice","isTier","currency","rateCardTiers"}) public RateCardSummary(String subscribedServiceId, RateCardProduct product, Date timeStart, Date timeEnd, String netUnitPrice, String discretionaryDiscountPercentage, String overagePrice, Boolean isTier, SubscriptionCurrency currency, List<RateCardTier> rateCardTiers)
public static RateCardSummary.Builder builder()
Create a new builder.
public RateCardSummary.Builder toBuilder()
public String getSubscribedServiceId()
SPM internal Subscribed Service ID
public RateCardProduct getProduct()
public Date getTimeStart()
Rate card start date
public Date getTimeEnd()
Rate card end date
public String getNetUnitPrice()
Rate card net unit price
public String getDiscretionaryDiscountPercentage()
Rate card discretionary discount percentage
public String getOveragePrice()
Rate card overage price
public Boolean getIsTier()
Rate card price tier flag
public SubscriptionCurrency getCurrency()
public List<RateCardTier> getRateCardTiers()
List of tiered rate card prices
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.