Package io.voucherify.client.model
Class ManagementProjectsCreateResponseBody
java.lang.Object
io.voucherify.client.model.ManagementProjectsCreateResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsCreateResponseBody
extends Object
Response body schema for **POST** `management/v1/projects`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe API version used in the project.static classstatic enumThe webhook version used in the project. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddClientTrustedDomainsItem(String clientTrustedDomainsItem) apiUsageNotifications(ManagementProjectsCreateResponseBodyApiUsageNotifications apiUsageNotifications) caseSensitiveCodes(Boolean caseSensitiveCodes) clientCreateCustomerEnabled(Boolean clientCreateCustomerEnabled) clientListVouchersEnabled(Boolean clientListVouchersEnabled) clientLoyaltyEventsEnabled(Boolean clientLoyaltyEventsEnabled) clientPublishEnabled(Boolean clientPublishEnabled) clientRedeemEnabled(Boolean clientRedeemEnabled) clientSetVoucherExpirationDateEnabled(Boolean clientSetVoucherExpirationDateEnabled) clientSideKey(ManagementProjectsCreateResponseBodyClientSideKey clientSideKey) clientTrustedDomains(List<String> clientTrustedDomains) description(String description) booleanCreate an instance of ManagementProjectsCreateResponseBody given an JSON stringGet apiUsageNotificationsThe API version used in the project.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`.Enables client-side creation of customers.Enables client-side listing of vouchers.Enables client-side events for loyalty and referral programs.Enables client-side publication.Enables client-side redemption.Enables client-side setting of voucher expiration date.Get clientSideKeyAn array of URL addresses that allow client requests.The identifier of the cluster where the project will be created.The currency used in the project.A user-defined description of the project, e.g.The country dial code for the project.getId()Unique identifier of the project.Determines if the project is a sandbox project.getName()The name of the project.Get serverSideKeyThe time zone in which the project is established.Get webhooksCalloutNotificationsWebhook token used for authentication.The webhook version used in the project.inthashCode()serverSideKey(ManagementProjectsCreateResponseBodyServerSideKey serverSideKey) voidsetApiUsageNotifications(ManagementProjectsCreateResponseBodyApiUsageNotifications apiUsageNotifications) voidvoidsetCaseSensitiveCodes(Boolean caseSensitiveCodes) voidsetClientCreateCustomerEnabled(Boolean clientCreateCustomerEnabled) voidsetClientListVouchersEnabled(Boolean clientListVouchersEnabled) voidsetClientLoyaltyEventsEnabled(Boolean clientLoyaltyEventsEnabled) voidsetClientPublishEnabled(Boolean clientPublishEnabled) voidsetClientRedeemEnabled(Boolean clientRedeemEnabled) voidsetClientSetVoucherExpirationDateEnabled(Boolean clientSetVoucherExpirationDateEnabled) voidvoidsetClientTrustedDomains(List<String> clientTrustedDomains) voidsetClusterId(String clusterId) voidsetCurrency(String currency) voidsetDescription(String description) voidsetDialCode(String dialCode) voidvoidsetIsSandbox(Boolean isSandbox) voidvoidvoidsetTimezone(String timezone) voidsetWebhooksCalloutNotifications(ManagementProjectsCreateResponseBodyWebhooksCalloutNotifications webhooksCalloutNotifications) voidsetWebhookToken(String webhookToken) voidtoJson()Convert an instance of ManagementProjectsCreateResponseBody to an JSON stringtoString()webhooksCalloutNotifications(ManagementProjectsCreateResponseBodyWebhooksCalloutNotifications webhooksCalloutNotifications) webhookToken(String webhookToken)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_TIMEZONE
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_DIAL_CODE
- See Also:
-
SERIALIZED_NAME_WEBHOOK_VERSION
- See Also:
-
SERIALIZED_NAME_CLIENT_TRUSTED_DOMAINS
- See Also:
-
SERIALIZED_NAME_CLIENT_REDEEM_ENABLED
- See Also:
-
SERIALIZED_NAME_CLIENT_PUBLISH_ENABLED
- See Also:
-
SERIALIZED_NAME_CLIENT_LIST_VOUCHERS_ENABLED
- See Also:
-
SERIALIZED_NAME_CLIENT_CREATE_CUSTOMER_ENABLED
- See Also:
-
SERIALIZED_NAME_CLIENT_LOYALTY_EVENTS_ENABLED
- See Also:
-
SERIALIZED_NAME_CLIENT_SET_VOUCHER_EXPIRATION_DATE_ENABLED
- See Also:
-
SERIALIZED_NAME_WEBHOOKS_CALLOUT_NOTIFICATIONS
- See Also:
-
SERIALIZED_NAME_API_USAGE_NOTIFICATIONS
- See Also:
-
SERIALIZED_NAME_CLUSTER_ID
- See Also:
-
SERIALIZED_NAME_CASE_SENSITIVE_CODES
- See Also:
-
SERIALIZED_NAME_API_VERSION
- See Also:
-
SERIALIZED_NAME_IS_SANDBOX
- See Also:
-
SERIALIZED_NAME_WEBHOOK_TOKEN
- See Also:
-
SERIALIZED_NAME_SERVER_SIDE_KEY
- See Also:
-
SERIALIZED_NAME_CLIENT_SIDE_KEY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsCreateResponseBody
public ManagementProjectsCreateResponseBody()
-
-
Method Details
-
id
-
getId
Unique identifier of the project.- Returns:
- id
-
setId
-
name
-
getName
The name of the project.- Returns:
- name
-
setName
-
description
-
getDescription
A user-defined description of the project, e.g. its purpose, scope, region.- Returns:
- description
-
setDescription
-
timezone
-
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
-
currency
-
getCurrency
The currency used in the project. It is equal to a 3-letter ISO 4217 code.- Returns:
- currency
-
setCurrency
-
dialCode
-
getDialCode
The country dial code for the project. It is equal to an ITU country code.- Returns:
- dialCode
-
setDialCode
-
webhookVersion
public ManagementProjectsCreateResponseBody webhookVersion(ManagementProjectsCreateResponseBody.WebhookVersionEnum webhookVersion) -
getWebhookVersion
The webhook version used in the project.- Returns:
- webhookVersion
-
setWebhookVersion
public void setWebhookVersion(ManagementProjectsCreateResponseBody.WebhookVersionEnum webhookVersion) -
clientTrustedDomains
-
addClientTrustedDomainsItem
public ManagementProjectsCreateResponseBody addClientTrustedDomainsItem(String clientTrustedDomainsItem) -
getClientTrustedDomains
An array of URL addresses that allow client requests.- Returns:
- clientTrustedDomains
-
setClientTrustedDomains
-
clientRedeemEnabled
-
getClientRedeemEnabled
Enables client-side redemption.- Returns:
- clientRedeemEnabled
-
setClientRedeemEnabled
-
clientPublishEnabled
-
getClientPublishEnabled
Enables client-side publication.- Returns:
- clientPublishEnabled
-
setClientPublishEnabled
-
clientListVouchersEnabled
public ManagementProjectsCreateResponseBody clientListVouchersEnabled(Boolean clientListVouchersEnabled) -
getClientListVouchersEnabled
Enables client-side listing of vouchers.- Returns:
- clientListVouchersEnabled
-
setClientListVouchersEnabled
-
clientCreateCustomerEnabled
public ManagementProjectsCreateResponseBody clientCreateCustomerEnabled(Boolean clientCreateCustomerEnabled) -
getClientCreateCustomerEnabled
Enables client-side creation of customers.- Returns:
- clientCreateCustomerEnabled
-
setClientCreateCustomerEnabled
-
clientLoyaltyEventsEnabled
public ManagementProjectsCreateResponseBody clientLoyaltyEventsEnabled(Boolean clientLoyaltyEventsEnabled) -
getClientLoyaltyEventsEnabled
Enables client-side events for loyalty and referral programs.- Returns:
- clientLoyaltyEventsEnabled
-
setClientLoyaltyEventsEnabled
-
clientSetVoucherExpirationDateEnabled
public ManagementProjectsCreateResponseBody clientSetVoucherExpirationDateEnabled(Boolean clientSetVoucherExpirationDateEnabled) -
getClientSetVoucherExpirationDateEnabled
Enables client-side setting of voucher expiration date.- Returns:
- clientSetVoucherExpirationDateEnabled
-
setClientSetVoucherExpirationDateEnabled
-
webhooksCalloutNotifications
public ManagementProjectsCreateResponseBody webhooksCalloutNotifications(ManagementProjectsCreateResponseBodyWebhooksCalloutNotifications webhooksCalloutNotifications) -
getWebhooksCalloutNotifications
@Nullable public ManagementProjectsCreateResponseBodyWebhooksCalloutNotifications getWebhooksCalloutNotifications()Get webhooksCalloutNotifications- Returns:
- webhooksCalloutNotifications
-
setWebhooksCalloutNotifications
public void setWebhooksCalloutNotifications(ManagementProjectsCreateResponseBodyWebhooksCalloutNotifications webhooksCalloutNotifications) -
apiUsageNotifications
public ManagementProjectsCreateResponseBody apiUsageNotifications(ManagementProjectsCreateResponseBodyApiUsageNotifications apiUsageNotifications) -
getApiUsageNotifications
@Nullable public ManagementProjectsCreateResponseBodyApiUsageNotifications getApiUsageNotifications()Get apiUsageNotifications- Returns:
- apiUsageNotifications
-
setApiUsageNotifications
public void setApiUsageNotifications(ManagementProjectsCreateResponseBodyApiUsageNotifications apiUsageNotifications) -
clusterId
-
getClusterId
The identifier of the cluster where the project will be created.- Returns:
- clusterId
-
setClusterId
-
caseSensitiveCodes
-
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
-
apiVersion
public ManagementProjectsCreateResponseBody apiVersion(ManagementProjectsCreateResponseBody.ApiVersionEnum apiVersion) -
getApiVersion
The API version used in the project. Currently, the default and only value is `v2018-08-01`.- Returns:
- apiVersion
-
setApiVersion
-
isSandbox
-
getIsSandbox
Determines if the project is a sandbox project.- Returns:
- isSandbox
-
setIsSandbox
-
webhookToken
-
getWebhookToken
Webhook token used for authentication.- Returns:
- webhookToken
-
setWebhookToken
-
serverSideKey
public ManagementProjectsCreateResponseBody serverSideKey(ManagementProjectsCreateResponseBodyServerSideKey serverSideKey) -
getServerSideKey
Get serverSideKey- Returns:
- serverSideKey
-
setServerSideKey
-
clientSideKey
public ManagementProjectsCreateResponseBody clientSideKey(ManagementProjectsCreateResponseBodyClientSideKey clientSideKey) -
getClientSideKey
Get clientSideKey- Returns:
- clientSideKey
-
setClientSideKey
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of ManagementProjectsCreateResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsCreateResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsCreateResponseBody
-
toJson
Convert an instance of ManagementProjectsCreateResponseBody to an JSON string- Returns:
- JSON string
-