Package io.surati.gap.payment.base.wp
Class PaymentWrapper
- java.lang.Object
-
- io.surati.gap.payment.base.wp.PaymentWrapper
-
- All Implemented Interfaces:
Payment
- Direct Known Subclasses:
BankNoteWrapper
,DbPayment
public abstract class PaymentWrapper extends Object implements Payment
-
-
Constructor Summary
Constructors Constructor Description PaymentWrapper(Payment origin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
amount()
String
amountInHuman()
String
amountInLetters()
io.surati.gap.admin.base.api.User
author()
io.surati.gap.admin.base.api.User
authorOfCancel()
ThirdParty
beneficiary()
void
cancel(LocalDateTime canceldate, PaymentCancelReason reason, String description, boolean sendbackinpayment, io.surati.gap.admin.base.api.User author)
LocalDateTime
cancelDate()
void
complete()
LocalDate
date()
String
descriptionOfCancel()
Long
id()
String
internalReference()
ThirdParty
issuer()
String
issuerReference()
PaymentMeanType
meanType()
String
mention1()
String
mention2()
String
name()
PaymentOrderGroup
orders()
String
place()
PaymentCancelReason
reasonOfCancel()
PaymentStatus
status()
-
-
-
Constructor Detail
-
PaymentWrapper
public PaymentWrapper(Payment origin)
-
-
Method Detail
-
issuerReference
public String issuerReference()
- Specified by:
issuerReference
in interfacePayment
-
beneficiary
public ThirdParty beneficiary()
- Specified by:
beneficiary
in interfacePayment
-
status
public PaymentStatus status()
-
cancel
public void cancel(LocalDateTime canceldate, PaymentCancelReason reason, String description, boolean sendbackinpayment, io.surati.gap.admin.base.api.User author)
-
cancelDate
public LocalDateTime cancelDate()
- Specified by:
cancelDate
in interfacePayment
-
reasonOfCancel
public PaymentCancelReason reasonOfCancel()
- Specified by:
reasonOfCancel
in interfacePayment
-
issuer
public ThirdParty issuer()
-
amountInLetters
public String amountInLetters()
- Specified by:
amountInLetters
in interfacePayment
-
amountInHuman
public String amountInHuman()
- Specified by:
amountInHuman
in interfacePayment
-
internalReference
public String internalReference()
- Specified by:
internalReference
in interfacePayment
-
orders
public PaymentOrderGroup orders()
-
descriptionOfCancel
public String descriptionOfCancel()
- Specified by:
descriptionOfCancel
in interfacePayment
-
authorOfCancel
public io.surati.gap.admin.base.api.User authorOfCancel()
- Specified by:
authorOfCancel
in interfacePayment
-
meanType
public PaymentMeanType meanType()
-
-