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

com.univapay.sdk.models.response.store.CardConfiguration Maven / Gradle / Ivy

There is a newer version: 0.2.35
Show newest version
package com.univapay.sdk.models.response.store;

import com.google.gson.annotations.SerializedName;
import com.univapay.sdk.models.response.CardLimit;
import com.univapay.sdk.types.CardBrand;
import com.univapay.sdk.types.Country;
import java.util.List;
import org.jetbrains.annotations.Nullable;

public class CardConfiguration {

  @SerializedName("enabled")
  private final Boolean enabled;

  @SerializedName("debit_enabled")
  private final Boolean debitEnabled;

  @SerializedName("prepaid_enabled")
  private final Boolean prepaidEnabled;

  @SerializedName("forbidden_card_brands")
  private final List forbiddenCardBrands;

  @SerializedName("allowed_countries_by_ip")
  private final List allowedCountriesByIp;

  @SerializedName("foreign_cards_allowed")
  private final Boolean foreignCardsAllowed;

  @SerializedName("fail_on_new_email")
  private final Boolean failOnNewEmail;

  @SerializedName("allow_empty_cvv")
  private final Boolean allowEmptyCvv;

  @SerializedName("card_limit")
  private final CardLimit cardLimit;

  @SerializedName("only_direct_currency")
  private final Boolean onlyDirectCurrency;

  @SerializedName("debit_authorization_enabled")
  private final Boolean debitAuthorizationEnabled;

  @SerializedName("prepaid_authorization_enabled")
  private final Boolean prepaidAuthorizationEnabled;

  public Boolean getEnabled() {
    return enabled;
  }

  public Boolean getDebitEnabled() {
    return debitEnabled;
  }

  public Boolean getPrepaidEnabled() {
    return prepaidEnabled;
  }

  public List getForbiddenCardBrands() {
    return forbiddenCardBrands;
  }

  public List getAllowedCountriesByIp() {
    return allowedCountriesByIp;
  }

  public Boolean getForeignCardsAllowed() {
    return foreignCardsAllowed;
  }

  public Boolean getFailOnNewEmail() {
    return failOnNewEmail;
  }

  public Boolean getAllowEmptyCvv() {
    return allowEmptyCvv;
  }

  public CardLimit getCardLimit() {
    return cardLimit;
  }

  public Boolean getOnlyDirectCurrency() {
    return onlyDirectCurrency;
  }

  public Boolean getDebitAuthorizationEnabled() {
    return debitAuthorizationEnabled;
  }

  public Boolean getPrepaidAuthorizationEnabled() {
    return prepaidAuthorizationEnabled;
  }

  public CardConfiguration(
      @Nullable Boolean enabled,
      @Nullable Boolean debitEnabled,
      @Nullable Boolean prepaidEnabled,
      @Nullable List forbiddenCardBrands,
      @Nullable List allowedCountriesByIp,
      @Nullable Boolean foreignCardsAllowed,
      @Nullable Boolean failOnNewEmail,
      @Nullable Boolean allowEmptyCvv,
      @Nullable CardLimit cardLimit,
      @Nullable Boolean onlyDirectCurrency,
      @Nullable Boolean debitAuthorizationEnabled,
      @Nullable Boolean prepaidAuthorizationEnabled) {
    this.enabled = enabled;
    this.debitEnabled = debitEnabled;
    this.prepaidEnabled = prepaidEnabled;
    this.forbiddenCardBrands = forbiddenCardBrands;
    this.allowedCountriesByIp = allowedCountriesByIp;
    this.foreignCardsAllowed = foreignCardsAllowed;
    this.failOnNewEmail = failOnNewEmail;
    this.allowEmptyCvv = allowEmptyCvv;
    this.cardLimit = cardLimit;
    this.onlyDirectCurrency = onlyDirectCurrency;
    this.debitAuthorizationEnabled = debitAuthorizationEnabled;
    this.prepaidAuthorizationEnabled = prepaidAuthorizationEnabled;
  }

  public CardConfiguration() {
    this.enabled = null;
    this.debitEnabled = null;
    this.prepaidEnabled = null;
    this.forbiddenCardBrands = null;
    this.allowedCountriesByIp = null;
    this.foreignCardsAllowed = null;
    this.failOnNewEmail = null;
    this.allowEmptyCvv = null;
    this.cardLimit = null;
    this.onlyDirectCurrency = null;
    this.debitAuthorizationEnabled = null;
    this.prepaidAuthorizationEnabled = null;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy