com.ingenico.connect.gateway.sdk.java.domain.hostedmandatemanagement.GetHostedMandateManagementResponse Maven / Gradle / Ivy
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
package com.ingenico.connect.gateway.sdk.java.domain.hostedmandatemanagement;
import com.ingenico.connect.gateway.sdk.java.domain.mandates.definitions.MandateResponse;
public class GetHostedMandateManagementResponse {
private MandateResponse mandate = null;
private String status = null;
/**
* When a mandate has been created during the hosted mandate management session this object will return the details.
*/
public MandateResponse getMandate() {
return mandate;
}
/**
* When a mandate has been created during the hosted mandate management session this object will return the details.
*/
public void setMandate(MandateResponse value) {
this.mandate = value;
}
/**
* This is the status of the hosted mandate management. Possible values are:
*
* - IN_PROGRESS - The session has been created, but no mandate has been created yet.
*
- MANDATE_CREATED - A mandate has been created, the customer might still need to sign the mandate.
*
- FAILED - There was an error while creating the mandate, the session can not continue.
*
- CANCELLED_BY_CONSUMER - The session was cancelled before a mandate was created
.
*/
public String getStatus() {
return status;
}
/**
* This is the status of the hosted mandate management. Possible values are:
*
* - IN_PROGRESS - The session has been created, but no mandate has been created yet.
*
- MANDATE_CREATED - A mandate has been created, the customer might still need to sign the mandate.
*
- FAILED - There was an error while creating the mandate, the session can not continue.
*
- CANCELLED_BY_CONSUMER - The session was cancelled before a mandate was created
.
*/
public void setStatus(String value) {
this.status = value;
}
}