Class ReceiptPrinting


  • public class ReceiptPrinting
    extends Object
    ReceiptPrinting
    • Constructor Detail

      • ReceiptPrinting

        public ReceiptPrinting()
    • Method Detail

      • merchantApproved

        public ReceiptPrinting merchantApproved​(Boolean merchantApproved)
        Print a merchant receipt when the payment is approved.
        Parameters:
        merchantApproved - Print a merchant receipt when the payment is approved.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getMerchantApproved

        public Boolean getMerchantApproved()
        Print a merchant receipt when the payment is approved.
        Returns:
        merchantApproved Print a merchant receipt when the payment is approved.
      • setMerchantApproved

        public void setMerchantApproved​(Boolean merchantApproved)
        Print a merchant receipt when the payment is approved.
        Parameters:
        merchantApproved - Print a merchant receipt when the payment is approved.
      • merchantCancelled

        public ReceiptPrinting merchantCancelled​(Boolean merchantCancelled)
        Print a merchant receipt when the transaction is cancelled.
        Parameters:
        merchantCancelled - Print a merchant receipt when the transaction is cancelled.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getMerchantCancelled

        public Boolean getMerchantCancelled()
        Print a merchant receipt when the transaction is cancelled.
        Returns:
        merchantCancelled Print a merchant receipt when the transaction is cancelled.
      • setMerchantCancelled

        public void setMerchantCancelled​(Boolean merchantCancelled)
        Print a merchant receipt when the transaction is cancelled.
        Parameters:
        merchantCancelled - Print a merchant receipt when the transaction is cancelled.
      • merchantCaptureApproved

        public ReceiptPrinting merchantCaptureApproved​(Boolean merchantCaptureApproved)
        Print a merchant receipt when capturing the payment is approved.
        Parameters:
        merchantCaptureApproved - Print a merchant receipt when capturing the payment is approved.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getMerchantCaptureApproved

        public Boolean getMerchantCaptureApproved()
        Print a merchant receipt when capturing the payment is approved.
        Returns:
        merchantCaptureApproved Print a merchant receipt when capturing the payment is approved.
      • setMerchantCaptureApproved

        public void setMerchantCaptureApproved​(Boolean merchantCaptureApproved)
        Print a merchant receipt when capturing the payment is approved.
        Parameters:
        merchantCaptureApproved - Print a merchant receipt when capturing the payment is approved.
      • merchantCaptureRefused

        public ReceiptPrinting merchantCaptureRefused​(Boolean merchantCaptureRefused)
        Print a merchant receipt when capturing the payment is refused.
        Parameters:
        merchantCaptureRefused - Print a merchant receipt when capturing the payment is refused.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getMerchantCaptureRefused

        public Boolean getMerchantCaptureRefused()
        Print a merchant receipt when capturing the payment is refused.
        Returns:
        merchantCaptureRefused Print a merchant receipt when capturing the payment is refused.
      • setMerchantCaptureRefused

        public void setMerchantCaptureRefused​(Boolean merchantCaptureRefused)
        Print a merchant receipt when capturing the payment is refused.
        Parameters:
        merchantCaptureRefused - Print a merchant receipt when capturing the payment is refused.
      • merchantRefundApproved

        public ReceiptPrinting merchantRefundApproved​(Boolean merchantRefundApproved)
        Print a merchant receipt when the refund is approved.
        Parameters:
        merchantRefundApproved - Print a merchant receipt when the refund is approved.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getMerchantRefundApproved

        public Boolean getMerchantRefundApproved()
        Print a merchant receipt when the refund is approved.
        Returns:
        merchantRefundApproved Print a merchant receipt when the refund is approved.
      • setMerchantRefundApproved

        public void setMerchantRefundApproved​(Boolean merchantRefundApproved)
        Print a merchant receipt when the refund is approved.
        Parameters:
        merchantRefundApproved - Print a merchant receipt when the refund is approved.
      • merchantRefundRefused

        public ReceiptPrinting merchantRefundRefused​(Boolean merchantRefundRefused)
        Print a merchant receipt when the refund is refused.
        Parameters:
        merchantRefundRefused - Print a merchant receipt when the refund is refused.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getMerchantRefundRefused

        public Boolean getMerchantRefundRefused()
        Print a merchant receipt when the refund is refused.
        Returns:
        merchantRefundRefused Print a merchant receipt when the refund is refused.
      • setMerchantRefundRefused

        public void setMerchantRefundRefused​(Boolean merchantRefundRefused)
        Print a merchant receipt when the refund is refused.
        Parameters:
        merchantRefundRefused - Print a merchant receipt when the refund is refused.
      • merchantRefused

        public ReceiptPrinting merchantRefused​(Boolean merchantRefused)
        Print a merchant receipt when the payment is refused.
        Parameters:
        merchantRefused - Print a merchant receipt when the payment is refused.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getMerchantRefused

        public Boolean getMerchantRefused()
        Print a merchant receipt when the payment is refused.
        Returns:
        merchantRefused Print a merchant receipt when the payment is refused.
      • setMerchantRefused

        public void setMerchantRefused​(Boolean merchantRefused)
        Print a merchant receipt when the payment is refused.
        Parameters:
        merchantRefused - Print a merchant receipt when the payment is refused.
      • merchantVoid

        public ReceiptPrinting merchantVoid​(Boolean merchantVoid)
        Print a merchant receipt when a previous transaction is voided.
        Parameters:
        merchantVoid - Print a merchant receipt when a previous transaction is voided.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getMerchantVoid

        public Boolean getMerchantVoid()
        Print a merchant receipt when a previous transaction is voided.
        Returns:
        merchantVoid Print a merchant receipt when a previous transaction is voided.
      • setMerchantVoid

        public void setMerchantVoid​(Boolean merchantVoid)
        Print a merchant receipt when a previous transaction is voided.
        Parameters:
        merchantVoid - Print a merchant receipt when a previous transaction is voided.
      • shopperApproved

        public ReceiptPrinting shopperApproved​(Boolean shopperApproved)
        Print a shopper receipt when the payment is approved.
        Parameters:
        shopperApproved - Print a shopper receipt when the payment is approved.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getShopperApproved

        public Boolean getShopperApproved()
        Print a shopper receipt when the payment is approved.
        Returns:
        shopperApproved Print a shopper receipt when the payment is approved.
      • setShopperApproved

        public void setShopperApproved​(Boolean shopperApproved)
        Print a shopper receipt when the payment is approved.
        Parameters:
        shopperApproved - Print a shopper receipt when the payment is approved.
      • shopperCancelled

        public ReceiptPrinting shopperCancelled​(Boolean shopperCancelled)
        Print a shopper receipt when the transaction is cancelled.
        Parameters:
        shopperCancelled - Print a shopper receipt when the transaction is cancelled.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getShopperCancelled

        public Boolean getShopperCancelled()
        Print a shopper receipt when the transaction is cancelled.
        Returns:
        shopperCancelled Print a shopper receipt when the transaction is cancelled.
      • setShopperCancelled

        public void setShopperCancelled​(Boolean shopperCancelled)
        Print a shopper receipt when the transaction is cancelled.
        Parameters:
        shopperCancelled - Print a shopper receipt when the transaction is cancelled.
      • shopperCaptureApproved

        public ReceiptPrinting shopperCaptureApproved​(Boolean shopperCaptureApproved)
        Print a shopper receipt when capturing the payment is approved.
        Parameters:
        shopperCaptureApproved - Print a shopper receipt when capturing the payment is approved.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getShopperCaptureApproved

        public Boolean getShopperCaptureApproved()
        Print a shopper receipt when capturing the payment is approved.
        Returns:
        shopperCaptureApproved Print a shopper receipt when capturing the payment is approved.
      • setShopperCaptureApproved

        public void setShopperCaptureApproved​(Boolean shopperCaptureApproved)
        Print a shopper receipt when capturing the payment is approved.
        Parameters:
        shopperCaptureApproved - Print a shopper receipt when capturing the payment is approved.
      • shopperCaptureRefused

        public ReceiptPrinting shopperCaptureRefused​(Boolean shopperCaptureRefused)
        Print a shopper receipt when capturing the payment is refused.
        Parameters:
        shopperCaptureRefused - Print a shopper receipt when capturing the payment is refused.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getShopperCaptureRefused

        public Boolean getShopperCaptureRefused()
        Print a shopper receipt when capturing the payment is refused.
        Returns:
        shopperCaptureRefused Print a shopper receipt when capturing the payment is refused.
      • setShopperCaptureRefused

        public void setShopperCaptureRefused​(Boolean shopperCaptureRefused)
        Print a shopper receipt when capturing the payment is refused.
        Parameters:
        shopperCaptureRefused - Print a shopper receipt when capturing the payment is refused.
      • shopperRefundApproved

        public ReceiptPrinting shopperRefundApproved​(Boolean shopperRefundApproved)
        Print a shopper receipt when the refund is approved.
        Parameters:
        shopperRefundApproved - Print a shopper receipt when the refund is approved.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getShopperRefundApproved

        public Boolean getShopperRefundApproved()
        Print a shopper receipt when the refund is approved.
        Returns:
        shopperRefundApproved Print a shopper receipt when the refund is approved.
      • setShopperRefundApproved

        public void setShopperRefundApproved​(Boolean shopperRefundApproved)
        Print a shopper receipt when the refund is approved.
        Parameters:
        shopperRefundApproved - Print a shopper receipt when the refund is approved.
      • shopperRefundRefused

        public ReceiptPrinting shopperRefundRefused​(Boolean shopperRefundRefused)
        Print a shopper receipt when the refund is refused.
        Parameters:
        shopperRefundRefused - Print a shopper receipt when the refund is refused.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getShopperRefundRefused

        public Boolean getShopperRefundRefused()
        Print a shopper receipt when the refund is refused.
        Returns:
        shopperRefundRefused Print a shopper receipt when the refund is refused.
      • setShopperRefundRefused

        public void setShopperRefundRefused​(Boolean shopperRefundRefused)
        Print a shopper receipt when the refund is refused.
        Parameters:
        shopperRefundRefused - Print a shopper receipt when the refund is refused.
      • shopperRefused

        public ReceiptPrinting shopperRefused​(Boolean shopperRefused)
        Print a shopper receipt when the payment is refused.
        Parameters:
        shopperRefused - Print a shopper receipt when the payment is refused.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getShopperRefused

        public Boolean getShopperRefused()
        Print a shopper receipt when the payment is refused.
        Returns:
        shopperRefused Print a shopper receipt when the payment is refused.
      • setShopperRefused

        public void setShopperRefused​(Boolean shopperRefused)
        Print a shopper receipt when the payment is refused.
        Parameters:
        shopperRefused - Print a shopper receipt when the payment is refused.
      • shopperVoid

        public ReceiptPrinting shopperVoid​(Boolean shopperVoid)
        Print a shopper receipt when a previous transaction is voided.
        Parameters:
        shopperVoid - Print a shopper receipt when a previous transaction is voided.
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • getShopperVoid

        public Boolean getShopperVoid()
        Print a shopper receipt when a previous transaction is voided.
        Returns:
        shopperVoid Print a shopper receipt when a previous transaction is voided.
      • setShopperVoid

        public void setShopperVoid​(Boolean shopperVoid)
        Print a shopper receipt when a previous transaction is voided.
        Parameters:
        shopperVoid - Print a shopper receipt when a previous transaction is voided.
      • equals

        public boolean equals​(Object o)
        Return true if this ReceiptPrinting object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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