Class ReversalRequest


  • public class ReversalRequest
    extends Object
    Definition: Content of the Reversal Request messageType. -- Usage: It conveys Information related to the reversal of a previous payment or a loyalty transaction.

    Java class for ReversalRequest complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ReversalRequest">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="OriginalPOITransaction" type="{}OriginalPOITransaction"/>
             <element name="CustomerOrderID" type="{}CustomerOrder" minOccurs="0"/>
           </sequence>
           <attribute name="SaleReferenceID" type="{}SaleReferenceID" />
           <attribute name="ReversalReason" use="required" type="{}ReversalReasonType" />
           <attribute name="ReversedAmount" type="{}SimpleAmountType" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • originalPOITransaction

        protected OriginalPOITransaction originalPOITransaction
        The Original poi transaction.
      • customerOrderID

        protected CustomerOrder customerOrderID
        The Customer order id.
      • saleReferenceID

        protected String saleReferenceID
        The Sale reference id.
      • reversedAmount

        protected BigDecimal reversedAmount
        The Reversed amount.
      • saleData

        protected SaleData saleData
        The Sale data.
    • Constructor Detail

      • ReversalRequest

        public ReversalRequest()
    • Method Detail

      • getCustomerOrderID

        public CustomerOrder getCustomerOrderID()
        Gets the value of the customerOrderID property.
        Returns:
        possible object is CustomerOrder
      • setCustomerOrderID

        public void setCustomerOrderID​(CustomerOrder value)
        Sets the value of the customerOrderID property.
        Parameters:
        value - allowed object is CustomerOrder
      • getSaleReferenceID

        public String getSaleReferenceID()
        Gets the value of the saleReferenceID property.
        Returns:
        possible object is String
      • setSaleReferenceID

        public void setSaleReferenceID​(String value)
        Sets the value of the saleReferenceID property.
        Parameters:
        value - allowed object is String
      • setReversalReason

        public void setReversalReason​(ReversalReasonType value)
        Sets the value of the reversalReason property.
        Parameters:
        value - allowed object is ReversalReasonType
      • getReversedAmount

        public BigDecimal getReversedAmount()
        Gets the value of the reversedAmount property.
        Returns:
        possible object is BigDecimal
      • setReversedAmount

        public void setReversedAmount​(BigDecimal value)
        Sets the value of the reversedAmount property.
        Parameters:
        value - allowed object is BigDecimal
      • getSaleData

        public SaleData getSaleData()
        Gets the value of the saleData property.
        Returns:
        possible object is SaleData
      • setSaleData

        public void setSaleData​(SaleData value)
        Sets the value of the saleData property.
        Parameters:
        value - allowed object is SaleData