public class WebstoreClient extends AmazonPayClient
payConfiguration, queryParametersMap, requestSigner| Constructor and Description |
|---|
WebstoreClient(PayConfiguration payConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
AmazonPayResponse |
cancelCharge(String chargeId,
net.sf.json.JSONObject payload)
The cancelCharge operation is used to cancel Charges.
|
AmazonPayResponse |
cancelCharge(String chargeId,
net.sf.json.JSONObject payload,
Map<String,String> header)
The cancelCharge operation is used to cancel Charges.
|
AmazonPayResponse |
captureCharge(String chargeId,
net.sf.json.JSONObject payload)
The CaptureCharge operation is used to create a charges for a buyer
and pass the Id as part of button click.
|
AmazonPayResponse |
captureCharge(String chargeId,
net.sf.json.JSONObject payload,
Map<String,String> header)
The CaptureCharge operation is used to create a charges for a buyer
and pass the Id as part of button click.
|
AmazonPayResponse |
closeChargePermission(String chargePermissionsId,
net.sf.json.JSONObject payload)
The CloseChargePermission operation Moves the Charge Permission to a Closed state.
|
AmazonPayResponse |
closeChargePermission(String chargePermissionsId,
net.sf.json.JSONObject payload,
Map<String,String> header)
The CloseChargePermission operation Moves the Charge Permission to a Closed state.
|
AmazonPayResponse |
completeCheckoutSession(String checkoutSessionId,
net.sf.json.JSONObject payload)
The CompleteCheckoutSession operation is used to confirm completion of a checkout session.
|
AmazonPayResponse |
completeCheckoutSession(String checkoutSessionId,
net.sf.json.JSONObject payload,
Map<String,String> header)
The CompleteCheckoutSession operation is used to confirm completion of a checkout session
|
AmazonPayResponse |
createCharge(net.sf.json.JSONObject payload)
The CreateCharge operation is used to create a charges for a buyer
and pass the Id as part of button click.
|
AmazonPayResponse |
createCharge(net.sf.json.JSONObject payload,
Map<String,String> header)
The CreateCharge operation is used to create a charges for a buyer
and pass the Id as part of button click.
|
AmazonPayResponse |
createCheckoutSession(net.sf.json.JSONObject payload)
The CreateCheckoutSession operation is used to create a CheckoutSession for a buyer
and pass the Id as part of button click.
|
AmazonPayResponse |
createCheckoutSession(net.sf.json.JSONObject payload,
Map<String,String> header)
The CreateCheckoutSession operation is used to create a CheckoutSession for a buyer
and pass the Id as part of button click.
|
AmazonPayResponse |
createRefund(net.sf.json.JSONObject payload)
The CreateRefund operation is used to create a refund for a buyer
and pass the Id as part of button click.
|
AmazonPayResponse |
createRefund(net.sf.json.JSONObject payload,
Map<String,String> header)
The CreateRefund operation is used to create a refund for a buyer
and pass the Id as part of button click.
|
AmazonPayResponse |
getCharge(String chargeId)
The getCharge operation is used to get charges details that contain
|
AmazonPayResponse |
getCharge(String chargeId,
Map<String,String> header)
The getCharge operation is used to get charges details that contain
|
AmazonPayResponse |
getChargePermission(String chargePermissionsId)
The GetChargePermission operation is used to get the complete details of ChargePermission.
|
AmazonPayResponse |
getChargePermission(String chargePermissionsId,
Map<String,String> header)
The GetChargePermission operation is used to get the complete details of ChargePermission.
|
AmazonPayResponse |
getCheckoutSession(String checkoutSessionId)
The GetCheckoutSession operation is used to get checkout session details that contain
all session associated details.
|
AmazonPayResponse |
getCheckoutSession(String checkoutSessionId,
Map<String,String> header)
The GetCheckoutSession operation is used to get checkout session details that contain
all session associated details.
|
AmazonPayResponse |
getRefund(String refundId)
The getRefund operation is used to get refund details that contain
|
AmazonPayResponse |
getRefund(String refundId,
Map<String,String> header)
The getRefund operation is used to get refund details that contain
|
AmazonPayResponse |
updateChargePermission(String chargePermissionsId,
net.sf.json.JSONObject payload)
The UpdateChargePermission operation is used to update the metadata of the ChargePermission.
|
AmazonPayResponse |
updateChargePermission(String chargePermissionsId,
net.sf.json.JSONObject payload,
Map<String,String> header)
The UpdateChargePermission operation is used to update the metadata of the ChargePermission.
|
AmazonPayResponse |
updateCheckoutSession(String checkoutSessionId,
net.sf.json.JSONObject payload)
The UpdateCheckoutSession operation is used to update payment details for a session.
|
AmazonPayResponse |
updateCheckoutSession(String checkoutSessionId,
net.sf.json.JSONObject payload,
Map<String,String> header)
The UpdateCheckoutSession operation is used to update payment details for a session.
|
callAPI, deliveryTracker, deliveryTracker, getAuthorizationTokenpublic WebstoreClient(PayConfiguration payConfiguration) throws AmazonPayClientException
AmazonPayClientExceptionpublic AmazonPayResponse createCheckoutSession(net.sf.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
payload - header - AmazonPayClientExceptionpublic AmazonPayResponse createCheckoutSession(net.sf.json.JSONObject payload) throws AmazonPayClientException
payload - AmazonPayClientExceptionpublic AmazonPayResponse getCheckoutSession(String checkoutSessionId, Map<String,String> header) throws AmazonPayClientException
checkoutSessionId - header - AmazonPayClientExceptionpublic AmazonPayResponse getCheckoutSession(String checkoutSessionId) throws AmazonPayClientException
checkoutSessionId - AmazonPayClientExceptionpublic AmazonPayResponse updateCheckoutSession(String checkoutSessionId, net.sf.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
checkoutSessionId - payload - header - AmazonPayClientExceptionpublic AmazonPayResponse updateCheckoutSession(String checkoutSessionId, net.sf.json.JSONObject payload) throws AmazonPayClientException
checkoutSessionId - payload - AmazonPayClientExceptionpublic AmazonPayResponse completeCheckoutSession(String checkoutSessionId, net.sf.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
checkoutSessionId - payload - header - AmazonPayClientExceptionpublic AmazonPayResponse completeCheckoutSession(String checkoutSessionId, net.sf.json.JSONObject payload) throws AmazonPayClientException
checkoutSessionId - payload - AmazonPayClientExceptionpublic AmazonPayResponse getChargePermission(String chargePermissionsId, Map<String,String> header) throws AmazonPayClientException
chargePermissionsId - header - AmazonPayClientExceptionpublic AmazonPayResponse getChargePermission(String chargePermissionsId) throws AmazonPayClientException
chargePermissionsId - AmazonPayClientExceptionpublic AmazonPayResponse updateChargePermission(String chargePermissionsId, net.sf.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
chargePermissionsId - payload - header - AmazonPayClientExceptionpublic AmazonPayResponse updateChargePermission(String chargePermissionsId, net.sf.json.JSONObject payload) throws AmazonPayClientException
chargePermissionsId - payload - AmazonPayClientExceptionpublic AmazonPayResponse closeChargePermission(String chargePermissionsId, net.sf.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
chargePermissionsId - payload - header - AmazonPayClientExceptionpublic AmazonPayResponse closeChargePermission(String chargePermissionsId, net.sf.json.JSONObject payload) throws AmazonPayClientException
chargePermissionsId - payload - AmazonPayClientExceptionpublic AmazonPayResponse createCharge(net.sf.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
payload - header - AmazonPayClientExceptionpublic AmazonPayResponse createCharge(net.sf.json.JSONObject payload) throws AmazonPayClientException
payload - AmazonPayClientExceptionpublic AmazonPayResponse getCharge(String chargeId, Map<String,String> header) throws AmazonPayClientException
chargeId - header - AmazonPayClientExceptionpublic AmazonPayResponse getCharge(String chargeId) throws AmazonPayClientException
chargeId - AmazonPayClientExceptionpublic AmazonPayResponse captureCharge(String chargeId, net.sf.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
chargeId - payload - header - AmazonPayClientExceptionpublic AmazonPayResponse captureCharge(String chargeId, net.sf.json.JSONObject payload) throws AmazonPayClientException
chargeId - payload - AmazonPayClientExceptionpublic AmazonPayResponse cancelCharge(String chargeId, net.sf.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
chargeId - payload - header - AmazonPayClientExceptionpublic AmazonPayResponse cancelCharge(String chargeId, net.sf.json.JSONObject payload) throws AmazonPayClientException
chargeId - payload - AmazonPayClientExceptionpublic AmazonPayResponse createRefund(net.sf.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
payload - header - AmazonPayClientExceptionpublic AmazonPayResponse createRefund(net.sf.json.JSONObject payload) throws AmazonPayClientException
payload - AmazonPayClientExceptionpublic AmazonPayResponse getRefund(String refundId, Map<String,String> header) throws AmazonPayClientException
refundId - header - AmazonPayClientExceptionpublic AmazonPayResponse getRefund(String refundId) throws AmazonPayClientException
refundId - AmazonPayClientExceptionCopyright © 2020. All rights reserved.