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 -
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • 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)
        Print a merchant receipt when the transaction is cancelled.
        Parameters:
        merchantCancelled -
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • 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)
        Print a merchant receipt when capturing the payment is approved.
        Parameters:
        merchantCaptureApproved -
        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
      • setMerchantCaptureApproved

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

        public ReceiptPrinting merchantCaptureRefused​(Boolean merchantCaptureRefused)
        Print a merchant receipt when capturing the payment is refused.
        Parameters:
        merchantCaptureRefused -
        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
      • setMerchantCaptureRefused

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

        public ReceiptPrinting merchantRefundApproved​(Boolean merchantRefundApproved)
        Print a merchant receipt when the refund is approved.
        Parameters:
        merchantRefundApproved -
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • 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)
        Print a merchant receipt when the refund is refused.
        Parameters:
        merchantRefundRefused -
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • 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)
        Print a merchant receipt when the payment is refused.
        Parameters:
        merchantRefused -
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • 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)
        Print a merchant receipt when a previous transaction is voided.
        Parameters:
        merchantVoid -
        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
      • setMerchantVoid

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

        public ReceiptPrinting shopperApproved​(Boolean shopperApproved)
        Print a shopper receipt when the payment is approved.
        Parameters:
        shopperApproved -
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • 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)
        Print a shopper receipt when the transaction is cancelled.
        Parameters:
        shopperCancelled -
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • 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)
        Print a shopper receipt when capturing the payment is approved.
        Parameters:
        shopperCaptureApproved -
        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
      • setShopperCaptureApproved

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

        public ReceiptPrinting shopperCaptureRefused​(Boolean shopperCaptureRefused)
        Print a shopper receipt when capturing the payment is refused.
        Parameters:
        shopperCaptureRefused -
        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
      • setShopperCaptureRefused

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

        public ReceiptPrinting shopperRefundApproved​(Boolean shopperRefundApproved)
        Print a shopper receipt when the refund is approved.
        Parameters:
        shopperRefundApproved -
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • 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)
        Print a shopper receipt when the refund is refused.
        Parameters:
        shopperRefundRefused -
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • 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)
        Print a shopper receipt when the payment is refused.
        Parameters:
        shopperRefused -
        Returns:
        the current ReceiptPrinting instance, allowing for method chaining
      • 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)
        Print a shopper receipt when a previous transaction is voided.
        Parameters:
        shopperVoid -
        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
      • 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.
        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