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

com.tinypass.client.publisher.model.AppFeatures 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.Composer;
import com.tinypass.client.publisher.model.MyAccount;
import com.tinypass.client.publisher.model.RedemptionPage;
import com.tinypass.client.publisher.model.SubscriptionRestrictions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

public class AppFeatures {

  /* The MyAccount object */
  private MyAccount myAccount = null;
  

  /* The Composer object */
  private Composer composer = null;
  

  /* The restrictions applicable to the app */
  private SubscriptionRestrictions subscriptionRestrictions = null;
  

  /* Whether the app is allowed to use a system redemption page */
  private RedemptionPage redemptionPage = null;
  

  /* Whether a mock provider is enabled instead of real payment providers */
  private Boolean isPaymentMockEnabled = null;
  

  /* Whether publisher dashboard localization is enabled */
  private Boolean isPublisherDashboardLocalizationEnabled = null;
  

  /* Whether checkout authentication in separate state */
  private Boolean isCheckoutAuthenticationInSeparateState = null;
  


  public MyAccount getMyAccount() {
    return myAccount;
  }
  public void setMyAccount(MyAccount myAccount) {
    this.myAccount = myAccount;
  }


  public Composer getComposer() {
    return composer;
  }
  public void setComposer(Composer composer) {
    this.composer = composer;
  }


  public SubscriptionRestrictions getSubscriptionRestrictions() {
    return subscriptionRestrictions;
  }
  public void setSubscriptionRestrictions(SubscriptionRestrictions subscriptionRestrictions) {
    this.subscriptionRestrictions = subscriptionRestrictions;
  }


  public RedemptionPage getRedemptionPage() {
    return redemptionPage;
  }
  public void setRedemptionPage(RedemptionPage redemptionPage) {
    this.redemptionPage = redemptionPage;
  }


  public Boolean getIsPaymentMockEnabled() {
    return isPaymentMockEnabled;
  }
  public void setIsPaymentMockEnabled(Boolean isPaymentMockEnabled) {
    this.isPaymentMockEnabled = isPaymentMockEnabled;
  }


  public Boolean getIsPublisherDashboardLocalizationEnabled() {
    return isPublisherDashboardLocalizationEnabled;
  }
  public void setIsPublisherDashboardLocalizationEnabled(Boolean isPublisherDashboardLocalizationEnabled) {
    this.isPublisherDashboardLocalizationEnabled = isPublisherDashboardLocalizationEnabled;
  }


  public Boolean getIsCheckoutAuthenticationInSeparateState() {
    return isCheckoutAuthenticationInSeparateState;
  }
  public void setIsCheckoutAuthenticationInSeparateState(Boolean isCheckoutAuthenticationInSeparateState) {
    this.isCheckoutAuthenticationInSeparateState = isCheckoutAuthenticationInSeparateState;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class AppFeatures {\n");
    sb.append("  myAccount: ").append(myAccount).append("\n");
    sb.append("  composer: ").append(composer).append("\n");
    sb.append("  subscriptionRestrictions: ").append(subscriptionRestrictions).append("\n");
    sb.append("  redemptionPage: ").append(redemptionPage).append("\n");
    sb.append("  isPaymentMockEnabled: ").append(isPaymentMockEnabled).append("\n");
    sb.append("  isPublisherDashboardLocalizationEnabled: ").append(isPublisherDashboardLocalizationEnabled).append("\n");
    sb.append("  isCheckoutAuthenticationInSeparateState: ").append(isCheckoutAuthenticationInSeparateState).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy