com.ingenico.connect.gateway.sdk.java.merchant.tokens.DeleteTokenParams 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.merchant.tokens;
import java.util.LinkedList;
import java.util.List;
import com.ingenico.connect.gateway.sdk.java.ParamRequest;
import com.ingenico.connect.gateway.sdk.java.RequestParam;
/**
* Query parameters for
* Delete token
*/
public class DeleteTokenParams implements ParamRequest {
private String mandateCancelDate;
/**
* Date of the mandate cancellation
* Format: YYYYMMDD
*/
public String getMandateCancelDate() {
return mandateCancelDate;
}
/**
* Date of the mandate cancellation
* Format: YYYYMMDD
*/
public void setMandateCancelDate(String value) {
this.mandateCancelDate = value;
}
@Override
public List toRequestParameters() {
List result = new LinkedList();
if (mandateCancelDate != null) {
result.add(new RequestParam("mandateCancelDate", mandateCancelDate));
}
return result;
}
}