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

Model.Upv1capturecontextsCompleteMandate Maven / Gradle / Ivy

There is a newer version: 0.0.8
Show newest version
/*
 * CyberSource Merged Spec
 * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
 *
 * OpenAPI spec version: 0.0.1
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */


package Model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;

/**
 * The completeMandate object is designed to provide instructions for orchestrating payment services.  Unified Checkout is capable of orchestrating a number of services on your behalf.<br><br>   By providing this field in the capture context Unified Checkout will initiate services on your behalf from the browser, simplifying your integration. 
 */
@ApiModel(description = "The completeMandate object is designed to provide instructions for orchestrating payment services.  Unified Checkout is capable of orchestrating a number of services on your behalf.

By providing this field in the capture context Unified Checkout will initiate services on your behalf from the browser, simplifying your integration. ") public class Upv1capturecontextsCompleteMandate { @SerializedName("type") private String type = null; @SerializedName("decisionManager") private Boolean decisionManager = null; public Upv1capturecontextsCompleteMandate type(String type) { this.type = type; return this; } /** * This field is used to indicate how a payment should be processed. Possible values: - AUTH: Use this value when you want to authorize a payment without capturing it immediately. Payment types that initiate an immediate transfer of funds are not allowed. If a capture context request includes a payment type incompatible with this mode, a 400 error will be returned.<br><br> - CAPTURE: Use this value when you want to capture the payment immediately during the transaction. Note: Some payment types may return a PENDING status, requiring an additional status check call to determine the final outcome of the payment.<br><br> * @return type **/ @ApiModelProperty(example = "AUTH", value = "This field is used to indicate how a payment should be processed. Possible values: - AUTH: Use this value when you want to authorize a payment without capturing it immediately. Payment types that initiate an immediate transfer of funds are not allowed. If a capture context request includes a payment type incompatible with this mode, a 400 error will be returned.

- CAPTURE: Use this value when you want to capture the payment immediately during the transaction. Note: Some payment types may return a PENDING status, requiring an additional status check call to determine the final outcome of the payment.

") public String getType() { return type; } public void setType(String type) { this.type = type; } public Upv1capturecontextsCompleteMandate decisionManager(Boolean decisionManager) { this.decisionManager = decisionManager; return this; } /** * Configure Unified Checkout to determine whether Decision Manager is invoked during service orchestration. Possible values: - True - False<br><br> Setting this value to True indicates that device fingerprinting will be executed to add additional information for risk service Setting this value to False indicates that you do not wish to run device fingerprinting and skip decision manager services. * @return decisionManager **/ @ApiModelProperty(value = "Configure Unified Checkout to determine whether Decision Manager is invoked during service orchestration. Possible values: - True - False

Setting this value to True indicates that device fingerprinting will be executed to add additional information for risk service Setting this value to False indicates that you do not wish to run device fingerprinting and skip decision manager services. ") public Boolean DecisionManager() { return decisionManager; } public void setDecisionManager(Boolean decisionManager) { this.decisionManager = decisionManager; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Upv1capturecontextsCompleteMandate upv1capturecontextsCompleteMandate = (Upv1capturecontextsCompleteMandate) o; return Objects.equals(this.type, upv1capturecontextsCompleteMandate.type) && Objects.equals(this.decisionManager, upv1capturecontextsCompleteMandate.decisionManager); } @Override public int hashCode() { return Objects.hash(type, decisionManager); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Upv1capturecontextsCompleteMandate {\n"); if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n"); if (decisionManager != null) sb.append(" decisionManager: ").append(toIndentedString(decisionManager)).append("\n"); sb.append("}"); return sb.toString(); } /** * Convert the given object to string with each line indented by 4 spaces * (except the first line). */ private String toIndentedString(java.lang.Object o) { if (o == null) { // return "null"; } return o.toString().replace("\n", "\n "); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy