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

public class Funds_Header extends VdmEntity<Funds_Header> implements VdmEntitySet
Fund Transfer

Original entity name from the Odata EDM: Funds_Header_Type

  • Field Details

  • Constructor Details

    • Funds_Header

      public Funds_Header()
    • Funds_Header

      public Funds_Header(@Nullable String pRAFundsTransferChangeNumber, @Nullable String pRATransferFromCustSuplrCode, @Nullable String pRAFundsTransferFromOwner, @Nullable String pRAFndsTransfFrmOwnrIntrstType, @Nullable String pRAFndsTransfFrmOwnrIntrstSeq, @Nullable String pRATransferChangeCode, @Nullable LocalDate pRATransferEffectiveFromDate, @Nullable LocalDate pRATransferEffectiveToDate, @Nullable String pRAOwnerRequestDocNumber, @Nullable String pRAOwnerRequestDocYear, @Nullable String pRATransferLevelCode, @Nullable String pRATransferChangeReasonCode, @Nullable String pRATransferApplicationToCode, @Nullable Boolean pRATransferIsForAllSuspense, @Nullable String suspenseReason, @Nullable String ownerPaymentStatus, @Nullable String companyCode, @Nullable String pRAJointVenture, @Nullable String divisionOfInterest, @Nullable String pRATransferPriority, @Nullable String pRAFundsTransferToOwnerCoCode, @Nullable String pRAFundsTransferToOwnerVenture, @Nullable String pRAFundsTransferToOwnerDOI, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable Collection<SAP__Message> _Messages, List<Funds_Detials> to_PRAMaintFundTransfChgDet)
  • Method Details

    • getType

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

      public void setPRAFundsTransferChangeNumber(@Nullable String pRAFundsTransferChangeNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: PRAFundsTransferChangeNumber

      Parameters:
      pRAFundsTransferChangeNumber - RD transfer change number
    • setPRATransferFromCustSuplrCode

      public void setPRATransferFromCustSuplrCode(@Nullable String pRATransferFromCustSuplrCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PRATransferFromCustSuplrCode

      Parameters:
      pRATransferFromCustSuplrCode - Transferor customer / vendor indicator
    • setPRAFundsTransferFromOwner

      public void setPRAFundsTransferFromOwner(@Nullable String pRAFundsTransferFromOwner)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PRAFundsTransferFromOwner

      Parameters:
      pRAFundsTransferFromOwner - Transferor - owner
    • setPRAFndsTransfFrmOwnrIntrstType

      public void setPRAFndsTransfFrmOwnrIntrstType(@Nullable String pRAFndsTransfFrmOwnrIntrstType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PRAFndsTransfFrmOwnrIntrstType

      Parameters:
      pRAFndsTransfFrmOwnrIntrstType - Transferor participant interest type
    • setPRAFndsTransfFrmOwnrIntrstSeq

      public void setPRAFndsTransfFrmOwnrIntrstSeq(@Nullable String pRAFndsTransfFrmOwnrIntrstSeq)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PRAFndsTransfFrmOwnrIntrstSeq

      Parameters:
      pRAFndsTransfFrmOwnrIntrstSeq - Transferor owner interest sequence number
    • setPRATransferChangeCode

      public void setPRATransferChangeCode(@Nullable String pRATransferChangeCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PRATransferChangeCode

      Parameters:
      pRATransferChangeCode - Transfer change code
    • setPRATransferEffectiveFromDate

      public void setPRATransferEffectiveFromDate(@Nullable LocalDate pRATransferEffectiveFromDate)
      Constraints: Nullable

      Original property name from the Odata EDM: PRATransferEffectiveFromDate

      Parameters:
      pRATransferEffectiveFromDate - Effective from date
    • setPRATransferEffectiveToDate

      public void setPRATransferEffectiveToDate(@Nullable LocalDate pRATransferEffectiveToDate)
      Constraints: Nullable

      Original property name from the Odata EDM: PRATransferEffectiveToDate

      Parameters:
      pRATransferEffectiveToDate - Effective To Date
    • setPRAOwnerRequestDocNumber

      public void setPRAOwnerRequestDocNumber(@Nullable String pRAOwnerRequestDocNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PRAOwnerRequestDocNumber

      Parameters:
      pRAOwnerRequestDocNumber - Request doc. number
    • setPRAOwnerRequestDocYear

      public void setPRAOwnerRequestDocYear(@Nullable String pRAOwnerRequestDocYear)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PRAOwnerRequestDocYear

      Parameters:
      pRAOwnerRequestDocYear - Document year
    • setPRATransferLevelCode

      public void setPRATransferLevelCode(@Nullable String pRATransferLevelCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PRATransferLevelCode

      Parameters:
      pRATransferLevelCode - Transfer level code
    • setPRATransferChangeReasonCode

      public void setPRATransferChangeReasonCode(@Nullable String pRATransferChangeReasonCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PRATransferChangeReasonCode

      Parameters:
      pRATransferChangeReasonCode - Transfer Change Reason Code
    • setPRATransferApplicationToCode

      public void setPRATransferApplicationToCode(@Nullable String pRATransferApplicationToCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PRATransferApplicationToCode

      Parameters:
      pRATransferApplicationToCode - Application to Code
    • setPRATransferIsForAllSuspense

      public void setPRATransferIsForAllSuspense(@Nullable Boolean pRATransferIsForAllSuspense)
      Constraints: Not nullable

      Original property name from the Odata EDM: PRATransferIsForAllSuspense

      Parameters:
      pRATransferIsForAllSuspense - Transfer all suspense flag
    • setSuspenseReason

      public void setSuspenseReason(@Nullable String suspenseReason)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SuspenseReason

      Parameters:
      suspenseReason - Suspense Reason Code
    • setOwnerPaymentStatus

      public void setOwnerPaymentStatus(@Nullable String ownerPaymentStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: OwnerPaymentStatus

      Parameters:
      ownerPaymentStatus - Pay Code
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setPRAJointVenture

      public void setPRAJointVenture(@Nullable String pRAJointVenture)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PRAJointVenture

      Parameters:
      pRAJointVenture - Joint Venture
    • setDivisionOfInterest

      public void setDivisionOfInterest(@Nullable String divisionOfInterest)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: DivisionOfInterest

      Parameters:
      divisionOfInterest - Division of Interest (DOI)
    • setPRATransferPriority

      public void setPRATransferPriority(@Nullable String pRATransferPriority)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PRATransferPriority

      Parameters:
      pRATransferPriority - Priority number
    • setPRAFundsTransferToOwnerCoCode

      public void setPRAFundsTransferToOwnerCoCode(@Nullable String pRAFundsTransferToOwnerCoCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PRAFundsTransferToOwnerCoCode

      Parameters:
      pRAFundsTransferToOwnerCoCode - Company Code
    • setPRAFundsTransferToOwnerVenture

      public void setPRAFundsTransferToOwnerVenture(@Nullable String pRAFundsTransferToOwnerVenture)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PRAFundsTransferToOwnerVenture

      Parameters:
      pRAFundsTransferToOwnerVenture - Joint Venture
    • setPRAFundsTransferToOwnerDOI

      public void setPRAFundsTransferToOwnerDOI(@Nullable String pRAFundsTransferToOwnerDOI)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: PRAFundsTransferToOwnerDOI

      Parameters:
      pRAFundsTransferToOwnerDOI - Division of Interest (DOI)
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Name of Person Responsible for Creating the Object
    • setCreationDateTime

      public void setCreationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

      @Nonnull public io.vavr.control.Option<List<Funds_Detials>> getPRAMaintFundTransfChgDetIfPresent()
      Retrieval of associated Funds_Detials entities (one to many). This corresponds to the OData navigation property _PRAMaintFundTransfChgDet.

      If the navigation property for an entity Funds_Header 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 _PRAMaintFundTransfChgDet is already loaded, the result will contain the Funds_Detials entities. If not, an Option with result state empty is returned.
    • setPRAMaintFundTransfChgDet

      public void setPRAMaintFundTransfChgDet(@Nonnull List<Funds_Detials> value)
      Overwrites the list of associated Funds_Detials entities for the loaded navigation property _PRAMaintFundTransfChgDet.

      If the navigation property _PRAMaintFundTransfChgDet of a queried Funds_Header is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of Funds_Detials entities.
    • addPRAMaintFundTransfChgDet

      public void addPRAMaintFundTransfChgDet(Funds_Detials... entity)
      Adds elements to the list of associated Funds_Detials entities. This corresponds to the OData navigation property _PRAMaintFundTransfChgDet.

      If the navigation property _PRAMaintFundTransfChgDet of a queried Funds_Header is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of Funds_Detials entities.
    • builder

      @Nonnull public static Funds_Header.Funds_HeaderBuilder builder()
    • getPRAFundsTransferChangeNumber

      @Nullable public String getPRAFundsTransferChangeNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: PRAFundsTransferChangeNumber

      Returns:
      RD transfer change number
    • getPRATransferFromCustSuplrCode

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

      Original property name from the Odata EDM: PRATransferFromCustSuplrCode

      Returns:
      Transferor customer / vendor indicator
    • getPRAFundsTransferFromOwner

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

      Original property name from the Odata EDM: PRAFundsTransferFromOwner

      Returns:
      Transferor - owner
    • getPRAFndsTransfFrmOwnrIntrstType

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

      Original property name from the Odata EDM: PRAFndsTransfFrmOwnrIntrstType

      Returns:
      Transferor participant interest type
    • getPRAFndsTransfFrmOwnrIntrstSeq

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

      Original property name from the Odata EDM: PRAFndsTransfFrmOwnrIntrstSeq

      Returns:
      Transferor owner interest sequence number
    • getPRATransferChangeCode

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

      Original property name from the Odata EDM: PRATransferChangeCode

      Returns:
      Transfer change code
    • getPRATransferEffectiveFromDate

      @Nullable public LocalDate getPRATransferEffectiveFromDate()
      Constraints: Nullable

      Original property name from the Odata EDM: PRATransferEffectiveFromDate

      Returns:
      Effective from date
    • getPRATransferEffectiveToDate

      @Nullable public LocalDate getPRATransferEffectiveToDate()
      Constraints: Nullable

      Original property name from the Odata EDM: PRATransferEffectiveToDate

      Returns:
      Effective To Date
    • getPRAOwnerRequestDocNumber

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

      Original property name from the Odata EDM: PRAOwnerRequestDocNumber

      Returns:
      Request doc. number
    • getPRAOwnerRequestDocYear

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

      Original property name from the Odata EDM: PRAOwnerRequestDocYear

      Returns:
      Document year
    • getPRATransferLevelCode

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

      Original property name from the Odata EDM: PRATransferLevelCode

      Returns:
      Transfer level code
    • getPRATransferChangeReasonCode

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

      Original property name from the Odata EDM: PRATransferChangeReasonCode

      Returns:
      Transfer Change Reason Code
    • getPRATransferApplicationToCode

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

      Original property name from the Odata EDM: PRATransferApplicationToCode

      Returns:
      Application to Code
    • getPRATransferIsForAllSuspense

      @Nullable public Boolean getPRATransferIsForAllSuspense()
      Constraints: Not nullable

      Original property name from the Odata EDM: PRATransferIsForAllSuspense

      Returns:
      Transfer all suspense flag
    • getSuspenseReason

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

      Original property name from the Odata EDM: SuspenseReason

      Returns:
      Suspense Reason Code
    • getOwnerPaymentStatus

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

      Original property name from the Odata EDM: OwnerPaymentStatus

      Returns:
      Pay Code
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getPRAJointVenture

      @Nullable public String getPRAJointVenture()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PRAJointVenture

      Returns:
      Joint Venture
    • getDivisionOfInterest

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

      Original property name from the Odata EDM: DivisionOfInterest

      Returns:
      Division of Interest (DOI)
    • getPRATransferPriority

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

      Original property name from the Odata EDM: PRATransferPriority

      Returns:
      Priority number
    • getPRAFundsTransferToOwnerCoCode

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

      Original property name from the Odata EDM: PRAFundsTransferToOwnerCoCode

      Returns:
      Company Code
    • getPRAFundsTransferToOwnerVenture

      @Nullable public String getPRAFundsTransferToOwnerVenture()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PRAFundsTransferToOwnerVenture

      Returns:
      Joint Venture
    • getPRAFundsTransferToOwnerDOI

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

      Original property name from the Odata EDM: PRAFundsTransferToOwnerDOI

      Returns:
      Division of Interest (DOI)
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Name of Person Responsible for Creating the Object
    • getCreationDateTime

      @Nullable public OffsetDateTime getCreationDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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