java.lang.Object
de.bytestore.hostinger.entity.ecommerce.Payment

@Entity(name="host_Payment") @Configurable(preConstruction=true) public class Payment extends Object
Represents a payment entity, designed to handle payment processing and related data. The Payment class includes information about the associated invoice, provider, user, payment status, type, and additional metadata such as creation and modification details.
  • Constructor Details

    • Payment

      public Payment()
  • Method Details

    • getStatus

      public PaymentStatus getStatus()
    • setStatus

      public void setStatus(PaymentStatus status)
    • getType

      public PaymentType getType()
    • setType

      public void setType(PaymentType type)
    • retrieve

      public void retrieve()
      Retrieve Status of Payment.
    • postUpdate

      public void postUpdate()
    • isExpiredAndUnpaid

      public boolean isExpiredAndUnpaid()
      Checks if the payment is expired and unpaid.
      Returns:
      true if the payment is expired and unpaid, false otherwise.
    • load

      public void load()