public class Payment extends java.lang.Object implements IPayment
Modifier and Type | Class and Description |
---|---|
static class |
Payment.StatusCodes |
static class |
Payment.StatusDetail |
Constructor and Description |
---|
Payment() |
Payment(java.lang.String status,
java.lang.String statusDetail) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getBinaryMode() |
java.lang.String |
getCallForAuthorizeId() |
java.lang.Boolean |
getCaptured() |
Card |
getCard() |
java.lang.Long |
getCollectorId() |
java.math.BigDecimal |
getCouponAmount() |
java.lang.String |
getCurrencyId() |
java.util.Date |
getDateApproved() |
java.util.Date |
getDateCreated() |
java.util.Date |
getDateLastUpdated() |
java.lang.String |
getDescription() |
java.lang.Long |
getDifferentialPricingId() |
java.lang.String |
getExternalReference() |
java.util.List<FeeDetail> |
getFeeDetails() |
java.lang.Long |
getId() |
java.lang.Integer |
getInstallments() |
java.lang.String |
getIssuerId() |
java.lang.Boolean |
getLiveMode() |
java.util.Map |
getMetadata() |
java.util.Date |
getMoneyReleaseDate() |
java.lang.String |
getNotificationUrl() |
java.lang.String |
getOperationType() |
Order |
getOrder() |
Payer |
getPayer() |
java.lang.String |
getPaymentMethodId() |
java.lang.String |
getPaymentStatus() |
java.lang.String |
getPaymentStatusDetail() |
java.lang.String |
getPaymentTypeId() |
java.util.List<Refund> |
getRefunds() |
java.lang.String |
getStatementDescription() |
java.lang.String |
getStatementDescriptor() |
java.math.BigDecimal |
getTransactionAmount() |
java.math.BigDecimal |
getTransactionAmountRefunded() |
TransactionDetails |
getTransactionDetails() |
java.lang.Boolean |
isCardPaymentType(java.lang.String paymentTypeId) |
static boolean |
isPendingStatus(java.lang.String status,
java.lang.String statusDetail) |
void |
setBinaryMode(java.lang.Boolean binaryMode) |
void |
setCallForAuthorizeId(java.lang.String callForAuthorizeId) |
void |
setCaptured(java.lang.Boolean captured) |
void |
setCard(Card card) |
void |
setCollectorId(java.lang.Long collectorId) |
void |
setCouponAmount(java.math.BigDecimal couponAmount) |
void |
setCurrencyId(java.lang.String currencyId) |
void |
setDateApproved(java.util.Date dateApproved) |
void |
setDateCreated(java.util.Date dateCreated) |
void |
setDateLastUpdated(java.util.Date dateLastUpdated) |
void |
setDescription(java.lang.String description) |
void |
setDifferentialPricingId(java.lang.Long differentialPricingId) |
void |
setExternalReference(java.lang.String externalReference) |
void |
setFeeDetails(java.util.List<FeeDetail> feeDetails) |
void |
setId(java.lang.Long id) |
void |
setInstallments(java.lang.Integer installments) |
void |
setIssuerId(java.lang.String issuerId) |
void |
setLiveMode(java.lang.Boolean liveMode) |
void |
setMetadata(java.util.Map metadata) |
void |
setMoneyReleaseDate(java.util.Date moneyReleaseDate) |
void |
setNotificationUrl(java.lang.String notificationUrl) |
void |
setOperationType(java.lang.String operationType) |
void |
setOrder(Order order) |
void |
setPayer(Payer payer) |
void |
setPaymentMethodId(java.lang.String paymentMethodId) |
void |
setPaymentTypeId(java.lang.String paymentTypeId) |
void |
setRefunds(java.util.List<Refund> refunds) |
void |
setStatementDescriptor(java.lang.String statementDescriptor) |
void |
setStatus(java.lang.String status) |
void |
setStatusDetail(java.lang.String statusDetail) |
void |
setTransactionAmount(java.math.BigDecimal transactionAmount) |
void |
setTransactionAmountRefunded(java.math.BigDecimal transactionAmountRefunded) |
void |
setTransactionDetails(TransactionDetails transactionDetails) |
java.lang.String |
toString() |
public Payment()
public Payment(@NonNull java.lang.String status, @NonNull java.lang.String statusDetail)
public java.lang.Boolean getBinaryMode()
public void setBinaryMode(java.lang.Boolean binaryMode)
public java.lang.String getCallForAuthorizeId()
public void setCallForAuthorizeId(java.lang.String callForAuthorizeId)
public java.lang.Boolean getCaptured()
public void setCaptured(java.lang.Boolean captured)
public Card getCard()
public void setCard(Card card)
public java.lang.Long getCollectorId()
public void setCollectorId(java.lang.Long collectorId)
public java.math.BigDecimal getCouponAmount()
public void setCouponAmount(java.math.BigDecimal couponAmount)
public java.lang.String getCurrencyId()
public void setCurrencyId(java.lang.String currencyId)
public java.util.Date getDateApproved()
public void setDateApproved(java.util.Date dateApproved)
public java.util.Date getDateCreated()
public void setDateCreated(java.util.Date dateCreated)
public java.util.Date getDateLastUpdated()
public void setDateLastUpdated(java.util.Date dateLastUpdated)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.Long getDifferentialPricingId()
public void setDifferentialPricingId(java.lang.Long differentialPricingId)
public java.lang.String getExternalReference()
public void setExternalReference(java.lang.String externalReference)
public java.util.List<FeeDetail> getFeeDetails()
public void setFeeDetails(java.util.List<FeeDetail> feeDetails)
public void setId(java.lang.Long id)
public java.lang.Integer getInstallments()
public void setInstallments(java.lang.Integer installments)
public java.lang.String getIssuerId()
public void setIssuerId(java.lang.String issuerId)
public java.lang.Boolean getLiveMode()
public void setLiveMode(java.lang.Boolean liveMode)
public java.util.Map getMetadata()
public void setMetadata(java.util.Map metadata)
public java.util.Date getMoneyReleaseDate()
public void setMoneyReleaseDate(java.util.Date moneyReleaseDate)
public java.lang.String getNotificationUrl()
public void setNotificationUrl(java.lang.String notificationUrl)
public java.lang.String getOperationType()
public void setOperationType(java.lang.String operationType)
public Order getOrder()
public void setOrder(Order order)
public Payer getPayer()
public void setPayer(Payer payer)
public java.lang.String getPaymentMethodId()
public void setPaymentMethodId(java.lang.String paymentMethodId)
public java.lang.String getPaymentTypeId()
public void setPaymentTypeId(java.lang.String paymentTypeId)
public java.util.List<Refund> getRefunds()
public void setRefunds(java.util.List<Refund> refunds)
public java.lang.String getStatementDescriptor()
public void setStatementDescriptor(java.lang.String statementDescriptor)
public void setStatus(java.lang.String status)
public void setStatusDetail(java.lang.String statusDetail)
public java.math.BigDecimal getTransactionAmount()
public void setTransactionAmount(java.math.BigDecimal transactionAmount)
public java.math.BigDecimal getTransactionAmountRefunded()
public void setTransactionAmountRefunded(java.math.BigDecimal transactionAmountRefunded)
public TransactionDetails getTransactionDetails()
public void setTransactionDetails(TransactionDetails transactionDetails)
public java.lang.Boolean isCardPaymentType(java.lang.String paymentTypeId)
public static boolean isPendingStatus(java.lang.String status, java.lang.String statusDetail)
public java.lang.String toString()
toString
in class java.lang.Object
@Nullable public java.lang.String getStatementDescription()
getStatementDescription
in interface IPayment
@NonNull public java.lang.String getPaymentStatus()
getPaymentStatus
in interface IPayment
@NonNull public java.lang.String getPaymentStatusDetail()
getPaymentStatusDetail
in interface IPayment