![JAR search and dependency download from the Maven repository](/logo.png)
com.unzer.payment.communication.json.JsonInitPayment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Unzer Java SDK provides an easy way to connect to the Unzer Rest API.
package com.unzer.payment.communication.json;
/*-
* #%L
* Unzer Java SDK
* %%
* Copyright (C) 2020 Unzer E-Com GmbH
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import java.math.BigDecimal;
import java.net.URL;
import java.util.Currency;
import java.util.Date;
public class JsonInitPayment extends JsonIdObject implements JsonObject {
private Boolean isSuccess;
private Boolean isPending;
private Boolean isError;
private JsonMessage message;
private Date date;
private String orderId;
private BigDecimal amount;
private Currency currency;
private URL returnUrl;
private URL redirectUrl;
private Boolean card3ds;
private String paymentReference;
private BigDecimal effectiveInterestRate;
private JsonResources resources;
private JsonProcessing processing = new JsonProcessing();
public JsonInitPayment() {
super();
}
public BigDecimal getAmount() {
return amount;
}
public JsonInitPayment setAmount(BigDecimal amount) {
this.amount = amount;
return this;
}
public Currency getCurrency() {
return currency;
}
public JsonInitPayment setCurrency(Currency currency) {
this.currency = currency;
return this;
}
public URL getReturnUrl() {
return returnUrl;
}
public JsonInitPayment setReturnUrl(URL returnUrl) {
this.returnUrl = returnUrl;
return this;
}
public JsonProcessing getProcessing() {
return processing;
}
public JsonInitPayment setProcessing(JsonProcessing processing) {
this.processing = processing;
return this;
}
public JsonResources getResources() {
return resources;
}
public void setResources(JsonResources resources) {
this.resources = resources;
}
public JsonMessage getMessage() {
return message;
}
public void setMessage(JsonMessage message) {
this.message = message;
}
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date = date;
}
public URL getRedirectUrl() {
return redirectUrl;
}
public void setRedirectUrl(URL redirectUrl) {
this.redirectUrl = redirectUrl;
}
public String getOrderId() {
return orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public Boolean getIsSuccess() {
return isSuccess;
}
public void setIsSuccess(Boolean isSuccess) {
this.isSuccess = isSuccess;
}
public Boolean getIsPending() {
return isPending;
}
public void setIsPending(Boolean isPending) {
this.isPending = isPending;
}
public Boolean getIsError() {
return isError;
}
public void setIsError(Boolean isError) {
this.isError = isError;
}
public Boolean getCard3ds() {
return card3ds;
}
public void setCard3ds(Boolean card3ds) {
this.card3ds = card3ds;
}
public String getPaymentReference() {
return paymentReference;
}
public void setPaymentReference(String paymentReference) {
this.paymentReference = paymentReference;
}
public BigDecimal getEffectiveInterestRate() {
return effectiveInterestRate;
}
public void setEffectiveInterestRate(BigDecimal effectiveInterestRate) {
this.effectiveInterestRate = effectiveInterestRate;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy