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

public class BillingDocument extends VdmEntity<BillingDocument>
Billing Type

Original entity name from the Odata EDM: BillingDocumentType

  • Field Details

    • ALL_FIELDS

      public static final BillingDocumentSelectable ALL_FIELDS
      Selector for all available fields of BillingDocument.
    • BILLING_DOCUMENT_TYPE

      public static final BillingDocumentField<String> BILLING_DOCUMENT_TYPE
      Use with available fluent helpers to apply the BillingDocumentType field to query operations.
    • BILLING_DOCUMENT_TYPE_TEXT

      public static final BillingDocumentField<String> BILLING_DOCUMENT_TYPE_TEXT
      Use with available fluent helpers to apply the BillingDocumentTypeText field to query operations.
  • Constructor Details

    • BillingDocument

      public BillingDocument()
    • BillingDocument

      public BillingDocument(@Nullable String billingDocumentType, @Nullable String billingDocumentTypeText)
  • Method Details

    • getType

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

      public void setBillingDocumentType(@Nullable String billingDocumentType)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: BillingDocumentType

      Parameters:
      billingDocumentType - Billing Type
    • setBillingDocumentTypeText

      public void setBillingDocumentTypeText(@Nullable String billingDocumentTypeText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: BillingDocumentTypeText

      Parameters:
      billingDocumentTypeText - Billing Type (Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BillingDocumentField<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> BillingDocumentField<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<BillingDocument>
    • setServicePathForFetch

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

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

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

      @Nonnull public static BillingDocument.BillingDocumentBuilder builder()
    • getBillingDocumentType

      @Nullable public String getBillingDocumentType()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: BillingDocumentType

      Returns:
      Billing Type
    • getBillingDocumentTypeText

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

      Original property name from the Odata EDM: BillingDocumentTypeText

      Returns:
      Billing Type (Description)
    • toString

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

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

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

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