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

Model.Microformv2sessionsCheckoutApiInitialization Maven / Gradle / Ivy

/*
 * 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;

/**
 * Use the [Digital Accept Checkout API](https://developer.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_Checkout_API/Secure_Acceptance_Checkout_API.pdf) in conjunction with Microform to provide a cohesive PCI SAQ A embedded payment application within your merchant e-commerce page.   The Digital Accept Checkout API provides access to payment processing and additional value-added services directly from the browser. 
 */
@ApiModel(description = "Use the [Digital Accept Checkout API](https://developer.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_Checkout_API/Secure_Acceptance_Checkout_API.pdf) in conjunction with Microform to provide a cohesive PCI SAQ A embedded payment application within your merchant e-commerce page.   The Digital Accept Checkout API provides access to payment processing and additional value-added services directly from the browser. ")

public class Microformv2sessionsCheckoutApiInitialization {
  @SerializedName("profile_id")
  private String profileId = null;

  @SerializedName("access_key")
  private String accessKey = null;

  @SerializedName("reference_number")
  private String referenceNumber = null;

  @SerializedName("transaction_uuid")
  private String transactionUuid = null;

  @SerializedName("transaction_type")
  private String transactionType = null;

  @SerializedName("currency")
  private String currency = null;

  @SerializedName("amount")
  private String amount = null;

  @SerializedName("locale")
  private String locale = null;

  @SerializedName("override_custom_receipt_page")
  private String overrideCustomReceiptPage = null;

  @SerializedName("unsigned_field_names")
  private String unsignedFieldNames = null;

  public Microformv2sessionsCheckoutApiInitialization profileId(String profileId) {
    this.profileId = profileId;
    return this;
  }

   /**
   * Get profileId
   * @return profileId
  **/
  @ApiModelProperty(example = "12341234-1234-1234-1234-123412341234", value = "")
  public String getProfileId() {
    return profileId;
  }

  public void setProfileId(String profileId) {
    this.profileId = profileId;
  }

  public Microformv2sessionsCheckoutApiInitialization accessKey(String accessKey) {
    this.accessKey = accessKey;
    return this;
  }

   /**
   * Get accessKey
   * @return accessKey
  **/
  @ApiModelProperty(example = "acce55acce55acce55acce55acce5500", value = "")
  public String getAccessKey() {
    return accessKey;
  }

  public void setAccessKey(String accessKey) {
    this.accessKey = accessKey;
  }

  public Microformv2sessionsCheckoutApiInitialization referenceNumber(String referenceNumber) {
    this.referenceNumber = referenceNumber;
    return this;
  }

   /**
   * Get referenceNumber
   * @return referenceNumber
  **/
  @ApiModelProperty(example = "1611305732", value = "")
  public String getReferenceNumber() {
    return referenceNumber;
  }

  public void setReferenceNumber(String referenceNumber) {
    this.referenceNumber = referenceNumber;
  }

  public Microformv2sessionsCheckoutApiInitialization transactionUuid(String transactionUuid) {
    this.transactionUuid = transactionUuid;
    return this;
  }

   /**
   * Get transactionUuid
   * @return transactionUuid
  **/
  @ApiModelProperty(example = "1611305732-001", value = "")
  public String getTransactionUuid() {
    return transactionUuid;
  }

  public void setTransactionUuid(String transactionUuid) {
    this.transactionUuid = transactionUuid;
  }

  public Microformv2sessionsCheckoutApiInitialization transactionType(String transactionType) {
    this.transactionType = transactionType;
    return this;
  }

   /**
   * Get transactionType
   * @return transactionType
  **/
  @ApiModelProperty(example = "authorization", value = "")
  public String getTransactionType() {
    return transactionType;
  }

  public void setTransactionType(String transactionType) {
    this.transactionType = transactionType;
  }

  public Microformv2sessionsCheckoutApiInitialization currency(String currency) {
    this.currency = currency;
    return this;
  }

   /**
   * Get currency
   * @return currency
  **/
  @ApiModelProperty(example = "USD", value = "")
  public String getCurrency() {
    return currency;
  }

  public void setCurrency(String currency) {
    this.currency = currency;
  }

  public Microformv2sessionsCheckoutApiInitialization amount(String amount) {
    this.amount = amount;
    return this;
  }

