Class Payment

    • Field Detail

      • method

        @JsonPropertyDescription("The method by which the payment was received.")
        private Method method
        Method

        The method by which the payment was received. (Required)

      • externalReference

        @JsonPropertyDescription("Reference information about a payment (as required based on payment method). This can be a confirmation number, credit card transaction code, or check number.")
        private String externalReference
        External Reference

        Reference information about a payment (as required based on payment method). This can be a confirmation number, credit card transaction code, or check number.

      • tenderTypeDetail

        @JsonPropertyDescription("Details associated with the type of payment.")
        private Object tenderTypeDetail
        Tender Type Detail

        Details associated with the type of payment.

    • Constructor Detail

      • Payment

        public Payment()
    • Method Detail

      • getMethod

        public Method getMethod()
        Method

        The method by which the payment was received. (Required)

      • setMethod

        public void setMethod​(Method method)
        Method

        The method by which the payment was received. (Required)

      • getExternalReference

        public String getExternalReference()
        External Reference

        Reference information about a payment (as required based on payment method). This can be a confirmation number, credit card transaction code, or check number.

      • setExternalReference

        public void setExternalReference​(String externalReference)
        External Reference

        Reference information about a payment (as required based on payment method). This can be a confirmation number, credit card transaction code, or check number.

      • withExternalReference

        public Payment withExternalReference​(String externalReference)
      • getTenderTypeDetail

        public Object getTenderTypeDetail()
        Tender Type Detail

        Details associated with the type of payment.

      • setTenderTypeDetail

        public void setTenderTypeDetail​(Object tenderTypeDetail)
        Tender Type Detail

        Details associated with the type of payment.

      • withTenderTypeDetail

        public Payment withTenderTypeDetail​(Object tenderTypeDetail)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object