java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<POInvoicingPlanItem>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.purchaseorder.POInvoicingPlanItem
All Implemented Interfaces:
VdmEntitySet

public class POInvoicingPlanItem extends VdmEntity<POInvoicingPlanItem> implements VdmEntitySet
Invoicing Plan Item

Original entity name from the Odata EDM: POInvoicingPlanItem_Type

  • Field Details

  • Constructor Details

    • POInvoicingPlanItem

      public POInvoicingPlanItem()
    • POInvoicingPlanItem

      public POInvoicingPlanItem(@Nullable String purchaseOrder, @Nullable String purchaseOrderItem, @Nullable String invoicingPlanItem, @Nullable String invoicingPlan, @Nullable LocalDate invoicingPlanSettlementFromDte, @Nullable LocalDate invoicingPlanSettlementToDte, @Nullable LocalDate invoicingPlanInvoicingDate, @Nullable BigDecimal invoicingPlanAmount, @Nullable String transactionCurrency, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable String purchaseOrderType, @Nullable String plant, @Nullable PurchaseOrder to_PurchaseOrder, @Nullable PurchaseOrderInvoicingPlan to_PurchaseOrderInvoicingPlan, @Nullable PurchaseOrderItem to_PurchaseOrderItem)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: PurchaseOrder

      Parameters:
      purchaseOrder - Purchase Order Number
    • setPurchaseOrderItem

      public void setPurchaseOrderItem(@Nullable String purchaseOrderItem)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: PurchaseOrderItem

      Parameters:
      purchaseOrderItem - Item Number of Purchase Order
    • setInvoicingPlanItem

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

      Original property name from the Odata EDM: InvoicingPlanItem

      Parameters:
      invoicingPlanItem - Item for billing plan/invoice plan/payment cards
    • setInvoicingPlan

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

      Original property name from the Odata EDM: InvoicingPlan

      Parameters:
      invoicingPlan - Billing Plan Number / Invoicing Plan Number
    • setInvoicingPlanSettlementFromDte

      public void setInvoicingPlanSettlementFromDte(@Nullable LocalDate invoicingPlanSettlementFromDte)
      Constraints: Nullable

      Original property name from the Odata EDM: InvoicingPlanSettlementFromDte

      Parameters:
      invoicingPlanSettlementFromDte - Settlement Start Date of Billing/Invoicing Date
    • setInvoicingPlanSettlementToDte

      public void setInvoicingPlanSettlementToDte(@Nullable LocalDate invoicingPlanSettlementToDte)
      Constraints: Nullable

      Original property name from the Odata EDM: InvoicingPlanSettlementToDte

      Parameters:
      invoicingPlanSettlementToDte - Settlement End Date of Billing/Invoicing Date
    • setInvoicingPlanInvoicingDate

      public void setInvoicingPlanInvoicingDate(@Nullable LocalDate invoicingPlanInvoicingDate)
      Constraints: Nullable

      Original property name from the Odata EDM: InvoicingPlanInvoicingDate

      Parameters:
      invoicingPlanInvoicingDate - Billing Date
    • setInvoicingPlanAmount

      public void setInvoicingPlanAmount(@Nullable BigDecimal invoicingPlanAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: InvoicingPlanAmount

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

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

      Original property name from the Odata EDM: TransactionCurrency

      Parameters:
      transactionCurrency - Currency Key
    • setPurchasingOrganization

      public void setPurchasingOrganization(@Nullable String purchasingOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingOrganization

      Parameters:
      purchasingOrganization - Purchasing Organization
    • setPurchasingGroup

      public void setPurchasingGroup(@Nullable String purchasingGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchasingGroup

      Parameters:
      purchasingGroup - Purchasing Group
    • setPurchaseOrderType

      public void setPurchaseOrderType(@Nullable String purchaseOrderType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchaseOrderType

      Parameters:
      purchaseOrderType - Purchasing Document Type
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<POInvoicingPlanItem>
    • toMapOfFields

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<POInvoicingPlanItem>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<POInvoicingPlanItem>
    • getPurchaseOrderIfPresent

      @Nonnull public io.vavr.control.Option<PurchaseOrder> getPurchaseOrderIfPresent()
      Retrieval of associated PurchaseOrder entity (one to one). This corresponds to the OData navigation property _PurchaseOrder.

      If the navigation property for an entity POInvoicingPlanItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _PurchaseOrder is already loaded, the result will contain the PurchaseOrder entity. If not, an Option with result state empty is returned.
    • setPurchaseOrder

      public void setPurchaseOrder(PurchaseOrder value)
      Overwrites the associated PurchaseOrder entity for the loaded navigation property _PurchaseOrder.
      Parameters:
      value - New PurchaseOrder entity.
    • getPurchaseOrderInvoicingPlanIfPresent

      @Nonnull public io.vavr.control.Option<PurchaseOrderInvoicingPlan> getPurchaseOrderInvoicingPlanIfPresent()
      Retrieval of associated PurchaseOrderInvoicingPlan entity (one to one). This corresponds to the OData navigation property _PurchaseOrderInvoicingPlan.

      If the navigation property for an entity POInvoicingPlanItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _PurchaseOrderInvoicingPlan is already loaded, the result will contain the PurchaseOrderInvoicingPlan entity. If not, an Option with result state empty is returned.
    • setPurchaseOrderInvoicingPlan

      public void setPurchaseOrderInvoicingPlan(PurchaseOrderInvoicingPlan value)
      Overwrites the associated PurchaseOrderInvoicingPlan entity for the loaded navigation property _PurchaseOrderInvoicingPlan.
      Parameters:
      value - New PurchaseOrderInvoicingPlan entity.
    • getPurchaseOrderItemIfPresent

      @Nonnull public io.vavr.control.Option<PurchaseOrderItem> getPurchaseOrderItemIfPresent()
      Retrieval of associated PurchaseOrderItem entity (one to one). This corresponds to the OData navigation property _PurchaseOrderItem.

      If the navigation property for an entity POInvoicingPlanItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _PurchaseOrderItem is already loaded, the result will contain the PurchaseOrderItem entity. If not, an Option with result state empty is returned.
    • setPurchaseOrderItem

      public void setPurchaseOrderItem(PurchaseOrderItem value)
      Overwrites the associated PurchaseOrderItem entity for the loaded navigation property _PurchaseOrderItem.
      Parameters:
      value - New PurchaseOrderItem entity.
    • builder

      @Nonnull public static POInvoicingPlanItem.POInvoicingPlanItemBuilder builder()
    • getPurchaseOrder

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

      Original property name from the Odata EDM: PurchaseOrder

      Returns:
      Purchase Order Number
    • getPurchaseOrderItem

      @Nullable public String getPurchaseOrderItem()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: PurchaseOrderItem

      Returns:
      Item Number of Purchase Order
    • getInvoicingPlanItem

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

      Original property name from the Odata EDM: InvoicingPlanItem

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

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

      Original property name from the Odata EDM: InvoicingPlan

      Returns:
      Billing Plan Number / Invoicing Plan Number
    • getInvoicingPlanSettlementFromDte

      @Nullable public LocalDate getInvoicingPlanSettlementFromDte()
      Constraints: Nullable

      Original property name from the Odata EDM: InvoicingPlanSettlementFromDte

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

      @Nullable public LocalDate getInvoicingPlanSettlementToDte()
      Constraints: Nullable

      Original property name from the Odata EDM: InvoicingPlanSettlementToDte

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

      @Nullable public LocalDate getInvoicingPlanInvoicingDate()
      Constraints: Nullable

      Original property name from the Odata EDM: InvoicingPlanInvoicingDate

      Returns:
      Billing Date
    • getInvoicingPlanAmount

      @Nullable public BigDecimal getInvoicingPlanAmount()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: InvoicingPlanAmount

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

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

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      Currency Key
    • getPurchasingOrganization

      @Nullable public String getPurchasingOrganization()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingOrganization

      Returns:
      Purchasing Organization
    • getPurchasingGroup

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

      Original property name from the Odata EDM: PurchasingGroup

      Returns:
      Purchasing Group
    • getPurchaseOrderType

      @Nullable public String getPurchaseOrderType()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchaseOrderType

      Returns:
      Purchasing Document Type
    • getPlant

      @Nullable public String getPlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<POInvoicingPlanItem>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<POInvoicingPlanItem>