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

public class PaymentStrategy extends VdmEntity<PaymentStrategy> implements VdmEntitySet
Payment Strategies

Original entity name from the Odata EDM: PaymentStrategyType

  • Field Details

  • Constructor Details

    • PaymentStrategy

      public PaymentStrategy()
    • PaymentStrategy

      public PaymentStrategy(@Nullable UUID paymentRequisitionStrategyUUID, @Nullable UUID paymentRequisitionUUID, @Nullable String paytRequisitionStrategyNumber, @Nullable String paymentReqnStrategyStatus, @Nullable BigDecimal paytReqnStrategyAmtInTransCrcy, @Nullable String currency, @Nullable String paymentMethod, @Nullable LocalDate paymentDate, @Nullable String houseBank, @Nullable String houseBankAccount, @Nullable String bank, @Nullable String bankAccount, @Nullable String bPBankAccountInternalID, @Nullable OffsetDateTime creationDateTime, @Nullable OffsetDateTime changedOnDateTime, @Nullable Requisition to_Requisition)
  • Method Details

    • getType

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

      public void setPaymentRequisitionStrategyUUID(@Nullable UUID paymentRequisitionStrategyUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PaymentRequisitionStrategyUUID

      Parameters:
      paymentRequisitionStrategyUUID - Payment Requisition Strategy UUID
    • setPaymentRequisitionUUID

      public void setPaymentRequisitionUUID(@Nullable UUID paymentRequisitionUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: PaymentRequisitionUUID

      Parameters:
      paymentRequisitionUUID - Payment Requisition UUID
    • setPaytRequisitionStrategyNumber

      public void setPaytRequisitionStrategyNumber(@Nullable String paytRequisitionStrategyNumber)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PaytRequisitionStrategyNumber

      Parameters:
      paytRequisitionStrategyNumber - Number of Payment Strategy
    • setPaymentReqnStrategyStatus

      public void setPaymentReqnStrategyStatus(@Nullable String paymentReqnStrategyStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PaymentReqnStrategyStatus

      Parameters:
      paymentReqnStrategyStatus - Status of Payment Requisition Strategy
    • setPaytReqnStrategyAmtInTransCrcy

      public void setPaytReqnStrategyAmtInTransCrcy(@Nullable BigDecimal paytReqnStrategyAmtInTransCrcy)
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: PaytReqnStrategyAmtInTransCrcy

      Parameters:
      paytReqnStrategyAmtInTransCrcy - Payment Requisition Strategy Amount
    • setCurrency

      public void setCurrency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • setPaymentMethod

      public void setPaymentMethod(@Nullable String paymentMethod)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PaymentMethod

      Parameters:
      paymentMethod - Payment Method
    • setPaymentDate

      public void setPaymentDate(@Nullable LocalDate paymentDate)
      Constraints: Nullable

      Original property name from the Odata EDM: PaymentDate

      Parameters:
      paymentDate - Payment Date
    • setHouseBank

      public void setHouseBank(@Nullable String houseBank)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: HouseBank

      Parameters:
      houseBank - Short Key for a House Bank
    • setHouseBankAccount

      public void setHouseBankAccount(@Nullable String houseBankAccount)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: HouseBankAccount

      Parameters:
      houseBankAccount - ID for Account Details
    • setBank

      public void setBank(@Nullable String bank)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: Bank

      Parameters:
      bank - Bank Number
    • setBankAccount

      public void setBankAccount(@Nullable String bankAccount)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: BankAccount

      Parameters:
      bankAccount - Bank Account Number
    • setBPBankAccountInternalID

      public void setBPBankAccountInternalID(@Nullable String bPBankAccountInternalID)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BPBankAccountInternalID

      Parameters:
      bPBankAccountInternalID - Partner bank type
    • setCreationDateTime

      public void setCreationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - Creation Date and Time
    • setChangedOnDateTime

      public void setChangedOnDateTime(@Nullable OffsetDateTime changedOnDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: ChangedOnDateTime

      Parameters:
      changedOnDateTime - Change Date and Time
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity PaymentStrategy 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 _Requisition is already loaded, the result will contain the Requisition entity. If not, an Option with result state empty is returned.
    • setRequisition

      public void setRequisition(Requisition value)
      Overwrites the associated Requisition entity for the loaded navigation property _Requisition.
      Parameters:
      value - New Requisition entity.
    • builder

      @Nonnull public static PaymentStrategy.PaymentStrategyBuilder builder()
    • getPaymentRequisitionStrategyUUID

      @Nullable public UUID getPaymentRequisitionStrategyUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PaymentRequisitionStrategyUUID

      Returns:
      Payment Requisition Strategy UUID
    • getPaymentRequisitionUUID

      @Nullable public UUID getPaymentRequisitionUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: PaymentRequisitionUUID

      Returns:
      Payment Requisition UUID
    • getPaytRequisitionStrategyNumber

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

      Original property name from the Odata EDM: PaytRequisitionStrategyNumber

      Returns:
      Number of Payment Strategy
    • getPaymentReqnStrategyStatus

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

      Original property name from the Odata EDM: PaymentReqnStrategyStatus

      Returns:
      Status of Payment Requisition Strategy
    • getPaytReqnStrategyAmtInTransCrcy

      @Nullable public BigDecimal getPaytReqnStrategyAmtInTransCrcy()
      Constraints: Not nullable, Precision: 23, Scale: 0

      Original property name from the Odata EDM: PaytReqnStrategyAmtInTransCrcy

      Returns:
      Payment Requisition Strategy Amount
    • getCurrency

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

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • getPaymentMethod

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

      Original property name from the Odata EDM: PaymentMethod

      Returns:
      Payment Method
    • getPaymentDate

      @Nullable public LocalDate getPaymentDate()
      Constraints: Nullable

      Original property name from the Odata EDM: PaymentDate

      Returns:
      Payment Date
    • getHouseBank

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

      Original property name from the Odata EDM: HouseBank

      Returns:
      Short Key for a House Bank
    • getHouseBankAccount

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

      Original property name from the Odata EDM: HouseBankAccount

      Returns:
      ID for Account Details
    • getBank

      @Nullable public String getBank()
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: Bank

      Returns:
      Bank Number
    • getBankAccount

      @Nullable public String getBankAccount()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: BankAccount

      Returns:
      Bank Account Number
    • getBPBankAccountInternalID

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

      Original property name from the Odata EDM: BPBankAccountInternalID

      Returns:
      Partner bank type
    • getCreationDateTime

      @Nullable public OffsetDateTime getCreationDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      Creation Date and Time
    • getChangedOnDateTime

      @Nullable public OffsetDateTime getChangedOnDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: ChangedOnDateTime

      Returns:
      Change Date and Time
    • toString

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

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

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

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

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