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

com.tinypass.client.publisher.model.BraintreeConfiguration Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
package com.tinypass.client.publisher.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.App;
import com.tinypass.client.publisher.model.BraintreeMerchantAccountIdEntry;
import com.tinypass.client.publisher.model.PayeeSettingsEntry;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;

public class BraintreeConfiguration {

  /* The ID of the payment provider configuration */
  private String configurationId = null;
  

  /* The application ref */
  private App app = null;
  

  /* The payment provider name */
  private String sourceName = null;
  

  /* The title */
  private String title = null;
  

  /* The merchant ID provided by Braintree */
  private String braintreeMerchantId = null;
  

  /* The client Key provided by Braintree */
  private String braintreeClientKey = null;
  

    private List braintreeMerchantAccounts = new ArrayList();
  

  /* The public key provided by Braintree */
  private String braintreePublicKey = null;
  

  /* The private Key provided by Braintree */
  private String braintreePrivateKey = null;
  

  /* Is configuration disabled for further using */
  private Boolean isDisabled = null;
  

  /* Is configuration properties can be still edit */
  private Boolean isEditable = null;
  

  /* Is PayPal enabled for this Braintree configuration */
  private Boolean isPaypalEnabled = null;
  

  /* Is Apple Pay enabled for this Braintree configuration */
  private Boolean isApplePayEnabled = null;
  

  /* Transaction descriptor */
  private String braintreeDescriptor = null;
  

  /* Trial transaction descriptor */
  private String braintreeTrialDescriptor = null;
  

  /* The custom field to stores the name field that containing the name of the application */
  private String braintreeAppNameCustomField = null;
  

    private List payeeSettings = new ArrayList();
  

  /* Is configuration visible on checkout */
  private Boolean isVisible = null;
  

  /* Version of the integration */
  private String version = null;
  

  /* Version's title of the integration */
  private String versionTitle = null;
  

  /* Use MOTO transaction */
  private Boolean useMoto = null;
  

  /* Default currency for verification transaction */
  private String defaultCurrency = null;
  


  public String getConfigurationId() {
    return configurationId;
  }
  public void setConfigurationId(String configurationId) {
    this.configurationId = configurationId;
  }


  public App getApp() {
    return app;
  }
  public void setApp(App app) {
    this.app = app;
  }


  public String getSourceName() {
    return sourceName;
  }
  public void setSourceName(String sourceName) {
    this.sourceName = sourceName;
  }


  public String getTitle() {
    return title;
  }
  public void setTitle(String title) {
    this.title = title;
  }


  public String getBraintreeMerchantId() {
    return braintreeMerchantId;
  }
  public void setBraintreeMerchantId(String braintreeMerchantId) {
    this.braintreeMerchantId = braintreeMerchantId;
  }


  public String getBraintreeClientKey() {
    return braintreeClientKey;
  }
  public void setBraintreeClientKey(String braintreeClientKey) {
    this.braintreeClientKey = braintreeClientKey;
  }


  public List getBraintreeMerchantAccounts() {
    return braintreeMerchantAccounts;
  }
  public void setBraintreeMerchantAccounts(List braintreeMerchantAccounts) {
    this.braintreeMerchantAccounts = braintreeMerchantAccounts;
  }


  public String getBraintreePublicKey() {
    return braintreePublicKey;
  }
  public void setBraintreePublicKey(String braintreePublicKey) {
    this.braintreePublicKey = braintreePublicKey;
  }


  public String getBraintreePrivateKey() {
    return braintreePrivateKey;
  }
  public void setBraintreePrivateKey(String braintreePrivateKey) {
    this.braintreePrivateKey = braintreePrivateKey;
  }


  public Boolean getIsDisabled() {
    return isDisabled;
  }
  public void setIsDisabled(Boolean isDisabled) {
    this.isDisabled = isDisabled;
  }


  public Boolean getIsEditable() {
    return isEditable;
  }
  public void setIsEditable(Boolean isEditable) {
    this.isEditable = isEditable;
  }