   /**
   * Get amount
   * @return amount
  **/
  @ApiModelProperty(example = "100", value = "")
  public String getAmount() {
    return amount;
  }

  public void setAmount(String amount) {
    this.amount = amount;
  }

  public Microformv2sessionsCheckoutApiInitialization locale(String locale) {
    this.locale = locale;
    return this;
  }

   /**
   * Locale where application is being used.  This field controls aspects of the application such as the language it will be rendered in. 
   * @return locale
  **/
  @ApiModelProperty(example = "en-us", value = "Locale where application is being used.  This field controls aspects of the application such as the language it will be rendered in. ")
  public String getLocale() {
    return locale;
  }

  public void setLocale(String locale) {
    this.locale = locale;
  }

  public Microformv2sessionsCheckoutApiInitialization overrideCustomReceiptPage(String overrideCustomReceiptPage) {
    this.overrideCustomReceiptPage = overrideCustomReceiptPage;
    return this;
  }

   /**
   * Get overrideCustomReceiptPage
   * @return overrideCustomReceiptPage
  **/
  @ApiModelProperty(example = "https://www.test.com/receipt", value = "")
  public String getOverrideCustomReceiptPage() {
    return overrideCustomReceiptPage;
  }

  public void setOverrideCustomReceiptPage(String overrideCustomReceiptPage) {
    this.overrideCustomReceiptPage = overrideCustomReceiptPage;
  }

  public Microformv2sessionsCheckoutApiInitialization unsignedFieldNames(String unsignedFieldNames) {
    this.unsignedFieldNames = unsignedFieldNames;
    return this;
  }

   /**
   * Get unsignedFieldNames
   * @return unsignedFieldNames
  **/
  @ApiModelProperty(example = "transient_token", value = "")
  public String getUnsignedFieldNames() {
    return unsignedFieldNames;
  }

  public void setUnsignedFieldNames(String unsignedFieldNames) {
    this.unsignedFieldNames = unsignedFieldNames;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Microformv2sessionsCheckoutApiInitialization microformv2sessionsCheckoutApiInitialization = (Microformv2sessionsCheckoutApiInitialization) o;
    return Objects.equals(this.profileId, microformv2sessionsCheckoutApiInitialization.profileId) &&
        Objects.equals(this.accessKey, microformv2sessionsCheckoutApiInitialization.accessKey) &&
        Objects.equals(this.referenceNumber, microformv2sessionsCheckoutApiInitialization.referenceNumber) &&
        Objects.equals(this.transactionUuid, microformv2sessionsCheckoutApiInitialization.transactionUuid) &&
        Objects.equals(this.transactionType, microformv2sessionsCheckoutApiInitialization.transactionType) &&
        Objects.equals(this.currency, microformv2sessionsCheckoutApiInitialization.currency) &&
        Objects.equals(this.amount, microformv2sessionsCheckoutApiInitialization.amount) &&
        Objects.equals(this.locale, microformv2sessionsCheckoutApiInitialization.locale) &&
        Objects.equals(this.overrideCustomReceiptPage, microformv2sessionsCheckoutApiInitialization.overrideCustomReceiptPage) &&
        Objects.equals(this.unsignedFieldNames, microformv2sessionsCheckoutApiInitialization.unsignedFieldNames);
  }

  @Override
  public int hashCode() {
    return Objects.hash(profileId, accessKey, referenceNumber, transactionUuid, transactionType, currency, amount, locale, overrideCustomReceiptPage, unsignedFieldNames);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Microformv2sessionsCheckoutApiInitialization {\n");
    
    sb.append("    profileId: ").append(toIndentedString(profileId)).append("\n");
    sb.append("    accessKey: ").append(toIndentedString(accessKey)).append("\n");
    sb.append("    referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n");
    sb.append("    transactionUuid: ").append(toIndentedString(transactionUuid)).append("\n");
    sb.append("    transactionType: ").append(toIndentedString(transactionType)).append("\n");
    sb.append("    currency: ").append(toIndentedString(currency)).append("\n");
    sb.append("    amount: ").append(toIndentedString(amount)).append("\n");
    sb.append("    locale: ").append(toIndentedString(locale)).append("\n");
    sb.append("    overrideCustomReceiptPage: ").append(toIndentedString(overrideCustomReceiptPage)).append("\n");
    sb.append("    unsignedFieldNames: ").append(toIndentedString(unsignedFieldNames)).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