Package com.adyen.model.management
Class ReceiptPrinting
- java.lang.Object
-
- com.adyen.model.management.ReceiptPrinting
-
public class ReceiptPrinting extends Object
ReceiptPrinting
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MERCHANT_APPROVEDstatic StringJSON_PROPERTY_MERCHANT_CANCELLEDstatic StringJSON_PROPERTY_MERCHANT_CAPTURE_APPROVEDstatic StringJSON_PROPERTY_MERCHANT_CAPTURE_REFUSEDstatic StringJSON_PROPERTY_MERCHANT_REFUND_APPROVEDstatic StringJSON_PROPERTY_MERCHANT_REFUND_REFUSEDstatic StringJSON_PROPERTY_MERCHANT_REFUSEDstatic StringJSON_PROPERTY_MERCHANT_VOIDstatic StringJSON_PROPERTY_SHOPPER_APPROVEDstatic StringJSON_PROPERTY_SHOPPER_CANCELLEDstatic StringJSON_PROPERTY_SHOPPER_CAPTURE_APPROVEDstatic StringJSON_PROPERTY_SHOPPER_CAPTURE_REFUSEDstatic StringJSON_PROPERTY_SHOPPER_REFUND_APPROVEDstatic StringJSON_PROPERTY_SHOPPER_REFUND_REFUSEDstatic StringJSON_PROPERTY_SHOPPER_REFUSEDstatic StringJSON_PROPERTY_SHOPPER_VOID
-
Constructor Summary
Constructors Constructor Description ReceiptPrinting()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this ReceiptPrinting object is equal to o.static ReceiptPrintingfromJson(String jsonString)Create an instance of ReceiptPrinting given an JSON stringBooleangetMerchantApproved()Print a merchant receipt when the payment is approved.BooleangetMerchantCancelled()Print a merchant receipt when the transaction is cancelled.BooleangetMerchantCaptureApproved()Print a merchant receipt when capturing the payment is approved.BooleangetMerchantCaptureRefused()Print a merchant receipt when capturing the payment is refused.BooleangetMerchantRefundApproved()Print a merchant receipt when the refund is approved.BooleangetMerchantRefundRefused()Print a merchant receipt when the refund is refused.BooleangetMerchantRefused()Print a merchant receipt when the payment is refused.BooleangetMerchantVoid()Print a merchant receipt when a previous transaction is voided.BooleangetShopperApproved()Print a shopper receipt when the payment is approved.BooleangetShopperCancelled()Print a shopper receipt when the transaction is cancelled.BooleangetShopperCaptureApproved()Print a shopper receipt when capturing the payment is approved.BooleangetShopperCaptureRefused()Print a shopper receipt when capturing the payment is refused.BooleangetShopperRefundApproved()Print a shopper receipt when the refund is approved.BooleangetShopperRefundRefused()Print a shopper receipt when the refund is refused.BooleangetShopperRefused()Print a shopper receipt when the payment is refused.BooleangetShopperVoid()Print a shopper receipt when a previous transaction is voided.inthashCode()ReceiptPrintingmerchantApproved(Boolean merchantApproved)ReceiptPrintingmerchantCancelled(Boolean merchantCancelled)ReceiptPrintingmerchantCaptureApproved(Boolean merchantCaptureApproved)ReceiptPrintingmerchantCaptureRefused(Boolean merchantCaptureRefused)ReceiptPrintingmerchantRefundApproved(Boolean merchantRefundApproved)ReceiptPrintingmerchantRefundRefused(Boolean merchantRefundRefused)ReceiptPrintingmerchantRefused(Boolean merchantRefused)ReceiptPrintingmerchantVoid(Boolean merchantVoid)voidsetMerchantApproved(Boolean merchantApproved)Print a merchant receipt when the payment is approved.voidsetMerchantCancelled(Boolean merchantCancelled)Print a merchant receipt when the transaction is cancelled.voidsetMerchantCaptureApproved(Boolean merchantCaptureApproved)Print a merchant receipt when capturing the payment is approved.voidsetMerchantCaptureRefused(Boolean merchantCaptureRefused)Print a merchant receipt when capturing the payment is refused.voidsetMerchantRefundApproved(Boolean merchantRefundApproved)Print a merchant receipt when the refund is approved.voidsetMerchantRefundRefused(Boolean merchantRefundRefused)Print a merchant receipt when the refund is refused.voidsetMerchantRefused(Boolean merchantRefused)Print a merchant receipt when the payment is refused.voidsetMerchantVoid(Boolean merchantVoid)Print a merchant receipt when a previous transaction is voided.voidsetShopperApproved(Boolean shopperApproved)Print a shopper receipt when the payment is approved.voidsetShopperCancelled(Boolean shopperCancelled)Print a shopper receipt when the transaction is cancelled.voidsetShopperCaptureApproved(Boolean shopperCaptureApproved)Print a shopper receipt when capturing the payment is approved.voidsetShopperCaptureRefused(Boolean shopperCaptureRefused)Print a shopper receipt when capturing the payment is refused.voidsetShopperRefundApproved(Boolean shopperRefundApproved)Print a shopper receipt when the refund is approved.voidsetShopperRefundRefused(Boolean shopperRefundRefused)Print a shopper receipt when the refund is refused.voidsetShopperRefused(Boolean shopperRefused)Print a shopper receipt when the payment is refused.voidsetShopperVoid(Boolean shopperVoid)Print a shopper receipt when a previous transaction is voided.ReceiptPrintingshopperApproved(Boolean shopperApproved)ReceiptPrintingshopperCancelled(Boolean shopperCancelled)ReceiptPrintingshopperCaptureApproved(Boolean shopperCaptureApproved)ReceiptPrintingshopperCaptureRefused(Boolean shopperCaptureRefused)ReceiptPrintingshopperRefundApproved(Boolean shopperRefundApproved)ReceiptPrintingshopperRefundRefused(Boolean shopperRefundRefused)ReceiptPrintingshopperRefused(Boolean shopperRefused)ReceiptPrintingshopperVoid(Boolean shopperVoid)StringtoJson()Convert an instance of ReceiptPrinting to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_MERCHANT_APPROVED
public static final String JSON_PROPERTY_MERCHANT_APPROVED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_CANCELLED
public static final String JSON_PROPERTY_MERCHANT_CANCELLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_CAPTURE_APPROVED
public static final String JSON_PROPERTY_MERCHANT_CAPTURE_APPROVED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_CAPTURE_REFUSED
public static final String JSON_PROPERTY_MERCHANT_CAPTURE_REFUSED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_REFUND_APPROVED
public static final String JSON_PROPERTY_MERCHANT_REFUND_APPROVED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_REFUND_REFUSED
public static final String JSON_PROPERTY_MERCHANT_REFUND_REFUSED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_REFUSED
public static final String JSON_PROPERTY_MERCHANT_REFUSED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_VOID
public static final String JSON_PROPERTY_MERCHANT_VOID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_APPROVED
public static final String JSON_PROPERTY_SHOPPER_APPROVED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_CANCELLED
public static final String JSON_PROPERTY_SHOPPER_CANCELLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_CAPTURE_APPROVED
public static final String JSON_PROPERTY_SHOPPER_CAPTURE_APPROVED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_CAPTURE_REFUSED
public static final String JSON_PROPERTY_SHOPPER_CAPTURE_REFUSED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_REFUND_APPROVED
public static final String JSON_PROPERTY_SHOPPER_REFUND_APPROVED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_REFUND_REFUSED
public static final String JSON_PROPERTY_SHOPPER_REFUND_REFUSED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_REFUSED
public static final String JSON_PROPERTY_SHOPPER_REFUSED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_VOID
public static final String JSON_PROPERTY_SHOPPER_VOID
- See Also:
- Constant Field Values
-
-
Method Detail
-
merchantApproved
public ReceiptPrinting merchantApproved(Boolean merchantApproved)
-
getMerchantApproved
public Boolean getMerchantApproved()
Print a merchant receipt when the payment is approved.- Returns:
- merchantApproved
-
setMerchantApproved
public void setMerchantApproved(Boolean merchantApproved)
Print a merchant receipt when the payment is approved.- Parameters:
merchantApproved-
-
merchantCancelled
public ReceiptPrinting merchantCancelled(Boolean merchantCancelled)
-
getMerchantCancelled
public Boolean getMerchantCancelled()
Print a merchant receipt when the transaction is cancelled.- Returns:
- merchantCancelled
-
setMerchantCancelled
public void setMerchantCancelled(Boolean merchantCancelled)
Print a merchant receipt when the transaction is cancelled.- Parameters:
merchantCancelled-
-
merchantCaptureApproved
public ReceiptPrinting merchantCaptureApproved(Boolean merchantCaptureApproved)
-
getMerchantCaptureApproved
public Boolean getMerchantCaptureApproved()
Print a merchant receipt when capturing the payment is approved.- Returns:
- merchantCaptureApproved
-
setMerchantCaptureApproved
public void setMerchantCaptureApproved(Boolean merchantCaptureApproved)
Print a merchant receipt when capturing the payment is approved.- Parameters:
merchantCaptureApproved-
-
merchantCaptureRefused
public ReceiptPrinting merchantCaptureRefused(Boolean merchantCaptureRefused)
-
getMerchantCaptureRefused
public Boolean getMerchantCaptureRefused()
Print a merchant receipt when capturing the payment is refused.- Returns:
- merchantCaptureRefused
-
setMerchantCaptureRefused
public void setMerchantCaptureRefused(Boolean merchantCaptureRefused)
Print a merchant receipt when capturing the payment is refused.- Parameters:
merchantCaptureRefused-
-
merchantRefundApproved
public ReceiptPrinting merchantRefundApproved(Boolean merchantRefundApproved)
-
getMerchantRefundApproved
public Boolean getMerchantRefundApproved()
Print a merchant receipt when the refund is approved.- Returns:
- merchantRefundApproved
-
setMerchantRefundApproved
public void setMerchantRefundApproved(Boolean merchantRefundApproved)
Print a merchant receipt when the refund is approved.- Parameters:
merchantRefundApproved-
-
merchantRefundRefused
public ReceiptPrinting merchantRefundRefused(Boolean merchantRefundRefused)
-
getMerchantRefundRefused
public Boolean getMerchantRefundRefused()
Print a merchant receipt when the refund is refused.- Returns:
- merchantRefundRefused
-
setMerchantRefundRefused
public void setMerchantRefundRefused(Boolean merchantRefundRefused)
Print a merchant receipt when the refund is refused.- Parameters:
merchantRefundRefused-
-
merchantRefused
public ReceiptPrinting merchantRefused(Boolean merchantRefused)
-
getMerchantRefused
public Boolean getMerchantRefused()
Print a merchant receipt when the payment is refused.- Returns:
- merchantRefused
-
setMerchantRefused
public void setMerchantRefused(Boolean merchantRefused)
Print a merchant receipt when the payment is refused.- Parameters:
merchantRefused-
-
merchantVoid
public ReceiptPrinting merchantVoid(Boolean merchantVoid)
-
getMerchantVoid
public Boolean getMerchantVoid()
Print a merchant receipt when a previous transaction is voided.- Returns:
- merchantVoid
-
setMerchantVoid
public void setMerchantVoid(Boolean merchantVoid)
Print a merchant receipt when a previous transaction is voided.- Parameters:
merchantVoid-
-
shopperApproved
public ReceiptPrinting shopperApproved(Boolean shopperApproved)
-
getShopperApproved
public Boolean getShopperApproved()
Print a shopper receipt when the payment is approved.- Returns:
- shopperApproved
-
setShopperApproved
public void setShopperApproved(Boolean shopperApproved)
Print a shopper receipt when the payment is approved.- Parameters:
shopperApproved-
-
shopperCancelled
public ReceiptPrinting shopperCancelled(Boolean shopperCancelled)
-
getShopperCancelled
public Boolean getShopperCancelled()
Print a shopper receipt when the transaction is cancelled.- Returns:
- shopperCancelled
-
setShopperCancelled
public void setShopperCancelled(Boolean shopperCancelled)
Print a shopper receipt when the transaction is cancelled.- Parameters:
shopperCancelled-
-
shopperCaptureApproved
public ReceiptPrinting shopperCaptureApproved(Boolean shopperCaptureApproved)
-
getShopperCaptureApproved
public Boolean getShopperCaptureApproved()
Print a shopper receipt when capturing the payment is approved.- Returns:
- shopperCaptureApproved
-
setShopperCaptureApproved
public void setShopperCaptureApproved(Boolean shopperCaptureApproved)
Print a shopper receipt when capturing the payment is approved.- Parameters:
shopperCaptureApproved-
-
shopperCaptureRefused
public ReceiptPrinting shopperCaptureRefused(Boolean shopperCaptureRefused)
-
getShopperCaptureRefused
public Boolean getShopperCaptureRefused()
Print a shopper receipt when capturing the payment is refused.- Returns:
- shopperCaptureRefused
-
setShopperCaptureRefused
public void setShopperCaptureRefused(Boolean shopperCaptureRefused)
Print a shopper receipt when capturing the payment is refused.- Parameters:
shopperCaptureRefused-
-
shopperRefundApproved
public ReceiptPrinting shopperRefundApproved(Boolean shopperRefundApproved)
-
getShopperRefundApproved
public Boolean getShopperRefundApproved()
Print a shopper receipt when the refund is approved.- Returns:
- shopperRefundApproved
-
setShopperRefundApproved
public void setShopperRefundApproved(Boolean shopperRefundApproved)
Print a shopper receipt when the refund is approved.- Parameters:
shopperRefundApproved-
-
shopperRefundRefused
public ReceiptPrinting shopperRefundRefused(Boolean shopperRefundRefused)
-
getShopperRefundRefused
public Boolean getShopperRefundRefused()
Print a shopper receipt when the refund is refused.- Returns:
- shopperRefundRefused
-
setShopperRefundRefused
public void setShopperRefundRefused(Boolean shopperRefundRefused)
Print a shopper receipt when the refund is refused.- Parameters:
shopperRefundRefused-
-
shopperRefused
public ReceiptPrinting shopperRefused(Boolean shopperRefused)
-
getShopperRefused
public Boolean getShopperRefused()
Print a shopper receipt when the payment is refused.- Returns:
- shopperRefused
-
setShopperRefused
public void setShopperRefused(Boolean shopperRefused)
Print a shopper receipt when the payment is refused.- Parameters:
shopperRefused-
-
shopperVoid
public ReceiptPrinting shopperVoid(Boolean shopperVoid)
-
getShopperVoid
public Boolean getShopperVoid()
Print a shopper receipt when a previous transaction is voided.- Returns:
- shopperVoid
-
setShopperVoid
public void setShopperVoid(Boolean shopperVoid)
Print a shopper receipt when a previous transaction is voided.- Parameters:
shopperVoid-
-
equals
public boolean equals(Object o)
Return true if this ReceiptPrinting object is equal to o.
-
fromJson
public static ReceiptPrinting fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ReceiptPrinting given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReceiptPrinting
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ReceiptPrinting
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ReceiptPrinting to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-