Class Order
java.lang.Object
in.juspay.model.JuspayEntity
in.juspay.model.Order
-
Nested Class Summary
Nested classes/interfaces inherited from class in.juspay.model.JuspayEntity
JuspayEntity.AuthMethod, JuspayEntity.RequestMethod -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Orderstatic Ordercreate(Map<String, Object> params, RequestOptions requestOptions) List<com.google.gson.JsonObject> getCard()getId()getOffer()getTxnId()getUdf1()getUdf10()getUdf2()getUdf3()getUdf4()getUdf5()getUdf6()getUdf7()getUdf8()getUdf9()getUpi()static OrderListDeprecated.static OrderListlist(Map<String, Object> params, RequestOptions requestOptions) Deprecated.static TxnDetailListstatic TxnDetailListstatic Orderstatic Orderstatic Refundstatic Refundrefund(Map<String, Object> params, RequestOptions requestOptions) voidvoidsetAmountRefunded(Double amountRefunded) voidsetAuthType(String authType) voidsetBankErrorCode(String bankErrorCode) voidsetBankErrorMessage(String bankErrorMessage) voidvoidvoidsetChargebacks(List<Chargeback> chargebacks) voidsetCurrency(String currency) voidsetCustomerEmail(String customerEmail) voidsetCustomerId(String customerId) voidsetCustomerPhone(String customerPhone) voidsetDescription(String description) voidsetEffectiveAmount(Double effectiveAmount) voidsetEmiBank(String emiBank) voidsetEmiDetails(Map<String, Object> emiDetails) voidsetEmiTenure(Integer emiTenure) voidsetEmiType(String emiType) voidsetGatewayId(Long gatewayId) voidsetGatewayPayload(String gatewayPayload) voidsetGatewayReferenceId(String gatewayReferenceId) voidvoidsetJuspayOptions(JuspayOptions juspayOptions) voidsetMandate(Mandate mandate) voidsetMerchantId(String merchantId) voidsetOffer(TxnOfferInfo offer) voidvoidsetOrderId(String orderId) voidsetPayerAppName(String payerAppName) voidsetPayerVpa(String payerVpa) voidsetPaymentGatewayResponse(PaymentGatewayResponse paymentGatewayResponse) voidsetPaymentLinks(PaymentLinks paymentLinks) voidsetPaymentMethod(String paymentMethod) voidsetPaymentMethodType(String paymentMethodType) voidsetProductId(String productId) voidsetRefunded(Boolean refunded) voidsetRefunds(List<Refund> refunds) voidsetRespCode(String respCode) voidsetRespMessage(String respMessage) voidsetReturnUrl(String returnUrl) voidsetSecondFactorResponse(SecondFactorResponse secondFactorResponse) voidvoidsetStatusId(Long statusId) voidsetTxnDetail(TxnDetail txnDetail) voidsetTxnFlowInfo(TxnFlowInfo txnFlowInfo) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetWallet(WalletTopup wallet) static Orderstatic Orderstatus(String orderId, RequestOptions requestOptions) static Orderstatic Orderstatic Orderstatic Orderstatic OrderMethods inherited from class in.juspay.model.JuspayEntity
addInputParamsToResponse, createEntityFromResponse, decryptResponse, encryptRequest, getEncryptionMethodBasedOnConfig, makeServiceCall, makeServiceCall, makeServiceCallWithAuthDecider
-
Constructor Details
-
Order
public Order()
-
-
Method Details
-
create
public static Order create(Map<String, Object> params) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
create
public static Order create(Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
status
public static Order status(String orderId) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
status
public static Order status(String orderId, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
status
public static Order status(Map<String, Object> params) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
status
public static Order status(String orderId, Map<String, Object> params) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
status
public static Order status(String orderId, Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
update
public static Order update(String orderId, Map<String, Object> params) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
update
public static Order update(String orderId, Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
list
@Deprecated public static OrderList list(Map<String, Object> params) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestExceptionDeprecated. -
list
@Deprecated public static OrderList list(Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestExceptionDeprecated. -
listTxns
public static TxnDetailList listTxns(String orderId, Map<String, Object> params) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
listTxns
public static TxnDetailList listTxns(String orderId, Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
refund
public static Order refund(String orderId, Map<String, Object> params) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
refund
public static Order refund(String orderId, Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
refund
public static Refund refund(Map<String, Object> params) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
refund
public static Refund refund(Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
getOrderId
-
setOrderId
-
getAmount
-
setAmount
-
getCurrency
-
setCurrency
-
getCustomerId
-
setCustomerId
-
getCustomerEmail
-
setCustomerEmail
-
getCustomerPhone
-
setCustomerPhone
-
getDescription
-
setDescription
-
getProductId
-
setProductId
-
getGatewayId
-
setGatewayId
-
getReturnUrl
-
setReturnUrl
-
getUdf1
-
setUdf1
-
getUdf2
-
setUdf2
-
getUdf3
-
setUdf3
-
getUdf4
-
setUdf4
-
getUdf5
-
setUdf5
-
getUdf6
-
setUdf6
-
getUdf7
-
setUdf7
-
getUdf8
-
setUdf8
-
getUdf9
-
setUdf9
-
getUdf10
-
setUdf10
-
getId
-
setId
-
getStatus
-
setStatus
-
getStatusId
-
setStatusId
-
getMerchantId
-
setMerchantId
-
getRefunded
-
setRefunded
-
getAmountRefunded
-
setAmountRefunded
-
getTxnId
-
setTxnId
-
getBankErrorCode
-
setBankErrorCode
-
getPaymentMethod
-
setPaymentMethod
-
getPaymentMethodType
-
setPaymentMethodType
-
getBankErrorMessage
-
setBankErrorMessage
-
getGatewayReferenceId
-
setGatewayReferenceId
-
getAuthType
-
setAuthType
-
getGatewayPayload
-
setGatewayPayload
-
getCard
-
setCard
-
getPaymentGatewayResponse
-
setPaymentGatewayResponse
-
getRefunds
-
setRefunds
-
getPaymentLinks
-
setPaymentLinks
-
getTxnDetail
-
setTxnDetail
-
getOffer
-
setOffer
-
getOffers
-
setOffers
-
getChargebacks
-
setChargebacks
-
getMandate
-
setMandate
-
getJuspayOptions
-
setJuspayOptions
-
getPayerVpa
-
setPayerVpa
-
getPayerAppName
-
setPayerAppName
-
getTxnFlowInfo
-
setTxnFlowInfo
-
getSecondFactorResponse
-
setSecondFactorResponse
-
getUpi
-
setUpi
-
getEffectiveAmount
-
setEffectiveAmount
-
getRespCode
-
setRespCode
-
getRespMessage
-
setRespMessage
-
getWallet
-
setWallet
-
setEmiBank
-
getEmiBank
-
setEmiType
-
getEmiType
-
setEmiDetails
-
getEmiDetails
-
setEmiTenure
-
getEmiTenure
-
setBasket
-
getBasket
-
getConflicted
-
getRefundSupported
-
getCapturedAmount
-
getRefundableAmount
-
getPaidAmount
-
getAmountDebited
-
getMaximumEligibleRefundAmount
-
getOrderExpiry
-
getDeepLink
-
getRespCategory
-