All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.safecharge.response.OpenOrderResponse Maven / Gradle / Ivy

Go to download

SafeCharge’s REST API SDK for Java provides developer tools for accessing Safecharge's REST API. SafeCharge’s REST API is a simple, easy to use, secure and stateless API, which enables online merchants and service providers to process consumer payments through SafeCharge’s payment gateway. The API supports merchants of all levels of PCI certification, from their online and mobile merchant applications, and is compatible with a large variety of payment options, i.e. payment cards, alternative payment methods, etc.

There is a newer version: 1.7.11
Show newest version
package com.safecharge.response;

import com.safecharge.model.MerchantDetails;

/**
 * Copyright (C) 2007-2020 SafeCharge International Group Limited.
 * 

* Response received from the SafeCharge's servers to the {@link com.safecharge.request.OpenOrderRequest}. *

* @author Nikola Dichev * @see com.safecharge.request.OpenOrderRequest * @since 2/15/2017 */ public class OpenOrderResponse extends SafechargeResponse implements SafechargeOrderResponse { /** * Merchant Order ID to be used as input parameter in update method and payment methods. The parameter passed to define which merchant order to update. */ private String orderId; /** * ID of the user in merchant system. */ private String userTokenId; MerchantDetails merchantDetails; @Override public String getOrderId() { return orderId; } public void setOrderId(String orderId) { this.orderId = orderId; } public String getUserTokenId() { return userTokenId; } public void setUserTokenId(String userTokenId) { this.userTokenId = userTokenId; } public MerchantDetails getMerchantDetails() { return merchantDetails; } public void setMerchantDetails(MerchantDetails merchantDetails) { this.merchantDetails = merchantDetails; } @Override public String toString() { final StringBuilder sb = new StringBuilder("OpenOrderResponse{"); sb.append("orderId='").append(orderId).append('\''); sb.append(", userTokenId='").append(userTokenId).append('\''); sb.append(", merchantDetails='").append(merchantDetails).append('\''); sb.append(", ").append(super.toString()); sb.append('}'); return sb.toString(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy