Package com.blockchyp.client.dto
Class PaymentLinkStatusResponse
java.lang.Object
com.blockchyp.client.dto.PaymentLinkStatusResponse
- All Implemented Interfaces:
IAbstractAcknowledgement
Models the status of a payment link.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a returns a list of transactions associated with the link, including any declines.Gets that the amount to collect via the payment link.Gets the customer id associated with a payment link.Gets date and time the link was created.Gets description associated with the payment link.getError()Gets the error, if an error occurred.Gets date and time the link will expire.Gets returns details about the last transaction status.Gets the code used to retrieve the payment link.Gets the BlockChyp merchant id associated with a payment link.Gets the user's internal reference for an order.Gets a narrative description of the transaction result.Gets the current status of the payment link.Gets subject for email notifications.Gets the sales tax to be collected via the payment link.Gets alias for any terms and conditions language associated with the link.Gets full text of any terms and conditions language associated with the agreement.Gets name of any terms and conditions agreements associated with the payment link.Gets line item level data if provided.Gets returns a list of transactions associated with the link, including any declines.Gets id of the most recent transaction associated with the link.Gets the user's internal reference for any transaction that may occur.booleanGets that the link is intended for internal use by the merchant.booleanisEnroll()Gets that the payment method should be enrolled in the token vault.booleanGets that the link should only be used for enrollment in the token vault without any underlying payment transaction.booleanGets whether or not the request succeeded.booleanGets that the order is tax exempt.voidSets that the amount to collect via the payment link.voidsetCashierFacing(boolean value) Sets that the link is intended for internal use by the merchant.voidsetCustomerId(String value) Sets the customer id associated with a payment link.voidsetDateCreated(Date value) Sets date and time the link was created.voidsetDescription(String value) Sets description associated with the payment link.voidsetEnroll(boolean value) Sets that the payment method should be enrolled in the token vault.voidsetEnrollOnly(boolean value) Sets that the link should only be used for enrollment in the token vault without any underlying payment transaction.voidSets the error, if an error occurred.voidsetExpiration(Date value) Sets date and time the link will expire.voidSets returns details about the last transaction status.voidsetLinkCode(String value) Sets the code used to retrieve the payment link.voidsetMerchantId(String value) Sets the BlockChyp merchant id associated with a payment link.voidsetOrderRef(String value) Sets the user's internal reference for an order.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidSets the current status of the payment link.voidsetSubject(String value) Sets subject for email notifications.voidsetSuccess(boolean value) Sets whether or not the request succeeded.voidsetTaxAmount(String value) Sets the sales tax to be collected via the payment link.voidsetTaxExempt(boolean value) Sets that the order is tax exempt.voidsetTcAlias(String value) Sets alias for any terms and conditions language associated with the link.voidsetTcContent(String value) Sets full text of any terms and conditions language associated with the agreement.voidSets name of any terms and conditions agreements associated with the payment link.voidSets line item level data if provided.voidSets returns a list of transactions associated with the link, including any declines.voidsetTransactionId(String value) Sets id of the most recent transaction associated with the link.voidsetTransactionRef(String value) Sets the user's internal reference for any transaction that may occur.
-
Constructor Details
-
PaymentLinkStatusResponse
public PaymentLinkStatusResponse()
-
-
Method Details
-
setSuccess
public void setSuccess(boolean value) Sets whether or not the request succeeded.- Parameters:
value- whether or not the request succeeded.
-
isSuccess
public boolean isSuccess()Gets whether or not the request succeeded.- Specified by:
isSuccessin interfaceIAbstractAcknowledgement- Returns:
- whether or not the request succeeded.
-
setError
Sets the error, if an error occurred.- Parameters:
value- the error, if an error occurred.
-
getError
Gets the error, if an error occurred.- Specified by:
getErrorin interfaceIAbstractAcknowledgement- Returns:
- the error, if an error occurred.
-
setResponseDescription
Sets a narrative description of the transaction result.- Parameters:
value- a narrative description of the transaction result.
-
getResponseDescription
Gets a narrative description of the transaction result.- Specified by:
getResponseDescriptionin interfaceIAbstractAcknowledgement- Returns:
- a narrative description of the transaction result.
-
setLinkCode
Sets the code used to retrieve the payment link.- Parameters:
value- the code used to retrieve the payment link.
-
getLinkCode
Gets the code used to retrieve the payment link.- Returns:
- the code used to retrieve the payment link.
-
setMerchantId
Sets the BlockChyp merchant id associated with a payment link.- Parameters:
value- the BlockChyp merchant id associated with a payment link.
-
getMerchantId
Gets the BlockChyp merchant id associated with a payment link.- Returns:
- the BlockChyp merchant id associated with a payment link.
-
setCustomerId
Sets the customer id associated with a payment link.- Parameters:
value- the customer id associated with a payment link.
-
getCustomerId
Gets the customer id associated with a payment link.- Returns:
- the customer id associated with a payment link.
-
setTransactionRef
Sets the user's internal reference for any transaction that may occur.- Parameters:
value- the user's internal reference for any transaction that may occur.
-
getTransactionRef
Gets the user's internal reference for any transaction that may occur.- Returns:
- the user's internal reference for any transaction that may occur.
-
setOrderRef
Sets the user's internal reference for an order.- Parameters:
value- the user's internal reference for an order.
-
getOrderRef
Gets the user's internal reference for an order.- Returns:
- the user's internal reference for an order.
-
setTaxExempt
public void setTaxExempt(boolean value) Sets that the order is tax exempt.- Parameters:
value- that the order is tax exempt.
-
isTaxExempt
public boolean isTaxExempt()Gets that the order is tax exempt.- Returns:
- that the order is tax exempt.
-
setAmount
Sets that the amount to collect via the payment link.- Parameters:
value- that the amount to collect via the payment link.
-
getAmount
Gets that the amount to collect via the payment link.- Returns:
- that the amount to collect via the payment link.
-
setTaxAmount
Sets the sales tax to be collected via the payment link.- Parameters:
value- the sales tax to be collected via the payment link.
-
getTaxAmount
Gets the sales tax to be collected via the payment link.- Returns:
- the sales tax to be collected via the payment link.
-
setSubject
Sets subject for email notifications.- Parameters:
value- subject for email notifications.
-
getSubject
Gets subject for email notifications.- Returns:
- subject for email notifications.
-
setTransactionId
Sets id of the most recent transaction associated with the link.- Parameters:
value- id of the most recent transaction associated with the link.
-
getTransactionId
Gets id of the most recent transaction associated with the link.- Returns:
- id of the most recent transaction associated with the link.
-
setDescription
Sets description associated with the payment link.- Parameters:
value- description associated with the payment link.
-
getDescription
Gets description associated with the payment link.- Returns:
- description associated with the payment link.
-
setExpiration
Sets date and time the link will expire.- Parameters:
value- date and time the link will expire.
-
getExpiration
Gets date and time the link will expire.- Returns:
- date and time the link will expire.
-
setDateCreated
Sets date and time the link was created.- Parameters:
value- date and time the link was created.
-
getDateCreated
Gets date and time the link was created.- Returns:
- date and time the link was created.
-
setTransactionDetails
Sets line item level data if provided.- Parameters:
value- line item level data if provided.
-
getTransactionDetails
Gets line item level data if provided.- Returns:
- line item level data if provided.
-
setStatus
Sets the current status of the payment link.- Parameters:
value- the current status of the payment link.
-
getStatus
Gets the current status of the payment link.- Returns:
- the current status of the payment link.
-
setTcAlias
Sets alias for any terms and conditions language associated with the link.- Parameters:
value- alias for any terms and conditions language associated with the link.
-
getTcAlias
Gets alias for any terms and conditions language associated with the link.- Returns:
- alias for any terms and conditions language associated with the link.
-
setTcName
Sets name of any terms and conditions agreements associated with the payment link.- Parameters:
value- name of any terms and conditions agreements associated with the payment link.
-
getTcName
Gets name of any terms and conditions agreements associated with the payment link.- Returns:
- name of any terms and conditions agreements associated with the payment link.
-
setTcContent
Sets full text of any terms and conditions language associated with the agreement.- Parameters:
value- full text of any terms and conditions language associated with the agreement.
-
getTcContent
Gets full text of any terms and conditions language associated with the agreement.- Returns:
- full text of any terms and conditions language associated with the agreement.
-
setCashierFacing
public void setCashierFacing(boolean value) Sets that the link is intended for internal use by the merchant.- Parameters:
value- that the link is intended for internal use by the merchant.
-
isCashierFacing
public boolean isCashierFacing()Gets that the link is intended for internal use by the merchant.- Returns:
- that the link is intended for internal use by the merchant.
-
setEnroll
public void setEnroll(boolean value) Sets that the payment method should be enrolled in the token vault.- Parameters:
value- that the payment method should be enrolled in the token vault.
-
isEnroll
public boolean isEnroll()Gets that the payment method should be enrolled in the token vault.- Returns:
- that the payment method should be enrolled in the token vault.
-
setEnrollOnly
public void setEnrollOnly(boolean value) Sets that the link should only be used for enrollment in the token vault without any underlying payment transaction.- Parameters:
value- that the link should only be used for enrollment in the token vault without any underlying payment transaction.
-
isEnrollOnly
public boolean isEnrollOnly()Gets that the link should only be used for enrollment in the token vault without any underlying payment transaction.- Returns:
- that the link should only be used for enrollment in the token vault without any underlying payment transaction.
-
setLastTransaction
Sets returns details about the last transaction status.- Parameters:
value- returns details about the last transaction status.
-
getLastTransaction
Gets returns details about the last transaction status.- Returns:
- returns details about the last transaction status.
-
setTransactionHistory
Sets returns a list of transactions associated with the link, including any declines.- Parameters:
value- returns a list of transactions associated with the link, including any declines.
-
getTransactionHistory
Gets returns a list of transactions associated with the link, including any declines.- Returns:
- returns a list of transactions associated with the link, including any declines.
-
addTransactionHistory
Adds a returns a list of transactions associated with the link, including any declines.- Parameters:
value- returns a list of transactions associated with the link, including any declines.
-