  public Boolean getIsPaypalEnabled() {
    return isPaypalEnabled;
  }
  public void setIsPaypalEnabled(Boolean isPaypalEnabled) {
    this.isPaypalEnabled = isPaypalEnabled;
  }


  public Boolean getIsApplePayEnabled() {
    return isApplePayEnabled;
  }
  public void setIsApplePayEnabled(Boolean isApplePayEnabled) {
    this.isApplePayEnabled = isApplePayEnabled;
  }


  public String getBraintreeDescriptor() {
    return braintreeDescriptor;
  }
  public void setBraintreeDescriptor(String braintreeDescriptor) {
    this.braintreeDescriptor = braintreeDescriptor;
  }


  public String getBraintreeTrialDescriptor() {
    return braintreeTrialDescriptor;
  }
  public void setBraintreeTrialDescriptor(String braintreeTrialDescriptor) {
    this.braintreeTrialDescriptor = braintreeTrialDescriptor;
  }


  public String getBraintreeAppNameCustomField() {
    return braintreeAppNameCustomField;
  }
  public void setBraintreeAppNameCustomField(String braintreeAppNameCustomField) {
    this.braintreeAppNameCustomField = braintreeAppNameCustomField;
  }


  public List getPayeeSettings() {
    return payeeSettings;
  }
  public void setPayeeSettings(List payeeSettings) {
    this.payeeSettings = payeeSettings;
  }


  public Boolean getIsVisible() {
    return isVisible;
  }
  public void setIsVisible(Boolean isVisible) {
    this.isVisible = isVisible;
  }


  public String getVersion() {
    return version;
  }
  public void setVersion(String version) {
    this.version = version;
  }


  public String getVersionTitle() {
    return versionTitle;
  }
  public void setVersionTitle(String versionTitle) {
    this.versionTitle = versionTitle;
  }


  public Boolean getUseMoto() {
    return useMoto;
  }
  public void setUseMoto(Boolean useMoto) {
    this.useMoto = useMoto;
  }


  public String getDefaultCurrency() {
    return defaultCurrency;
  }
  public void setDefaultCurrency(String defaultCurrency) {
    this.defaultCurrency = defaultCurrency;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class BraintreeConfiguration {\n");
    sb.append("  configurationId: ").append(configurationId).append("\n");
    sb.append("  app: ").append(app).append("\n");
    sb.append("  sourceName: ").append(sourceName).append("\n");
    sb.append("  title: ").append(title).append("\n");
    sb.append("  braintreeMerchantId: ").append(braintreeMerchantId).append("\n");
    sb.append("  braintreeClientKey: ").append(braintreeClientKey).append("\n");
    sb.append("  braintreeMerchantAccounts: ").append(braintreeMerchantAccounts).append("\n");
    sb.append("  braintreePublicKey: ").append(braintreePublicKey).append("\n");
    sb.append("  braintreePrivateKey: ").append(braintreePrivateKey).append("\n");
    sb.append("  isDisabled: ").append(isDisabled).append("\n");
    sb.append("  isEditable: ").append(isEditable).append("\n");
    sb.append("  isPaypalEnabled: ").append(isPaypalEnabled).append("\n");
    sb.append("  isApplePayEnabled: ").append(isApplePayEnabled).append("\n");
    sb.append("  braintreeDescriptor: ").append(braintreeDescriptor).append("\n");
    sb.append("  braintreeTrialDescriptor: ").append(braintreeTrialDescriptor).append("\n");
    sb.append("  braintreeAppNameCustomField: ").append(braintreeAppNameCustomField).append("\n");
    sb.append("  payeeSettings: ").append(payeeSettings).append("\n");
    sb.append("  isVisible: ").append(isVisible).append("\n");
    sb.append("  version: ").append(version).append("\n");
    sb.append("  versionTitle: ").append(versionTitle).append("\n");
    sb.append("  useMoto: ").append(useMoto).append("\n");
    sb.append("  defaultCurrency: ").append(defaultCurrency).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy