java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<BusSolnOrdItmSubscrpnPrAgrmt>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.businesssolutionorder.BusSolnOrdItmSubscrpnPrAgrmt

public class BusSolnOrdItmSubscrpnPrAgrmt extends VdmEntity<BusSolnOrdItmSubscrpnPrAgrmt>
Subscription Billing Price Agreement

Original entity name from the Odata EDM: A_BusSolnOrdItmSubscrpnPrAgrmtType

  • Field Details

    • ALL_FIELDS

      public static final BusSolnOrdItmSubscrpnPrAgrmtSelectable ALL_FIELDS
      Selector for all available fields of BusSolnOrdItmSubscrpnPrAgrmt.
    • BUSINESS_SOLUTION_ORDER

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> BUSINESS_SOLUTION_ORDER
      Use with available fluent helpers to apply the BusinessSolutionOrder field to query operations.
    • BUSINESS_SOLUTION_ORDER_ITEM

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> BUSINESS_SOLUTION_ORDER_ITEM
      Use with available fluent helpers to apply the BusinessSolutionOrderItem field to query operations.
    • SUBSCRIPTION_RATE_ELEMENT

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> SUBSCRIPTION_RATE_ELEMENT
      Use with available fluent helpers to apply the SubscriptionRateElement field to query operations.
    • SUBSCRIPTION_RATE_SUB_ELEMENT

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> SUBSCRIPTION_RATE_SUB_ELEMENT
      Use with available fluent helpers to apply the SubscriptionRateSubElement field to query operations.
    • SUBSCRPN_BILLG_PRC_ELMNT_SPEC

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> SUBSCRPN_BILLG_PRC_ELMNT_SPEC
      Use with available fluent helpers to apply the SubscrpnBillgPrcElmntSpec field to query operations.
    • SUBSCRPN_BILLG_PRICING_FIELD

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> SUBSCRPN_BILLG_PRICING_FIELD
      Use with available fluent helpers to apply the SubscrpnBillgPricingField field to query operations.
    • SUBSCRPN_BILLG_PRC_AGREEMENT_LINE

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> SUBSCRPN_BILLG_PRC_AGREEMENT_LINE
      Use with available fluent helpers to apply the SubscrpnBillgPrcAgreementLine field to query operations.
    • SUBSCRPN_BILLG_PRICING_SCALE_TYPE

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> SUBSCRPN_BILLG_PRICING_SCALE_TYPE
      Use with available fluent helpers to apply the SubscrpnBillgPricingScaleType field to query operations.
    • SUBSCRPN_BILLG_CNDN_CALC_TYPE

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> SUBSCRPN_BILLG_CNDN_CALC_TYPE
      Use with available fluent helpers to apply the SubscrpnBillgCndnCalcType field to query operations.
    • CONDITION_SCALE_QUANTITY

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<BigDecimal> CONDITION_SCALE_QUANTITY
      Use with available fluent helpers to apply the ConditionScaleQuantity field to query operations.
    • CONDITION_SCALE_QUANTITY_UNIT

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> CONDITION_SCALE_QUANTITY_UNIT
      Use with available fluent helpers to apply the ConditionScaleQuantityUnit field to query operations.
    • CONDITION_SCALE_AMOUNT

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<BigDecimal> CONDITION_SCALE_AMOUNT
      Use with available fluent helpers to apply the ConditionScaleAmount field to query operations.
    • CONDITION_SCALE_AMOUNT_CURRENCY

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> CONDITION_SCALE_AMOUNT_CURRENCY
      Use with available fluent helpers to apply the ConditionScaleAmountCurrency field to query operations.
    • CONDITION_RATE_VALUE

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<BigDecimal> CONDITION_RATE_VALUE
      Use with available fluent helpers to apply the ConditionRateValue field to query operations.
    • CONDITION_CURRENCY

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> CONDITION_CURRENCY
      Use with available fluent helpers to apply the ConditionCurrency field to query operations.
    • CONDITION_QUANTITY

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<BigDecimal> CONDITION_QUANTITY
      Use with available fluent helpers to apply the ConditionQuantity field to query operations.
    • CONDITION_QUANTITY_UNIT

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> CONDITION_QUANTITY_UNIT
      Use with available fluent helpers to apply the ConditionQuantityUnit field to query operations.
    • CONDITION_RATE_RATIO

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<BigDecimal> CONDITION_RATE_RATIO
      Use with available fluent helpers to apply the ConditionRateRatio field to query operations.
    • SBSCR_BILG_CNDN_SCALE_LINE_IS_UNLMTD

      public static final BusSolnOrdItmSubscrpnPrAgrmtField<String> SBSCR_BILG_CNDN_SCALE_LINE_IS_UNLMTD
      Use with available fluent helpers to apply the SbscrBilgCndnScaleLineIsUnlmtd field to query operations.
  • Constructor Details

    • BusSolnOrdItmSubscrpnPrAgrmt

      public BusSolnOrdItmSubscrpnPrAgrmt()
    • BusSolnOrdItmSubscrpnPrAgrmt

      public BusSolnOrdItmSubscrpnPrAgrmt(@Nullable String businessSolutionOrder, @Nullable String businessSolutionOrderItem, @Nullable String subscriptionRateElement, @Nullable String subscriptionRateSubElement, @Nullable String subscrpnBillgPrcElmntSpec, @Nullable String subscrpnBillgPricingField, @Nullable String subscrpnBillgPrcAgreementLine, @Nullable String subscrpnBillgPricingScaleType, @Nullable String subscrpnBillgCndnCalcType, @Nullable BigDecimal conditionScaleQuantity, @Nullable String conditionScaleQuantityUnit, @Nullable BigDecimal conditionScaleAmount, @Nullable String conditionScaleAmountCurrency, @Nullable BigDecimal conditionRateValue, @Nullable String conditionCurrency, @Nullable BigDecimal conditionQuantity, @Nullable String conditionQuantityUnit, @Nullable BigDecimal conditionRateRatio, @Nullable String sbscrBilgCndnScaleLineIsUnlmtd)
  • Method Details

    • getType

      @Nonnull public Class<BusSolnOrdItmSubscrpnPrAgrmt> getType()
      Specified by:
      getType in class VdmObject<BusSolnOrdItmSubscrpnPrAgrmt>
    • setBusinessSolutionOrder

      public void setBusinessSolutionOrder(@Nullable String businessSolutionOrder)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessSolutionOrder

      Parameters:
      businessSolutionOrder - Transaction ID
    • setBusinessSolutionOrderItem

      public void setBusinessSolutionOrderItem(@Nullable String businessSolutionOrderItem)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: BusinessSolutionOrderItem

      Parameters:
      businessSolutionOrderItem - Shortened Item Number in Document
    • setSubscriptionRateElement

      public void setSubscriptionRateElement(@Nullable String subscriptionRateElement)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SubscriptionRateElement

      Parameters:
      subscriptionRateElement - Product Number
    • setSubscriptionRateSubElement

      public void setSubscriptionRateSubElement(@Nullable String subscriptionRateSubElement)
      (Key Field) Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SubscriptionRateSubElement

      Parameters:
      subscriptionRateSubElement - Rate Subelement ID
    • setSubscrpnBillgPrcElmntSpec

      public void setSubscrpnBillgPrcElmntSpec(@Nullable String subscrpnBillgPrcElmntSpec)
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SubscrpnBillgPrcElmntSpec

      Parameters:
      subscrpnBillgPrcElmntSpec - Code of Price Element Specification
    • setSubscrpnBillgPricingField

      public void setSubscrpnBillgPricingField(@Nullable String subscrpnBillgPricingField)
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SubscrpnBillgPricingField

      Parameters:
      subscrpnBillgPricingField - Pricing Field ID
    • setSubscrpnBillgPrcAgreementLine

      public void setSubscrpnBillgPrcAgreementLine(@Nullable String subscrpnBillgPrcAgreementLine)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SubscrpnBillgPrcAgreementLine

      Parameters:
      subscrpnBillgPrcAgreementLine - Condition item number
    • setSubscrpnBillgPricingScaleType

      public void setSubscrpnBillgPricingScaleType(@Nullable String subscrpnBillgPricingScaleType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SubscrpnBillgPricingScaleType

      Parameters:
      subscrpnBillgPricingScaleType - Scale Type for Pricing
    • setSubscrpnBillgCndnCalcType

      public void setSubscrpnBillgCndnCalcType(@Nullable String subscrpnBillgCndnCalcType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SubscrpnBillgCndnCalcType

      Parameters:
      subscrpnBillgCndnCalcType - Calculation Type for Condition
    • setConditionScaleQuantity

      public void setConditionScaleQuantity(@Nullable BigDecimal conditionScaleQuantity)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: ConditionScaleQuantity

      Parameters:
      conditionScaleQuantity - Condition Scale Quantity
    • setConditionScaleQuantityUnit

      public void setConditionScaleQuantityUnit(@Nullable String conditionScaleQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionScaleQuantityUnit

      Parameters:
      conditionScaleQuantityUnit - Condition Scale Unit of Measure
    • setConditionScaleAmount

      public void setConditionScaleAmount(@Nullable BigDecimal conditionScaleAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ConditionScaleAmount

      Parameters:
      conditionScaleAmount - Scale Value
    • setConditionScaleAmountCurrency

      public void setConditionScaleAmountCurrency(@Nullable String conditionScaleAmountCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ConditionScaleAmountCurrency

      Parameters:
      conditionScaleAmountCurrency - Scale Currency
    • setConditionRateValue

      public void setConditionRateValue(@Nullable BigDecimal conditionRateValue)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ConditionRateValue

      Parameters:
      conditionRateValue - Condition Value
    • setConditionCurrency

      public void setConditionCurrency(@Nullable String conditionCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ConditionCurrency

      Parameters:
      conditionCurrency - Currency
    • setConditionQuantity

      public void setConditionQuantity(@Nullable BigDecimal conditionQuantity)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: ConditionQuantity

      Parameters:
      conditionQuantity - Condition Quantity
    • setConditionQuantityUnit

      public void setConditionQuantityUnit(@Nullable String conditionQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionQuantityUnit

      Parameters:
      conditionQuantityUnit - Condition Unit
    • setConditionRateRatio

      public void setConditionRateRatio(@Nullable BigDecimal conditionRateRatio)
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionRateRatio

      Parameters:
      conditionRateRatio - Condition Ratio (in Percent or Per Mille)
    • setSbscrBilgCndnScaleLineIsUnlmtd

      public void setSbscrBilgCndnScaleLineIsUnlmtd(@Nullable String sbscrBilgCndnScaleLineIsUnlmtd)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SbscrBilgCndnScaleLineIsUnlmtd

      Parameters:
      sbscrBilgCndnScaleLineIsUnlmtd - Indicator for the condition line to be set as unlimited
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<BusSolnOrdItmSubscrpnPrAgrmt>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<BusSolnOrdItmSubscrpnPrAgrmt>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<BusSolnOrdItmSubscrpnPrAgrmt>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<BusSolnOrdItmSubscrpnPrAgrmt>
    • field

      @Nonnull public static <T> BusSolnOrdItmSubscrpnPrAgrmtField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      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.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> BusSolnOrdItmSubscrpnPrAgrmtField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<BusSolnOrdItmSubscrpnPrAgrmt>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<BusSolnOrdItmSubscrpnPrAgrmt>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<BusSolnOrdItmSubscrpnPrAgrmt>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<BusSolnOrdItmSubscrpnPrAgrmt>
    • builder

    • getBusinessSolutionOrder

      @Nullable public String getBusinessSolutionOrder()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessSolutionOrder

      Returns:
      Transaction ID
    • getBusinessSolutionOrderItem

      @Nullable public String getBusinessSolutionOrderItem()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: BusinessSolutionOrderItem

      Returns:
      Shortened Item Number in Document
    • getSubscriptionRateElement

      @Nullable public String getSubscriptionRateElement()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SubscriptionRateElement

      Returns:
      Product Number
    • getSubscriptionRateSubElement

      @Nullable public String getSubscriptionRateSubElement()
      (Key Field) Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SubscriptionRateSubElement

      Returns:
      Rate Subelement ID
    • getSubscrpnBillgPrcElmntSpec

      @Nullable public String getSubscrpnBillgPrcElmntSpec()
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SubscrpnBillgPrcElmntSpec

      Returns:
      Code of Price Element Specification
    • getSubscrpnBillgPricingField

      @Nullable public String getSubscrpnBillgPricingField()
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SubscrpnBillgPricingField

      Returns:
      Pricing Field ID
    • getSubscrpnBillgPrcAgreementLine

      @Nullable public String getSubscrpnBillgPrcAgreementLine()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SubscrpnBillgPrcAgreementLine

      Returns:
      Condition item number
    • getSubscrpnBillgPricingScaleType

      @Nullable public String getSubscrpnBillgPricingScaleType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SubscrpnBillgPricingScaleType

      Returns:
      Scale Type for Pricing
    • getSubscrpnBillgCndnCalcType

      @Nullable public String getSubscrpnBillgCndnCalcType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SubscrpnBillgCndnCalcType

      Returns:
      Calculation Type for Condition
    • getConditionScaleQuantity

      @Nullable public BigDecimal getConditionScaleQuantity()
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: ConditionScaleQuantity

      Returns:
      Condition Scale Quantity
    • getConditionScaleQuantityUnit

      @Nullable public String getConditionScaleQuantityUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionScaleQuantityUnit

      Returns:
      Condition Scale Unit of Measure
    • getConditionScaleAmount

      @Nullable public BigDecimal getConditionScaleAmount()
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ConditionScaleAmount

      Returns:
      Scale Value
    • getConditionScaleAmountCurrency

      @Nullable public String getConditionScaleAmountCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ConditionScaleAmountCurrency

      Returns:
      Scale Currency
    • getConditionRateValue

      @Nullable public BigDecimal getConditionRateValue()
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ConditionRateValue

      Returns:
      Condition Value
    • getConditionCurrency

      @Nullable public String getConditionCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ConditionCurrency

      Returns:
      Currency
    • getConditionQuantity

      @Nullable public BigDecimal getConditionQuantity()
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: ConditionQuantity

      Returns:
      Condition Quantity
    • getConditionQuantityUnit

      @Nullable public String getConditionQuantityUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionQuantityUnit

      Returns:
      Condition Unit
    • getConditionRateRatio

      @Nullable public BigDecimal getConditionRateRatio()
      Constraints: Not nullable, Precision: 24, Scale: 9

      Original property name from the Odata EDM: ConditionRateRatio

      Returns:
      Condition Ratio (in Percent or Per Mille)
    • getSbscrBilgCndnScaleLineIsUnlmtd

      @Nullable public String getSbscrBilgCndnScaleLineIsUnlmtd()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SbscrBilgCndnScaleLineIsUnlmtd

      Returns:
      Indicator for the condition line to be set as unlimited
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<BusSolnOrdItmSubscrpnPrAgrmt>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<BusSolnOrdItmSubscrpnPrAgrmt>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<BusSolnOrdItmSubscrpnPrAgrmt>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<BusSolnOrdItmSubscrpnPrAgrmt>