Class Payment
- java.lang.Object
-
- org.hibernate.testing.orm.domain.userguide.Payment
-
- Direct Known Subclasses:
CreditCardPayment
,WireTransferPayment
@Entity public class Payment extends Object
-
-
Constructor Summary
Constructors Constructor Description Payment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount()
BigDecimal
getAmount()
Long
getId()
Person
getPerson()
boolean
isCompleted()
void
setAccount(Account account)
void
setAmount(BigDecimal amount)
void
setCompleted(boolean completed)
void
setId(Long id)
void
setPerson(Person person)
-
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
isCompleted
public boolean isCompleted()
-
setCompleted
public void setCompleted(boolean completed)
-
getPerson
public Person getPerson()
-
setPerson
public void setPerson(Person person)
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
-