com.ingenico.direct.domain.CreatePaymentResponse Maven / Gradle / Ivy
/*
* This class was auto-generated from the API references found at
* https://support.direct.ingenico.com/documentation/api/reference
*/
package com.ingenico.direct.domain;
/**
* Object that contains details on the created payment in case one has been created.
*/
public class CreatePaymentResponse {
private PaymentCreationOutput creationOutput = null;
private MerchantAction merchantAction = null;
private PaymentResponse payment = null;
/**
* Object containing the details of the created payment.
*/
public PaymentCreationOutput getCreationOutput() {
return creationOutput;
}
/**
* Object containing the details of the created payment.
*/
public void setCreationOutput(PaymentCreationOutput value) {
this.creationOutput = value;
}
/**
* Object that contains the action, including the needed data, that you should perform next, like showing instructions, showing the transaction results or redirect to a third party to complete the payment
*/
public MerchantAction getMerchantAction() {
return merchantAction;
}
/**
* Object that contains the action, including the needed data, that you should perform next, like showing instructions, showing the transaction results or redirect to a third party to complete the payment
*/
public void setMerchantAction(MerchantAction value) {
this.merchantAction = value;
}
/**
* Object that holds the payment related properties
*/
public PaymentResponse getPayment() {
return payment;
}
/**
* Object that holds the payment related properties
*/
public void setPayment(PaymentResponse value) {
this.payment = value;
}
}