public class BusSolnOrdItmRateElement extends VdmEntity<BusSolnOrdItmRateElement>
Original entity name from the Odata EDM: A_BusSolnOrdItmRateElementType
Modifier and Type | Class and Description |
---|---|
static class |
BusSolnOrdItmRateElement.BusSolnOrdItmRateElementBuilder |
Modifier and Type | Field and Description |
---|---|
static BusSolnOrdItmRateElementSelectable |
ALL_FIELDS
Selector for all available fields of BusSolnOrdItmRateElement.
|
static BusSolnOrdItmRateElementField<String> |
BUSINESS_SOLUTION_ORDER
Use with available fluent helpers to apply the BusinessSolutionOrder field to query operations.
|
static BusSolnOrdItmRateElementField<String> |
BUSINESS_SOLUTION_ORDER_ITEM
Use with available fluent helpers to apply the BusinessSolutionOrderItem field to query operations.
|
static BusSolnOrdItmRateElementField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static BusSolnOrdItmRateElementField<String> |
SUBSCRIPTION_RATE_ELEMENT
Use with available fluent helpers to apply the SubscriptionRateElement field to query operations.
|
static BusSolnOrdItmRateElementField<String> |
SUBSCRIPTION_RATE_ELEMENT_TYPE
Use with available fluent helpers to apply the SubscriptionRateElementType field to query operations.
|
static BusSolnOrdItmRateElementField<BigDecimal> |
SUBSCRPN_RATE_ELEMENT_GROSS_AMOUNT
Use with available fluent helpers to apply the SubscrpnRateElementGrossAmount field to query operations.
|
static BusSolnOrdItmRateElementField<BigDecimal> |
SUBSCRPN_RATE_ELEMENT_NET_AMOUNT
Use with available fluent helpers to apply the SubscrpnRateElementNetAmount field to query operations.
|
static BusSolnOrdItmRateElementField<BigDecimal> |
SUBSCRPN_RATE_ELEMENT_TAX_AMOUNT
Use with available fluent helpers to apply the SubscrpnRateElementTaxAmount field to query operations.
|
static BusSolnOrdItmRateElementField<String> |
SUBSCRPN_RATE_ELEMENT_TYPE_TEXT
Use with available fluent helpers to apply the SubscrpnRateElementTypeText field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
BusSolnOrdItmRateElement() |
BusSolnOrdItmRateElement(String businessSolutionOrder,
String businessSolutionOrderItem,
String subscriptionRateElement,
String subscriptionRateElementType,
String subscrpnRateElementTypeText,
BigDecimal subscrpnRateElementNetAmount,
BigDecimal subscrpnRateElementGrossAmount,
BigDecimal subscrpnRateElementTaxAmount,
String currency) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static BusSolnOrdItmRateElement.BusSolnOrdItmRateElementBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> BusSolnOrdItmRateElementField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getBusinessSolutionOrder()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getBusinessSolutionOrderItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getSubscriptionRateElement()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getSubscriptionRateElementType()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
BigDecimal |
getSubscrpnRateElementGrossAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
BigDecimal |
getSubscrpnRateElementNetAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
BigDecimal |
getSubscrpnRateElementTaxAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
String |
getSubscrpnRateElementTypeText()
Constraints: Not nullable, Maximum length: 60
|
Class<BusSolnOrdItmRateElement> |
getType() |
int |
hashCode() |
void |
setBusinessSolutionOrder(String businessSolutionOrder)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setBusinessSolutionOrderItem(String businessSolutionOrderItem)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSubscriptionRateElement(String subscriptionRateElement)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setSubscriptionRateElementType(String subscriptionRateElementType)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setSubscrpnRateElementGrossAmount(BigDecimal subscrpnRateElementGrossAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setSubscrpnRateElementNetAmount(BigDecimal subscrpnRateElementNetAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setSubscrpnRateElementTaxAmount(BigDecimal subscrpnRateElementTaxAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setSubscrpnRateElementTypeText(String subscrpnRateElementTypeText)
Constraints: Not nullable, Maximum length: 60
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final BusSolnOrdItmRateElementSelectable ALL_FIELDS
public static final BusSolnOrdItmRateElementField<String> BUSINESS_SOLUTION_ORDER
public static final BusSolnOrdItmRateElementField<String> BUSINESS_SOLUTION_ORDER_ITEM
public static final BusSolnOrdItmRateElementField<String> SUBSCRIPTION_RATE_ELEMENT
public static final BusSolnOrdItmRateElementField<String> SUBSCRIPTION_RATE_ELEMENT_TYPE
public static final BusSolnOrdItmRateElementField<String> SUBSCRPN_RATE_ELEMENT_TYPE_TEXT
public static final BusSolnOrdItmRateElementField<BigDecimal> SUBSCRPN_RATE_ELEMENT_NET_AMOUNT
public static final BusSolnOrdItmRateElementField<BigDecimal> SUBSCRPN_RATE_ELEMENT_GROSS_AMOUNT
public static final BusSolnOrdItmRateElementField<BigDecimal> SUBSCRPN_RATE_ELEMENT_TAX_AMOUNT
public static final BusSolnOrdItmRateElementField<String> CURRENCY
public BusSolnOrdItmRateElement()
public BusSolnOrdItmRateElement(@Nullable String businessSolutionOrder, @Nullable String businessSolutionOrderItem, @Nullable String subscriptionRateElement, @Nullable String subscriptionRateElementType, @Nullable String subscrpnRateElementTypeText, @Nullable BigDecimal subscrpnRateElementNetAmount, @Nullable BigDecimal subscrpnRateElementGrossAmount, @Nullable BigDecimal subscrpnRateElementTaxAmount, @Nullable String currency)
@Nonnull public Class<BusSolnOrdItmRateElement> getType()
getType
in class VdmObject<BusSolnOrdItmRateElement>
public void setBusinessSolutionOrder(@Nullable String businessSolutionOrder)
Original property name from the Odata EDM: BusinessSolutionOrder
businessSolutionOrder
- Number that identifies the transaction document. It is unique for each business transaction category.public void setBusinessSolutionOrderItem(@Nullable String businessSolutionOrderItem)
Original property name from the Odata EDM: BusinessSolutionOrderItem
businessSolutionOrderItem
- Shortened Item Number in Documentpublic void setSubscriptionRateElement(@Nullable String subscriptionRateElement)
Original property name from the Odata EDM: SubscriptionRateElement
subscriptionRateElement
- Alphanumeric key uniquely identifying the product.public void setSubscriptionRateElementType(@Nullable String subscriptionRateElementType)
Original property name from the Odata EDM: SubscriptionRateElementType
You can use the following values to specify a rate type:A for one-time chargeB for recurring chargeC for usage-based charge
subscriptionRateElementType
- A set of rate elements that have the same attributes.public void setSubscrpnRateElementTypeText(@Nullable String subscrpnRateElementTypeText)
Original property name from the Odata EDM: SubscrpnRateElementTypeText
SeeTask-Oriented InstructionsReference Documentation for Semantic Properties of Domains
subscrpnRateElementTypeText
- This text appears when fixed values are displayed in the F4 help. It explains the possible input
values.public void setSubscrpnRateElementNetAmount(@Nullable BigDecimal subscrpnRateElementNetAmount)
Original property name from the Odata EDM: SubscrpnRateElementNetAmount
subscrpnRateElementNetAmount
- Net Valuepublic void setSubscrpnRateElementGrossAmount(@Nullable BigDecimal subscrpnRateElementGrossAmount)
Original property name from the Odata EDM: SubscrpnRateElementGrossAmount
subscrpnRateElementGrossAmount
- Gross Order Value in PO Currencypublic void setSubscrpnRateElementTaxAmount(@Nullable BigDecimal subscrpnRateElementTaxAmount)
Original property name from the Odata EDM: SubscrpnRateElementTaxAmount
subscrpnRateElementTaxAmount
- Tax amount in document currencypublic void setCurrency(@Nullable String currency)
Original property name from the Odata EDM: Currency
The currency is maintained per sales area in the business partner master. The currency for the customer is created from the business partner master in the document. You can change the currency as long as no follow-up functions (for example, billing document) have been triggered.
currency
- Currency in which the settlement is carried out with the customer or the vendor.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BusSolnOrdItmRateElement>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BusSolnOrdItmRateElement>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BusSolnOrdItmRateElement>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BusSolnOrdItmRateElement>
@Nonnull public static <T> BusSolnOrdItmRateElementField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> BusSolnOrdItmRateElementField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<BusSolnOrdItmRateElement>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<BusSolnOrdItmRateElement>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<BusSolnOrdItmRateElement>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<BusSolnOrdItmRateElement>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static BusSolnOrdItmRateElement.BusSolnOrdItmRateElementBuilder builder()
@Nullable public String getBusinessSolutionOrder()
Original property name from the Odata EDM: BusinessSolutionOrder
@Nullable public String getBusinessSolutionOrderItem()
Original property name from the Odata EDM: BusinessSolutionOrderItem
@Nullable public String getSubscriptionRateElement()
Original property name from the Odata EDM: SubscriptionRateElement
@Nullable public String getSubscriptionRateElementType()
Original property name from the Odata EDM: SubscriptionRateElementType
You can use the following values to specify a rate type:A for one-time chargeB for recurring chargeC for usage-based charge
@Nullable public String getSubscrpnRateElementTypeText()
Original property name from the Odata EDM: SubscrpnRateElementTypeText
SeeTask-Oriented InstructionsReference Documentation for Semantic Properties of Domains
@Nullable public BigDecimal getSubscrpnRateElementNetAmount()
Original property name from the Odata EDM: SubscrpnRateElementNetAmount
@Nullable public BigDecimal getSubscrpnRateElementGrossAmount()
Original property name from the Odata EDM: SubscrpnRateElementGrossAmount
@Nullable public BigDecimal getSubscrpnRateElementTaxAmount()
Original property name from the Odata EDM: SubscrpnRateElementTaxAmount
@Nullable public String getCurrency()
Original property name from the Odata EDM: Currency
The currency is maintained per sales area in the business partner master. The currency for the customer is created from the business partner master in the document. You can change the currency as long as no follow-up functions (for example, billing document) have been triggered.
@Nonnull public String toString()
toString
in class VdmObject<BusSolnOrdItmRateElement>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<BusSolnOrdItmRateElement>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<BusSolnOrdItmRateElement>
public int hashCode()
hashCode
in class VdmObject<BusSolnOrdItmRateElement>
Copyright © 2021 SAP SE. All rights reserved.