Class CustProjSlsOrdItmBillgPlnItm

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

public class CustProjSlsOrdItmBillgPlnItm extends VdmEntity<CustProjSlsOrdItmBillgPlnItm>
Sales Order Item Billing Plan

Original entity name from the Odata EDM: A_CustProjSlsOrdItmBillgPlnItmType

  • Field Details

  • Constructor Details

    • CustProjSlsOrdItmBillgPlnItm

      public CustProjSlsOrdItmBillgPlnItm()
    • CustProjSlsOrdItmBillgPlnItm

      public CustProjSlsOrdItmBillgPlnItm(@Nullable String customerProject, @Nullable String salesOrderItem, @Nullable String billingPlanItem, @Nullable String salesOrder, @Nullable LocalDateTime billingPlanBillingDate, @Nullable String billingPlanRelatedBillgStatus, @Nullable BigDecimal billingPlanAmount, @Nullable String transactionCurrency, @Nullable String billingPlanItemUsage, @Nullable String billingPlanItemDescription, @Nullable LocalDateTime billingPlanServiceStartDate, @Nullable LocalDateTime billingPlanServiceEndDate)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: CustomerProject

      Parameters:
      customerProject - Commercial Project ID
    • setSalesOrderItem

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

      Original property name from the Odata EDM: SalesOrderItem

      Parameters:
      salesOrderItem - Sales Order Item
    • setBillingPlanItem

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

      Original property name from the Odata EDM: BillingPlanItem

      Parameters:
      billingPlanItem - Item for billing plan/invoice plan/payment cards
    • setSalesOrder

      public void setSalesOrder(@Nullable String salesOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SalesOrder

      Parameters:
      salesOrder - Sales Order
    • setBillingPlanBillingDate

      public void setBillingPlanBillingDate(@Nullable LocalDateTime billingPlanBillingDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BillingPlanBillingDate

      Parameters:
      billingPlanBillingDate - Billing Date
    • setBillingPlanRelatedBillgStatus

      public void setBillingPlanRelatedBillgStatus(@Nullable String billingPlanRelatedBillgStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BillingPlanRelatedBillgStatus

      Parameters:
      billingPlanRelatedBillgStatus - Billing Status for Billing Plan/Invoice Plan Date
    • setBillingPlanAmount

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

      Original property name from the Odata EDM: BillingPlanAmount

      Parameters:
      billingPlanAmount - Value to be billed/calc. on date in billing/invoice plan
    • setTransactionCurrency

      public void setTransactionCurrency(@Nullable String transactionCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TransactionCurrency

      Parameters:
      transactionCurrency - Currency Key
    • setBillingPlanItemUsage

      public void setBillingPlanItemUsage(@Nullable String billingPlanItemUsage)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BillingPlanItemUsage

      Parameters:
      billingPlanItemUsage - Billing Plan Item Usage
    • setBillingPlanItemDescription

      public void setBillingPlanItemDescription(@Nullable String billingPlanItemDescription)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: BillingPlanItemDescription

      Parameters:
      billingPlanItemDescription - Billing Plan Item Description
    • setBillingPlanServiceStartDate

      public void setBillingPlanServiceStartDate(@Nullable LocalDateTime billingPlanServiceStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BillingPlanServiceStartDate

      Parameters:
      billingPlanServiceStartDate - Settlement Start Date of Billing/Invoicing Date
    • setBillingPlanServiceEndDate

      public void setBillingPlanServiceEndDate(@Nullable LocalDateTime billingPlanServiceEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BillingPlanServiceEndDate

      Parameters:
      billingPlanServiceEndDate - Settlement End Date of Billing/Invoicing Date
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CustProjSlsOrdItmBillgPlnItmField<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> CustProjSlsOrdItmBillgPlnItmField<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<CustProjSlsOrdItmBillgPlnItm>
    • setServicePathForFetch

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

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

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

    • getCustomerProject

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

      Original property name from the Odata EDM: CustomerProject

      Returns:
      Commercial Project ID
    • getSalesOrderItem

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

      Original property name from the Odata EDM: SalesOrderItem

      Returns:
      Sales Order Item
    • getBillingPlanItem

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

      Original property name from the Odata EDM: BillingPlanItem

      Returns:
      Item for billing plan/invoice plan/payment cards
    • getSalesOrder

      @Nullable public String getSalesOrder()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SalesOrder

      Returns:
      Sales Order
    • getBillingPlanBillingDate

      @Nullable public LocalDateTime getBillingPlanBillingDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BillingPlanBillingDate

      Returns:
      Billing Date
    • getBillingPlanRelatedBillgStatus

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

      Original property name from the Odata EDM: BillingPlanRelatedBillgStatus

      Returns:
      Billing Status for Billing Plan/Invoice Plan Date
    • getBillingPlanAmount

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

      Original property name from the Odata EDM: BillingPlanAmount

      Returns:
      Value to be billed/calc. on date in billing/invoice plan
    • getTransactionCurrency

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

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      Currency Key
    • getBillingPlanItemUsage

      @Nullable public String getBillingPlanItemUsage()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BillingPlanItemUsage

      Returns:
      Billing Plan Item Usage
    • getBillingPlanItemDescription

      @Nullable public String getBillingPlanItemDescription()
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: BillingPlanItemDescription

      Returns:
      Billing Plan Item Description
    • getBillingPlanServiceStartDate

      @Nullable public LocalDateTime getBillingPlanServiceStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BillingPlanServiceStartDate

      Returns:
      Settlement Start Date of Billing/Invoicing Date
    • getBillingPlanServiceEndDate

      @Nullable public LocalDateTime getBillingPlanServiceEndDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BillingPlanServiceEndDate

      Returns:
      Settlement End Date of Billing/Invoicing Date
    • toString

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

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

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

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