Class PaymentNetworkResponse
- java.lang.Object
-
- com.orbipay.paymentsapi.client.wrappers.PaymentNetworkResponse
-
public class PaymentNetworkResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PaymentNetworkResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentNetworkResponse
fromJson(java.lang.String json)
java.lang.String
getPaymentAuthCode()
The Auth Code returned by the card gateway.java.lang.String
getPaymentResponseCode()
This is the ACH return code in the case of a returned payment over the NACHA ACH network.java.lang.String
getPaymentResponseMsg()
The text describing the appropriate code captured in the payment_response_code as received from the corresponding payment network.java.lang.String
toJson()
-
-
-
Method Detail
-
getPaymentAuthCode
public java.lang.String getPaymentAuthCode()
The Auth Code returned by the card gateway. This is relevant only for card payments.- Returns:
- paymentAuthCode
-
getPaymentResponseCode
public java.lang.String getPaymentResponseCode()
This is the ACH return code in the case of a returned payment over the NACHA ACH network. In the case of declined card payment, it's the decline code received from the card issuer or the card processor. In the case of a card chargeback, it's the chargeback code received from the card network.- Returns:
- paymentResponseCode
-
getPaymentResponseMsg
public java.lang.String getPaymentResponseMsg()
The text describing the appropriate code captured in the payment_response_code as received from the corresponding payment network.- Returns:
- paymentResponseMsg
-
fromJson
public static PaymentNetworkResponse fromJson(java.lang.String json) throws OrbipayApiException
- Throws:
OrbipayApiException
-
toJson
public java.lang.String toJson() throws OrbipayApiException
- Throws:
OrbipayApiException
-
-