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

public class RetroBillingUsageText extends VdmEntity<RetroBillingUsageText>
Description of Retro-Billing Usage Indicator

Original entity name from the Odata EDM: A_RetroBillingUsageTextType

  • Field Details

    • ALL_FIELDS

      public static final RetroBillingUsageTextSelectable ALL_FIELDS
      Selector for all available fields of RetroBillingUsageText.
    • RETRO_BILLING_USAGE

      public static final RetroBillingUsageTextField<String> RETRO_BILLING_USAGE
      Use with available fluent helpers to apply the RetroBillingUsage field to query operations.
    • LANGUAGE

      public static final RetroBillingUsageTextField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • RETRO_BILLING_USAGE_DESC

      public static final RetroBillingUsageTextField<String> RETRO_BILLING_USAGE_DESC
      Use with available fluent helpers to apply the RetroBillingUsageDesc field to query operations.
  • Constructor Details

    • RetroBillingUsageText

      public RetroBillingUsageText()
    • RetroBillingUsageText

      public RetroBillingUsageText(@Nullable String retroBillingUsage, @Nullable String language, @Nullable String retroBillingUsageDesc)
  • Method Details

    • getType

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

      public void setRetroBillingUsage(@Nullable String retroBillingUsage)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetroBillingUsage

      Parameters:
      retroBillingUsage - Use of Order Reason for Retroactive Billing
    • setLanguage

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setRetroBillingUsageDesc

      public void setRetroBillingUsageDesc(@Nullable String retroBillingUsageDesc)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: RetroBillingUsageDesc

      Parameters:
      retroBillingUsageDesc - Short Text for Fixed Values
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> RetroBillingUsageTextField<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> RetroBillingUsageTextField<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<RetroBillingUsageText>
    • setServicePathForFetch

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

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

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

      @Nonnull public static RetroBillingUsageText.RetroBillingUsageTextBuilder builder()
    • getRetroBillingUsage

      @Nullable public String getRetroBillingUsage()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetroBillingUsage

      Returns:
      Use of Order Reason for Retroactive Billing
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getRetroBillingUsageDesc

      @Nullable public String getRetroBillingUsageDesc()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: RetroBillingUsageDesc

      Returns:
      Short Text for Fixed Values
    • toString

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

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

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

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