Class ManagementProject

java.lang.Object
io.voucherify.client.model.ManagementProject

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ManagementProject extends Object
ManagementProject
  • Field Details

  • Constructor Details

    • ManagementProject

      public ManagementProject()
  • Method Details

    • id

      public ManagementProject id(String id)
    • getId

      @Nullable public String getId()
      Unique identifier of the project.
      Returns:
      id
    • setId

      public void setId(String id)
    • name

      public ManagementProject name(String name)
    • getName

      @Nullable public String getName()
      The name of the project.
      Returns:
      name
    • setName

      public void setName(String name)
    • description

      public ManagementProject description(String description)
    • getDescription

      @Nullable public String getDescription()
      A user-defined description of the project, e.g. its purpose, scope, region.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • timezone

      public ManagementProject timezone(String timezone)
    • getTimezone

      @Nullable public String getTimezone()
      The time zone in which the project is established. It can be in the GMT format or in accordance with IANA time zone database.
      Returns:
      timezone
    • setTimezone

      public void setTimezone(String timezone)
    • currency

      public ManagementProject currency(String currency)
    • getCurrency

      @Nullable public String getCurrency()
      The currency used in the project. It is equal to a 3-letter ISO 4217 code.
      Returns:
      currency
    • setCurrency

      public void setCurrency(String currency)
    • dialCode

      public ManagementProject dialCode(String dialCode)
    • getDialCode

      @Nullable public String getDialCode()
      The country dial code for the project. It is equal to an ITU country code.
      Returns:
      dialCode
    • setDialCode

      public void setDialCode(String dialCode)
    • webhookVersion

      public ManagementProject webhookVersion(ManagementProject.WebhookVersionEnum webhookVersion)
    • getWebhookVersion

      @Nullable public ManagementProject.WebhookVersionEnum getWebhookVersion()
      The webhook version used in the project.
      Returns:
      webhookVersion
    • setWebhookVersion

      public void setWebhookVersion(ManagementProject.WebhookVersionEnum webhookVersion)
    • clientTrustedDomains

      public ManagementProject clientTrustedDomains(List<String> clientTrustedDomains)
    • addClientTrustedDomainsItem

      public ManagementProject addClientTrustedDomainsItem(String clientTrustedDomainsItem)
    • getClientTrustedDomains

      @Nullable public List<String> getClientTrustedDomains()
      An array of URL addresses that allow client requests.
      Returns:
      clientTrustedDomains
    • setClientTrustedDomains

      public void setClientTrustedDomains(List<String> clientTrustedDomains)
    • clientRedeemEnabled

      public ManagementProject clientRedeemEnabled(Boolean clientRedeemEnabled)
    • getClientRedeemEnabled

      @Nullable public Boolean getClientRedeemEnabled()
      Enables client-side redemption.
      Returns:
      clientRedeemEnabled
    • setClientRedeemEnabled

      public void setClientRedeemEnabled(Boolean clientRedeemEnabled)
    • clientPublishEnabled

      public ManagementProject clientPublishEnabled(Boolean clientPublishEnabled)
    • getClientPublishEnabled

      @Nullable public Boolean getClientPublishEnabled()
      Enables client-side publication.
      Returns:
      clientPublishEnabled
    • setClientPublishEnabled

      public void setClientPublishEnabled(Boolean clientPublishEnabled)
    • clientListVouchersEnabled

      public ManagementProject clientListVouchersEnabled(Boolean clientListVouchersEnabled)
    • getClientListVouchersEnabled

      @Nullable public Boolean getClientListVouchersEnabled()
      Enables client-side listing of vouchers.
      Returns:
      clientListVouchersEnabled
    • setClientListVouchersEnabled

      public void setClientListVouchersEnabled(Boolean clientListVouchersEnabled)
    • clientCreateCustomerEnabled

      public ManagementProject clientCreateCustomerEnabled(Boolean clientCreateCustomerEnabled)
    • getClientCreateCustomerEnabled

      @Nullable public Boolean getClientCreateCustomerEnabled()
      Enables client-side creation of customers.
      Returns:
      clientCreateCustomerEnabled
    • setClientCreateCustomerEnabled

      public void setClientCreateCustomerEnabled(Boolean clientCreateCustomerEnabled)
    • clientLoyaltyEventsEnabled

      public ManagementProject clientLoyaltyEventsEnabled(Boolean clientLoyaltyEventsEnabled)
    • getClientLoyaltyEventsEnabled

      @Nullable public Boolean getClientLoyaltyEventsEnabled()
      Enables client-side events for loyalty and referral programs.
      Returns:
      clientLoyaltyEventsEnabled
    • setClientLoyaltyEventsEnabled

      public void setClientLoyaltyEventsEnabled(Boolean clientLoyaltyEventsEnabled)
    • clientSetVoucherExpirationDateEnabled

      public ManagementProject clientSetVoucherExpirationDateEnabled(Boolean clientSetVoucherExpirationDateEnabled)
    • getClientSetVoucherExpirationDateEnabled

      @Nullable public Boolean getClientSetVoucherExpirationDateEnabled()
      Enables client-side setting of voucher expiration date.
      Returns:
      clientSetVoucherExpirationDateEnabled
    • setClientSetVoucherExpirationDateEnabled

      public void setClientSetVoucherExpirationDateEnabled(Boolean clientSetVoucherExpirationDateEnabled)
    • webhooksCalloutNotifications

      public ManagementProject webhooksCalloutNotifications(ManagementProjectWebhooksCalloutNotifications webhooksCalloutNotifications)
    • getWebhooksCalloutNotifications

      @Nullable public ManagementProjectWebhooksCalloutNotifications getWebhooksCalloutNotifications()
      Get webhooksCalloutNotifications
      Returns:
      webhooksCalloutNotifications
    • setWebhooksCalloutNotifications

      public void setWebhooksCalloutNotifications(ManagementProjectWebhooksCalloutNotifications webhooksCalloutNotifications)
    • apiUsageNotifications

      public ManagementProject apiUsageNotifications(ManagementProjectApiUsageNotifications apiUsageNotifications)
    • getApiUsageNotifications

      @Nullable public ManagementProjectApiUsageNotifications getApiUsageNotifications()
      Get apiUsageNotifications
      Returns:
      apiUsageNotifications
    • setApiUsageNotifications

      public void setApiUsageNotifications(ManagementProjectApiUsageNotifications apiUsageNotifications)
    • clusterId

      public ManagementProject clusterId(String clusterId)
    • getClusterId

      @Nullable public String getClusterId()
      The identifier of the cluster where the project will be created.
      Returns:
      clusterId
    • setClusterId

      public void setClusterId(String clusterId)
    • caseSensitiveCodes

      public ManagementProject caseSensitiveCodes(Boolean caseSensitiveCodes)
    • getCaseSensitiveCodes

      @Nullable public Boolean getCaseSensitiveCodes()
      Determines if the vouchers in the project will be: - case sensitive - if `true`, `C0dE-cfV` is **not** equal to `c0de-cfv`), - case insensitive - if `false`, `C0dE-cfV` is equal to `c0de-cfv`.
      Returns:
      caseSensitiveCodes
    • setCaseSensitiveCodes

      public void setCaseSensitiveCodes(Boolean caseSensitiveCodes)
    • apiVersion

      public ManagementProject apiVersion(ManagementProject.ApiVersionEnum apiVersion)
    • getApiVersion

      @Nullable public ManagementProject.ApiVersionEnum getApiVersion()
      The API version used in the project. Currently, the default and only value is `v2018-08-01`.
      Returns:
      apiVersion
    • setApiVersion

      public void setApiVersion(ManagementProject.ApiVersionEnum apiVersion)
    • isSandbox

      public ManagementProject isSandbox(Boolean isSandbox)
    • getIsSandbox

      @Nullable public Boolean getIsSandbox()
      Determines if the project is a sandbox project.
      Returns:
      isSandbox
    • setIsSandbox

      public void setIsSandbox(Boolean isSandbox)
    • webhookToken

      public ManagementProject webhookToken(String webhookToken)
    • getWebhookToken

      @Nullable public String getWebhookToken()
      Webhook token used for authentication.
      Returns:
      webhookToken
    • setWebhookToken

      public void setWebhookToken(String webhookToken)
    • defaultCodeConfig

      public ManagementProject defaultCodeConfig(ManagementProjectDefaultCodeConfig defaultCodeConfig)
    • getDefaultCodeConfig

      @Nullable public ManagementProjectDefaultCodeConfig getDefaultCodeConfig()
      Get defaultCodeConfig
      Returns:
      defaultCodeConfig
    • setDefaultCodeConfig

      public void setDefaultCodeConfig(ManagementProjectDefaultCodeConfig defaultCodeConfig)
    • limits

    • getLimits

      @Nullable public ManagementProjectLimits getLimits()
      Get limits
      Returns:
      limits
    • setLimits

      public void setLimits(ManagementProjectLimits limits)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromJson

      public static ManagementProject fromJson(String jsonString) throws IOException
      Create an instance of ManagementProject given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ManagementProject
      Throws:
      IOException - if the JSON string is invalid with respect to ManagementProject
    • toJson

      public String toJson()
      Convert an instance of ManagementProject to an JSON string
      Returns:
      JSON string