diff --git a/openapi/api.yaml b/openapi/api.yaml index 32cbdca..d68f36e 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -179,6 +179,35 @@ info: header contains an integer value representing the time, measured in seconds since the UNIX Epoch, at which the request count will be reset. + ## Idempotent Requests + + Recurly supports idempotent requests via the `Idempotency-Key` header for + `POST`, `PUT`, `PATCH`, and `DELETE` requests. This allows API clients to + safely retry these requests without risk of duplicate operations. + + When you send a request with an `Idempotency-Key` header, Recurly stores the + response for **1 hour**. If you send an identical request (same key, method, + path, and API key) within that window, Recurly replays the original response + rather than processing a new one. The replay response includes an + `Idempotency-Prior: true` header. + + If a request with the same key is **already in flight** when a second arrives, + the server returns `409 Conflict` with `Recurly-Should-Retry: true` and a + `Retry-After` header indicating how long to wait in seconds before retrying. + + > **Note:** `429 Too Many Requests` responses are intentionally **not** cached. + > You may retry freely once your rate limit resets without risk of unintended + > replay behavior. + + Keys must be **255 characters or fewer**. Keys exceeding this limit will + receive a `400 Bad Request` response. We recommend using a UUID v4 as your + key to guarantee uniqueness. + + > **SDK support:** Native `Idempotency-Key` management (automatic key + > generation, retry handling, and replay detection) is currently supported only + > in the **Ruby SDK**. When using other SDKs or raw HTTP clients, you must + > supply and manage the `Idempotency-Key` header yourself. + ## Change Log A list of changes for this version can be found [in the changelog](https://recurly.com/developers/api/changelog.html#v2021-02-25---current-ga-version). @@ -18737,6 +18766,14 @@ components: at the root level and must not be included in individual line items. items: "$ref": "#/components/schemas/RecoveryLineItemCreate" + transaction_descriptor_suffix: + type: string + title: Transaction Descriptor Suffix + maxLength: 255 + description: Optionally overrides the suffix component of the composed transaction + descriptor. If omitted, the suffix is derived from the subscription's + plan name or the invoice description, with a Trial prefix on Visa trial + conversions. Subject to gateway availability and payment method support. required: - currency - due_at @@ -21585,6 +21622,14 @@ components: with the original subscription. vertex_transaction_type: "$ref": "#/components/schemas/VertexTransactionTypeEnum" + transaction_descriptor_suffix: + type: string + title: Transaction Descriptor Suffix + maxLength: 255 + description: Optionally overrides the suffix component of the composed transaction + descriptor. If omitted, the suffix is derived from the subscription's + plan name or the invoice description, with a Trial prefix on Visa trial + conversions. Subject to gateway availability and payment method support. required: - currency InvoiceCollect: @@ -24708,6 +24753,14 @@ components: default: false proration_settings: "$ref": "#/components/schemas/SubscriptionCreateProrationSettings" + transaction_descriptor_suffix: + type: string + title: Transaction Descriptor Suffix + maxLength: 255 + description: Optionally overrides the suffix component of the composed transaction + descriptor. If omitted, the suffix is derived from the subscription's + plan name or the invoice description, with a Trial prefix on Visa trial + conversions. Subject to gateway availability and payment method support. required: - plan_code - currency @@ -24927,6 +24980,14 @@ components: billing info to the subscription, all future billing events for the subscription will bill to the specified billing info. `billing_info_id` can ONLY be used for sites utilizing the Wallet feature. + transaction_descriptor_suffix: + type: string + title: Transaction Descriptor Suffix + maxLength: 255 + description: Optionally overrides the suffix component of the composed transaction + descriptor. If omitted, the suffix is derived from the subscription's + plan name or the invoice description, with a Trial prefix on Visa trial + conversions. Subject to gateway availability and payment method support. SubscriptionPause: type: object properties: @@ -25786,6 +25847,15 @@ components: including both gateway-level fraud checks and Recurly's fraud detection services. This is useful for trusted transactions where fraud screening is not required. + descriptor_suffix: + type: string + title: Transaction Descriptor Suffix + maxLength: 255 + description: Optionally overrides the suffix component of the composed + transaction descriptor. If omitted, the suffix is derived from the + subscription's plan name or the invoice description, with a Trial + prefix on Visa trial conversions. Subject to gateway availability + and payment method support. customer_notes: type: string title: Customer notes @@ -28120,6 +28190,7 @@ components: - mercadopago - klarna - braintree_google_pay + - stripe_link CardTypeEnum: type: string enum: diff --git a/src/main/java/com/recurly/v3/Client.java b/src/main/java/com/recurly/v3/Client.java index 79c79e3..99d3292 100644 --- a/src/main/java/com/recurly/v3/Client.java +++ b/src/main/java/com/recurly/v3/Client.java @@ -55,6 +55,24 @@ public Pager listSites(ListSitesParams queryParams) { return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List sites + * + * @see list_sites api documentation + * @param queryParams The {@link ListSitesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of sites. + */ + public Pager listSites(ListSitesParams queryParams, RequestOptions options) { + final String url = "/sites"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListSitesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Site.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch a site * @@ -71,6 +89,23 @@ public Site getSite(String siteId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a site + * + * @see get_site api documentation + * @param siteId Site ID or subdomain. For ID no prefix is used e.g. `e28zov4fw0v2`. For subdomain use prefix `subdomain-`, e.g. `subdomain-recurly`. + * @param options The {@link RequestOptions} for this request. + * @return A site. + */ + public Site getSite(String siteId, RequestOptions options) { + final String url = "/sites/{site_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("site_id", siteId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Site.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * List a site's accounts * @@ -98,6 +133,24 @@ public Pager listAccounts(ListAccountsParams queryParams) { return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's accounts + * + * @see list_accounts api documentation + * @param queryParams The {@link ListAccountsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's accounts. + */ + public Pager listAccounts(ListAccountsParams queryParams, RequestOptions options) { + final String url = "/accounts"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListAccountsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Account.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create an account * @@ -113,6 +166,22 @@ public Account createAccount(AccountCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create an account + * + * @see create_account api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return An account. + */ + public Account createAccount(AccountCreate body, RequestOptions options) { + final String url = "/accounts"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Account.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch an account * @@ -129,6 +198,23 @@ public Account getAccount(String accountId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an account + * + * @see get_account api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + * @return An account. + */ + public Account getAccount(String accountId, RequestOptions options) { + final String url = "/accounts/{account_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Account.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update an account * @@ -146,6 +232,24 @@ public Account updateAccount(String accountId, AccountUpdate body) { return this.makeRequest("PUT", path, body, returnType); } + /** + * Update an account + * + * @see update_account api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return An account. + */ + public Account updateAccount(String accountId, AccountUpdate body, RequestOptions options) { + final String url = "/accounts/{account_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Account.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Deactivate an account * @@ -176,6 +280,26 @@ public Account deactivateAccount(String accountId, DeactivateAccountParams query return this.makeRequest("DELETE", path, paramsMap, returnType); } + /** + * Deactivate an account + * + * @see deactivate_account api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link DeactivateAccountParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return An account. + */ + public Account deactivateAccount(String accountId, DeactivateAccountParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new DeactivateAccountParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Account.class; + return this.makeRequest("DELETE", path, paramsMap, options, returnType); + } + /** * Redact an account (GDPR Right to Erasure) * @@ -192,6 +316,23 @@ public Account redactAccount(String accountId) { return this.makeRequest("PUT", path, returnType); } + /** + * Redact an account (GDPR Right to Erasure) + * + * @see redact_account api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + * @return Account has been accepted for redaction and will be processed asynchronously. + */ + public Account redactAccount(String accountId, RequestOptions options) { + final String url = "/accounts/{account_id}/redact"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Account.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Fetch an account's acquisition data * @@ -208,6 +349,23 @@ public AccountAcquisition getAccountAcquisition(String accountId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an account's acquisition data + * + * @see get_account_acquisition api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + * @return An account's acquisition data. + */ + public AccountAcquisition getAccountAcquisition(String accountId, RequestOptions options) { + final String url = "/accounts/{account_id}/acquisition"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = AccountAcquisition.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update an account's acquisition data * @@ -225,6 +383,24 @@ public AccountAcquisition updateAccountAcquisition(String accountId, AccountAcqu return this.makeRequest("PUT", path, body, returnType); } + /** + * Update an account's acquisition data + * + * @see update_account_acquisition api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return An account's updated acquisition data. + */ + public AccountAcquisition updateAccountAcquisition(String accountId, AccountAcquisitionUpdate body, RequestOptions options) { + final String url = "/accounts/{account_id}/acquisition"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = AccountAcquisition.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Remove an account's acquisition data * @@ -239,6 +415,21 @@ public void removeAccountAcquisition(String accountId) { this.makeRequest("DELETE", path); } + /** + * Remove an account's acquisition data + * + * @see remove_account_acquisition api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + */ + public void removeAccountAcquisition(String accountId, RequestOptions options) { + final String url = "/accounts/{account_id}/acquisition"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + this.makeRequest("DELETE", path, options); + } + /** * Reactivate an inactive account * @@ -255,6 +446,23 @@ public Account reactivateAccount(String accountId) { return this.makeRequest("PUT", path, returnType); } + /** + * Reactivate an inactive account + * + * @see reactivate_account api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + * @return An account. + */ + public Account reactivateAccount(String accountId, RequestOptions options) { + final String url = "/accounts/{account_id}/reactivate"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Account.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Fetch an account's balance and past due status * @@ -271,6 +479,23 @@ public AccountBalance getAccountBalance(String accountId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an account's balance and past due status + * + * @see get_account_balance api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + * @return An account's balance. + */ + public AccountBalance getAccountBalance(String accountId, RequestOptions options) { + final String url = "/accounts/{account_id}/balance"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = AccountBalance.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Fetch an account's billing information * @@ -287,6 +512,23 @@ public BillingInfo getBillingInfo(String accountId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an account's billing information + * + * @see get_billing_info api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + * @return An account's billing information. + */ + public BillingInfo getBillingInfo(String accountId, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_info"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = BillingInfo.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Set an account's billing information * @@ -304,6 +546,24 @@ public BillingInfo updateBillingInfo(String accountId, BillingInfoCreate body) { return this.makeRequest("PUT", path, body, returnType); } + /** + * Set an account's billing information + * + * @see update_billing_info api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Updated billing information. + */ + public BillingInfo updateBillingInfo(String accountId, BillingInfoCreate body, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_info"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = BillingInfo.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Remove an account's billing information * @@ -318,6 +578,21 @@ public void removeBillingInfo(String accountId) { this.makeRequest("DELETE", path); } + /** + * Remove an account's billing information + * + * @see remove_billing_info api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + */ + public void removeBillingInfo(String accountId, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_info"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + this.makeRequest("DELETE", path, options); + } + /** * Verify an account's credit card billing information * @@ -339,28 +614,28 @@ public Transaction verifyBillingInfo(String accountId) { * * @see verify_billing_info api documentation * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. - * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. * @return Transaction information from verify. */ - public Transaction verifyBillingInfo(String accountId, BillingInfoVerify body) { + public Transaction verifyBillingInfo(String accountId, RequestOptions options) { final String url = "/accounts/{account_id}/billing_info/verify"; final HashMap urlParams = new HashMap(); urlParams.put("account_id", accountId); final String path = this.interpolatePath(url, urlParams); Type returnType = Transaction.class; - return this.makeRequest("POST", path, body, returnType); + return this.makeRequest("POST", path, options, returnType); } /** - * Verify an account's credit card billing cvv + * Verify an account's credit card billing information * - * @see verify_billing_info_cvv api documentation + * @see verify_billing_info api documentation * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. * @param body The body of the request. * @return Transaction information from verify. */ - public Transaction verifyBillingInfoCvv(String accountId, BillingInfoVerifyCVV body) { - final String url = "/accounts/{account_id}/billing_info/verify_cvv"; + public Transaction verifyBillingInfo(String accountId, BillingInfoVerify body) { + final String url = "/accounts/{account_id}/billing_info/verify"; final HashMap urlParams = new HashMap(); urlParams.put("account_id", accountId); final String path = this.interpolatePath(url, urlParams); @@ -369,18 +644,71 @@ public Transaction verifyBillingInfoCvv(String accountId, BillingInfoVerifyCVV b } /** - * Get the list of billing information associated with an account + * Verify an account's credit card billing information * - * @see list_billing_infos api documentation + * @see verify_billing_info api documentation * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. - * @return A list of the the billing information for an account's + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Transaction information from verify. */ - public Pager listBillingInfos(String accountId) { - return listBillingInfos(accountId, new ListBillingInfosParams()); + public Transaction verifyBillingInfo(String accountId, BillingInfoVerify body, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_info/verify"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Transaction.class; + return this.makeRequest("POST", path, body, options, returnType); } /** - * Get the list of billing information associated with an account + * Verify an account's credit card billing cvv + * + * @see verify_billing_info_cvv api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @return Transaction information from verify. + */ + public Transaction verifyBillingInfoCvv(String accountId, BillingInfoVerifyCVV body) { + final String url = "/accounts/{account_id}/billing_info/verify_cvv"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Transaction.class; + return this.makeRequest("POST", path, body, returnType); + } + + /** + * Verify an account's credit card billing cvv + * + * @see verify_billing_info_cvv api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Transaction information from verify. + */ + public Transaction verifyBillingInfoCvv(String accountId, BillingInfoVerifyCVV body, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_info/verify_cvv"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Transaction.class; + return this.makeRequest("POST", path, body, options, returnType); + } + + /** + * Get the list of billing information associated with an account + * + * @see list_billing_infos api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @return A list of the the billing information for an account's + */ + public Pager listBillingInfos(String accountId) { + return listBillingInfos(accountId, new ListBillingInfosParams()); + } + + /** + * Get the list of billing information associated with an account * * @see list_billing_infos api documentation * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. @@ -398,6 +726,26 @@ public Pager listBillingInfos(String accountId, ListBillingInfosPar return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * Get the list of billing information associated with an account + * + * @see list_billing_infos api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListBillingInfosParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the billing information for an account's + */ + public Pager listBillingInfos(String accountId, ListBillingInfosParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_infos"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListBillingInfosParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, BillingInfo.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Add new billing information on an account * @@ -415,6 +763,24 @@ public BillingInfo createBillingInfo(String accountId, BillingInfoCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Add new billing information on an account + * + * @see create_billing_info api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Updated billing information. + */ + public BillingInfo createBillingInfo(String accountId, BillingInfoCreate body, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_infos"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = BillingInfo.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch a billing info * @@ -433,6 +799,25 @@ public BillingInfo getABillingInfo(String accountId, String billingInfoId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a billing info + * + * @see get_a_billing_info api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param billingInfoId Billing Info ID. Can ONLY be used for sites utilizing the Wallet feature. + * @param options The {@link RequestOptions} for this request. + * @return A billing info. + */ + public BillingInfo getABillingInfo(String accountId, String billingInfoId, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_infos/{billing_info_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("billing_info_id", billingInfoId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = BillingInfo.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update an account's billing information * @@ -452,6 +837,26 @@ public BillingInfo updateABillingInfo(String accountId, String billingInfoId, Bi return this.makeRequest("PUT", path, body, returnType); } + /** + * Update an account's billing information + * + * @see update_a_billing_info api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param billingInfoId Billing Info ID. Can ONLY be used for sites utilizing the Wallet feature. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Updated billing information. + */ + public BillingInfo updateABillingInfo(String accountId, String billingInfoId, BillingInfoCreate body, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_infos/{billing_info_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("billing_info_id", billingInfoId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = BillingInfo.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Remove an account's billing information * @@ -468,6 +873,23 @@ public void removeABillingInfo(String accountId, String billingInfoId) { this.makeRequest("DELETE", path); } + /** + * Remove an account's billing information + * + * @see remove_a_billing_info api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param billingInfoId Billing Info ID. Can ONLY be used for sites utilizing the Wallet feature. + * @param options The {@link RequestOptions} for this request. + */ + public void removeABillingInfo(String accountId, String billingInfoId, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_infos/{billing_info_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("billing_info_id", billingInfoId); + final String path = this.interpolatePath(url, urlParams); + this.makeRequest("DELETE", path, options); + } + /** * Verify a billing information's credit card * @@ -486,6 +908,25 @@ public Transaction verifyBillingInfos(String accountId, String billingInfoId) { return this.makeRequest("POST", path, returnType); } + /** + * Verify a billing information's credit card + * + * @see verify_billing_infos api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param billingInfoId Billing Info ID. Can ONLY be used for sites utilizing the Wallet feature. + * @param options The {@link RequestOptions} for this request. + * @return Transaction information from verify. + */ + public Transaction verifyBillingInfos(String accountId, String billingInfoId, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_infos/{billing_info_id}/verify"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("billing_info_id", billingInfoId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Transaction.class; + return this.makeRequest("POST", path, options, returnType); + } + /** * Verify a billing information's credit card * @@ -505,6 +946,26 @@ public Transaction verifyBillingInfos(String accountId, String billingInfoId, Bi return this.makeRequest("POST", path, body, returnType); } + /** + * Verify a billing information's credit card + * + * @see verify_billing_infos api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param billingInfoId Billing Info ID. Can ONLY be used for sites utilizing the Wallet feature. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Transaction information from verify. + */ + public Transaction verifyBillingInfos(String accountId, String billingInfoId, BillingInfoVerify body, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_infos/{billing_info_id}/verify"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("billing_info_id", billingInfoId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Transaction.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Verify a billing information's credit card cvv * @@ -524,6 +985,26 @@ public Transaction verifyBillingInfosCvv(String accountId, String billingInfoId, return this.makeRequest("POST", path, body, returnType); } + /** + * Verify a billing information's credit card cvv + * + * @see verify_billing_infos_cvv api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param billingInfoId Billing Info ID. Can ONLY be used for sites utilizing the Wallet feature. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Transaction information from verify. + */ + public Transaction verifyBillingInfosCvv(String accountId, String billingInfoId, BillingInfoVerifyCVV body, RequestOptions options) { + final String url = "/accounts/{account_id}/billing_infos/{billing_info_id}/verify_cvv"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("billing_info_id", billingInfoId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Transaction.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * List the coupon redemptions for an account * @@ -554,6 +1035,26 @@ public Pager listAccountCouponRedemptions(String accountId, Li return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List the coupon redemptions for an account + * + * @see list_account_coupon_redemptions api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListAccountCouponRedemptionsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the coupon redemptions on an account. + */ + public Pager listAccountCouponRedemptions(String accountId, ListAccountCouponRedemptionsParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/coupon_redemptions"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListAccountCouponRedemptionsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, CouponRedemption.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List the coupon redemptions that are active on an account * @@ -570,6 +1071,23 @@ public Pager listActiveCouponRedemptions(String accountId) { return new Pager<>(path, null, this, parameterizedType); } + /** + * List the coupon redemptions that are active on an account + * + * @see list_active_coupon_redemptions api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + * @return Active coupon redemptions on an account. + */ + public Pager listActiveCouponRedemptions(String accountId, RequestOptions options) { + final String url = "/accounts/{account_id}/coupon_redemptions/active"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, CouponRedemption.class).getType(); + return new Pager<>(path, null, this, parameterizedType); + } + /** * Generate an active coupon redemption on an account or subscription * @@ -587,6 +1105,24 @@ public CouponRedemption createCouponRedemption(String accountId, CouponRedemptio return this.makeRequest("POST", path, body, returnType); } + /** + * Generate an active coupon redemption on an account or subscription + * + * @see create_coupon_redemption api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the new coupon redemption. + */ + public CouponRedemption createCouponRedemption(String accountId, CouponRedemptionCreate body, RequestOptions options) { + final String url = "/accounts/{account_id}/coupon_redemptions/active"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = CouponRedemption.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Delete the active coupon redemption from an account * @@ -603,6 +1139,23 @@ public CouponRedemption removeCouponRedemption(String accountId) { return this.makeRequest("DELETE", path, returnType); } + /** + * Delete the active coupon redemption from an account + * + * @see remove_coupon_redemption api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + * @return Coupon redemption deleted. + */ + public CouponRedemption removeCouponRedemption(String accountId, RequestOptions options) { + final String url = "/accounts/{account_id}/coupon_redemptions/active"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = CouponRedemption.class; + return this.makeRequest("DELETE", path, options, returnType); + } + /** * Show the coupon redemption * @@ -621,6 +1174,25 @@ public CouponRedemption getCouponRedemption(String accountId, String couponRedem return this.makeRequest("GET", path, returnType); } + /** + * Show the coupon redemption + * + * @see get_coupon_redemption api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param couponRedemptionId Coupon Redemption ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return A coupon redemption. + */ + public CouponRedemption getCouponRedemption(String accountId, String couponRedemptionId, RequestOptions options) { + final String url = "/accounts/{account_id}/coupon_redemptions/{coupon_redemption_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("coupon_redemption_id", couponRedemptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = CouponRedemption.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Delete the coupon redemption * @@ -639,6 +1211,25 @@ public CouponRedemption removeCouponRedemptionById(String accountId, String coup return this.makeRequest("DELETE", path, returnType); } + /** + * Delete the coupon redemption + * + * @see remove_coupon_redemption_by_id api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param couponRedemptionId Coupon Redemption ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return Coupon redemption deleted. + */ + public CouponRedemption removeCouponRedemptionById(String accountId, String couponRedemptionId, RequestOptions options) { + final String url = "/accounts/{account_id}/coupon_redemptions/{coupon_redemption_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("coupon_redemption_id", couponRedemptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = CouponRedemption.class; + return this.makeRequest("DELETE", path, options, returnType); + } + /** * List an account's credit payments * @@ -669,6 +1260,26 @@ public Pager listAccountCreditPayments(String accountId, ListAcco return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List an account's credit payments + * + * @see list_account_credit_payments api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListAccountCreditPaymentsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the account's credit payments. + */ + public Pager listAccountCreditPayments(String accountId, ListAccountCreditPaymentsParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/credit_payments"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListAccountCreditPaymentsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, CreditPayment.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List external accounts for an account * @@ -685,6 +1296,23 @@ public Pager listAccountExternalAccount(String accountId) { return new Pager<>(path, null, this, parameterizedType); } + /** + * List external accounts for an account + * + * @see list_account_external_account api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + * @return A list of external accounts on an account. + */ + public Pager listAccountExternalAccount(String accountId, RequestOptions options) { + final String url = "/accounts/{account_id}/external_accounts"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ExternalAccount.class).getType(); + return new Pager<>(path, null, this, parameterizedType); + } + /** * Create an external account * @@ -699,44 +1327,119 @@ public ExternalAccount createAccountExternalAccount(String accountId, ExternalAc urlParams.put("account_id", accountId); final String path = this.interpolatePath(url, urlParams); Type returnType = ExternalAccount.class; - return this.makeRequest("POST", path, body, returnType); + return this.makeRequest("POST", path, body, returnType); + } + + /** + * Create an external account + * + * @see create_account_external_account api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A representation of the created external_account. + */ + public ExternalAccount createAccountExternalAccount(String accountId, ExternalAccountCreate body, RequestOptions options) { + final String url = "/accounts/{account_id}/external_accounts"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalAccount.class; + return this.makeRequest("POST", path, body, options, returnType); + } + + /** + * Get an external account for an account + * + * @see get_account_external_account api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param externalAccountId External account ID, e.g. `s28zov4fw0cb`. + * @return A external account on an account. + */ + public ExternalAccount getAccountExternalAccount(String accountId, String externalAccountId) { + final String url = "/accounts/{account_id}/external_accounts/{external_account_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("external_account_id", externalAccountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalAccount.class; + return this.makeRequest("GET", path, returnType); + } + + /** + * Get an external account for an account + * + * @see get_account_external_account api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param externalAccountId External account ID, e.g. `s28zov4fw0cb`. + * @param options The {@link RequestOptions} for this request. + * @return A external account on an account. + */ + public ExternalAccount getAccountExternalAccount(String accountId, String externalAccountId, RequestOptions options) { + final String url = "/accounts/{account_id}/external_accounts/{external_account_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("external_account_id", externalAccountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalAccount.class; + return this.makeRequest("GET", path, options, returnType); + } + + /** + * Update an external account + * + * @see update_account_external_account api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param externalAccountId External account ID, e.g. `s28zov4fw0cb`. + * @param body The body of the request. + * @return A representation of the updated external_account. + */ + public ExternalAccount updateAccountExternalAccount(String accountId, String externalAccountId, ExternalAccountUpdate body) { + final String url = "/accounts/{account_id}/external_accounts/{external_account_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("external_account_id", externalAccountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalAccount.class; + return this.makeRequest("PUT", path, body, returnType); } /** - * Get an external account for an account + * Update an external account * - * @see get_account_external_account api documentation + * @see update_account_external_account api documentation * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. * @param externalAccountId External account ID, e.g. `s28zov4fw0cb`. - * @return A external account on an account. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A representation of the updated external_account. */ - public ExternalAccount getAccountExternalAccount(String accountId, String externalAccountId) { + public ExternalAccount updateAccountExternalAccount(String accountId, String externalAccountId, ExternalAccountUpdate body, RequestOptions options) { final String url = "/accounts/{account_id}/external_accounts/{external_account_id}"; final HashMap urlParams = new HashMap(); urlParams.put("account_id", accountId); urlParams.put("external_account_id", externalAccountId); final String path = this.interpolatePath(url, urlParams); Type returnType = ExternalAccount.class; - return this.makeRequest("GET", path, returnType); + return this.makeRequest("PUT", path, body, options, returnType); } /** - * Update an external account + * Delete an external account for an account * - * @see update_account_external_account api documentation + * @see delete_account_external_account api documentation * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. * @param externalAccountId External account ID, e.g. `s28zov4fw0cb`. - * @param body The body of the request. - * @return A representation of the updated external_account. + * @return Successful Delete */ - public ExternalAccount updateAccountExternalAccount(String accountId, String externalAccountId, ExternalAccountUpdate body) { + public ExternalAccount deleteAccountExternalAccount(String accountId, String externalAccountId) { final String url = "/accounts/{account_id}/external_accounts/{external_account_id}"; final HashMap urlParams = new HashMap(); urlParams.put("account_id", accountId); urlParams.put("external_account_id", externalAccountId); final String path = this.interpolatePath(url, urlParams); Type returnType = ExternalAccount.class; - return this.makeRequest("PUT", path, body, returnType); + return this.makeRequest("DELETE", path, returnType); } /** @@ -745,16 +1448,17 @@ public ExternalAccount updateAccountExternalAccount(String accountId, String ext * @see delete_account_external_account api documentation * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. * @param externalAccountId External account ID, e.g. `s28zov4fw0cb`. + * @param options The {@link RequestOptions} for this request. * @return Successful Delete */ - public ExternalAccount deleteAccountExternalAccount(String accountId, String externalAccountId) { + public ExternalAccount deleteAccountExternalAccount(String accountId, String externalAccountId, RequestOptions options) { final String url = "/accounts/{account_id}/external_accounts/{external_account_id}"; final HashMap urlParams = new HashMap(); urlParams.put("account_id", accountId); urlParams.put("external_account_id", externalAccountId); final String path = this.interpolatePath(url, urlParams); Type returnType = ExternalAccount.class; - return this.makeRequest("DELETE", path, returnType); + return this.makeRequest("DELETE", path, options, returnType); } /** @@ -787,6 +1491,26 @@ public Pager listAccountExternalInvoices(String accountId, List return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List the external invoices on an account + * + * @see list_account_external_invoices api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListAccountExternalInvoicesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the external_invoices on an account. + */ + public Pager listAccountExternalInvoices(String accountId, ListAccountExternalInvoicesParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/external_invoices"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListAccountExternalInvoicesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ExternalInvoice.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List an account's invoices * @@ -817,6 +1541,26 @@ public Pager listAccountInvoices(String accountId, ListAccountInvoicesP return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List an account's invoices + * + * @see list_account_invoices api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListAccountInvoicesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the account's invoices. + */ + public Pager listAccountInvoices(String accountId, ListAccountInvoicesParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/invoices"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListAccountInvoicesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Invoice.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create an invoice for pending line items * @@ -834,6 +1578,24 @@ public InvoiceCollection createInvoice(String accountId, InvoiceCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create an invoice for pending line items + * + * @see create_invoice api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the new invoices. + */ + public InvoiceCollection createInvoice(String accountId, InvoiceCreate body, RequestOptions options) { + final String url = "/accounts/{account_id}/invoices"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = InvoiceCollection.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Preview new invoice for pending line items * @@ -851,6 +1613,24 @@ public InvoiceCollection previewInvoice(String accountId, InvoiceCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Preview new invoice for pending line items + * + * @see preview_invoice api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the invoice previews. + */ + public InvoiceCollection previewInvoice(String accountId, InvoiceCreate body, RequestOptions options) { + final String url = "/accounts/{account_id}/invoices/preview"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = InvoiceCollection.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * List an account's line items * @@ -881,6 +1661,26 @@ public Pager listAccountLineItems(String accountId, ListAccountLineIte return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List an account's line items + * + * @see list_account_line_items api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListAccountLineItemsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the account's line items. + */ + public Pager listAccountLineItems(String accountId, ListAccountLineItemsParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/line_items"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListAccountLineItemsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, LineItem.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create a new line item for the account * @@ -898,6 +1698,24 @@ public LineItem createLineItem(String accountId, LineItemCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create a new line item for the account + * + * @see create_line_item api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the new line item. + */ + public LineItem createLineItem(String accountId, LineItemCreate body, RequestOptions options) { + final String url = "/accounts/{account_id}/line_items"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = LineItem.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * List an account's notes * @@ -928,6 +1746,26 @@ public Pager listAccountNotes(String accountId, ListAccountNotesPar return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List an account's notes + * + * @see list_account_notes api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListAccountNotesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of an account's notes. + */ + public Pager listAccountNotes(String accountId, ListAccountNotesParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/notes"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListAccountNotesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, AccountNote.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create an account note * @@ -945,6 +1783,24 @@ public AccountNote createAccountNote(String accountId, AccountNoteCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create an account note + * + * @see create_account_note api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return An account note. + */ + public AccountNote createAccountNote(String accountId, AccountNoteCreate body, RequestOptions options) { + final String url = "/accounts/{account_id}/notes"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = AccountNote.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch an account note * @@ -963,6 +1819,25 @@ public AccountNote getAccountNote(String accountId, String accountNoteId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an account note + * + * @see get_account_note api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param accountNoteId Account Note ID. + * @param options The {@link RequestOptions} for this request. + * @return An account note. + */ + public AccountNote getAccountNote(String accountId, String accountNoteId, RequestOptions options) { + final String url = "/accounts/{account_id}/notes/{account_note_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("account_note_id", accountNoteId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = AccountNote.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Delete an account note * @@ -979,6 +1854,23 @@ public void removeAccountNote(String accountId, String accountNoteId) { this.makeRequest("DELETE", path); } + /** + * Delete an account note + * + * @see remove_account_note api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param accountNoteId Account Note ID. + * @param options The {@link RequestOptions} for this request. + */ + public void removeAccountNote(String accountId, String accountNoteId, RequestOptions options) { + final String url = "/accounts/{account_id}/notes/{account_note_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("account_note_id", accountNoteId); + final String path = this.interpolatePath(url, urlParams); + this.makeRequest("DELETE", path, options); + } + /** * Fetch a list of an account's shipping addresses * @@ -1009,6 +1901,26 @@ public Pager listShippingAddresses(String accountId, ListShippi return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * Fetch a list of an account's shipping addresses + * + * @see list_shipping_addresses api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListShippingAddressesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of an account's shipping addresses. + */ + public Pager listShippingAddresses(String accountId, ListShippingAddressesParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/shipping_addresses"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListShippingAddressesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ShippingAddress.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create a new shipping address for the account * @@ -1026,6 +1938,24 @@ public ShippingAddress createShippingAddress(String accountId, ShippingAddressCr return this.makeRequest("POST", path, body, returnType); } + /** + * Create a new shipping address for the account + * + * @see create_shipping_address api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the new shipping address. + */ + public ShippingAddress createShippingAddress(String accountId, ShippingAddressCreate body, RequestOptions options) { + final String url = "/accounts/{account_id}/shipping_addresses"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ShippingAddress.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch an account's shipping address * @@ -1044,6 +1974,44 @@ public ShippingAddress getShippingAddress(String accountId, String shippingAddre return this.makeRequest("GET", path, returnType); } + /** + * Fetch an account's shipping address + * + * @see get_shipping_address api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param shippingAddressId Shipping Address ID. + * @param options The {@link RequestOptions} for this request. + * @return A shipping address. + */ + public ShippingAddress getShippingAddress(String accountId, String shippingAddressId, RequestOptions options) { + final String url = "/accounts/{account_id}/shipping_addresses/{shipping_address_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("shipping_address_id", shippingAddressId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ShippingAddress.class; + return this.makeRequest("GET", path, options, returnType); + } + + /** + * Update an account's shipping address + * + * @see update_shipping_address api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param shippingAddressId Shipping Address ID. + * @param body The body of the request. + * @return The updated shipping address. + */ + public ShippingAddress updateShippingAddress(String accountId, String shippingAddressId, ShippingAddressUpdate body) { + final String url = "/accounts/{account_id}/shipping_addresses/{shipping_address_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("shipping_address_id", shippingAddressId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ShippingAddress.class; + return this.makeRequest("PUT", path, body, returnType); + } + /** * Update an account's shipping address * @@ -1051,16 +2019,17 @@ public ShippingAddress getShippingAddress(String accountId, String shippingAddre * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. * @param shippingAddressId Shipping Address ID. * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. * @return The updated shipping address. */ - public ShippingAddress updateShippingAddress(String accountId, String shippingAddressId, ShippingAddressUpdate body) { + public ShippingAddress updateShippingAddress(String accountId, String shippingAddressId, ShippingAddressUpdate body, RequestOptions options) { final String url = "/accounts/{account_id}/shipping_addresses/{shipping_address_id}"; final HashMap urlParams = new HashMap(); urlParams.put("account_id", accountId); urlParams.put("shipping_address_id", shippingAddressId); final String path = this.interpolatePath(url, urlParams); Type returnType = ShippingAddress.class; - return this.makeRequest("PUT", path, body, returnType); + return this.makeRequest("PUT", path, body, options, returnType); } /** @@ -1079,6 +2048,23 @@ public void removeShippingAddress(String accountId, String shippingAddressId) { this.makeRequest("DELETE", path); } + /** + * Remove an account's shipping address + * + * @see remove_shipping_address api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param shippingAddressId Shipping Address ID. + * @param options The {@link RequestOptions} for this request. + */ + public void removeShippingAddress(String accountId, String shippingAddressId, RequestOptions options) { + final String url = "/accounts/{account_id}/shipping_addresses/{shipping_address_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + urlParams.put("shipping_address_id", shippingAddressId); + final String path = this.interpolatePath(url, urlParams); + this.makeRequest("DELETE", path, options); + } + /** * List an account's subscriptions * @@ -1109,6 +2095,26 @@ public Pager listAccountSubscriptions(String accountId, ListAccoun return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List an account's subscriptions + * + * @see list_account_subscriptions api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListAccountSubscriptionsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the account's subscriptions. + */ + public Pager listAccountSubscriptions(String accountId, ListAccountSubscriptionsParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/subscriptions"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListAccountSubscriptionsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Subscription.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List an account's transactions * @@ -1139,6 +2145,26 @@ public Pager listAccountTransactions(String accountId, ListAccountT return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List an account's transactions + * + * @see list_account_transactions api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListAccountTransactionsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the account's transactions. + */ + public Pager listAccountTransactions(String accountId, ListAccountTransactionsParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/transactions"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListAccountTransactionsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Transaction.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List an account's child accounts * @@ -1169,6 +2195,26 @@ public Pager listChildAccounts(String accountId, ListChildAccountsParam return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List an account's child accounts + * + * @see list_child_accounts api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListChildAccountsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of an account's child accounts. + */ + public Pager listChildAccounts(String accountId, ListChildAccountsParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/accounts"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListChildAccountsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Account.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List a site's account acquisition data * @@ -1196,6 +2242,24 @@ public Pager listAccountAcquisition(ListAccountAcquisitionPa return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's account acquisition data + * + * @see list_account_acquisition api documentation + * @param queryParams The {@link ListAccountAcquisitionParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's account acquisition data. + */ + public Pager listAccountAcquisition(ListAccountAcquisitionParams queryParams, RequestOptions options) { + final String url = "/acquisitions"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListAccountAcquisitionParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, AccountAcquisition.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List a site's coupons * @@ -1223,6 +2287,24 @@ public Pager listCoupons(ListCouponsParams queryParams) { return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's coupons + * + * @see list_coupons api documentation + * @param queryParams The {@link ListCouponsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's coupons. + */ + public Pager listCoupons(ListCouponsParams queryParams, RequestOptions options) { + final String url = "/coupons"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListCouponsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Coupon.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create a new coupon * @@ -1238,6 +2320,22 @@ public Coupon createCoupon(CouponCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create a new coupon + * + * @see create_coupon api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A new coupon. + */ + public Coupon createCoupon(CouponCreate body, RequestOptions options) { + final String url = "/coupons"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Coupon.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch a coupon * @@ -1254,6 +2352,23 @@ public Coupon getCoupon(String couponId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a coupon + * + * @see get_coupon api documentation + * @param couponId Coupon ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-10off`. + * @param options The {@link RequestOptions} for this request. + * @return A coupon. + */ + public Coupon getCoupon(String couponId, RequestOptions options) { + final String url = "/coupons/{coupon_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("coupon_id", couponId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Coupon.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update an active coupon * @@ -1271,6 +2386,24 @@ public Coupon updateCoupon(String couponId, CouponUpdate body) { return this.makeRequest("PUT", path, body, returnType); } + /** + * Update an active coupon + * + * @see update_coupon api documentation + * @param couponId Coupon ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-10off`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return The updated coupon. + */ + public Coupon updateCoupon(String couponId, CouponUpdate body, RequestOptions options) { + final String url = "/coupons/{coupon_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("coupon_id", couponId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Coupon.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Expire a coupon * @@ -1287,6 +2420,23 @@ public Coupon deactivateCoupon(String couponId) { return this.makeRequest("DELETE", path, returnType); } + /** + * Expire a coupon + * + * @see deactivate_coupon api documentation + * @param couponId Coupon ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-10off`. + * @param options The {@link RequestOptions} for this request. + * @return The expired Coupon + */ + public Coupon deactivateCoupon(String couponId, RequestOptions options) { + final String url = "/coupons/{coupon_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("coupon_id", couponId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Coupon.class; + return this.makeRequest("DELETE", path, options, returnType); + } + /** * Generate unique coupon codes * @@ -1306,6 +2456,26 @@ public UniqueCouponCodeParams generateUniqueCouponCodes(String couponId, CouponB return this.makeRequest("POST", path, body, returnType); } + /** + * Generate unique coupon codes + * + * @see generate_unique_coupon_codes api documentation + * @param couponId Coupon ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-10off`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A set of parameters that can be passed to the `list_unique_coupon_codes` +endpoint to obtain only the newly generated `UniqueCouponCodes`. + + */ + public UniqueCouponCodeParams generateUniqueCouponCodes(String couponId, CouponBulkCreate body, RequestOptions options) { + final String url = "/coupons/{coupon_id}/generate"; + final HashMap urlParams = new HashMap(); + urlParams.put("coupon_id", couponId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = UniqueCouponCodeParams.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Generate unique coupon codes synchronously * @@ -1323,6 +2493,24 @@ public UniqueCouponCodeGenerationResponse generateUniqueCouponCodesSync(String c return this.makeRequest("POST", path, body, returnType); } + /** + * Generate unique coupon codes synchronously + * + * @see generate_unique_coupon_codes_sync api documentation + * @param couponId Coupon ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-10off`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return The newly generated unique coupon codes. + */ + public UniqueCouponCodeGenerationResponse generateUniqueCouponCodesSync(String couponId, CouponBulkCreateSync body, RequestOptions options) { + final String url = "/coupons/{coupon_id}/generate_sync"; + final HashMap urlParams = new HashMap(); + urlParams.put("coupon_id", couponId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = UniqueCouponCodeGenerationResponse.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Restore an inactive coupon * @@ -1340,6 +2528,24 @@ public Coupon restoreCoupon(String couponId, CouponUpdate body) { return this.makeRequest("PUT", path, body, returnType); } + /** + * Restore an inactive coupon + * + * @see restore_coupon api documentation + * @param couponId Coupon ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-10off`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return The restored coupon. + */ + public Coupon restoreCoupon(String couponId, CouponUpdate body, RequestOptions options) { + final String url = "/coupons/{coupon_id}/restore"; + final HashMap urlParams = new HashMap(); + urlParams.put("coupon_id", couponId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Coupon.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * List unique coupon codes associated with a bulk coupon * @@ -1370,6 +2576,26 @@ public Pager listUniqueCouponCodes(String couponId, ListUnique return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List unique coupon codes associated with a bulk coupon + * + * @see list_unique_coupon_codes api documentation + * @param couponId Coupon ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-10off`. + * @param queryParams The {@link ListUniqueCouponCodesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of unique coupon codes that were generated + */ + public Pager listUniqueCouponCodes(String couponId, ListUniqueCouponCodesParams queryParams, RequestOptions options) { + final String url = "/coupons/{coupon_id}/unique_coupon_codes"; + final HashMap urlParams = new HashMap(); + urlParams.put("coupon_id", couponId); + if (queryParams == null) queryParams = new ListUniqueCouponCodesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, UniqueCouponCode.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List a site's credit payments * @@ -1393,8 +2619,42 @@ public Pager listCreditPayments(ListCreditPaymentsParams queryPar if (queryParams == null) queryParams = new ListCreditPaymentsParams(); final HashMap paramsMap = queryParams.getParams(); final String path = this.interpolatePath(url, urlParams); - Type parameterizedType = TypeToken.getParameterized(Pager.class, CreditPayment.class).getType(); - return new Pager<>(path, paramsMap, this, parameterizedType); + Type parameterizedType = TypeToken.getParameterized(Pager.class, CreditPayment.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + + /** + * List a site's credit payments + * + * @see list_credit_payments api documentation + * @param queryParams The {@link ListCreditPaymentsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's credit payments. + */ + public Pager listCreditPayments(ListCreditPaymentsParams queryParams, RequestOptions options) { + final String url = "/credit_payments"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListCreditPaymentsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, CreditPayment.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + + /** + * Fetch a credit payment + * + * @see get_credit_payment api documentation + * @param creditPaymentId Credit Payment ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @return A credit payment. + */ + public CreditPayment getCreditPayment(String creditPaymentId) { + final String url = "/credit_payments/{credit_payment_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("credit_payment_id", creditPaymentId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = CreditPayment.class; + return this.makeRequest("GET", path, returnType); } /** @@ -1402,15 +2662,16 @@ public Pager listCreditPayments(ListCreditPaymentsParams queryPar * * @see get_credit_payment api documentation * @param creditPaymentId Credit Payment ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. * @return A credit payment. */ - public CreditPayment getCreditPayment(String creditPaymentId) { + public CreditPayment getCreditPayment(String creditPaymentId, RequestOptions options) { final String url = "/credit_payments/{credit_payment_id}"; final HashMap urlParams = new HashMap(); urlParams.put("credit_payment_id", creditPaymentId); final String path = this.interpolatePath(url, urlParams); Type returnType = CreditPayment.class; - return this.makeRequest("GET", path, returnType); + return this.makeRequest("GET", path, options, returnType); } /** @@ -1440,6 +2701,24 @@ public Pager listCustomFieldDefinitions(ListCustomFieldDe return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's custom field definitions + * + * @see list_custom_field_definitions api documentation + * @param queryParams The {@link ListCustomFieldDefinitionsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's custom field definitions. + */ + public Pager listCustomFieldDefinitions(ListCustomFieldDefinitionsParams queryParams, RequestOptions options) { + final String url = "/custom_field_definitions"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListCustomFieldDefinitionsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, CustomFieldDefinition.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch an custom field definition * @@ -1456,6 +2735,23 @@ public CustomFieldDefinition getCustomFieldDefinition(String customFieldDefiniti return this.makeRequest("GET", path, returnType); } + /** + * Fetch an custom field definition + * + * @see get_custom_field_definition api documentation + * @param customFieldDefinitionId Custom Field Definition ID + * @param options The {@link RequestOptions} for this request. + * @return A custom field definition. + */ + public CustomFieldDefinition getCustomFieldDefinition(String customFieldDefinitionId, RequestOptions options) { + final String url = "/custom_field_definitions/{custom_field_definition_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("custom_field_definition_id", customFieldDefinitionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = CustomFieldDefinition.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Create a new general ledger account * @@ -1471,6 +2767,22 @@ public GeneralLedgerAccount createGeneralLedgerAccount(GeneralLedgerAccountCreat return this.makeRequest("POST", path, body, returnType); } + /** + * Create a new general ledger account + * + * @see create_general_ledger_account api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A new general ledger account. + */ + public GeneralLedgerAccount createGeneralLedgerAccount(GeneralLedgerAccountCreate body, RequestOptions options) { + final String url = "/general_ledger_accounts"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = GeneralLedgerAccount.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * List a site's general ledger accounts * @@ -1498,6 +2810,24 @@ public Pager listGeneralLedgerAccounts(ListGeneralLedgerAc return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's general ledger accounts + * + * @see list_general_ledger_accounts api documentation + * @param queryParams The {@link ListGeneralLedgerAccountsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's general ledger accounts. + */ + public Pager listGeneralLedgerAccounts(ListGeneralLedgerAccountsParams queryParams, RequestOptions options) { + final String url = "/general_ledger_accounts"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListGeneralLedgerAccountsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, GeneralLedgerAccount.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch a general ledger account * @@ -1514,6 +2844,23 @@ public GeneralLedgerAccount getGeneralLedgerAccount(String generalLedgerAccountI return this.makeRequest("GET", path, returnType); } + /** + * Fetch a general ledger account + * + * @see get_general_ledger_account api documentation + * @param generalLedgerAccountId General Ledger Account ID + * @param options The {@link RequestOptions} for this request. + * @return A general ledger account. + */ + public GeneralLedgerAccount getGeneralLedgerAccount(String generalLedgerAccountId, RequestOptions options) { + final String url = "/general_ledger_accounts/{general_ledger_account_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("general_ledger_account_id", generalLedgerAccountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = GeneralLedgerAccount.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update a general ledger account * @@ -1531,6 +2878,24 @@ public GeneralLedgerAccount updateGeneralLedgerAccount(String generalLedgerAccou return this.makeRequest("PUT", path, body, returnType); } + /** + * Update a general ledger account + * + * @see update_general_ledger_account api documentation + * @param generalLedgerAccountId General Ledger Account ID + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return The updated general ledger account. + */ + public GeneralLedgerAccount updateGeneralLedgerAccount(String generalLedgerAccountId, GeneralLedgerAccountUpdate body, RequestOptions options) { + final String url = "/general_ledger_accounts/{general_ledger_account_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("general_ledger_account_id", generalLedgerAccountId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = GeneralLedgerAccount.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Get a single Performance Obligation. * @@ -1547,6 +2912,23 @@ public PerformanceObligation getPerformanceObligation(String performanceObligati return this.makeRequest("GET", path, returnType); } + /** + * Get a single Performance Obligation. + * + * @see get_performance_obligation api documentation + * @param performanceObligationId Performance Obligation id. + * @param options The {@link RequestOptions} for this request. + * @return A single Performance Obligation. + */ + public PerformanceObligation getPerformanceObligation(String performanceObligationId, RequestOptions options) { + final String url = "/performance_obligations/{performance_obligation_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("performance_obligation_id", performanceObligationId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = PerformanceObligation.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Get a site's Performance Obligations * @@ -1561,6 +2943,21 @@ public Pager getPerformanceObligations() { return new Pager<>(path, null, this, parameterizedType); } + /** + * Get a site's Performance Obligations + * + * @see get_performance_obligations api documentation + * @param options The {@link RequestOptions} for this request. + * @return A list of Performance Obligations. + */ + public Pager getPerformanceObligations(RequestOptions options) { + final String url = "/performance_obligations"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, PerformanceObligation.class).getType(); + return new Pager<>(path, null, this, parameterizedType); + } + /** * List an invoice template's associated accounts * @@ -1591,6 +2988,26 @@ public Pager listInvoiceTemplateAccounts(String invoiceTemplateId, List return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List an invoice template's associated accounts + * + * @see list_invoice_template_accounts api documentation + * @param invoiceTemplateId Invoice template ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListInvoiceTemplateAccountsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of an invoice template's associated accounts. + */ + public Pager listInvoiceTemplateAccounts(String invoiceTemplateId, ListInvoiceTemplateAccountsParams queryParams, RequestOptions options) { + final String url = "/invoice_templates/{invoice_template_id}/accounts"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_template_id", invoiceTemplateId); + if (queryParams == null) queryParams = new ListInvoiceTemplateAccountsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Account.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List a site's items * @@ -1618,6 +3035,24 @@ public Pager listItems(ListItemsParams queryParams) { return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's items + * + * @see list_items api documentation + * @param queryParams The {@link ListItemsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's items. + */ + public Pager listItems(ListItemsParams queryParams, RequestOptions options) { + final String url = "/items"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListItemsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Item.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create a new item * @@ -1633,6 +3068,22 @@ public Item createItem(ItemCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create a new item + * + * @see create_item api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A new item. + */ + public Item createItem(ItemCreate body, RequestOptions options) { + final String url = "/items"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Item.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch an item * @@ -1649,6 +3100,23 @@ public Item getItem(String itemId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an item + * + * @see get_item api documentation + * @param itemId Item ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-red`. + * @param options The {@link RequestOptions} for this request. + * @return An item. + */ + public Item getItem(String itemId, RequestOptions options) { + final String url = "/items/{item_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("item_id", itemId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Item.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update an active item * @@ -1666,6 +3134,24 @@ public Item updateItem(String itemId, ItemUpdate body) { return this.makeRequest("PUT", path, body, returnType); } + /** + * Update an active item + * + * @see update_item api documentation + * @param itemId Item ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-red`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return The updated item. + */ + public Item updateItem(String itemId, ItemUpdate body, RequestOptions options) { + final String url = "/items/{item_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("item_id", itemId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Item.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Deactivate an item * @@ -1682,6 +3168,23 @@ public Item deactivateItem(String itemId) { return this.makeRequest("DELETE", path, returnType); } + /** + * Deactivate an item + * + * @see deactivate_item api documentation + * @param itemId Item ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-red`. + * @param options The {@link RequestOptions} for this request. + * @return An item. + */ + public Item deactivateItem(String itemId, RequestOptions options) { + final String url = "/items/{item_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("item_id", itemId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Item.class; + return this.makeRequest("DELETE", path, options, returnType); + } + /** * Reactivate an inactive item * @@ -1698,6 +3201,23 @@ public Item reactivateItem(String itemId) { return this.makeRequest("PUT", path, returnType); } + /** + * Reactivate an inactive item + * + * @see reactivate_item api documentation + * @param itemId Item ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-red`. + * @param options The {@link RequestOptions} for this request. + * @return An item. + */ + public Item reactivateItem(String itemId, RequestOptions options) { + final String url = "/items/{item_id}/reactivate"; + final HashMap urlParams = new HashMap(); + urlParams.put("item_id", itemId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Item.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * List a site's measured units * @@ -1725,19 +3245,53 @@ public Pager listMeasuredUnit(ListMeasuredUnitParams queryParams) return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's measured units + * + * @see list_measured_unit api documentation + * @param queryParams The {@link ListMeasuredUnitParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's measured units. + */ + public Pager listMeasuredUnit(ListMeasuredUnitParams queryParams, RequestOptions options) { + final String url = "/measured_units"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListMeasuredUnitParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, MeasuredUnit.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + + /** + * Create a new measured unit + * + * @see create_measured_unit api documentation + * @param body The body of the request. + * @return A new measured unit. + */ + public MeasuredUnit createMeasuredUnit(MeasuredUnitCreate body) { + final String url = "/measured_units"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = MeasuredUnit.class; + return this.makeRequest("POST", path, body, returnType); + } + /** * Create a new measured unit * * @see create_measured_unit api documentation * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. * @return A new measured unit. */ - public MeasuredUnit createMeasuredUnit(MeasuredUnitCreate body) { + public MeasuredUnit createMeasuredUnit(MeasuredUnitCreate body, RequestOptions options) { final String url = "/measured_units"; final HashMap urlParams = new HashMap(); final String path = this.interpolatePath(url, urlParams); Type returnType = MeasuredUnit.class; - return this.makeRequest("POST", path, body, returnType); + return this.makeRequest("POST", path, body, options, returnType); } /** @@ -1756,6 +3310,23 @@ public MeasuredUnit getMeasuredUnit(String measuredUnitId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a measured unit + * + * @see get_measured_unit api documentation + * @param measuredUnitId Measured unit ID or name. For ID no prefix is used e.g. `e28zov4fw0v2`. For name use prefix `name-`, e.g. `name-Storage`. + * @param options The {@link RequestOptions} for this request. + * @return An item. + */ + public MeasuredUnit getMeasuredUnit(String measuredUnitId, RequestOptions options) { + final String url = "/measured_units/{measured_unit_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("measured_unit_id", measuredUnitId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = MeasuredUnit.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update a measured unit * @@ -1773,6 +3344,24 @@ public MeasuredUnit updateMeasuredUnit(String measuredUnitId, MeasuredUnitUpdate return this.makeRequest("PUT", path, body, returnType); } + /** + * Update a measured unit + * + * @see update_measured_unit api documentation + * @param measuredUnitId Measured unit ID or name. For ID no prefix is used e.g. `e28zov4fw0v2`. For name use prefix `name-`, e.g. `name-Storage`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return The updated measured_unit. + */ + public MeasuredUnit updateMeasuredUnit(String measuredUnitId, MeasuredUnitUpdate body, RequestOptions options) { + final String url = "/measured_units/{measured_unit_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("measured_unit_id", measuredUnitId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = MeasuredUnit.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Remove a measured unit * @@ -1789,6 +3378,23 @@ public MeasuredUnit removeMeasuredUnit(String measuredUnitId) { return this.makeRequest("DELETE", path, returnType); } + /** + * Remove a measured unit + * + * @see remove_measured_unit api documentation + * @param measuredUnitId Measured unit ID or name. For ID no prefix is used e.g. `e28zov4fw0v2`. For name use prefix `name-`, e.g. `name-Storage`. + * @param options The {@link RequestOptions} for this request. + * @return A measured unit. + */ + public MeasuredUnit removeMeasuredUnit(String measuredUnitId, RequestOptions options) { + final String url = "/measured_units/{measured_unit_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("measured_unit_id", measuredUnitId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = MeasuredUnit.class; + return this.makeRequest("DELETE", path, options, returnType); + } + /** * List a site's external products * @@ -1816,6 +3422,24 @@ public Pager listExternalProducts(ListExternalProductsParams qu return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's external products + * + * @see list_external_products api documentation + * @param queryParams The {@link ListExternalProductsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the external_products on a site. + */ + public Pager listExternalProducts(ListExternalProductsParams queryParams, RequestOptions options) { + final String url = "/external_products"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListExternalProductsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ExternalProduct.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create an external product * @@ -1831,6 +3455,22 @@ public ExternalProduct createExternalProduct(ExternalProductCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create an external product + * + * @see create_external_product api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the external product + */ + public ExternalProduct createExternalProduct(ExternalProductCreate body, RequestOptions options) { + final String url = "/external_products"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalProduct.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch an external product * @@ -1847,6 +3487,23 @@ public ExternalProduct getExternalProduct(String externalProductId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an external product + * + * @see get_external_product api documentation + * @param externalProductId External product id + * @param options The {@link RequestOptions} for this request. + * @return Settings for an external product. + */ + public ExternalProduct getExternalProduct(String externalProductId, RequestOptions options) { + final String url = "/external_products/{external_product_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_product_id", externalProductId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalProduct.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update an external product * @@ -1864,6 +3521,24 @@ public ExternalProduct updateExternalProduct(String externalProductId, ExternalP return this.makeRequest("PUT", path, body, returnType); } + /** + * Update an external product + * + * @see update_external_product api documentation + * @param externalProductId External product id + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Settings for an external product. + */ + public ExternalProduct updateExternalProduct(String externalProductId, ExternalProductUpdate body, RequestOptions options) { + final String url = "/external_products/{external_product_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_product_id", externalProductId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalProduct.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Deactivate an external product * @@ -1880,6 +3555,23 @@ public ExternalProduct deactivateExternalProducts(String externalProductId) { return this.makeRequest("DELETE", path, returnType); } + /** + * Deactivate an external product + * + * @see deactivate_external_products api documentation + * @param externalProductId External product id + * @param options The {@link RequestOptions} for this request. + * @return Deactivated external product. + */ + public ExternalProduct deactivateExternalProducts(String externalProductId, RequestOptions options) { + final String url = "/external_products/{external_product_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_product_id", externalProductId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalProduct.class; + return this.makeRequest("DELETE", path, options, returnType); + } + /** * List the external product references for an external product * @@ -1910,6 +3602,26 @@ public Pager listExternalProductExternalProd return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List the external product references for an external product + * + * @see list_external_product_external_product_references api documentation + * @param externalProductId External product id + * @param queryParams The {@link ListExternalProductExternalProductReferencesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the external product references for an external product. + */ + public Pager listExternalProductExternalProductReferences(String externalProductId, ListExternalProductExternalProductReferencesParams queryParams, RequestOptions options) { + final String url = "/external_products/{external_product_id}/external_product_references"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_product_id", externalProductId); + if (queryParams == null) queryParams = new ListExternalProductExternalProductReferencesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ExternalProductReferenceCollection.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create an external product reference on an external product * @@ -1927,6 +3639,24 @@ public ExternalProductReferenceMini createExternalProductExternalProductReferenc return this.makeRequest("POST", path, body, returnType); } + /** + * Create an external product reference on an external product + * + * @see create_external_product_external_product_reference api documentation + * @param externalProductId External product id + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Details for the external product reference. + */ + public ExternalProductReferenceMini createExternalProductExternalProductReference(String externalProductId, ExternalProductReferenceCreate body, RequestOptions options) { + final String url = "/external_products/{external_product_id}/external_product_references"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_product_id", externalProductId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalProductReferenceMini.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch an external product reference * @@ -1945,6 +3675,25 @@ public ExternalProductReferenceMini getExternalProductExternalProductReference(S return this.makeRequest("GET", path, returnType); } + /** + * Fetch an external product reference + * + * @see get_external_product_external_product_reference api documentation + * @param externalProductId External product id + * @param externalProductReferenceId External product reference ID, e.g. `d39iun2fw1v4`. + * @param options The {@link RequestOptions} for this request. + * @return Details for an external product reference. + */ + public ExternalProductReferenceMini getExternalProductExternalProductReference(String externalProductId, String externalProductReferenceId, RequestOptions options) { + final String url = "/external_products/{external_product_id}/external_product_references/{external_product_reference_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_product_id", externalProductId); + urlParams.put("external_product_reference_id", externalProductReferenceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalProductReferenceMini.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Deactivate an external product reference * @@ -1963,6 +3712,25 @@ public ExternalProductReferenceMini deactivateExternalProductExternalProductRefe return this.makeRequest("DELETE", path, returnType); } + /** + * Deactivate an external product reference + * + * @see deactivate_external_product_external_product_reference api documentation + * @param externalProductId External product id + * @param externalProductReferenceId External product reference ID, e.g. `d39iun2fw1v4`. + * @param options The {@link RequestOptions} for this request. + * @return Details for an external product reference. + */ + public ExternalProductReferenceMini deactivateExternalProductExternalProductReference(String externalProductId, String externalProductReferenceId, RequestOptions options) { + final String url = "/external_products/{external_product_id}/external_product_references/{external_product_reference_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_product_id", externalProductId); + urlParams.put("external_product_reference_id", externalProductReferenceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalProductReferenceMini.class; + return this.makeRequest("DELETE", path, options, returnType); + } + /** * Create an external subscription * @@ -1978,6 +3746,22 @@ public ExternalSubscription createExternalSubscription(ExternalSubscriptionCreat return this.makeRequest("POST", path, body, returnType); } + /** + * Create an external subscription + * + * @see create_external_subscription api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the external subscription + */ + public ExternalSubscription createExternalSubscription(ExternalSubscriptionCreate body, RequestOptions options) { + final String url = "/external_subscriptions"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalSubscription.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * List the external subscriptions on a site * @@ -1998,27 +3782,95 @@ public Pager listExternalSubscriptions() { public Pager listExternalSubscriptions(ListExternalSubscriptionsParams queryParams) { final String url = "/external_subscriptions"; final HashMap urlParams = new HashMap(); - if (queryParams == null) queryParams = new ListExternalSubscriptionsParams(); - final HashMap paramsMap = queryParams.getParams(); + if (queryParams == null) queryParams = new ListExternalSubscriptionsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ExternalSubscription.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + + /** + * List the external subscriptions on a site + * + * @see list_external_subscriptions api documentation + * @param queryParams The {@link ListExternalSubscriptionsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the external_subscriptions on a site. + */ + public Pager listExternalSubscriptions(ListExternalSubscriptionsParams queryParams, RequestOptions options) { + final String url = "/external_subscriptions"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListExternalSubscriptionsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ExternalSubscription.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + + /** + * Fetch an external subscription + * + * @see get_external_subscription api documentation + * @param externalSubscriptionId External subscription ID, external_id or uuid. For ID no prefix is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`. + * @return Settings for an external subscription. + */ + public ExternalSubscription getExternalSubscription(String externalSubscriptionId) { + final String url = "/external_subscriptions/{external_subscription_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_subscription_id", externalSubscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalSubscription.class; + return this.makeRequest("GET", path, returnType); + } + + /** + * Fetch an external subscription + * + * @see get_external_subscription api documentation + * @param externalSubscriptionId External subscription ID, external_id or uuid. For ID no prefix is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`. + * @param options The {@link RequestOptions} for this request. + * @return Settings for an external subscription. + */ + public ExternalSubscription getExternalSubscription(String externalSubscriptionId, RequestOptions options) { + final String url = "/external_subscriptions/{external_subscription_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_subscription_id", externalSubscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalSubscription.class; + return this.makeRequest("GET", path, options, returnType); + } + + /** + * Update an external subscription + * + * @see put_external_subscription api documentation + * @param externalSubscriptionId External subscription id + * @return Settings for an external subscription. + */ + public ExternalSubscription putExternalSubscription(String externalSubscriptionId) { + final String url = "/external_subscriptions/{external_subscription_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_subscription_id", externalSubscriptionId); final String path = this.interpolatePath(url, urlParams); - Type parameterizedType = TypeToken.getParameterized(Pager.class, ExternalSubscription.class).getType(); - return new Pager<>(path, paramsMap, this, parameterizedType); + Type returnType = ExternalSubscription.class; + return this.makeRequest("PUT", path, returnType); } /** - * Fetch an external subscription + * Update an external subscription * - * @see get_external_subscription api documentation - * @param externalSubscriptionId External subscription ID, external_id or uuid. For ID no prefix is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`. + * @see put_external_subscription api documentation + * @param externalSubscriptionId External subscription id + * @param options The {@link RequestOptions} for this request. * @return Settings for an external subscription. */ - public ExternalSubscription getExternalSubscription(String externalSubscriptionId) { + public ExternalSubscription putExternalSubscription(String externalSubscriptionId, RequestOptions options) { final String url = "/external_subscriptions/{external_subscription_id}"; final HashMap urlParams = new HashMap(); urlParams.put("external_subscription_id", externalSubscriptionId); final String path = this.interpolatePath(url, urlParams); Type returnType = ExternalSubscription.class; - return this.makeRequest("GET", path, returnType); + return this.makeRequest("PUT", path, options, returnType); } /** @@ -2026,15 +3878,16 @@ public ExternalSubscription getExternalSubscription(String externalSubscriptionI * * @see put_external_subscription api documentation * @param externalSubscriptionId External subscription id + * @param body The body of the request. * @return Settings for an external subscription. */ - public ExternalSubscription putExternalSubscription(String externalSubscriptionId) { + public ExternalSubscription putExternalSubscription(String externalSubscriptionId, ExternalSubscriptionUpdate body) { final String url = "/external_subscriptions/{external_subscription_id}"; final HashMap urlParams = new HashMap(); urlParams.put("external_subscription_id", externalSubscriptionId); final String path = this.interpolatePath(url, urlParams); Type returnType = ExternalSubscription.class; - return this.makeRequest("PUT", path, returnType); + return this.makeRequest("PUT", path, body, returnType); } /** @@ -2043,15 +3896,16 @@ public ExternalSubscription putExternalSubscription(String externalSubscriptionI * @see put_external_subscription api documentation * @param externalSubscriptionId External subscription id * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. * @return Settings for an external subscription. */ - public ExternalSubscription putExternalSubscription(String externalSubscriptionId, ExternalSubscriptionUpdate body) { + public ExternalSubscription putExternalSubscription(String externalSubscriptionId, ExternalSubscriptionUpdate body, RequestOptions options) { final String url = "/external_subscriptions/{external_subscription_id}"; final HashMap urlParams = new HashMap(); urlParams.put("external_subscription_id", externalSubscriptionId); final String path = this.interpolatePath(url, urlParams); Type returnType = ExternalSubscription.class; - return this.makeRequest("PUT", path, body, returnType); + return this.makeRequest("PUT", path, body, options, returnType); } /** @@ -2084,6 +3938,26 @@ public Pager listExternalSubscriptionExternalInvoices(String ex return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List the external invoices on an external subscription + * + * @see list_external_subscription_external_invoices api documentation + * @param externalSubscriptionId External subscription id + * @param queryParams The {@link ListExternalSubscriptionExternalInvoicesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the external_invoices on a site. + */ + public Pager listExternalSubscriptionExternalInvoices(String externalSubscriptionId, ListExternalSubscriptionExternalInvoicesParams queryParams, RequestOptions options) { + final String url = "/external_subscriptions/{external_subscription_id}/external_invoices"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_subscription_id", externalSubscriptionId); + if (queryParams == null) queryParams = new ListExternalSubscriptionExternalInvoicesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ExternalInvoice.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create an external invoice * @@ -2101,6 +3975,24 @@ public ExternalInvoice createExternalInvoice(String externalSubscriptionId, Exte return this.makeRequest("POST", path, body, returnType); } + /** + * Create an external invoice + * + * @see create_external_invoice api documentation + * @param externalSubscriptionId External subscription id + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the external invoice + */ + public ExternalInvoice createExternalInvoice(String externalSubscriptionId, ExternalInvoiceCreate body, RequestOptions options) { + final String url = "/external_subscriptions/{external_subscription_id}/external_invoices"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_subscription_id", externalSubscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalInvoice.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * List a site's invoices * @@ -2128,6 +4020,24 @@ public Pager listInvoices(ListInvoicesParams queryParams) { return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's invoices + * + * @see list_invoices api documentation + * @param queryParams The {@link ListInvoicesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's invoices. + */ + public Pager listInvoices(ListInvoicesParams queryParams, RequestOptions options) { + final String url = "/invoices"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListInvoicesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Invoice.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch an invoice * @@ -2144,6 +4054,23 @@ public Invoice getInvoice(String invoiceId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an invoice + * + * @see get_invoice api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param options The {@link RequestOptions} for this request. + * @return An invoice. + */ + public Invoice getInvoice(String invoiceId, RequestOptions options) { + final String url = "/invoices/{invoice_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Invoice.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update an invoice * @@ -2161,6 +4088,24 @@ public Invoice updateInvoice(String invoiceId, InvoiceUpdate body) { return this.makeRequest("PUT", path, body, returnType); } + /** + * Update an invoice + * + * @see update_invoice api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return An invoice. + */ + public Invoice updateInvoice(String invoiceId, InvoiceUpdate body, RequestOptions options) { + final String url = "/invoices/{invoice_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Invoice.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Fetch an invoice as a PDF * @@ -2177,6 +4122,23 @@ public BinaryFile getInvoicePdf(String invoiceId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an invoice as a PDF + * + * @see get_invoice_pdf api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param options The {@link RequestOptions} for this request. + * @return An invoice as a PDF. + */ + public BinaryFile getInvoicePdf(String invoiceId, RequestOptions options) { + final String url = "/invoices/{invoice_id}.pdf"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = BinaryFile.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Apply available credit to a pending or past due charge invoice * @@ -2193,6 +4155,23 @@ public Invoice applyCreditBalance(String invoiceId) { return this.makeRequest("PUT", path, returnType); } + /** + * Apply available credit to a pending or past due charge invoice + * + * @see apply_credit_balance api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param options The {@link RequestOptions} for this request. + * @return The updated invoice. + */ + public Invoice applyCreditBalance(String invoiceId, RequestOptions options) { + final String url = "/invoices/{invoice_id}/apply_credit_balance"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Invoice.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Collect a pending or past due, automatic invoice * @@ -2209,6 +4188,23 @@ public Invoice collectInvoice(String invoiceId) { return this.makeRequest("PUT", path, returnType); } + /** + * Collect a pending or past due, automatic invoice + * + * @see collect_invoice api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param options The {@link RequestOptions} for this request. + * @return The updated invoice. + */ + public Invoice collectInvoice(String invoiceId, RequestOptions options) { + final String url = "/invoices/{invoice_id}/collect"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Invoice.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Collect a pending or past due, automatic invoice * @@ -2226,6 +4222,24 @@ public Invoice collectInvoice(String invoiceId, InvoiceCollect body) { return this.makeRequest("PUT", path, body, returnType); } + /** + * Collect a pending or past due, automatic invoice + * + * @see collect_invoice api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return The updated invoice. + */ + public Invoice collectInvoice(String invoiceId, InvoiceCollect body, RequestOptions options) { + final String url = "/invoices/{invoice_id}/collect"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Invoice.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Mark an open invoice as failed * @@ -2242,6 +4256,23 @@ public Invoice markInvoiceFailed(String invoiceId) { return this.makeRequest("PUT", path, returnType); } + /** + * Mark an open invoice as failed + * + * @see mark_invoice_failed api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param options The {@link RequestOptions} for this request. + * @return The updated invoice. + */ + public Invoice markInvoiceFailed(String invoiceId, RequestOptions options) { + final String url = "/invoices/{invoice_id}/mark_failed"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Invoice.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Mark an open invoice as successful * @@ -2258,6 +4289,23 @@ public Invoice markInvoiceSuccessful(String invoiceId) { return this.makeRequest("PUT", path, returnType); } + /** + * Mark an open invoice as successful + * + * @see mark_invoice_successful api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param options The {@link RequestOptions} for this request. + * @return The updated invoice. + */ + public Invoice markInvoiceSuccessful(String invoiceId, RequestOptions options) { + final String url = "/invoices/{invoice_id}/mark_successful"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Invoice.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Reopen a closed, manual invoice * @@ -2274,6 +4322,23 @@ public Invoice reopenInvoice(String invoiceId) { return this.makeRequest("PUT", path, returnType); } + /** + * Reopen a closed, manual invoice + * + * @see reopen_invoice api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param options The {@link RequestOptions} for this request. + * @return The updated invoice. + */ + public Invoice reopenInvoice(String invoiceId, RequestOptions options) { + final String url = "/invoices/{invoice_id}/reopen"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Invoice.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Void a credit invoice. * @@ -2290,6 +4355,23 @@ public Invoice voidInvoice(String invoiceId) { return this.makeRequest("PUT", path, returnType); } + /** + * Void a credit invoice. + * + * @see void_invoice api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param options The {@link RequestOptions} for this request. + * @return The updated invoice. + */ + public Invoice voidInvoice(String invoiceId, RequestOptions options) { + final String url = "/invoices/{invoice_id}/void"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Invoice.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Record an external payment for a manual invoices. * @@ -2307,6 +4389,24 @@ public Transaction recordExternalTransaction(String invoiceId, ExternalTransacti return this.makeRequest("POST", path, body, returnType); } + /** + * Record an external payment for a manual invoices. + * + * @see record_external_transaction api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return The recorded transaction. + */ + public Transaction recordExternalTransaction(String invoiceId, ExternalTransaction body, RequestOptions options) { + final String url = "/invoices/{invoice_id}/transactions"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Transaction.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * List an invoice's line items * @@ -2337,15 +4437,54 @@ public Pager listInvoiceLineItems(String invoiceId, ListInvoiceLineIte return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List an invoice's line items + * + * @see list_invoice_line_items api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param queryParams The {@link ListInvoiceLineItemsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the invoice's line items. + */ + public Pager listInvoiceLineItems(String invoiceId, ListInvoiceLineItemsParams queryParams, RequestOptions options) { + final String url = "/invoices/{invoice_id}/line_items"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + if (queryParams == null) queryParams = new ListInvoiceLineItemsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, LineItem.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + + /** + * List the coupon redemptions applied to an invoice + * + * @see list_invoice_coupon_redemptions api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @return A list of the the coupon redemptions associated with the invoice. + */ + public Pager listInvoiceCouponRedemptions(String invoiceId) { + return listInvoiceCouponRedemptions(invoiceId, new ListInvoiceCouponRedemptionsParams()); + } + /** * List the coupon redemptions applied to an invoice * * @see list_invoice_coupon_redemptions api documentation * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param queryParams The {@link ListInvoiceCouponRedemptionsParams} for this endpoint. * @return A list of the the coupon redemptions associated with the invoice. */ - public Pager listInvoiceCouponRedemptions(String invoiceId) { - return listInvoiceCouponRedemptions(invoiceId, new ListInvoiceCouponRedemptionsParams()); + public Pager listInvoiceCouponRedemptions(String invoiceId, ListInvoiceCouponRedemptionsParams queryParams) { + final String url = "/invoices/{invoice_id}/coupon_redemptions"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + if (queryParams == null) queryParams = new ListInvoiceCouponRedemptionsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, CouponRedemption.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); } /** @@ -2354,9 +4493,10 @@ public Pager listInvoiceCouponRedemptions(String invoiceId) { * @see list_invoice_coupon_redemptions api documentation * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` * @param queryParams The {@link ListInvoiceCouponRedemptionsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. * @return A list of the the coupon redemptions associated with the invoice. */ - public Pager listInvoiceCouponRedemptions(String invoiceId, ListInvoiceCouponRedemptionsParams queryParams) { + public Pager listInvoiceCouponRedemptions(String invoiceId, ListInvoiceCouponRedemptionsParams queryParams, RequestOptions options) { final String url = "/invoices/{invoice_id}/coupon_redemptions"; final HashMap urlParams = new HashMap(); urlParams.put("invoice_id", invoiceId); @@ -2383,6 +4523,23 @@ public Pager listRelatedInvoices(String invoiceId) { return new Pager<>(path, null, this, parameterizedType); } + /** + * List an invoice's related credit or charge invoices + * + * @see list_related_invoices api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param options The {@link RequestOptions} for this request. + * @return A list of the credit or charge invoices associated with the invoice. + */ + public Pager listRelatedInvoices(String invoiceId, RequestOptions options) { + final String url = "/invoices/{invoice_id}/related_invoices"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Invoice.class).getType(); + return new Pager<>(path, null, this, parameterizedType); + } + /** * Refund an invoice * @@ -2400,6 +4557,24 @@ public Invoice refundInvoice(String invoiceId, InvoiceRefund body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Refund an invoice + * + * @see refund_invoice api documentation + * @param invoiceId Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001` + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the new credit invoice. + */ + public Invoice refundInvoice(String invoiceId, InvoiceRefund body, RequestOptions options) { + final String url = "/invoices/{invoice_id}/refund"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_id", invoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Invoice.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Create an invoice for revenue recovery * @@ -2415,6 +4590,22 @@ public InvoiceCollection createInvoiceRetry(RecoveryInvoiceCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create an invoice for revenue recovery + * + * @see create_invoice_retry api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the new invoices. + */ + public InvoiceCollection createInvoiceRetry(RecoveryInvoiceCreate body, RequestOptions options) { + final String url = "/invoices/recovery"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = InvoiceCollection.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * List a site's line items * @@ -2442,6 +4633,24 @@ public Pager listLineItems(ListLineItemsParams queryParams) { return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's line items + * + * @see list_line_items api documentation + * @param queryParams The {@link ListLineItemsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's line items. + */ + public Pager listLineItems(ListLineItemsParams queryParams, RequestOptions options) { + final String url = "/line_items"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListLineItemsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, LineItem.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch a line item * @@ -2458,6 +4667,23 @@ public LineItem getLineItem(String lineItemId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a line item + * + * @see get_line_item api documentation + * @param lineItemId Line Item ID. + * @param options The {@link RequestOptions} for this request. + * @return A line item. + */ + public LineItem getLineItem(String lineItemId, RequestOptions options) { + final String url = "/line_items/{line_item_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("line_item_id", lineItemId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = LineItem.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Delete an uninvoiced line item * @@ -2472,6 +4698,21 @@ public void removeLineItem(String lineItemId) { this.makeRequest("DELETE", path); } + /** + * Delete an uninvoiced line item + * + * @see remove_line_item api documentation + * @param lineItemId Line Item ID. + * @param options The {@link RequestOptions} for this request. + */ + public void removeLineItem(String lineItemId, RequestOptions options) { + final String url = "/line_items/{line_item_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("line_item_id", lineItemId); + final String path = this.interpolatePath(url, urlParams); + this.makeRequest("DELETE", path, options); + } + /** * List a site's plans * @@ -2499,6 +4740,24 @@ public Pager listPlans(ListPlansParams queryParams) { return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's plans + * + * @see list_plans api documentation + * @param queryParams The {@link ListPlansParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of plans. + */ + public Pager listPlans(ListPlansParams queryParams, RequestOptions options) { + final String url = "/plans"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListPlansParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Plan.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create a plan * @@ -2514,6 +4773,22 @@ public Plan createPlan(PlanCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create a plan + * + * @see create_plan api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A plan. + */ + public Plan createPlan(PlanCreate body, RequestOptions options) { + final String url = "/plans"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Plan.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch a plan * @@ -2530,6 +4805,23 @@ public Plan getPlan(String planId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a plan + * + * @see get_plan api documentation + * @param planId Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param options The {@link RequestOptions} for this request. + * @return A plan. + */ + public Plan getPlan(String planId, RequestOptions options) { + final String url = "/plans/{plan_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("plan_id", planId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Plan.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update a plan * @@ -2547,6 +4839,24 @@ public Plan updatePlan(String planId, PlanUpdate body) { return this.makeRequest("PUT", path, body, returnType); } + /** + * Update a plan + * + * @see update_plan api documentation + * @param planId Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A plan. + */ + public Plan updatePlan(String planId, PlanUpdate body, RequestOptions options) { + final String url = "/plans/{plan_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("plan_id", planId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Plan.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Remove a plan * @@ -2563,6 +4873,23 @@ public Plan removePlan(String planId) { return this.makeRequest("DELETE", path, returnType); } + /** + * Remove a plan + * + * @see remove_plan api documentation + * @param planId Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param options The {@link RequestOptions} for this request. + * @return Plan deleted + */ + public Plan removePlan(String planId, RequestOptions options) { + final String url = "/plans/{plan_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("plan_id", planId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Plan.class; + return this.makeRequest("DELETE", path, options, returnType); + } + /** * List a plan's add-ons * @@ -2593,6 +4920,26 @@ public Pager listPlanAddOns(String planId, ListPlanAddOnsParams queryPara return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a plan's add-ons + * + * @see list_plan_add_ons api documentation + * @param planId Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param queryParams The {@link ListPlanAddOnsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of add-ons. + */ + public Pager listPlanAddOns(String planId, ListPlanAddOnsParams queryParams, RequestOptions options) { + final String url = "/plans/{plan_id}/add_ons"; + final HashMap urlParams = new HashMap(); + urlParams.put("plan_id", planId); + if (queryParams == null) queryParams = new ListPlanAddOnsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, AddOn.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create an add-on * @@ -2610,6 +4957,24 @@ public AddOn createPlanAddOn(String planId, AddOnCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create an add-on + * + * @see create_plan_add_on api documentation + * @param planId Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return An add-on. + */ + public AddOn createPlanAddOn(String planId, AddOnCreate body, RequestOptions options) { + final String url = "/plans/{plan_id}/add_ons"; + final HashMap urlParams = new HashMap(); + urlParams.put("plan_id", planId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = AddOn.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch a plan's add-on * @@ -2628,6 +4993,25 @@ public AddOn getPlanAddOn(String planId, String addOnId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a plan's add-on + * + * @see get_plan_add_on api documentation + * @param planId Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param addOnId Add-on ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param options The {@link RequestOptions} for this request. + * @return An add-on. + */ + public AddOn getPlanAddOn(String planId, String addOnId, RequestOptions options) { + final String url = "/plans/{plan_id}/add_ons/{add_on_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("plan_id", planId); + urlParams.put("add_on_id", addOnId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = AddOn.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update an add-on * @@ -2644,7 +5028,45 @@ public AddOn updatePlanAddOn(String planId, String addOnId, AddOnUpdate body) { urlParams.put("add_on_id", addOnId); final String path = this.interpolatePath(url, urlParams); Type returnType = AddOn.class; - return this.makeRequest("PUT", path, body, returnType); + return this.makeRequest("PUT", path, body, returnType); + } + + /** + * Update an add-on + * + * @see update_plan_add_on api documentation + * @param planId Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param addOnId Add-on ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return An add-on. + */ + public AddOn updatePlanAddOn(String planId, String addOnId, AddOnUpdate body, RequestOptions options) { + final String url = "/plans/{plan_id}/add_ons/{add_on_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("plan_id", planId); + urlParams.put("add_on_id", addOnId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = AddOn.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + + /** + * Remove an add-on + * + * @see remove_plan_add_on api documentation + * @param planId Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param addOnId Add-on ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @return Add-on deleted + */ + public AddOn removePlanAddOn(String planId, String addOnId) { + final String url = "/plans/{plan_id}/add_ons/{add_on_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("plan_id", planId); + urlParams.put("add_on_id", addOnId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = AddOn.class; + return this.makeRequest("DELETE", path, returnType); } /** @@ -2653,16 +5075,17 @@ public AddOn updatePlanAddOn(String planId, String addOnId, AddOnUpdate body) { * @see remove_plan_add_on api documentation * @param planId Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. * @param addOnId Add-on ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param options The {@link RequestOptions} for this request. * @return Add-on deleted */ - public AddOn removePlanAddOn(String planId, String addOnId) { + public AddOn removePlanAddOn(String planId, String addOnId, RequestOptions options) { final String url = "/plans/{plan_id}/add_ons/{add_on_id}"; final HashMap urlParams = new HashMap(); urlParams.put("plan_id", planId); urlParams.put("add_on_id", addOnId); final String path = this.interpolatePath(url, urlParams); Type returnType = AddOn.class; - return this.makeRequest("DELETE", path, returnType); + return this.makeRequest("DELETE", path, options, returnType); } /** @@ -2692,6 +5115,24 @@ public Pager listPriceSegments(ListPriceSegmentsParams queryParams return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's price segments + * + * @see list_price_segments api documentation + * @param queryParams The {@link ListPriceSegmentsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of price segments. + */ + public Pager listPriceSegments(ListPriceSegmentsParams queryParams, RequestOptions options) { + final String url = "/price_segments"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListPriceSegmentsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, PriceSegment.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch a price segment * @@ -2708,6 +5149,23 @@ public PriceSegment getPriceSegment(String priceSegmentId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a price segment + * + * @see get_price_segment api documentation + * @param priceSegmentId The price segment ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param options The {@link RequestOptions} for this request. + * @return A price segment. + */ + public PriceSegment getPriceSegment(String priceSegmentId, RequestOptions options) { + final String url = "/price_segments/{price_segment_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("price_segment_id", priceSegmentId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = PriceSegment.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * List a site's add-ons * @@ -2735,6 +5193,24 @@ public Pager listAddOns(ListAddOnsParams queryParams) { return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's add-ons + * + * @see list_add_ons api documentation + * @param queryParams The {@link ListAddOnsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of add-ons. + */ + public Pager listAddOns(ListAddOnsParams queryParams, RequestOptions options) { + final String url = "/add_ons"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListAddOnsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, AddOn.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch an add-on * @@ -2751,6 +5227,23 @@ public AddOn getAddOn(String addOnId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an add-on + * + * @see get_add_on api documentation + * @param addOnId Add-on ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param options The {@link RequestOptions} for this request. + * @return An add-on. + */ + public AddOn getAddOn(String addOnId, RequestOptions options) { + final String url = "/add_ons/{add_on_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("add_on_id", addOnId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = AddOn.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * List a site's shipping methods * @@ -2778,6 +5271,24 @@ public Pager listShippingMethods(ListShippingMethodsParams query return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's shipping methods + * + * @see list_shipping_methods api documentation + * @param queryParams The {@link ListShippingMethodsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's shipping methods. + */ + public Pager listShippingMethods(ListShippingMethodsParams queryParams, RequestOptions options) { + final String url = "/shipping_methods"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListShippingMethodsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ShippingMethod.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create a new shipping method * @@ -2793,6 +5304,22 @@ public ShippingMethod createShippingMethod(ShippingMethodCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create a new shipping method + * + * @see create_shipping_method api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A new shipping method. + */ + public ShippingMethod createShippingMethod(ShippingMethodCreate body, RequestOptions options) { + final String url = "/shipping_methods"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ShippingMethod.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch a shipping method * @@ -2809,6 +5336,23 @@ public ShippingMethod getShippingMethod(String shippingMethodId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a shipping method + * + * @see get_shipping_method api documentation + * @param shippingMethodId Shipping Method ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-usps_2-day`. + * @param options The {@link RequestOptions} for this request. + * @return A shipping method. + */ + public ShippingMethod getShippingMethod(String shippingMethodId, RequestOptions options) { + final String url = "/shipping_methods/{shipping_method_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("shipping_method_id", shippingMethodId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ShippingMethod.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update an active Shipping Method * @@ -2826,6 +5370,24 @@ public ShippingMethod updateShippingMethod(String shippingMethodId, ShippingMeth return this.makeRequest("PUT", path, body, returnType); } + /** + * Update an active Shipping Method + * + * @see update_shipping_method api documentation + * @param shippingMethodId Shipping Method ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-usps_2-day`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return The updated shipping method. + */ + public ShippingMethod updateShippingMethod(String shippingMethodId, ShippingMethodUpdate body, RequestOptions options) { + final String url = "/shipping_methods/{shipping_method_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("shipping_method_id", shippingMethodId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ShippingMethod.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Deactivate a shipping method * @@ -2842,6 +5404,23 @@ public ShippingMethod deactivateShippingMethod(String shippingMethodId) { return this.makeRequest("DELETE", path, returnType); } + /** + * Deactivate a shipping method + * + * @see deactivate_shipping_method api documentation + * @param shippingMethodId Shipping Method ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-usps_2-day`. + * @param options The {@link RequestOptions} for this request. + * @return A shipping method. + */ + public ShippingMethod deactivateShippingMethod(String shippingMethodId, RequestOptions options) { + final String url = "/shipping_methods/{shipping_method_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("shipping_method_id", shippingMethodId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ShippingMethod.class; + return this.makeRequest("DELETE", path, options, returnType); + } + /** * List a site's subscriptions * @@ -2869,6 +5448,24 @@ public Pager listSubscriptions(ListSubscriptionsParams queryParams return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's subscriptions + * + * @see list_subscriptions api documentation + * @param queryParams The {@link ListSubscriptionsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's subscriptions. + */ + public Pager listSubscriptions(ListSubscriptionsParams queryParams, RequestOptions options) { + final String url = "/subscriptions"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListSubscriptionsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Subscription.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Create a new subscription * @@ -2884,6 +5481,22 @@ public Subscription createSubscription(SubscriptionCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create a new subscription + * + * @see create_subscription api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A subscription. + */ + public Subscription createSubscription(SubscriptionCreate body, RequestOptions options) { + final String url = "/subscriptions"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Subscription.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch a subscription * @@ -2900,6 +5513,23 @@ public Subscription getSubscription(String subscriptionId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a subscription + * + * @see get_subscription api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return A subscription. + */ + public Subscription getSubscription(String subscriptionId, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Subscription.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Update a subscription * @@ -2917,6 +5547,24 @@ public Subscription updateSubscription(String subscriptionId, SubscriptionUpdate return this.makeRequest("PUT", path, body, returnType); } + /** + * Update a subscription + * + * @see update_subscription api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A subscription. + */ + public Subscription updateSubscription(String subscriptionId, SubscriptionUpdate body, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Subscription.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Terminate a subscription * @@ -2947,6 +5595,26 @@ public Subscription terminateSubscription(String subscriptionId, TerminateSubscr return this.makeRequest("DELETE", path, paramsMap, returnType); } + /** + * Terminate a subscription + * + * @see terminate_subscription api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param queryParams The {@link TerminateSubscriptionParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return An expired subscription. + */ + public Subscription terminateSubscription(String subscriptionId, TerminateSubscriptionParams queryParams, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + if (queryParams == null) queryParams = new TerminateSubscriptionParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Subscription.class; + return this.makeRequest("DELETE", path, paramsMap, options, returnType); + } + /** * Cancel a subscription * @@ -2963,6 +5631,23 @@ public Subscription cancelSubscription(String subscriptionId) { return this.makeRequest("PUT", path, returnType); } + /** + * Cancel a subscription + * + * @see cancel_subscription api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return A canceled or failed subscription. + */ + public Subscription cancelSubscription(String subscriptionId, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/cancel"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Subscription.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Cancel a subscription * @@ -2977,7 +5662,41 @@ public Subscription cancelSubscription(String subscriptionId, SubscriptionCancel urlParams.put("subscription_id", subscriptionId); final String path = this.interpolatePath(url, urlParams); Type returnType = Subscription.class; - return this.makeRequest("PUT", path, body, returnType); + return this.makeRequest("PUT", path, body, returnType); + } + + /** + * Cancel a subscription + * + * @see cancel_subscription api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A canceled or failed subscription. + */ + public Subscription cancelSubscription(String subscriptionId, SubscriptionCancel body, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/cancel"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Subscription.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + + /** + * Reactivate a canceled subscription + * + * @see reactivate_subscription api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @return An active subscription. + */ + public Subscription reactivateSubscription(String subscriptionId) { + final String url = "/subscriptions/{subscription_id}/reactivate"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Subscription.class; + return this.makeRequest("PUT", path, returnType); } /** @@ -2985,15 +5704,16 @@ public Subscription cancelSubscription(String subscriptionId, SubscriptionCancel * * @see reactivate_subscription api documentation * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. * @return An active subscription. */ - public Subscription reactivateSubscription(String subscriptionId) { + public Subscription reactivateSubscription(String subscriptionId, RequestOptions options) { final String url = "/subscriptions/{subscription_id}/reactivate"; final HashMap urlParams = new HashMap(); urlParams.put("subscription_id", subscriptionId); final String path = this.interpolatePath(url, urlParams); Type returnType = Subscription.class; - return this.makeRequest("PUT", path, returnType); + return this.makeRequest("PUT", path, options, returnType); } /** @@ -3013,6 +5733,24 @@ public Subscription pauseSubscription(String subscriptionId, SubscriptionPause b return this.makeRequest("PUT", path, body, returnType); } + /** + * Pause subscription + * + * @see pause_subscription api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A subscription. + */ + public Subscription pauseSubscription(String subscriptionId, SubscriptionPause body, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/pause"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Subscription.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Resume subscription * @@ -3029,6 +5767,23 @@ public Subscription resumeSubscription(String subscriptionId) { return this.makeRequest("PUT", path, returnType); } + /** + * Resume subscription + * + * @see resume_subscription api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return A subscription. + */ + public Subscription resumeSubscription(String subscriptionId, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/resume"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Subscription.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Convert trial subscription * @@ -3045,6 +5800,23 @@ public Subscription convertTrial(String subscriptionId) { return this.makeRequest("PUT", path, returnType); } + /** + * Convert trial subscription + * + * @see convert_trial api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return A subscription. + */ + public Subscription convertTrial(String subscriptionId, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/convert_trial"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Subscription.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Fetch a preview of a subscription's renewal invoice(s) * @@ -3061,6 +5833,23 @@ public InvoiceCollection getPreviewRenewal(String subscriptionId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a preview of a subscription's renewal invoice(s) + * + * @see get_preview_renewal api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return A preview of the subscription's renewal invoice(s). + */ + public InvoiceCollection getPreviewRenewal(String subscriptionId, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/preview_renewal"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = InvoiceCollection.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Fetch a subscription's pending change * @@ -3077,6 +5866,23 @@ public SubscriptionChange getSubscriptionChange(String subscriptionId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a subscription's pending change + * + * @see get_subscription_change api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return A subscription's pending change. + */ + public SubscriptionChange getSubscriptionChange(String subscriptionId, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/change"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = SubscriptionChange.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Create a new subscription change * @@ -3094,6 +5900,24 @@ public SubscriptionChange createSubscriptionChange(String subscriptionId, Subscr return this.makeRequest("POST", path, body, returnType); } + /** + * Create a new subscription change + * + * @see create_subscription_change api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A subscription change. + */ + public SubscriptionChange createSubscriptionChange(String subscriptionId, SubscriptionChangeCreate body, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/change"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = SubscriptionChange.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Delete the pending subscription change * @@ -3108,6 +5932,21 @@ public void removeSubscriptionChange(String subscriptionId) { this.makeRequest("DELETE", path); } + /** + * Delete the pending subscription change + * + * @see remove_subscription_change api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + */ + public void removeSubscriptionChange(String subscriptionId, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/change"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + this.makeRequest("DELETE", path, options); + } + /** * Preview a new subscription change * @@ -3125,6 +5964,24 @@ public SubscriptionChange previewSubscriptionChange(String subscriptionId, Subsc return this.makeRequest("POST", path, body, returnType); } + /** + * Preview a new subscription change + * + * @see preview_subscription_change api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return A subscription change. + */ + public SubscriptionChange previewSubscriptionChange(String subscriptionId, SubscriptionChangeCreate body, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/change/preview"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = SubscriptionChange.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * List a subscription's invoices * @@ -3155,6 +6012,26 @@ public Pager listSubscriptionInvoices(String subscriptionId, ListSubscr return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a subscription's invoices + * + * @see list_subscription_invoices api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param queryParams The {@link ListSubscriptionInvoicesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the subscription's invoices. + */ + public Pager listSubscriptionInvoices(String subscriptionId, ListSubscriptionInvoicesParams queryParams, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/invoices"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + if (queryParams == null) queryParams = new ListSubscriptionInvoicesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Invoice.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List a subscription's line items * @@ -3185,6 +6062,26 @@ public Pager listSubscriptionLineItems(String subscriptionId, ListSubs return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a subscription's line items + * + * @see list_subscription_line_items api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param queryParams The {@link ListSubscriptionLineItemsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the subscription's line items. + */ + public Pager listSubscriptionLineItems(String subscriptionId, ListSubscriptionLineItemsParams queryParams, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/line_items"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + if (queryParams == null) queryParams = new ListSubscriptionLineItemsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, LineItem.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List the coupon redemptions for a subscription * @@ -3215,6 +6112,26 @@ public Pager listSubscriptionCouponRedemptions(String subscrip return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List the coupon redemptions for a subscription + * + * @see list_subscription_coupon_redemptions api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param queryParams The {@link ListSubscriptionCouponRedemptionsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the coupon redemptions on a subscription. + */ + public Pager listSubscriptionCouponRedemptions(String subscriptionId, ListSubscriptionCouponRedemptionsParams queryParams, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/coupon_redemptions"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + if (queryParams == null) queryParams = new ListSubscriptionCouponRedemptionsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, CouponRedemption.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Show the coupon redemption for a subscription * @@ -3233,6 +6150,25 @@ public CouponRedemption getSubscriptionCouponRedemption(String subscriptionId, S return this.makeRequest("GET", path, returnType); } + /** + * Show the coupon redemption for a subscription + * + * @see get_subscription_coupon_redemption api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param couponRedemptionId Coupon Redemption ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return The coupon redemption on a subscription. + */ + public CouponRedemption getSubscriptionCouponRedemption(String subscriptionId, String couponRedemptionId, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/coupon_redemptions/{coupon_redemption_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + urlParams.put("coupon_redemption_id", couponRedemptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = CouponRedemption.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Delete the coupon redemption from a subscription * @@ -3251,6 +6187,25 @@ public CouponRedemption removeSubscriptionCouponRedemption(String subscriptionId return this.makeRequest("DELETE", path, returnType); } + /** + * Delete the coupon redemption from a subscription + * + * @see remove_subscription_coupon_redemption api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param couponRedemptionId Coupon Redemption ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return Coupon redemption deleted. + */ + public CouponRedemption removeSubscriptionCouponRedemption(String subscriptionId, String couponRedemptionId, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/coupon_redemptions/{coupon_redemption_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + urlParams.put("coupon_redemption_id", couponRedemptionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = CouponRedemption.class; + return this.makeRequest("DELETE", path, options, returnType); + } + /** * List a subscription add-on's usage records * @@ -3284,6 +6239,28 @@ public Pager listUsage(String subscriptionId, String addOnId, ListUsagePa return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a subscription add-on's usage records + * + * @see list_usage api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param addOnId Add-on ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param queryParams The {@link ListUsageParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the subscription add-on's usage records. + */ + public Pager listUsage(String subscriptionId, String addOnId, ListUsageParams queryParams, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/add_ons/{add_on_id}/usage"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + urlParams.put("add_on_id", addOnId); + if (queryParams == null) queryParams = new ListUsageParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Usage.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Log a usage record on this subscription add-on * @@ -3300,7 +6277,43 @@ public Usage createUsage(String subscriptionId, String addOnId, UsageCreate body urlParams.put("add_on_id", addOnId); final String path = this.interpolatePath(url, urlParams); Type returnType = Usage.class; - return this.makeRequest("POST", path, body, returnType); + return this.makeRequest("POST", path, body, returnType); + } + + /** + * Log a usage record on this subscription add-on + * + * @see create_usage api documentation + * @param subscriptionId Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param addOnId Add-on ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return The created usage record. + */ + public Usage createUsage(String subscriptionId, String addOnId, UsageCreate body, RequestOptions options) { + final String url = "/subscriptions/{subscription_id}/add_ons/{add_on_id}/usage"; + final HashMap urlParams = new HashMap(); + urlParams.put("subscription_id", subscriptionId); + urlParams.put("add_on_id", addOnId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Usage.class; + return this.makeRequest("POST", path, body, options, returnType); + } + + /** + * Get a usage record + * + * @see get_usage api documentation + * @param usageId Usage Record ID. + * @return The usage record. + */ + public Usage getUsage(String usageId) { + final String url = "/usage/{usage_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("usage_id", usageId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Usage.class; + return this.makeRequest("GET", path, returnType); } /** @@ -3308,15 +6321,16 @@ public Usage createUsage(String subscriptionId, String addOnId, UsageCreate body * * @see get_usage api documentation * @param usageId Usage Record ID. + * @param options The {@link RequestOptions} for this request. * @return The usage record. */ - public Usage getUsage(String usageId) { + public Usage getUsage(String usageId, RequestOptions options) { final String url = "/usage/{usage_id}"; final HashMap urlParams = new HashMap(); urlParams.put("usage_id", usageId); final String path = this.interpolatePath(url, urlParams); Type returnType = Usage.class; - return this.makeRequest("GET", path, returnType); + return this.makeRequest("GET", path, options, returnType); } /** @@ -3336,6 +6350,24 @@ public Usage updateUsage(String usageId, UsageCreate body) { return this.makeRequest("PUT", path, body, returnType); } + /** + * Update a usage record + * + * @see update_usage api documentation + * @param usageId Usage Record ID. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return The updated usage record. + */ + public Usage updateUsage(String usageId, UsageCreate body, RequestOptions options) { + final String url = "/usage/{usage_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("usage_id", usageId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Usage.class; + return this.makeRequest("PUT", path, body, options, returnType); + } + /** * Delete a usage record. * @@ -3350,6 +6382,21 @@ public void removeUsage(String usageId) { this.makeRequest("DELETE", path); } + /** + * Delete a usage record. + * + * @see remove_usage api documentation + * @param usageId Usage Record ID. + * @param options The {@link RequestOptions} for this request. + */ + public void removeUsage(String usageId, RequestOptions options) { + final String url = "/usage/{usage_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("usage_id", usageId); + final String path = this.interpolatePath(url, urlParams); + this.makeRequest("DELETE", path, options); + } + /** * List a site's transactions * @@ -3377,6 +6424,24 @@ public Pager listTransactions(ListTransactionsParams queryParams) { return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List a site's transactions + * + * @see list_transactions api documentation + * @param queryParams The {@link ListTransactionsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the site's transactions. + */ + public Pager listTransactions(ListTransactionsParams queryParams, RequestOptions options) { + final String url = "/transactions"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListTransactionsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Transaction.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch a transaction * @@ -3393,6 +6458,23 @@ public Transaction getTransaction(String transactionId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a transaction + * + * @see get_transaction api documentation + * @param transactionId Transaction ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return A transaction. + */ + public Transaction getTransaction(String transactionId, RequestOptions options) { + final String url = "/transactions/{transaction_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("transaction_id", transactionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = Transaction.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Fetch a unique coupon code * @@ -3409,6 +6491,23 @@ public UniqueCouponCode getUniqueCouponCode(String uniqueCouponCodeId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a unique coupon code + * + * @see get_unique_coupon_code api documentation + * @param uniqueCouponCodeId Unique Coupon Code ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-abc-8dh2-def`. + * @param options The {@link RequestOptions} for this request. + * @return A unique coupon code. + */ + public UniqueCouponCode getUniqueCouponCode(String uniqueCouponCodeId, RequestOptions options) { + final String url = "/unique_coupon_codes/{unique_coupon_code_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("unique_coupon_code_id", uniqueCouponCodeId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = UniqueCouponCode.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Deactivate a unique coupon code * @@ -3425,6 +6524,23 @@ public UniqueCouponCode deactivateUniqueCouponCode(String uniqueCouponCodeId) { return this.makeRequest("DELETE", path, returnType); } + /** + * Deactivate a unique coupon code + * + * @see deactivate_unique_coupon_code api documentation + * @param uniqueCouponCodeId Unique Coupon Code ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-abc-8dh2-def`. + * @param options The {@link RequestOptions} for this request. + * @return A unique coupon code. + */ + public UniqueCouponCode deactivateUniqueCouponCode(String uniqueCouponCodeId, RequestOptions options) { + final String url = "/unique_coupon_codes/{unique_coupon_code_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("unique_coupon_code_id", uniqueCouponCodeId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = UniqueCouponCode.class; + return this.makeRequest("DELETE", path, options, returnType); + } + /** * Restore a unique coupon code * @@ -3441,6 +6557,23 @@ public UniqueCouponCode reactivateUniqueCouponCode(String uniqueCouponCodeId) { return this.makeRequest("PUT", path, returnType); } + /** + * Restore a unique coupon code + * + * @see reactivate_unique_coupon_code api documentation + * @param uniqueCouponCodeId Unique Coupon Code ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-abc-8dh2-def`. + * @param options The {@link RequestOptions} for this request. + * @return A unique coupon code. + */ + public UniqueCouponCode reactivateUniqueCouponCode(String uniqueCouponCodeId, RequestOptions options) { + final String url = "/unique_coupon_codes/{unique_coupon_code_id}/restore"; + final HashMap urlParams = new HashMap(); + urlParams.put("unique_coupon_code_id", uniqueCouponCodeId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = UniqueCouponCode.class; + return this.makeRequest("PUT", path, options, returnType); + } + /** * Create a new purchase * @@ -3456,6 +6589,22 @@ public InvoiceCollection createPurchase(PurchaseCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create a new purchase + * + * @see create_purchase api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the new invoices + */ + public InvoiceCollection createPurchase(PurchaseCreate body, RequestOptions options) { + final String url = "/purchases"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = InvoiceCollection.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Preview a new purchase * @@ -3471,6 +6620,22 @@ public InvoiceCollection previewPurchase(PurchaseCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Preview a new purchase + * + * @see preview_purchase api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns preview of the new invoices + */ + public InvoiceCollection previewPurchase(PurchaseCreate body, RequestOptions options) { + final String url = "/purchases/preview"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = InvoiceCollection.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Create a pending purchase * @@ -3486,6 +6651,22 @@ public InvoiceCollection createPendingPurchase(PurchaseCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create a pending purchase + * + * @see create_pending_purchase api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the pending invoice + */ + public InvoiceCollection createPendingPurchase(PurchaseCreate body, RequestOptions options) { + final String url = "/purchases/pending"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = InvoiceCollection.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Authorize a purchase * @@ -3501,6 +6682,22 @@ public InvoiceCollection createAuthorizePurchase(PurchaseCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Authorize a purchase + * + * @see create_authorize_purchase api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the authorize invoice + */ + public InvoiceCollection createAuthorizePurchase(PurchaseCreate body, RequestOptions options) { + final String url = "/purchases/authorize"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = InvoiceCollection.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Capture a purchase * @@ -3517,6 +6714,23 @@ public InvoiceCollection createCapturePurchase(String transactionId) { return this.makeRequest("POST", path, returnType); } + /** + * Capture a purchase + * + * @see create_capture_purchase api documentation + * @param transactionId Transaction ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return Returns the captured invoice + */ + public InvoiceCollection createCapturePurchase(String transactionId, RequestOptions options) { + final String url = "/purchases/{transaction_id}/capture"; + final HashMap urlParams = new HashMap(); + urlParams.put("transaction_id", transactionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = InvoiceCollection.class; + return this.makeRequest("POST", path, options, returnType); + } + /** * Cancel Purchase * @@ -3533,6 +6747,23 @@ public InvoiceCollection cancelpurchase(String transactionId) { return this.makeRequest("POST", path, returnType); } + /** + * Cancel Purchase + * + * @see cancelPurchase api documentation + * @param transactionId Transaction ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. + * @param options The {@link RequestOptions} for this request. + * @return Returns the cancelled invoice + */ + public InvoiceCollection cancelpurchase(String transactionId, RequestOptions options) { + final String url = "/purchases/{transaction_id}/cancel/"; + final HashMap urlParams = new HashMap(); + urlParams.put("transaction_id", transactionId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = InvoiceCollection.class; + return this.makeRequest("POST", path, options, returnType); + } + /** * List the dates that have an available export to download. * @@ -3547,6 +6778,21 @@ public ExportDates getExportDates() { return this.makeRequest("GET", path, returnType); } + /** + * List the dates that have an available export to download. + * + * @see get_export_dates api documentation + * @param options The {@link RequestOptions} for this request. + * @return Returns a list of dates. + */ + public ExportDates getExportDates(RequestOptions options) { + final String url = "/export_dates"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExportDates.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * List of the export files that are available to download. * @@ -3563,6 +6809,23 @@ public ExportFiles getExportFiles(String exportDate) { return this.makeRequest("GET", path, returnType); } + /** + * List of the export files that are available to download. + * + * @see get_export_files api documentation + * @param exportDate Date for which to get a list of available automated export files. Date must be in YYYY-MM-DD format. + * @param options The {@link RequestOptions} for this request. + * @return Returns a list of export files to download. + */ + public ExportFiles getExportFiles(String exportDate, RequestOptions options) { + final String url = "/export_dates/{export_date}/export_files"; + final HashMap urlParams = new HashMap(); + urlParams.put("export_date", exportDate); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExportFiles.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * List the dunning campaigns for a site * @@ -3590,20 +6853,72 @@ public Pager listDunningCampaigns(ListDunningCampaignsParams qu return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List the dunning campaigns for a site + * + * @see list_dunning_campaigns api documentation + * @param queryParams The {@link ListDunningCampaignsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the dunning_campaigns on an account. + */ + public Pager listDunningCampaigns(ListDunningCampaignsParams queryParams, RequestOptions options) { + final String url = "/dunning_campaigns"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListDunningCampaignsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, DunningCampaign.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + + /** + * Fetch a dunning campaign + * + * @see get_dunning_campaign api documentation + * @param dunningCampaignId Dunning Campaign ID, e.g. `e28zov4fw0v2`. + * @return Settings for a dunning campaign. + */ + public DunningCampaign getDunningCampaign(String dunningCampaignId) { + final String url = "/dunning_campaigns/{dunning_campaign_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("dunning_campaign_id", dunningCampaignId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = DunningCampaign.class; + return this.makeRequest("GET", path, returnType); + } + /** * Fetch a dunning campaign * * @see get_dunning_campaign api documentation * @param dunningCampaignId Dunning Campaign ID, e.g. `e28zov4fw0v2`. - * @return Settings for a dunning campaign. + * @param options The {@link RequestOptions} for this request. + * @return Settings for a dunning campaign. + */ + public DunningCampaign getDunningCampaign(String dunningCampaignId, RequestOptions options) { + final String url = "/dunning_campaigns/{dunning_campaign_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("dunning_campaign_id", dunningCampaignId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = DunningCampaign.class; + return this.makeRequest("GET", path, options, returnType); + } + + /** + * Assign a dunning campaign to multiple plans + * + * @see put_dunning_campaign_bulk_update api documentation + * @param dunningCampaignId Dunning Campaign ID, e.g. `e28zov4fw0v2`. + * @param body The body of the request. + * @return A list of updated plans. */ - public DunningCampaign getDunningCampaign(String dunningCampaignId) { - final String url = "/dunning_campaigns/{dunning_campaign_id}"; + public DunningCampaignsBulkUpdateResponse putDunningCampaignBulkUpdate(String dunningCampaignId, DunningCampaignsBulkUpdate body) { + final String url = "/dunning_campaigns/{dunning_campaign_id}/bulk_update"; final HashMap urlParams = new HashMap(); urlParams.put("dunning_campaign_id", dunningCampaignId); final String path = this.interpolatePath(url, urlParams); - Type returnType = DunningCampaign.class; - return this.makeRequest("GET", path, returnType); + Type returnType = DunningCampaignsBulkUpdateResponse.class; + return this.makeRequest("PUT", path, body, returnType); } /** @@ -3612,15 +6927,16 @@ public DunningCampaign getDunningCampaign(String dunningCampaignId) { * @see put_dunning_campaign_bulk_update api documentation * @param dunningCampaignId Dunning Campaign ID, e.g. `e28zov4fw0v2`. * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. * @return A list of updated plans. */ - public DunningCampaignsBulkUpdateResponse putDunningCampaignBulkUpdate(String dunningCampaignId, DunningCampaignsBulkUpdate body) { + public DunningCampaignsBulkUpdateResponse putDunningCampaignBulkUpdate(String dunningCampaignId, DunningCampaignsBulkUpdate body, RequestOptions options) { final String url = "/dunning_campaigns/{dunning_campaign_id}/bulk_update"; final HashMap urlParams = new HashMap(); urlParams.put("dunning_campaign_id", dunningCampaignId); final String path = this.interpolatePath(url, urlParams); Type returnType = DunningCampaignsBulkUpdateResponse.class; - return this.makeRequest("PUT", path, body, returnType); + return this.makeRequest("PUT", path, body, options, returnType); } /** @@ -3650,6 +6966,24 @@ public Pager listInvoiceTemplates(ListInvoiceTemplatesParams qu return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * Show the invoice templates for a site + * + * @see list_invoice_templates api documentation + * @param queryParams The {@link ListInvoiceTemplatesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the invoice templates on a site. + */ + public Pager listInvoiceTemplates(ListInvoiceTemplatesParams queryParams, RequestOptions options) { + final String url = "/invoice_templates"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListInvoiceTemplatesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, InvoiceTemplate.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch an invoice template * @@ -3666,6 +7000,23 @@ public InvoiceTemplate getInvoiceTemplate(String invoiceTemplateId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an invoice template + * + * @see get_invoice_template api documentation + * @param invoiceTemplateId Invoice template ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param options The {@link RequestOptions} for this request. + * @return Settings for an invoice template. + */ + public InvoiceTemplate getInvoiceTemplate(String invoiceTemplateId, RequestOptions options) { + final String url = "/invoice_templates/{invoice_template_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("invoice_template_id", invoiceTemplateId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = InvoiceTemplate.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * List the external invoices on a site * @@ -3693,6 +7044,24 @@ public Pager listExternalInvoices(ListExternalInvoicesParams qu return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List the external invoices on a site + * + * @see list_external_invoices api documentation + * @param queryParams The {@link ListExternalInvoicesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the external_invoices on a site. + */ + public Pager listExternalInvoices(ListExternalInvoicesParams queryParams, RequestOptions options) { + final String url = "/external_invoices"; + final HashMap urlParams = new HashMap(); + if (queryParams == null) queryParams = new ListExternalInvoicesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ExternalInvoice.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch an external invoice * @@ -3709,6 +7078,23 @@ public ExternalInvoice showExternalInvoice(String externalInvoiceId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch an external invoice + * + * @see show_external_invoice api documentation + * @param externalInvoiceId External invoice ID, e.g. `e28zov4fw0v2`. + * @param options The {@link RequestOptions} for this request. + * @return Returns the external invoice + */ + public ExternalInvoice showExternalInvoice(String externalInvoiceId, RequestOptions options) { + final String url = "/external_invoices/{external_invoice_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_invoice_id", externalInvoiceId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalInvoice.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * List the external payment phases on an external subscription * @@ -3739,6 +7125,26 @@ public Pager listExternalSubscriptionExternalPaymentPhases return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List the external payment phases on an external subscription + * + * @see list_external_subscription_external_payment_phases api documentation + * @param externalSubscriptionId External subscription id + * @param queryParams The {@link ListExternalSubscriptionExternalPaymentPhasesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the external_payment_phases on a site. + */ + public Pager listExternalSubscriptionExternalPaymentPhases(String externalSubscriptionId, ListExternalSubscriptionExternalPaymentPhasesParams queryParams, RequestOptions options) { + final String url = "/external_subscriptions/{external_subscription_id}/external_payment_phases"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_subscription_id", externalSubscriptionId); + if (queryParams == null) queryParams = new ListExternalSubscriptionExternalPaymentPhasesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ExternalPaymentPhase.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch an external payment phase * @@ -3757,6 +7163,25 @@ public ExternalPaymentPhase getExternalSubscriptionExternalPaymentPhase(String e return this.makeRequest("GET", path, returnType); } + /** + * Fetch an external payment phase + * + * @see get_external_subscription_external_payment_phase api documentation + * @param externalSubscriptionId External subscription id + * @param externalPaymentPhaseId External payment phase ID, e.g. `a34ypb2ef9w1`. + * @param options The {@link RequestOptions} for this request. + * @return Details for an external payment phase. + */ + public ExternalPaymentPhase getExternalSubscriptionExternalPaymentPhase(String externalSubscriptionId, String externalPaymentPhaseId, RequestOptions options) { + final String url = "/external_subscriptions/{external_subscription_id}/external_payment_phases/{external_payment_phase_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("external_subscription_id", externalSubscriptionId); + urlParams.put("external_payment_phase_id", externalPaymentPhaseId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = ExternalPaymentPhase.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * List entitlements granted to an account * @@ -3787,6 +7212,26 @@ public Pager listEntitlements(String accountId, ListEntitlementsPar return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List entitlements granted to an account + * + * @see list_entitlements api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListEntitlementsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the entitlements granted to an account. + */ + public Pager listEntitlements(String accountId, ListEntitlementsParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/entitlements"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListEntitlementsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Entitlement.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * List an account's external subscriptions * @@ -3817,6 +7262,26 @@ public Pager listAccountExternalSubscriptions(String accou return new Pager<>(path, paramsMap, this, parameterizedType); } + /** + * List an account's external subscriptions + * + * @see list_account_external_subscriptions api documentation + * @param accountId Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. + * @param queryParams The {@link ListAccountExternalSubscriptionsParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the the external_subscriptions on an account. + */ + public Pager listAccountExternalSubscriptions(String accountId, ListAccountExternalSubscriptionsParams queryParams, RequestOptions options) { + final String url = "/accounts/{account_id}/external_subscriptions"; + final HashMap urlParams = new HashMap(); + urlParams.put("account_id", accountId); + if (queryParams == null) queryParams = new ListAccountExternalSubscriptionsParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, ExternalSubscription.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } + /** * Fetch a business entity * @@ -3833,6 +7298,23 @@ public BusinessEntity getBusinessEntity(String businessEntityId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a business entity + * + * @see get_business_entity api documentation + * @param businessEntityId Business Entity ID. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-entity1`. + * @param options The {@link RequestOptions} for this request. + * @return Business entity details + */ + public BusinessEntity getBusinessEntity(String businessEntityId, RequestOptions options) { + final String url = "/business_entities/{business_entity_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("business_entity_id", businessEntityId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = BusinessEntity.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * List business entities * @@ -3847,6 +7329,21 @@ public Pager listBusinessEntities() { return new Pager<>(path, null, this, parameterizedType); } + /** + * List business entities + * + * @see list_business_entities api documentation + * @param options The {@link RequestOptions} for this request. + * @return List of all business entities on your site. + */ + public Pager listBusinessEntities(RequestOptions options) { + final String url = "/business_entities"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, BusinessEntity.class).getType(); + return new Pager<>(path, null, this, parameterizedType); + } + /** * List gift cards * @@ -3861,6 +7358,21 @@ public Pager listGiftCards() { return new Pager<>(path, null, this, parameterizedType); } + /** + * List gift cards + * + * @see list_gift_cards api documentation + * @param options The {@link RequestOptions} for this request. + * @return List of all created gift cards on your site. + */ + public Pager listGiftCards(RequestOptions options) { + final String url = "/gift_cards"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, GiftCard.class).getType(); + return new Pager<>(path, null, this, parameterizedType); + } + /** * Create gift card * @@ -3876,6 +7388,22 @@ public GiftCard createGiftCard(GiftCardCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Create gift card + * + * @see create_gift_card api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the gift card + */ + public GiftCard createGiftCard(GiftCardCreate body, RequestOptions options) { + final String url = "/gift_cards"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = GiftCard.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Fetch a gift card * @@ -3892,6 +7420,23 @@ public GiftCard getGiftCard(String giftCardId) { return this.makeRequest("GET", path, returnType); } + /** + * Fetch a gift card + * + * @see get_gift_card api documentation + * @param giftCardId Gift Card ID, e.g. `e28zov4fw0v2`. + * @param options The {@link RequestOptions} for this request. + * @return Gift card details + */ + public GiftCard getGiftCard(String giftCardId, RequestOptions options) { + final String url = "/gift_cards/{gift_card_id}"; + final HashMap urlParams = new HashMap(); + urlParams.put("gift_card_id", giftCardId); + final String path = this.interpolatePath(url, urlParams); + Type returnType = GiftCard.class; + return this.makeRequest("GET", path, options, returnType); + } + /** * Preview gift card * @@ -3907,6 +7452,22 @@ public GiftCard previewGiftCard(GiftCardCreate body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Preview gift card + * + * @see preview_gift_card api documentation + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Returns the gift card + */ + public GiftCard previewGiftCard(GiftCardCreate body, RequestOptions options) { + final String url = "/gift_cards/preview"; + final HashMap urlParams = new HashMap(); + final String path = this.interpolatePath(url, urlParams); + Type returnType = GiftCard.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * Redeem gift card * @@ -3924,6 +7485,24 @@ public GiftCard redeemGiftCard(String redemptionCode, GiftCardRedeem body) { return this.makeRequest("POST", path, body, returnType); } + /** + * Redeem gift card + * + * @see redeem_gift_card api documentation + * @param redemptionCode Gift Card redemption code, e.g., `N1A2T8IRXSCMO40V`. + * @param body The body of the request. + * @param options The {@link RequestOptions} for this request. + * @return Redeems and returns the gift card + */ + public GiftCard redeemGiftCard(String redemptionCode, GiftCardRedeem body, RequestOptions options) { + final String url = "/gift_cards/{redemption_code}/redeem"; + final HashMap urlParams = new HashMap(); + urlParams.put("redemption_code", redemptionCode); + final String path = this.interpolatePath(url, urlParams); + Type returnType = GiftCard.class; + return this.makeRequest("POST", path, body, options, returnType); + } + /** * List a business entity's invoices * @@ -3953,4 +7532,24 @@ public Pager listBusinessEntityInvoices(String businessEntityId, ListBu Type parameterizedType = TypeToken.getParameterized(Pager.class, Invoice.class).getType(); return new Pager<>(path, paramsMap, this, parameterizedType); } + + /** + * List a business entity's invoices + * + * @see list_business_entity_invoices api documentation + * @param businessEntityId Business Entity ID. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-entity1`. + * @param queryParams The {@link ListBusinessEntityInvoicesParams} for this endpoint. + * @param options The {@link RequestOptions} for this request. + * @return A list of the business entity's invoices. + */ + public Pager listBusinessEntityInvoices(String businessEntityId, ListBusinessEntityInvoicesParams queryParams, RequestOptions options) { + final String url = "/business_entities/{business_entity_id}/invoices"; + final HashMap urlParams = new HashMap(); + urlParams.put("business_entity_id", businessEntityId); + if (queryParams == null) queryParams = new ListBusinessEntityInvoicesParams(); + final HashMap paramsMap = queryParams.getParams(); + final String path = this.interpolatePath(url, urlParams); + Type parameterizedType = TypeToken.getParameterized(Pager.class, Invoice.class).getType(); + return new Pager<>(path, paramsMap, this, parameterizedType); + } } diff --git a/src/main/java/com/recurly/v3/Constants.java b/src/main/java/com/recurly/v3/Constants.java index 110e6a1..07318b1 100644 --- a/src/main/java/com/recurly/v3/Constants.java +++ b/src/main/java/com/recurly/v3/Constants.java @@ -1607,6 +1607,9 @@ public enum PaymentMethod { @SerializedName("braintree_google_pay") BRAINTREE_GOOGLE_PAY, + @SerializedName("stripe_link") + STRIPE_LINK, + }; public enum CardType { diff --git a/src/main/java/com/recurly/v3/requests/AccountAcquisitionCost.java b/src/main/java/com/recurly/v3/requests/AccountAcquisitionCost.java index 456f857..36093d9 100644 --- a/src/main/java/com/recurly/v3/requests/AccountAcquisitionCost.java +++ b/src/main/java/com/recurly/v3/requests/AccountAcquisitionCost.java @@ -28,7 +28,9 @@ public BigDecimal getAmount() { return this.amount; } - /** @param amount The amount of the corresponding currency used to acquire the account. */ + /** + * @param amount The amount of the corresponding currency used to acquire the account. + */ public void setAmount(final BigDecimal amount) { this.amount = amount; } @@ -38,7 +40,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } diff --git a/src/main/java/com/recurly/v3/requests/AccountAcquisitionUpdate.java b/src/main/java/com/recurly/v3/requests/AccountAcquisitionUpdate.java index 8b8a5e4..7a7f19d 100644 --- a/src/main/java/com/recurly/v3/requests/AccountAcquisitionUpdate.java +++ b/src/main/java/com/recurly/v3/requests/AccountAcquisitionUpdate.java @@ -82,7 +82,9 @@ public Constants.Channel getChannel() { return this.channel; } - /** @param channel The channel through which the account was acquired. */ + /** + * @param channel The channel through which the account was acquired. + */ public void setChannel(final Constants.Channel channel) { this.channel = channel; } @@ -92,7 +94,9 @@ public AccountAcquisitionCost getCost() { return this.cost; } - /** @param cost Account balance */ + /** + * @param cost Account balance + */ public void setCost(final AccountAcquisitionCost cost) { this.cost = cost; } diff --git a/src/main/java/com/recurly/v3/requests/AccountCreate.java b/src/main/java/com/recurly/v3/requests/AccountCreate.java index cc953d0..51f7bff 100644 --- a/src/main/java/com/recurly/v3/requests/AccountCreate.java +++ b/src/main/java/com/recurly/v3/requests/AccountCreate.java @@ -210,7 +210,9 @@ public AccountAcquisitionUpdate getAcquisition() { return this.acquisition; } - /** @param acquisition */ + /** + * @param acquisition + */ public void setAcquisition(final AccountAcquisitionUpdate acquisition) { this.acquisition = acquisition; } @@ -219,7 +221,9 @@ public Address getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final Address address) { this.address = address; } @@ -260,7 +264,9 @@ public BillingInfoCreate getBillingInfo() { return this.billingInfo; } - /** @param billingInfo */ + /** + * @param billingInfo + */ public void setBillingInfo(final BillingInfoCreate billingInfo) { this.billingInfo = billingInfo; } @@ -299,7 +305,9 @@ public String getCompany() { return this.company; } - /** @param company */ + /** + * @param company + */ public void setCompany(final String company) { this.company = company; } @@ -398,7 +406,9 @@ public List getExternalAccounts() { return this.externalAccounts; } - /** @param externalAccounts External Accounts */ + /** + * @param externalAccounts External Accounts + */ public void setExternalAccounts(final List externalAccounts) { this.externalAccounts = externalAccounts; } @@ -407,7 +417,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName */ + /** + * @param firstName + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -434,7 +446,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName */ + /** + * @param lastName + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -538,7 +552,9 @@ public List getShippingAddresses() { return this.shippingAddresses; } - /** @param shippingAddresses */ + /** + * @param shippingAddresses + */ public void setShippingAddresses(final List shippingAddresses) { this.shippingAddresses = shippingAddresses; } @@ -581,7 +597,9 @@ public String getUsername() { return this.username; } - /** @param username A secondary value for the account. */ + /** + * @param username A secondary value for the account. + */ public void setUsername(final String username) { this.username = username; } diff --git a/src/main/java/com/recurly/v3/requests/AccountNoteCreate.java b/src/main/java/com/recurly/v3/requests/AccountNoteCreate.java index be46b69..9c0de43 100644 --- a/src/main/java/com/recurly/v3/requests/AccountNoteCreate.java +++ b/src/main/java/com/recurly/v3/requests/AccountNoteCreate.java @@ -22,7 +22,9 @@ public String getMessage() { return this.message; } - /** @param message The content of the account note. */ + /** + * @param message The content of the account note. + */ public void setMessage(final String message) { this.message = message; } diff --git a/src/main/java/com/recurly/v3/requests/AccountPurchase.java b/src/main/java/com/recurly/v3/requests/AccountPurchase.java index c0c6dfb..19d3ce7 100644 --- a/src/main/java/com/recurly/v3/requests/AccountPurchase.java +++ b/src/main/java/com/recurly/v3/requests/AccountPurchase.java @@ -209,7 +209,9 @@ public AccountAcquisitionUpdate getAcquisition() { return this.acquisition; } - /** @param acquisition */ + /** + * @param acquisition + */ public void setAcquisition(final AccountAcquisitionUpdate acquisition) { this.acquisition = acquisition; } @@ -218,7 +220,9 @@ public Address getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final Address address) { this.address = address; } @@ -259,7 +263,9 @@ public BillingInfoCreate getBillingInfo() { return this.billingInfo; } - /** @param billingInfo */ + /** + * @param billingInfo + */ public void setBillingInfo(final BillingInfoCreate billingInfo) { this.billingInfo = billingInfo; } @@ -298,7 +304,9 @@ public String getCompany() { return this.company; } - /** @param company */ + /** + * @param company + */ public void setCompany(final String company) { this.company = company; } @@ -396,7 +404,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName */ + /** + * @param firstName + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -439,7 +449,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName */ + /** + * @param lastName + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -577,7 +589,9 @@ public String getUsername() { return this.username; } - /** @param username A secondary value for the account. */ + /** + * @param username A secondary value for the account. + */ public void setUsername(final String username) { this.username = username; } diff --git a/src/main/java/com/recurly/v3/requests/AccountReference.java b/src/main/java/com/recurly/v3/requests/AccountReference.java index 01c9a2c..405e49a 100644 --- a/src/main/java/com/recurly/v3/requests/AccountReference.java +++ b/src/main/java/com/recurly/v3/requests/AccountReference.java @@ -24,7 +24,9 @@ public String getCode() { return this.code; } - /** @param code */ + /** + * @param code + */ public void setCode(final String code) { this.code = code; } @@ -33,7 +35,9 @@ public String getId() { return this.id; } - /** @param id */ + /** + * @param id + */ public void setId(final String id) { this.id = id; } diff --git a/src/main/java/com/recurly/v3/requests/AccountUpdate.java b/src/main/java/com/recurly/v3/requests/AccountUpdate.java index d446b75..0685b4f 100644 --- a/src/main/java/com/recurly/v3/requests/AccountUpdate.java +++ b/src/main/java/com/recurly/v3/requests/AccountUpdate.java @@ -192,7 +192,9 @@ public Address getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final Address address) { this.address = address; } @@ -233,7 +235,9 @@ public BillingInfoCreate getBillingInfo() { return this.billingInfo; } - /** @param billingInfo */ + /** + * @param billingInfo + */ public void setBillingInfo(final BillingInfoCreate billingInfo) { this.billingInfo = billingInfo; } @@ -259,7 +263,9 @@ public String getCompany() { return this.company; } - /** @param company */ + /** + * @param company + */ public void setCompany(final String company) { this.company = company; } @@ -357,7 +363,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName */ + /** + * @param firstName + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -384,7 +392,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName */ + /** + * @param lastName + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -522,7 +532,9 @@ public String getUsername() { return this.username; } - /** @param username A secondary value for the account. */ + /** + * @param username A secondary value for the account. + */ public void setUsername(final String username) { this.username = username; } diff --git a/src/main/java/com/recurly/v3/requests/AddOnCreate.java b/src/main/java/com/recurly/v3/requests/AddOnCreate.java index 035d660..d9aba19 100644 --- a/src/main/java/com/recurly/v3/requests/AddOnCreate.java +++ b/src/main/java/com/recurly/v3/requests/AddOnCreate.java @@ -281,7 +281,9 @@ public Constants.AddOnTypeCreate getAddOnType() { return this.addOnType; } - /** @param addOnType Whether the add-on type is fixed, or usage-based. */ + /** + * @param addOnType Whether the add-on type is fixed, or usage-based. + */ public void setAddOnType(final Constants.AddOnTypeCreate addOnType) { this.addOnType = addOnType; } @@ -374,7 +376,9 @@ public Integer getDefaultQuantity() { return this.defaultQuantity; } - /** @param defaultQuantity Default quantity for the hosted pages. */ + /** + * @param defaultQuantity Default quantity for the hosted pages. + */ public void setDefaultQuantity(final Integer defaultQuantity) { this.defaultQuantity = defaultQuantity; } @@ -583,7 +587,9 @@ public String getPlanId() { return this.planId; } - /** @param planId Plan ID */ + /** + * @param planId Plan ID + */ public void setPlanId(final String planId) { this.planId = planId; } diff --git a/src/main/java/com/recurly/v3/requests/AddOnPricing.java b/src/main/java/com/recurly/v3/requests/AddOnPricing.java index 3c90d9d..7760c58 100644 --- a/src/main/java/com/recurly/v3/requests/AddOnPricing.java +++ b/src/main/java/com/recurly/v3/requests/AddOnPricing.java @@ -41,7 +41,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -51,7 +53,9 @@ public Boolean getTaxInclusive() { return this.taxInclusive; } - /** @param taxInclusive This field is deprecated. Please do not use it. */ + /** + * @param taxInclusive This field is deprecated. Please do not use it. + */ public void setTaxInclusive(final Boolean taxInclusive) { this.taxInclusive = taxInclusive; } diff --git a/src/main/java/com/recurly/v3/requests/AddOnUpdate.java b/src/main/java/com/recurly/v3/requests/AddOnUpdate.java index ce4c848..f7e8f2c 100644 --- a/src/main/java/com/recurly/v3/requests/AddOnUpdate.java +++ b/src/main/java/com/recurly/v3/requests/AddOnUpdate.java @@ -304,7 +304,9 @@ public Integer getDefaultQuantity() { return this.defaultQuantity; } - /** @param defaultQuantity Default quantity for the hosted pages. */ + /** + * @param defaultQuantity Default quantity for the hosted pages. + */ public void setDefaultQuantity(final Integer defaultQuantity) { this.defaultQuantity = defaultQuantity; } @@ -349,7 +351,9 @@ public String getId() { return this.id; } - /** @param id Add-on ID */ + /** + * @param id Add-on ID + */ public void setId(final String id) { this.id = id; } diff --git a/src/main/java/com/recurly/v3/requests/Address.java b/src/main/java/com/recurly/v3/requests/Address.java index 7bc316b..336722d 100644 --- a/src/main/java/com/recurly/v3/requests/Address.java +++ b/src/main/java/com/recurly/v3/requests/Address.java @@ -60,7 +60,9 @@ public String getCity() { return this.city; } - /** @param city City */ + /** + * @param city City + */ public void setCity(final String city) { this.city = city; } @@ -70,7 +72,9 @@ public String getCountry() { return this.country; } - /** @param country Country, 2-letter ISO 3166-1 alpha-2 code. */ + /** + * @param country Country, 2-letter ISO 3166-1 alpha-2 code. + */ public void setCountry(final String country) { this.country = country; } @@ -96,7 +100,9 @@ public String getPhone() { return this.phone; } - /** @param phone Phone number */ + /** + * @param phone Phone number + */ public void setPhone(final String phone) { this.phone = phone; } @@ -106,7 +112,9 @@ public String getPostalCode() { return this.postalCode; } - /** @param postalCode Zip or postal code. */ + /** + * @param postalCode Zip or postal code. + */ public void setPostalCode(final String postalCode) { this.postalCode = postalCode; } @@ -116,7 +124,9 @@ public String getRegion() { return this.region; } - /** @param region State or province. */ + /** + * @param region State or province. + */ public void setRegion(final String region) { this.region = region; } @@ -126,7 +136,9 @@ public String getStreet1() { return this.street1; } - /** @param street1 Street 1 */ + /** + * @param street1 Street 1 + */ public void setStreet1(final String street1) { this.street1 = street1; } @@ -136,7 +148,9 @@ public String getStreet2() { return this.street2; } - /** @param street2 Street 2 */ + /** + * @param street2 Street 2 + */ public void setStreet2(final String street2) { this.street2 = street2; } diff --git a/src/main/java/com/recurly/v3/requests/BillingInfoCreate.java b/src/main/java/com/recurly/v3/requests/BillingInfoCreate.java index 394db86..8a27165 100644 --- a/src/main/java/com/recurly/v3/requests/BillingInfoCreate.java +++ b/src/main/java/com/recurly/v3/requests/BillingInfoCreate.java @@ -278,7 +278,9 @@ public String getAccountNumber() { return this.accountNumber; } - /** @param accountNumber The bank account number. (ACH, Bacs only) */ + /** + * @param accountNumber The bank account number. (ACH, Bacs only) + */ public void setAccountNumber(final String accountNumber) { this.accountNumber = accountNumber; } @@ -288,7 +290,9 @@ public Constants.AchAccountType getAccountType() { return this.accountType; } - /** @param accountType The bank account type. (ACH only) */ + /** + * @param accountType The bank account type. (ACH only) + */ public void setAccountType(final Constants.AchAccountType accountType) { this.accountType = accountType; } @@ -297,7 +301,9 @@ public Address getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final Address address) { this.address = address; } @@ -391,7 +397,9 @@ public Constants.CardType getCardType() { return this.cardType; } - /** @param cardType */ + /** + * @param cardType + */ public void setCardType(final Constants.CardType cardType) { this.cardType = cardType; } @@ -401,7 +409,9 @@ public String getCompany() { return this.company; } - /** @param company Company name */ + /** + * @param company Company name + */ public void setCompany(final String company) { this.company = company; } @@ -411,7 +421,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -421,7 +433,9 @@ public String getCvv() { return this.cvv; } - /** @param cvv *STRONGLY RECOMMENDED* */ + /** + * @param cvv *STRONGLY RECOMMENDED* + */ public void setCvv(final String cvv) { this.cvv = cvv; } @@ -447,7 +461,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName First name */ + /** + * @param firstName First name + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -457,7 +473,9 @@ public String getFraudSessionId() { return this.fraudSessionId; } - /** @param fraudSessionId Fraud Session ID */ + /** + * @param fraudSessionId Fraud Session ID + */ public void setFraudSessionId(final String fraudSessionId) { this.fraudSessionId = fraudSessionId; } @@ -467,7 +485,9 @@ public GatewayAttributes getGatewayAttributes() { return this.gatewayAttributes; } - /** @param gatewayAttributes Additional attributes to send to the gateway. */ + /** + * @param gatewayAttributes Additional attributes to send to the gateway. + */ public void setGatewayAttributes(final GatewayAttributes gatewayAttributes) { this.gatewayAttributes = gatewayAttributes; } @@ -477,7 +497,9 @@ public String getGatewayCode() { return this.gatewayCode; } - /** @param gatewayCode An identifier for a specific payment gateway. */ + /** + * @param gatewayCode An identifier for a specific payment gateway. + */ public void setGatewayCode(final String gatewayCode) { this.gatewayCode = gatewayCode; } @@ -534,7 +556,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName Last name */ + /** + * @param lastName Last name + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -544,7 +568,9 @@ public String getMonth() { return this.month; } - /** @param month Expiration month */ + /** + * @param month Expiration month + */ public void setMonth(final String month) { this.month = month; } @@ -554,7 +580,9 @@ public String getNameOnAccount() { return this.nameOnAccount; } - /** @param nameOnAccount The name associated with the bank account (ACH, SEPA, Bacs only) */ + /** + * @param nameOnAccount The name associated with the bank account (ACH, SEPA, Bacs only) + */ public void setNameOnAccount(final String nameOnAccount) { this.nameOnAccount = nameOnAccount; } @@ -564,7 +592,9 @@ public String getNumber() { return this.number; } - /** @param number Credit card number, spaces and dashes are accepted. */ + /** + * @param number Credit card number, spaces and dashes are accepted. + */ public void setNumber(final String number) { this.number = number; } @@ -609,7 +639,9 @@ public String getPaypalBillingAgreementId() { return this.paypalBillingAgreementId; } - /** @param paypalBillingAgreementId PayPal billing agreement ID */ + /** + * @param paypalBillingAgreementId PayPal billing agreement ID + */ public void setPaypalBillingAgreementId(final String paypalBillingAgreementId) { this.paypalBillingAgreementId = paypalBillingAgreementId; } @@ -662,7 +694,9 @@ public String getRokuBillingAgreementId() { return this.rokuBillingAgreementId; } - /** @param rokuBillingAgreementId Roku's CIB if billing through Roku */ + /** + * @param rokuBillingAgreementId Roku's CIB if billing through Roku + */ public void setRokuBillingAgreementId(final String rokuBillingAgreementId) { this.rokuBillingAgreementId = rokuBillingAgreementId; } @@ -672,7 +706,9 @@ public String getRoutingNumber() { return this.routingNumber; } - /** @param routingNumber The bank's rounting number. (ACH only) */ + /** + * @param routingNumber The bank's rounting number. (ACH only) + */ public void setRoutingNumber(final String routingNumber) { this.routingNumber = routingNumber; } @@ -795,7 +831,9 @@ public String getVatNumber() { return this.vatNumber; } - /** @param vatNumber VAT number */ + /** + * @param vatNumber VAT number + */ public void setVatNumber(final String vatNumber) { this.vatNumber = vatNumber; } @@ -805,7 +843,9 @@ public String getYear() { return this.year; } - /** @param year Expiration year */ + /** + * @param year Expiration year + */ public void setYear(final String year) { this.year = year; } diff --git a/src/main/java/com/recurly/v3/requests/BillingInfoVerify.java b/src/main/java/com/recurly/v3/requests/BillingInfoVerify.java index c7fba9d..6e55919 100644 --- a/src/main/java/com/recurly/v3/requests/BillingInfoVerify.java +++ b/src/main/java/com/recurly/v3/requests/BillingInfoVerify.java @@ -30,7 +30,9 @@ public String getGatewayCode() { return this.gatewayCode; } - /** @param gatewayCode An identifier for a specific payment gateway. */ + /** + * @param gatewayCode An identifier for a specific payment gateway. + */ public void setGatewayCode(final String gatewayCode) { this.gatewayCode = gatewayCode; } diff --git a/src/main/java/com/recurly/v3/requests/BillingInfoVerifyCVV.java b/src/main/java/com/recurly/v3/requests/BillingInfoVerifyCVV.java index 5893065..6d6fe83 100644 --- a/src/main/java/com/recurly/v3/requests/BillingInfoVerifyCVV.java +++ b/src/main/java/com/recurly/v3/requests/BillingInfoVerifyCVV.java @@ -43,7 +43,9 @@ public String getGatewayCode() { return this.gatewayCode; } - /** @param gatewayCode An identifier for a specific payment gateway. */ + /** + * @param gatewayCode An identifier for a specific payment gateway. + */ public void setGatewayCode(final String gatewayCode) { this.gatewayCode = gatewayCode; } @@ -85,7 +87,9 @@ public String getVerificationValue() { return this.verificationValue; } - /** @param verificationValue Unique security code for a credit card. */ + /** + * @param verificationValue Unique security code for a credit card. + */ public void setVerificationValue(final String verificationValue) { this.verificationValue = verificationValue; } diff --git a/src/main/java/com/recurly/v3/requests/CouponCreate.java b/src/main/java/com/recurly/v3/requests/CouponCreate.java index 465cfc3..24945e3 100644 --- a/src/main/java/com/recurly/v3/requests/CouponCreate.java +++ b/src/main/java/com/recurly/v3/requests/CouponCreate.java @@ -239,7 +239,9 @@ public Boolean getAppliesToNonPlanCharges() { return this.appliesToNonPlanCharges; } - /** @param appliesToNonPlanCharges The coupon is valid for one-time, non-plan charges if true. */ + /** + * @param appliesToNonPlanCharges The coupon is valid for one-time, non-plan charges if true. + */ public void setAppliesToNonPlanCharges(final Boolean appliesToNonPlanCharges) { this.appliesToNonPlanCharges = appliesToNonPlanCharges; } @@ -249,7 +251,9 @@ public String getCode() { return this.code; } - /** @param code The code the customer enters to redeem the coupon. */ + /** + * @param code The code the customer enters to redeem the coupon. + */ public void setCode(final String code) { this.code = code; } @@ -390,7 +394,9 @@ public String getInvoiceDescription() { return this.invoiceDescription; } - /** @param invoiceDescription Description of the coupon on the invoice. */ + /** + * @param invoiceDescription Description of the coupon on the invoice. + */ public void setInvoiceDescription(final String invoiceDescription) { this.invoiceDescription = invoiceDescription; } @@ -453,7 +459,9 @@ public String getName() { return this.name; } - /** @param name The internal name for the coupon. */ + /** + * @param name The internal name for the coupon. + */ public void setName(final String name) { this.name = name; } diff --git a/src/main/java/com/recurly/v3/requests/CouponPricing.java b/src/main/java/com/recurly/v3/requests/CouponPricing.java index a9e2fdd..f89c32c 100644 --- a/src/main/java/com/recurly/v3/requests/CouponPricing.java +++ b/src/main/java/com/recurly/v3/requests/CouponPricing.java @@ -28,7 +28,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -38,7 +40,9 @@ public BigDecimal getDiscount() { return this.discount; } - /** @param discount The fixed discount (in dollars) for the corresponding currency. */ + /** + * @param discount The fixed discount (in dollars) for the corresponding currency. + */ public void setDiscount(final BigDecimal discount) { this.discount = discount; } diff --git a/src/main/java/com/recurly/v3/requests/CouponRedemptionCreate.java b/src/main/java/com/recurly/v3/requests/CouponRedemptionCreate.java index d89d37a..d62d937 100644 --- a/src/main/java/com/recurly/v3/requests/CouponRedemptionCreate.java +++ b/src/main/java/com/recurly/v3/requests/CouponRedemptionCreate.java @@ -32,7 +32,9 @@ public String getCouponId() { return this.couponId; } - /** @param couponId Coupon ID */ + /** + * @param couponId Coupon ID + */ public void setCouponId(final String couponId) { this.couponId = couponId; } @@ -42,7 +44,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -52,7 +56,9 @@ public String getSubscriptionId() { return this.subscriptionId; } - /** @param subscriptionId Subscription ID */ + /** + * @param subscriptionId Subscription ID + */ public void setSubscriptionId(final String subscriptionId) { this.subscriptionId = subscriptionId; } diff --git a/src/main/java/com/recurly/v3/requests/CouponUpdate.java b/src/main/java/com/recurly/v3/requests/CouponUpdate.java index bb6aaca..8cde0d9 100644 --- a/src/main/java/com/recurly/v3/requests/CouponUpdate.java +++ b/src/main/java/com/recurly/v3/requests/CouponUpdate.java @@ -76,7 +76,9 @@ public String getInvoiceDescription() { return this.invoiceDescription; } - /** @param invoiceDescription Description of the coupon on the invoice. */ + /** + * @param invoiceDescription Description of the coupon on the invoice. + */ public void setInvoiceDescription(final String invoiceDescription) { this.invoiceDescription = invoiceDescription; } @@ -121,7 +123,9 @@ public String getName() { return this.name; } - /** @param name The internal name for the coupon. */ + /** + * @param name The internal name for the coupon. + */ public void setName(final String name) { this.name = name; } diff --git a/src/main/java/com/recurly/v3/requests/CustomField.java b/src/main/java/com/recurly/v3/requests/CustomField.java index f4eeb6a..c05ec42 100644 --- a/src/main/java/com/recurly/v3/requests/CustomField.java +++ b/src/main/java/com/recurly/v3/requests/CustomField.java @@ -44,7 +44,9 @@ public String getName() { return this.name; } - /** @param name Fields must be created in the UI before values can be assigned to them. */ + /** + * @param name Fields must be created in the UI before values can be assigned to them. + */ public void setName(final String name) { this.name = name; } diff --git a/src/main/java/com/recurly/v3/requests/ExternalAccountCreate.java b/src/main/java/com/recurly/v3/requests/ExternalAccountCreate.java index 428004d..5f1c496 100644 --- a/src/main/java/com/recurly/v3/requests/ExternalAccountCreate.java +++ b/src/main/java/com/recurly/v3/requests/ExternalAccountCreate.java @@ -27,7 +27,9 @@ public String getExternalAccountCode() { return this.externalAccountCode; } - /** @param externalAccountCode Represents the account code for the external account. */ + /** + * @param externalAccountCode Represents the account code for the external account. + */ public void setExternalAccountCode(final String externalAccountCode) { this.externalAccountCode = externalAccountCode; } diff --git a/src/main/java/com/recurly/v3/requests/ExternalAccountUpdate.java b/src/main/java/com/recurly/v3/requests/ExternalAccountUpdate.java index 70601bd..529549e 100644 --- a/src/main/java/com/recurly/v3/requests/ExternalAccountUpdate.java +++ b/src/main/java/com/recurly/v3/requests/ExternalAccountUpdate.java @@ -27,7 +27,9 @@ public String getExternalAccountCode() { return this.externalAccountCode; } - /** @param externalAccountCode Represents the account code for the external account. */ + /** + * @param externalAccountCode Represents the account code for the external account. + */ public void setExternalAccountCode(final String externalAccountCode) { this.externalAccountCode = externalAccountCode; } diff --git a/src/main/java/com/recurly/v3/requests/ExternalChargeCreate.java b/src/main/java/com/recurly/v3/requests/ExternalChargeCreate.java index b185723..7bde812 100644 --- a/src/main/java/com/recurly/v3/requests/ExternalChargeCreate.java +++ b/src/main/java/com/recurly/v3/requests/ExternalChargeCreate.java @@ -38,7 +38,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -47,7 +49,9 @@ public String getDescription() { return this.description; } - /** @param description */ + /** + * @param description + */ public void setDescription(final String description) { this.description = description; } @@ -56,7 +60,9 @@ public ExternalProductReferenceCreate getExternalProductReference() { return this.externalProductReference; } - /** @param externalProductReference */ + /** + * @param externalProductReference + */ public void setExternalProductReference( final ExternalProductReferenceCreate externalProductReference) { this.externalProductReference = externalProductReference; @@ -66,7 +72,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity */ + /** + * @param quantity + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } @@ -75,7 +83,9 @@ public String getUnitAmount() { return this.unitAmount; } - /** @param unitAmount */ + /** + * @param unitAmount + */ public void setUnitAmount(final String unitAmount) { this.unitAmount = unitAmount; } diff --git a/src/main/java/com/recurly/v3/requests/ExternalInvoiceCreate.java b/src/main/java/com/recurly/v3/requests/ExternalInvoiceCreate.java index db38cfb..d2d4a38 100644 --- a/src/main/java/com/recurly/v3/requests/ExternalInvoiceCreate.java +++ b/src/main/java/com/recurly/v3/requests/ExternalInvoiceCreate.java @@ -59,7 +59,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -84,7 +86,9 @@ public ExternalPaymentPhaseBase getExternalPaymentPhase() { return this.externalPaymentPhase; } - /** @param externalPaymentPhase */ + /** + * @param externalPaymentPhase + */ public void setExternalPaymentPhase(final ExternalPaymentPhaseBase externalPaymentPhase) { this.externalPaymentPhase = externalPaymentPhase; } @@ -94,7 +98,9 @@ public String getExternalPaymentPhaseId() { return this.externalPaymentPhaseId; } - /** @param externalPaymentPhaseId External payment phase ID, e.g. `a34ypb2ef9w1`. */ + /** + * @param externalPaymentPhaseId External payment phase ID, e.g. `a34ypb2ef9w1`. + */ public void setExternalPaymentPhaseId(final String externalPaymentPhaseId) { this.externalPaymentPhaseId = externalPaymentPhaseId; } @@ -103,7 +109,9 @@ public List getLineItems() { return this.lineItems; } - /** @param lineItems */ + /** + * @param lineItems + */ public void setLineItems(final List lineItems) { this.lineItems = lineItems; } @@ -113,7 +121,9 @@ public ZonedDateTime getPurchasedAt() { return this.purchasedAt; } - /** @param purchasedAt When the invoice was created in the external platform. */ + /** + * @param purchasedAt When the invoice was created in the external platform. + */ public void setPurchasedAt(final ZonedDateTime purchasedAt) { this.purchasedAt = purchasedAt; } @@ -122,7 +132,9 @@ public Constants.ExternalInvoiceState getState() { return this.state; } - /** @param state */ + /** + * @param state + */ public void setState(final Constants.ExternalInvoiceState state) { this.state = state; } @@ -131,7 +143,9 @@ public String getTotal() { return this.total; } - /** @param total */ + /** + * @param total + */ public void setTotal(final String total) { this.total = total; } diff --git a/src/main/java/com/recurly/v3/requests/ExternalPaymentPhaseBase.java b/src/main/java/com/recurly/v3/requests/ExternalPaymentPhaseBase.java index f36dd8f..ec5b58b 100644 --- a/src/main/java/com/recurly/v3/requests/ExternalPaymentPhaseBase.java +++ b/src/main/java/com/recurly/v3/requests/ExternalPaymentPhaseBase.java @@ -68,7 +68,9 @@ public String getAmount() { return this.amount; } - /** @param amount Allows up to 9 decimal places */ + /** + * @param amount Allows up to 9 decimal places + */ public void setAmount(final String amount) { this.amount = amount; } @@ -78,7 +80,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -88,7 +92,9 @@ public Integer getEndingBillingPeriodIndex() { return this.endingBillingPeriodIndex; } - /** @param endingBillingPeriodIndex Ending Billing Period Index */ + /** + * @param endingBillingPeriodIndex Ending Billing Period Index + */ public void setEndingBillingPeriodIndex(final Integer endingBillingPeriodIndex) { this.endingBillingPeriodIndex = endingBillingPeriodIndex; } @@ -98,7 +104,9 @@ public ZonedDateTime getEndsAt() { return this.endsAt; } - /** @param endsAt Ends At */ + /** + * @param endsAt Ends At + */ public void setEndsAt(final ZonedDateTime endsAt) { this.endsAt = endsAt; } @@ -108,7 +116,9 @@ public String getOfferName() { return this.offerName; } - /** @param offerName Name of the discount offer given, e.g. "introductory" */ + /** + * @param offerName Name of the discount offer given, e.g. "introductory" + */ public void setOfferName(final String offerName) { this.offerName = offerName; } @@ -118,7 +128,9 @@ public String getOfferType() { return this.offerType; } - /** @param offerType Type of discount offer given, e.g. "FREE_TRIAL" */ + /** + * @param offerType Type of discount offer given, e.g. "FREE_TRIAL" + */ public void setOfferType(final String offerType) { this.offerType = offerType; } @@ -128,7 +140,9 @@ public Integer getPeriodCount() { return this.periodCount; } - /** @param periodCount Number of billing periods */ + /** + * @param periodCount Number of billing periods + */ public void setPeriodCount(final Integer periodCount) { this.periodCount = periodCount; } @@ -138,7 +152,9 @@ public String getPeriodLength() { return this.periodLength; } - /** @param periodLength Billing cycle length */ + /** + * @param periodLength Billing cycle length + */ public void setPeriodLength(final String periodLength) { this.periodLength = periodLength; } @@ -148,7 +164,9 @@ public ZonedDateTime getStartedAt() { return this.startedAt; } - /** @param startedAt Started At */ + /** + * @param startedAt Started At + */ public void setStartedAt(final ZonedDateTime startedAt) { this.startedAt = startedAt; } @@ -158,7 +176,9 @@ public Integer getStartingBillingPeriodIndex() { return this.startingBillingPeriodIndex; } - /** @param startingBillingPeriodIndex Starting Billing Period Index */ + /** + * @param startingBillingPeriodIndex Starting Billing Period Index + */ public void setStartingBillingPeriodIndex(final Integer startingBillingPeriodIndex) { this.startingBillingPeriodIndex = startingBillingPeriodIndex; } diff --git a/src/main/java/com/recurly/v3/requests/ExternalProductCreate.java b/src/main/java/com/recurly/v3/requests/ExternalProductCreate.java index 6318be8..6e7554c 100644 --- a/src/main/java/com/recurly/v3/requests/ExternalProductCreate.java +++ b/src/main/java/com/recurly/v3/requests/ExternalProductCreate.java @@ -46,7 +46,9 @@ public String getName() { return this.name; } - /** @param name External product name. */ + /** + * @param name External product name. + */ public void setName(final String name) { this.name = name; } @@ -56,7 +58,9 @@ public String getPlanId() { return this.planId; } - /** @param planId Recurly plan UUID. */ + /** + * @param planId Recurly plan UUID. + */ public void setPlanId(final String planId) { this.planId = planId; } diff --git a/src/main/java/com/recurly/v3/requests/ExternalProductUpdate.java b/src/main/java/com/recurly/v3/requests/ExternalProductUpdate.java index 573ee3f..66d12c1 100644 --- a/src/main/java/com/recurly/v3/requests/ExternalProductUpdate.java +++ b/src/main/java/com/recurly/v3/requests/ExternalProductUpdate.java @@ -22,7 +22,9 @@ public String getPlanId() { return this.planId; } - /** @param planId Recurly plan UUID. */ + /** + * @param planId Recurly plan UUID. + */ public void setPlanId(final String planId) { this.planId = planId; } diff --git a/src/main/java/com/recurly/v3/requests/ExternalRefund.java b/src/main/java/com/recurly/v3/requests/ExternalRefund.java index 2c74ce5..461fb07 100644 --- a/src/main/java/com/recurly/v3/requests/ExternalRefund.java +++ b/src/main/java/com/recurly/v3/requests/ExternalRefund.java @@ -34,7 +34,9 @@ public String getDescription() { return this.description; } - /** @param description Used as the refund transactions' description. */ + /** + * @param description Used as the refund transactions' description. + */ public void setDescription(final String description) { this.description = description; } @@ -44,7 +46,9 @@ public Constants.ExternalPaymentMethod getPaymentMethod() { return this.paymentMethod; } - /** @param paymentMethod Payment method used for external refund transaction. */ + /** + * @param paymentMethod Payment method used for external refund transaction. + */ public void setPaymentMethod(final Constants.ExternalPaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; } diff --git a/src/main/java/com/recurly/v3/requests/ExternalSubscriptionCreate.java b/src/main/java/com/recurly/v3/requests/ExternalSubscriptionCreate.java index 573686e..c1b4c65 100644 --- a/src/main/java/com/recurly/v3/requests/ExternalSubscriptionCreate.java +++ b/src/main/java/com/recurly/v3/requests/ExternalSubscriptionCreate.java @@ -91,7 +91,9 @@ public AccountExternalSubscription getAccount() { return this.account; } - /** @param account */ + /** + * @param account + */ public void setAccount(final AccountExternalSubscription account) { this.account = account; } @@ -101,7 +103,9 @@ public ZonedDateTime getActivatedAt() { return this.activatedAt; } - /** @param activatedAt When the external subscription was activated in the external platform. */ + /** + * @param activatedAt When the external subscription was activated in the external platform. + */ public void setActivatedAt(final ZonedDateTime activatedAt) { this.activatedAt = activatedAt; } @@ -111,7 +115,9 @@ public String getAppIdentifier() { return this.appIdentifier; } - /** @param appIdentifier Identifier of the app that generated the external subscription. */ + /** + * @param appIdentifier Identifier of the app that generated the external subscription. + */ public void setAppIdentifier(final String appIdentifier) { this.appIdentifier = appIdentifier; } @@ -137,7 +143,9 @@ public ZonedDateTime getExpiresAt() { return this.expiresAt; } - /** @param expiresAt When the external subscription expires in the external platform. */ + /** + * @param expiresAt When the external subscription expires in the external platform. + */ public void setExpiresAt(final ZonedDateTime expiresAt) { this.expiresAt = expiresAt; } @@ -159,7 +167,9 @@ public ExternalProductReferenceCreate getExternalProductReference() { return this.externalProductReference; } - /** @param externalProductReference */ + /** + * @param externalProductReference + */ public void setExternalProductReference( final ExternalProductReferenceCreate externalProductReference) { this.externalProductReference = externalProductReference; @@ -202,7 +212,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity An indication of the quantity of a subscribed item's quantity. */ + /** + * @param quantity An indication of the quantity of a subscribed item's quantity. + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } diff --git a/src/main/java/com/recurly/v3/requests/ExternalSubscriptionUpdate.java b/src/main/java/com/recurly/v3/requests/ExternalSubscriptionUpdate.java index d23f645..36f3cd6 100644 --- a/src/main/java/com/recurly/v3/requests/ExternalSubscriptionUpdate.java +++ b/src/main/java/com/recurly/v3/requests/ExternalSubscriptionUpdate.java @@ -88,7 +88,9 @@ public ZonedDateTime getActivatedAt() { return this.activatedAt; } - /** @param activatedAt When the external subscription was activated in the external platform. */ + /** + * @param activatedAt When the external subscription was activated in the external platform. + */ public void setActivatedAt(final ZonedDateTime activatedAt) { this.activatedAt = activatedAt; } @@ -98,7 +100,9 @@ public String getAppIdentifier() { return this.appIdentifier; } - /** @param appIdentifier Identifier of the app that generated the external subscription. */ + /** + * @param appIdentifier Identifier of the app that generated the external subscription. + */ public void setAppIdentifier(final String appIdentifier) { this.appIdentifier = appIdentifier; } @@ -124,7 +128,9 @@ public ZonedDateTime getExpiresAt() { return this.expiresAt; } - /** @param expiresAt When the external subscription expires in the external platform. */ + /** + * @param expiresAt When the external subscription expires in the external platform. + */ public void setExpiresAt(final ZonedDateTime expiresAt) { this.expiresAt = expiresAt; } @@ -146,7 +152,9 @@ public ExternalProductReferenceUpdate getExternalProductReference() { return this.externalProductReference; } - /** @param externalProductReference */ + /** + * @param externalProductReference + */ public void setExternalProductReference( final ExternalProductReferenceUpdate externalProductReference) { this.externalProductReference = externalProductReference; @@ -189,7 +197,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity An indication of the quantity of a subscribed item's quantity. */ + /** + * @param quantity An indication of the quantity of a subscribed item's quantity. + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } diff --git a/src/main/java/com/recurly/v3/requests/ExternalTransaction.java b/src/main/java/com/recurly/v3/requests/ExternalTransaction.java index b76077a..fe21e64 100644 --- a/src/main/java/com/recurly/v3/requests/ExternalTransaction.java +++ b/src/main/java/com/recurly/v3/requests/ExternalTransaction.java @@ -40,7 +40,9 @@ public BigDecimal getAmount() { return this.amount; } - /** @param amount The total amount of the transcaction. Cannot excceed the invoice total. */ + /** + * @param amount The total amount of the transcaction. Cannot excceed the invoice total. + */ public void setAmount(final BigDecimal amount) { this.amount = amount; } @@ -63,7 +65,9 @@ public String getDescription() { return this.description; } - /** @param description Used as the transaction's description. */ + /** + * @param description Used as the transaction's description. + */ public void setDescription(final String description) { this.description = description; } @@ -73,7 +77,9 @@ public Constants.ExternalPaymentMethod getPaymentMethod() { return this.paymentMethod; } - /** @param paymentMethod Payment method used for external transaction. */ + /** + * @param paymentMethod Payment method used for external transaction. + */ public void setPaymentMethod(final Constants.ExternalPaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; } diff --git a/src/main/java/com/recurly/v3/requests/GeneralLedgerAccountCreate.java b/src/main/java/com/recurly/v3/requests/GeneralLedgerAccountCreate.java index 82d0758..67c788a 100644 --- a/src/main/java/com/recurly/v3/requests/GeneralLedgerAccountCreate.java +++ b/src/main/java/com/recurly/v3/requests/GeneralLedgerAccountCreate.java @@ -34,7 +34,9 @@ public Constants.GeneralLedgerAccountType getAccountType() { return this.accountType; } - /** @param accountType */ + /** + * @param accountType + */ public void setAccountType(final Constants.GeneralLedgerAccountType accountType) { this.accountType = accountType; } @@ -60,7 +62,9 @@ public String getDescription() { return this.description; } - /** @param description Optional description. */ + /** + * @param description Optional description. + */ public void setDescription(final String description) { this.description = description; } diff --git a/src/main/java/com/recurly/v3/requests/GeneralLedgerAccountUpdate.java b/src/main/java/com/recurly/v3/requests/GeneralLedgerAccountUpdate.java index 501560b..6a95708 100644 --- a/src/main/java/com/recurly/v3/requests/GeneralLedgerAccountUpdate.java +++ b/src/main/java/com/recurly/v3/requests/GeneralLedgerAccountUpdate.java @@ -46,7 +46,9 @@ public String getDescription() { return this.description; } - /** @param description Optional description. */ + /** + * @param description Optional description. + */ public void setDescription(final String description) { this.description = description; } diff --git a/src/main/java/com/recurly/v3/requests/GiftCardCreate.java b/src/main/java/com/recurly/v3/requests/GiftCardCreate.java index 9ece671..d5ec621 100644 --- a/src/main/java/com/recurly/v3/requests/GiftCardCreate.java +++ b/src/main/java/com/recurly/v3/requests/GiftCardCreate.java @@ -54,7 +54,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -64,7 +66,9 @@ public GiftCardDeliveryCreate getDelivery() { return this.delivery; } - /** @param delivery The delivery details for the gift card. */ + /** + * @param delivery The delivery details for the gift card. + */ public void setDelivery(final GiftCardDeliveryCreate delivery) { this.delivery = delivery; } @@ -87,7 +91,9 @@ public String getProductCode() { return this.productCode; } - /** @param productCode The product code or SKU of the gift card product. */ + /** + * @param productCode The product code or SKU of the gift card product. + */ public void setProductCode(final String productCode) { this.productCode = productCode; } diff --git a/src/main/java/com/recurly/v3/requests/GiftCardDeliveryCreate.java b/src/main/java/com/recurly/v3/requests/GiftCardDeliveryCreate.java index 9c4b44f..9cbc1de 100644 --- a/src/main/java/com/recurly/v3/requests/GiftCardDeliveryCreate.java +++ b/src/main/java/com/recurly/v3/requests/GiftCardDeliveryCreate.java @@ -81,7 +81,9 @@ public String getEmailAddress() { return this.emailAddress; } - /** @param emailAddress The email address of the recipient. Required if `method` is `email`. */ + /** + * @param emailAddress The email address of the recipient. Required if `method` is `email`. + */ public void setEmailAddress(final String emailAddress) { this.emailAddress = emailAddress; } @@ -91,7 +93,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName The first name of the recipient. */ + /** + * @param firstName The first name of the recipient. + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -114,7 +118,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName The last name of the recipient. */ + /** + * @param lastName The last name of the recipient. + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -124,7 +130,9 @@ public Constants.DeliveryMethod getMethod() { return this.method; } - /** @param method Whether the delivery method is email or postal service. */ + /** + * @param method Whether the delivery method is email or postal service. + */ public void setMethod(final Constants.DeliveryMethod method) { this.method = method; } @@ -134,7 +142,9 @@ public String getPersonalMessage() { return this.personalMessage; } - /** @param personalMessage The personal message from the gifter to the recipient. */ + /** + * @param personalMessage The personal message from the gifter to the recipient. + */ public void setPersonalMessage(final String personalMessage) { this.personalMessage = personalMessage; } diff --git a/src/main/java/com/recurly/v3/requests/GiftCardRedeem.java b/src/main/java/com/recurly/v3/requests/GiftCardRedeem.java index 785454f..a640d56 100644 --- a/src/main/java/com/recurly/v3/requests/GiftCardRedeem.java +++ b/src/main/java/com/recurly/v3/requests/GiftCardRedeem.java @@ -22,7 +22,9 @@ public AccountReference getRecipientAccount() { return this.recipientAccount; } - /** @param recipientAccount The account for the recipient of the gift card. */ + /** + * @param recipientAccount The account for the recipient of the gift card. + */ public void setRecipientAccount(final AccountReference recipientAccount) { this.recipientAccount = recipientAccount; } diff --git a/src/main/java/com/recurly/v3/requests/InvoiceAddress.java b/src/main/java/com/recurly/v3/requests/InvoiceAddress.java index 9e25339..1dae915 100644 --- a/src/main/java/com/recurly/v3/requests/InvoiceAddress.java +++ b/src/main/java/com/recurly/v3/requests/InvoiceAddress.java @@ -80,7 +80,9 @@ public String getCity() { return this.city; } - /** @param city City */ + /** + * @param city City + */ public void setCity(final String city) { this.city = city; } @@ -90,7 +92,9 @@ public String getCompany() { return this.company; } - /** @param company Company */ + /** + * @param company Company + */ public void setCompany(final String company) { this.company = company; } @@ -100,7 +104,9 @@ public String getCountry() { return this.country; } - /** @param country Country, 2-letter ISO 3166-1 alpha-2 code. */ + /** + * @param country Country, 2-letter ISO 3166-1 alpha-2 code. + */ public void setCountry(final String country) { this.country = country; } @@ -110,7 +116,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName First name */ + /** + * @param firstName First name + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -136,7 +144,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName Last name */ + /** + * @param lastName Last name + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -146,7 +156,9 @@ public String getNameOnAccount() { return this.nameOnAccount; } - /** @param nameOnAccount Name on account */ + /** + * @param nameOnAccount Name on account + */ public void setNameOnAccount(final String nameOnAccount) { this.nameOnAccount = nameOnAccount; } @@ -156,7 +168,9 @@ public String getPhone() { return this.phone; } - /** @param phone Phone number */ + /** + * @param phone Phone number + */ public void setPhone(final String phone) { this.phone = phone; } @@ -166,7 +180,9 @@ public String getPostalCode() { return this.postalCode; } - /** @param postalCode Zip or postal code. */ + /** + * @param postalCode Zip or postal code. + */ public void setPostalCode(final String postalCode) { this.postalCode = postalCode; } @@ -176,7 +192,9 @@ public String getRegion() { return this.region; } - /** @param region State or province. */ + /** + * @param region State or province. + */ public void setRegion(final String region) { this.region = region; } @@ -186,7 +204,9 @@ public String getStreet1() { return this.street1; } - /** @param street1 Street 1 */ + /** + * @param street1 Street 1 + */ public void setStreet1(final String street1) { this.street1 = street1; } @@ -196,7 +216,9 @@ public String getStreet2() { return this.street2; } - /** @param street2 Street 2 */ + /** + * @param street2 Street 2 + */ public void setStreet2(final String street2) { this.street2 = street2; } diff --git a/src/main/java/com/recurly/v3/requests/InvoiceCreate.java b/src/main/java/com/recurly/v3/requests/InvoiceCreate.java index 690f2b4..4e5fc4a 100644 --- a/src/main/java/com/recurly/v3/requests/InvoiceCreate.java +++ b/src/main/java/com/recurly/v3/requests/InvoiceCreate.java @@ -123,6 +123,16 @@ public class InvoiceCreate extends Request { @Expose private String termsAndConditions; + /** + * Optionally overrides the suffix component of the composed transaction descriptor. If omitted, + * the suffix is derived from the subscription's plan name or the invoice description, with a + * Trial prefix on Visa trial conversions. Subject to gateway availability and payment method + * support. + */ + @SerializedName("transaction_descriptor_suffix") + @Expose + private String transactionDescriptorSuffix; + /** * VAT Reverse Charge Notes only appear if you have EU VAT enabled or are using your own Avalara * AvaTax account and the customer is in the EU, has a VAT number, and is in a different country @@ -258,7 +268,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -362,6 +374,26 @@ public void setTermsAndConditions(final String termsAndConditions) { this.termsAndConditions = termsAndConditions; } + /** + * Optionally overrides the suffix component of the composed transaction descriptor. If omitted, + * the suffix is derived from the subscription's plan name or the invoice description, with a + * Trial prefix on Visa trial conversions. Subject to gateway availability and payment method + * support. + */ + public String getTransactionDescriptorSuffix() { + return this.transactionDescriptorSuffix; + } + + /** + * @param transactionDescriptorSuffix Optionally overrides the suffix component of the composed + * transaction descriptor. If omitted, the suffix is derived from the subscription's plan name + * or the invoice description, with a Trial prefix on Visa trial conversions. Subject to + * gateway availability and payment method support. + */ + public void setTransactionDescriptorSuffix(final String transactionDescriptorSuffix) { + this.transactionDescriptorSuffix = transactionDescriptorSuffix; + } + /** * VAT Reverse Charge Notes only appear if you have EU VAT enabled or are using your own Avalara * AvaTax account and the customer is in the EU, has a VAT number, and is in a different country diff --git a/src/main/java/com/recurly/v3/requests/InvoiceRefund.java b/src/main/java/com/recurly/v3/requests/InvoiceRefund.java index bb5b944..e979337 100644 --- a/src/main/java/com/recurly/v3/requests/InvoiceRefund.java +++ b/src/main/java/com/recurly/v3/requests/InvoiceRefund.java @@ -148,7 +148,9 @@ public List getLineItems() { return this.lineItems; } - /** @param lineItems The line items to be refunded. This is required when `type=line_items`. */ + /** + * @param lineItems The line items to be refunded. This is required when `type=line_items`. + */ public void setLineItems(final List lineItems) { this.lineItems = lineItems; } diff --git a/src/main/java/com/recurly/v3/requests/InvoiceUpdate.java b/src/main/java/com/recurly/v3/requests/InvoiceUpdate.java index 404b869..d7a0133 100644 --- a/src/main/java/com/recurly/v3/requests/InvoiceUpdate.java +++ b/src/main/java/com/recurly/v3/requests/InvoiceUpdate.java @@ -62,7 +62,9 @@ public InvoiceAddress getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final InvoiceAddress address) { this.address = address; } @@ -72,7 +74,9 @@ public String getCustomerNotes() { return this.customerNotes; } - /** @param customerNotes Customer notes are an optional note field. */ + /** + * @param customerNotes Customer notes are an optional note field. + */ public void setCustomerNotes(final String customerNotes) { this.customerNotes = customerNotes; } diff --git a/src/main/java/com/recurly/v3/requests/ItemCreate.java b/src/main/java/com/recurly/v3/requests/ItemCreate.java index 16d671d..ae8cb5a 100644 --- a/src/main/java/com/recurly/v3/requests/ItemCreate.java +++ b/src/main/java/com/recurly/v3/requests/ItemCreate.java @@ -136,7 +136,9 @@ public String getAccountingCode() { return this.accountingCode; } - /** @param accountingCode Accounting code for invoice line items. */ + /** + * @param accountingCode Accounting code for invoice line items. + */ public void setAccountingCode(final String accountingCode) { this.accountingCode = accountingCode; } @@ -186,7 +188,9 @@ public String getCode() { return this.code; } - /** @param code Unique code to identify the item. */ + /** + * @param code Unique code to identify the item. + */ public void setCode(final String code) { this.code = code; } @@ -196,7 +200,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies Item Pricing */ + /** + * @param currencies Item Pricing + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -224,7 +230,9 @@ public String getDescription() { return this.description; } - /** @param description Optional, description. */ + /** + * @param description Optional, description. + */ public void setDescription(final String description) { this.description = description; } @@ -334,7 +342,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -364,7 +374,9 @@ public Boolean getTaxExempt() { return this.taxExempt; } - /** @param taxExempt `true` exempts tax on the item, `false` applies tax on the item. */ + /** + * @param taxExempt `true` exempts tax on the item, `false` applies tax on the item. + */ public void setTaxExempt(final Boolean taxExempt) { this.taxExempt = taxExempt; } diff --git a/src/main/java/com/recurly/v3/requests/ItemUpdate.java b/src/main/java/com/recurly/v3/requests/ItemUpdate.java index 6a6ed7f..aec7b1e 100644 --- a/src/main/java/com/recurly/v3/requests/ItemUpdate.java +++ b/src/main/java/com/recurly/v3/requests/ItemUpdate.java @@ -136,7 +136,9 @@ public String getAccountingCode() { return this.accountingCode; } - /** @param accountingCode Accounting code for invoice line items. */ + /** + * @param accountingCode Accounting code for invoice line items. + */ public void setAccountingCode(final String accountingCode) { this.accountingCode = accountingCode; } @@ -186,7 +188,9 @@ public String getCode() { return this.code; } - /** @param code Unique code to identify the item. */ + /** + * @param code Unique code to identify the item. + */ public void setCode(final String code) { this.code = code; } @@ -196,7 +200,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies Item Pricing */ + /** + * @param currencies Item Pricing + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -224,7 +230,9 @@ public String getDescription() { return this.description; } - /** @param description Optional, description. */ + /** + * @param description Optional, description. + */ public void setDescription(final String description) { this.description = description; } @@ -334,7 +342,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -364,7 +374,9 @@ public Boolean getTaxExempt() { return this.taxExempt; } - /** @param taxExempt `true` exempts tax on the item, `false` applies tax on the item. */ + /** + * @param taxExempt `true` exempts tax on the item, `false` applies tax on the item. + */ public void setTaxExempt(final Boolean taxExempt) { this.taxExempt = taxExempt; } diff --git a/src/main/java/com/recurly/v3/requests/LineItemCreate.java b/src/main/java/com/recurly/v3/requests/LineItemCreate.java index 8c9d4c8..2af1f22 100644 --- a/src/main/java/com/recurly/v3/requests/LineItemCreate.java +++ b/src/main/java/com/recurly/v3/requests/LineItemCreate.java @@ -405,7 +405,9 @@ public ZonedDateTime getEndDate() { return this.endDate; } - /** @param endDate If this date is provided, it indicates the end of a time range. */ + /** + * @param endDate If this date is provided, it indicates the end of a time range. + */ public void setEndDate(final ZonedDateTime endDate) { this.endDate = endDate; } @@ -598,7 +600,9 @@ public Constants.LineItemRevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType( final Constants.LineItemRevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; diff --git a/src/main/java/com/recurly/v3/requests/LineItemRefund.java b/src/main/java/com/recurly/v3/requests/LineItemRefund.java index c694a71..9e18f3b 100644 --- a/src/main/java/com/recurly/v3/requests/LineItemRefund.java +++ b/src/main/java/com/recurly/v3/requests/LineItemRefund.java @@ -90,7 +90,9 @@ public String getId() { return this.id; } - /** @param id Line item ID */ + /** + * @param id Line item ID + */ public void setId(final String id) { this.id = id; } diff --git a/src/main/java/com/recurly/v3/requests/MeasuredUnitCreate.java b/src/main/java/com/recurly/v3/requests/MeasuredUnitCreate.java index bb9011c..1081bff 100644 --- a/src/main/java/com/recurly/v3/requests/MeasuredUnitCreate.java +++ b/src/main/java/com/recurly/v3/requests/MeasuredUnitCreate.java @@ -32,7 +32,9 @@ public String getDescription() { return this.description; } - /** @param description Optional internal description. */ + /** + * @param description Optional internal description. + */ public void setDescription(final String description) { this.description = description; } @@ -42,7 +44,9 @@ public String getDisplayName() { return this.displayName; } - /** @param displayName Display name for the measured unit. */ + /** + * @param displayName Display name for the measured unit. + */ public void setDisplayName(final String displayName) { this.displayName = displayName; } @@ -52,7 +56,9 @@ public String getName() { return this.name; } - /** @param name Unique internal name of the measured unit on your site. */ + /** + * @param name Unique internal name of the measured unit on your site. + */ public void setName(final String name) { this.name = name; } diff --git a/src/main/java/com/recurly/v3/requests/MeasuredUnitUpdate.java b/src/main/java/com/recurly/v3/requests/MeasuredUnitUpdate.java index 2c61a5f..693df34 100644 --- a/src/main/java/com/recurly/v3/requests/MeasuredUnitUpdate.java +++ b/src/main/java/com/recurly/v3/requests/MeasuredUnitUpdate.java @@ -32,7 +32,9 @@ public String getDescription() { return this.description; } - /** @param description Optional internal description. */ + /** + * @param description Optional internal description. + */ public void setDescription(final String description) { this.description = description; } @@ -42,7 +44,9 @@ public String getDisplayName() { return this.displayName; } - /** @param displayName Display name for the measured unit. */ + /** + * @param displayName Display name for the measured unit. + */ public void setDisplayName(final String displayName) { this.displayName = displayName; } @@ -52,7 +56,9 @@ public String getName() { return this.name; } - /** @param name Unique internal name of the measured unit on your site. */ + /** + * @param name Unique internal name of the measured unit on your site. + */ public void setName(final String name) { this.name = name; } diff --git a/src/main/java/com/recurly/v3/requests/PercentageTiersByCurrency.java b/src/main/java/com/recurly/v3/requests/PercentageTiersByCurrency.java index eecd06b..cef5fb9 100644 --- a/src/main/java/com/recurly/v3/requests/PercentageTiersByCurrency.java +++ b/src/main/java/com/recurly/v3/requests/PercentageTiersByCurrency.java @@ -28,7 +28,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -38,7 +40,9 @@ public List getTiers() { return this.tiers; } - /** @param tiers Tiers */ + /** + * @param tiers Tiers + */ public void setTiers(final List tiers) { this.tiers = tiers; } diff --git a/src/main/java/com/recurly/v3/requests/PlanCreate.java b/src/main/java/com/recurly/v3/requests/PlanCreate.java index 41a4497..174fb9c 100644 --- a/src/main/java/com/recurly/v3/requests/PlanCreate.java +++ b/src/main/java/com/recurly/v3/requests/PlanCreate.java @@ -289,7 +289,9 @@ public List getAddOns() { return this.addOns; } - /** @param addOns Add Ons */ + /** + * @param addOns Add Ons + */ public void setAddOns(final List addOns) { this.addOns = addOns; } @@ -393,7 +395,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies Required only when `pricing_model` is `'fixed'`. */ + /** + * @param currencies Required only when `pricing_model` is `'fixed'`. + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -421,7 +425,9 @@ public String getDescription() { return this.description; } - /** @param description Optional description, not displayed. */ + /** + * @param description Optional description, not displayed. + */ public void setDescription(final String description) { this.description = description; } @@ -471,7 +477,9 @@ public PlanHostedPages getHostedPages() { return this.hostedPages; } - /** @param hostedPages Hosted pages settings */ + /** + * @param hostedPages Hosted pages settings + */ public void setHostedPages(final PlanHostedPages hostedPages) { this.hostedPages = hostedPages; } @@ -481,7 +489,9 @@ public Integer getIntervalLength() { return this.intervalLength; } - /** @param intervalLength Length of the plan's billing interval in `interval_unit`. */ + /** + * @param intervalLength Length of the plan's billing interval in `interval_unit`. + */ public void setIntervalLength(final Integer intervalLength) { this.intervalLength = intervalLength; } @@ -491,7 +501,9 @@ public Constants.IntervalUnit getIntervalUnit() { return this.intervalUnit; } - /** @param intervalUnit Unit for the plan's billing interval. */ + /** + * @param intervalUnit Unit for the plan's billing interval. + */ public void setIntervalUnit(final Constants.IntervalUnit intervalUnit) { this.intervalUnit = intervalUnit; } @@ -569,7 +581,9 @@ public List getRampIntervals() { return this.rampIntervals; } - /** @param rampIntervals Ramp Intervals */ + /** + * @param rampIntervals Ramp Intervals + */ public void setRampIntervals(final List rampIntervals) { this.rampIntervals = rampIntervals; } @@ -595,7 +609,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -672,7 +688,9 @@ public Constants.RevenueScheduleType getSetupFeeRevenueScheduleType() { return this.setupFeeRevenueScheduleType; } - /** @param setupFeeRevenueScheduleType Setup fee revenue schedule type */ + /** + * @param setupFeeRevenueScheduleType Setup fee revenue schedule type + */ public void setSetupFeeRevenueScheduleType( final Constants.RevenueScheduleType setupFeeRevenueScheduleType) { this.setupFeeRevenueScheduleType = setupFeeRevenueScheduleType; @@ -683,7 +701,9 @@ public List getSetupFees() { return this.setupFees; } - /** @param setupFees Setup Fees */ + /** + * @param setupFees Setup Fees + */ public void setSetupFees(final List setupFees) { this.setupFees = setupFees; } @@ -713,7 +733,9 @@ public Boolean getTaxExempt() { return this.taxExempt; } - /** @param taxExempt `true` exempts tax on the plan, `false` applies tax on the plan. */ + /** + * @param taxExempt `true` exempts tax on the plan, `false` applies tax on the plan. + */ public void setTaxExempt(final Boolean taxExempt) { this.taxExempt = taxExempt; } @@ -741,7 +763,9 @@ public Integer getTrialLength() { return this.trialLength; } - /** @param trialLength Length of plan's trial period in `trial_units`. `0` means `no trial`. */ + /** + * @param trialLength Length of plan's trial period in `trial_units`. `0` means `no trial`. + */ public void setTrialLength(final Integer trialLength) { this.trialLength = trialLength; } @@ -768,7 +792,9 @@ public Constants.IntervalUnit getTrialUnit() { return this.trialUnit; } - /** @param trialUnit Units for the plan's trial period. */ + /** + * @param trialUnit Units for the plan's trial period. + */ public void setTrialUnit(final Constants.IntervalUnit trialUnit) { this.trialUnit = trialUnit; } diff --git a/src/main/java/com/recurly/v3/requests/PlanHostedPages.java b/src/main/java/com/recurly/v3/requests/PlanHostedPages.java index f20fd1a..a1aeebc 100644 --- a/src/main/java/com/recurly/v3/requests/PlanHostedPages.java +++ b/src/main/java/com/recurly/v3/requests/PlanHostedPages.java @@ -56,7 +56,9 @@ public String getCancelUrl() { return this.cancelUrl; } - /** @param cancelUrl URL to redirect to on canceled signup on the hosted payment pages. */ + /** + * @param cancelUrl URL to redirect to on canceled signup on the hosted payment pages. + */ public void setCancelUrl(final String cancelUrl) { this.cancelUrl = cancelUrl; } @@ -79,7 +81,9 @@ public String getSuccessUrl() { return this.successUrl; } - /** @param successUrl URL to redirect to after signup on the hosted payment pages. */ + /** + * @param successUrl URL to redirect to after signup on the hosted payment pages. + */ public void setSuccessUrl(final String successUrl) { this.successUrl = successUrl; } diff --git a/src/main/java/com/recurly/v3/requests/PlanPricing.java b/src/main/java/com/recurly/v3/requests/PlanPricing.java index 0e2f8d3..ded999e 100644 --- a/src/main/java/com/recurly/v3/requests/PlanPricing.java +++ b/src/main/java/com/recurly/v3/requests/PlanPricing.java @@ -51,7 +51,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -98,7 +100,9 @@ public Boolean getTaxInclusive() { return this.taxInclusive; } - /** @param taxInclusive This field is deprecated. Please do not use it. */ + /** + * @param taxInclusive This field is deprecated. Please do not use it. + */ public void setTaxInclusive(final Boolean taxInclusive) { this.taxInclusive = taxInclusive; } @@ -108,7 +112,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount This field should not be sent when the pricing model is `'ramp'`. */ + /** + * @param unitAmount This field should not be sent when the pricing model is `'ramp'`. + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } diff --git a/src/main/java/com/recurly/v3/requests/PlanRampInterval.java b/src/main/java/com/recurly/v3/requests/PlanRampInterval.java index 3903cd5..188d8b2 100644 --- a/src/main/java/com/recurly/v3/requests/PlanRampInterval.java +++ b/src/main/java/com/recurly/v3/requests/PlanRampInterval.java @@ -28,7 +28,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies Represents the price for the ramp interval. */ + /** + * @param currencies Represents the price for the ramp interval. + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -38,7 +40,9 @@ public Integer getStartingBillingCycle() { return this.startingBillingCycle; } - /** @param startingBillingCycle Represents the billing cycle where a ramp interval starts. */ + /** + * @param startingBillingCycle Represents the billing cycle where a ramp interval starts. + */ public void setStartingBillingCycle(final Integer startingBillingCycle) { this.startingBillingCycle = startingBillingCycle; } diff --git a/src/main/java/com/recurly/v3/requests/PlanRampPricing.java b/src/main/java/com/recurly/v3/requests/PlanRampPricing.java index 0837bb6..293b579 100644 --- a/src/main/java/com/recurly/v3/requests/PlanRampPricing.java +++ b/src/main/java/com/recurly/v3/requests/PlanRampPricing.java @@ -36,7 +36,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -63,7 +65,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount Represents the price for the Ramp Interval. */ + /** + * @param unitAmount Represents the price for the Ramp Interval. + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } diff --git a/src/main/java/com/recurly/v3/requests/PlanSetupPricingCreate.java b/src/main/java/com/recurly/v3/requests/PlanSetupPricingCreate.java index a06b780..5ea99f9 100644 --- a/src/main/java/com/recurly/v3/requests/PlanSetupPricingCreate.java +++ b/src/main/java/com/recurly/v3/requests/PlanSetupPricingCreate.java @@ -32,7 +32,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } diff --git a/src/main/java/com/recurly/v3/requests/PlanUpdate.java b/src/main/java/com/recurly/v3/requests/PlanUpdate.java index edbd58a..9af94f4 100644 --- a/src/main/java/com/recurly/v3/requests/PlanUpdate.java +++ b/src/main/java/com/recurly/v3/requests/PlanUpdate.java @@ -364,7 +364,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies Required only when `pricing_model` is `'fixed'`. */ + /** + * @param currencies Required only when `pricing_model` is `'fixed'`. + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -392,7 +394,9 @@ public String getDescription() { return this.description; } - /** @param description Optional description, not displayed. */ + /** + * @param description Optional description, not displayed. + */ public void setDescription(final String description) { this.description = description; } @@ -442,7 +446,9 @@ public PlanHostedPages getHostedPages() { return this.hostedPages; } - /** @param hostedPages Hosted pages settings */ + /** + * @param hostedPages Hosted pages settings + */ public void setHostedPages(final PlanHostedPages hostedPages) { this.hostedPages = hostedPages; } @@ -452,7 +458,9 @@ public String getId() { return this.id; } - /** @param id This field has no effect on the request/response. */ + /** + * @param id This field has no effect on the request/response. + */ public void setId(final String id) { this.id = id; } @@ -512,7 +520,9 @@ public List getRampIntervals() { return this.rampIntervals; } - /** @param rampIntervals Ramp Intervals */ + /** + * @param rampIntervals Ramp Intervals + */ public void setRampIntervals(final List rampIntervals) { this.rampIntervals = rampIntervals; } @@ -538,7 +548,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -615,7 +627,9 @@ public Constants.RevenueScheduleType getSetupFeeRevenueScheduleType() { return this.setupFeeRevenueScheduleType; } - /** @param setupFeeRevenueScheduleType Setup fee revenue schedule type */ + /** + * @param setupFeeRevenueScheduleType Setup fee revenue schedule type + */ public void setSetupFeeRevenueScheduleType( final Constants.RevenueScheduleType setupFeeRevenueScheduleType) { this.setupFeeRevenueScheduleType = setupFeeRevenueScheduleType; @@ -626,7 +640,9 @@ public List getSetupFees() { return this.setupFees; } - /** @param setupFees Setup Fees */ + /** + * @param setupFees Setup Fees + */ public void setSetupFees(final List setupFees) { this.setupFees = setupFees; } @@ -656,7 +672,9 @@ public Boolean getTaxExempt() { return this.taxExempt; } - /** @param taxExempt `true` exempts tax on the plan, `false` applies tax on the plan. */ + /** + * @param taxExempt `true` exempts tax on the plan, `false` applies tax on the plan. + */ public void setTaxExempt(final Boolean taxExempt) { this.taxExempt = taxExempt; } @@ -684,7 +702,9 @@ public Integer getTrialLength() { return this.trialLength; } - /** @param trialLength Length of plan's trial period in `trial_units`. `0` means `no trial`. */ + /** + * @param trialLength Length of plan's trial period in `trial_units`. `0` means `no trial`. + */ public void setTrialLength(final Integer trialLength) { this.trialLength = trialLength; } @@ -711,7 +731,9 @@ public Constants.IntervalUnit getTrialUnit() { return this.trialUnit; } - /** @param trialUnit Units for the plan's trial period. */ + /** + * @param trialUnit Units for the plan's trial period. + */ public void setTrialUnit(final Constants.IntervalUnit trialUnit) { this.trialUnit = trialUnit; } diff --git a/src/main/java/com/recurly/v3/requests/Pricing.java b/src/main/java/com/recurly/v3/requests/Pricing.java index 94b256a..23201c4 100644 --- a/src/main/java/com/recurly/v3/requests/Pricing.java +++ b/src/main/java/com/recurly/v3/requests/Pricing.java @@ -32,7 +32,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -42,7 +44,9 @@ public Boolean getTaxInclusive() { return this.taxInclusive; } - /** @param taxInclusive This field is deprecated. Please do not use it. */ + /** + * @param taxInclusive This field is deprecated. Please do not use it. + */ public void setTaxInclusive(final Boolean taxInclusive) { this.taxInclusive = taxInclusive; } @@ -51,7 +55,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount */ + /** + * @param unitAmount + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } diff --git a/src/main/java/com/recurly/v3/requests/ProrationSettings.java b/src/main/java/com/recurly/v3/requests/ProrationSettings.java index 6027ac5..a8bd6b1 100644 --- a/src/main/java/com/recurly/v3/requests/ProrationSettings.java +++ b/src/main/java/com/recurly/v3/requests/ProrationSettings.java @@ -28,7 +28,9 @@ public Constants.ProrationSettingsCharge getCharge() { return this.charge; } - /** @param charge Determines how the amount charged is determined for this change */ + /** + * @param charge Determines how the amount charged is determined for this change + */ public void setCharge(final Constants.ProrationSettingsCharge charge) { this.charge = charge; } @@ -38,7 +40,9 @@ public Constants.ProrationSettingsCredit getCredit() { return this.credit; } - /** @param credit Determines how the amount credited is determined for this change */ + /** + * @param credit Determines how the amount credited is determined for this change + */ public void setCredit(final Constants.ProrationSettingsCredit credit) { this.credit = credit; } diff --git a/src/main/java/com/recurly/v3/requests/PurchaseCreate.java b/src/main/java/com/recurly/v3/requests/PurchaseCreate.java index dff0959..065bb76 100644 --- a/src/main/java/com/recurly/v3/requests/PurchaseCreate.java +++ b/src/main/java/com/recurly/v3/requests/PurchaseCreate.java @@ -191,7 +191,9 @@ public AccountPurchase getAccount() { return this.account; } - /** @param account */ + /** + * @param account + */ public void setAccount(final AccountPurchase account) { this.account = account; } @@ -329,7 +331,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -339,7 +343,9 @@ public String getCustomerNotes() { return this.customerNotes; } - /** @param customerNotes Customer notes */ + /** + * @param customerNotes Customer notes + */ public void setCustomerNotes(final String customerNotes) { this.customerNotes = customerNotes; } @@ -379,7 +385,9 @@ public List getLineItems() { return this.lineItems; } - /** @param lineItems A list of one time charges or credits to be created with the purchase. */ + /** + * @param lineItems A list of one time charges or credits to be created with the purchase. + */ public void setLineItems(final List lineItems) { this.lineItems = lineItems; } @@ -470,7 +478,9 @@ public ShippingPurchase getShipping() { return this.shipping; } - /** @param shipping */ + /** + * @param shipping + */ public void setShipping(final ShippingPurchase shipping) { this.shipping = shipping; } @@ -480,7 +490,9 @@ public List getSubscriptions() { return this.subscriptions; } - /** @param subscriptions A list of subscriptions to be created with the purchase. */ + /** + * @param subscriptions A list of subscriptions to be created with the purchase. + */ public void setSubscriptions(final List subscriptions) { this.subscriptions = subscriptions; } @@ -490,7 +502,9 @@ public String getTermsAndConditions() { return this.termsAndConditions; } - /** @param termsAndConditions Terms and conditions to be put on the purchase invoice. */ + /** + * @param termsAndConditions Terms and conditions to be put on the purchase invoice. + */ public void setTermsAndConditions(final String termsAndConditions) { this.termsAndConditions = termsAndConditions; } diff --git a/src/main/java/com/recurly/v3/requests/RecoveryAccountCreate.java b/src/main/java/com/recurly/v3/requests/RecoveryAccountCreate.java index aafe258..f020ed1 100644 --- a/src/main/java/com/recurly/v3/requests/RecoveryAccountCreate.java +++ b/src/main/java/com/recurly/v3/requests/RecoveryAccountCreate.java @@ -58,7 +58,9 @@ public RecoveryAddress getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final RecoveryAddress address) { this.address = address; } @@ -135,7 +137,9 @@ public String getEmail() { return this.email; } - /** @param email The email address used for communicating with this customer. */ + /** + * @param email The email address used for communicating with this customer. + */ public void setEmail(final String email) { this.email = email; } diff --git a/src/main/java/com/recurly/v3/requests/RecoveryAddress.java b/src/main/java/com/recurly/v3/requests/RecoveryAddress.java index 9495488..5f9ed3c 100644 --- a/src/main/java/com/recurly/v3/requests/RecoveryAddress.java +++ b/src/main/java/com/recurly/v3/requests/RecoveryAddress.java @@ -52,7 +52,9 @@ public String getCity() { return this.city; } - /** @param city City */ + /** + * @param city City + */ public void setCity(final String city) { this.city = city; } @@ -62,7 +64,9 @@ public String getCountry() { return this.country; } - /** @param country Country, 2-letter ISO 3166-1 alpha-2 code. */ + /** + * @param country Country, 2-letter ISO 3166-1 alpha-2 code. + */ public void setCountry(final String country) { this.country = country; } @@ -72,7 +76,9 @@ public String getPhone() { return this.phone; } - /** @param phone Phone number */ + /** + * @param phone Phone number + */ public void setPhone(final String phone) { this.phone = phone; } @@ -82,7 +88,9 @@ public String getPostalCode() { return this.postalCode; } - /** @param postalCode Zip or postal code. */ + /** + * @param postalCode Zip or postal code. + */ public void setPostalCode(final String postalCode) { this.postalCode = postalCode; } @@ -92,7 +100,9 @@ public String getRegion() { return this.region; } - /** @param region State or province. */ + /** + * @param region State or province. + */ public void setRegion(final String region) { this.region = region; } @@ -102,7 +112,9 @@ public String getStreet1() { return this.street1; } - /** @param street1 Street 1 */ + /** + * @param street1 Street 1 + */ public void setStreet1(final String street1) { this.street1 = street1; } @@ -112,7 +124,9 @@ public String getStreet2() { return this.street2; } - /** @param street2 Street 2 */ + /** + * @param street2 Street 2 + */ public void setStreet2(final String street2) { this.street2 = street2; } diff --git a/src/main/java/com/recurly/v3/requests/RecoveryBillingInfoCreate.java b/src/main/java/com/recurly/v3/requests/RecoveryBillingInfoCreate.java index 1f4e883..425b0f5 100644 --- a/src/main/java/com/recurly/v3/requests/RecoveryBillingInfoCreate.java +++ b/src/main/java/com/recurly/v3/requests/RecoveryBillingInfoCreate.java @@ -91,7 +91,9 @@ public RecoveryAddress getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final RecoveryAddress address) { this.address = address; } @@ -124,7 +126,9 @@ public String getCompany() { return this.company; } - /** @param company Company name */ + /** + * @param company Company name + */ public void setCompany(final String company) { this.company = company; } @@ -134,7 +138,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName First name */ + /** + * @param firstName First name + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -144,7 +150,9 @@ public String getGatewayCode() { return this.gatewayCode; } - /** @param gatewayCode An identifier for a specific payment gateway. */ + /** + * @param gatewayCode An identifier for a specific payment gateway. + */ public void setGatewayCode(final String gatewayCode) { this.gatewayCode = gatewayCode; } @@ -167,7 +175,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName Last name */ + /** + * @param lastName Last name + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -236,7 +246,9 @@ public List getTransactions() { return this.transactions; } - /** @param transactions Transactions from previous collection attempts for this payment method. */ + /** + * @param transactions Transactions from previous collection attempts for this payment method. + */ public void setTransactions(final List transactions) { this.transactions = transactions; } diff --git a/src/main/java/com/recurly/v3/requests/RecoveryInvoiceCreate.java b/src/main/java/com/recurly/v3/requests/RecoveryInvoiceCreate.java index 7355ca0..e3e8800 100644 --- a/src/main/java/com/recurly/v3/requests/RecoveryInvoiceCreate.java +++ b/src/main/java/com/recurly/v3/requests/RecoveryInvoiceCreate.java @@ -49,11 +49,23 @@ public class RecoveryInvoiceCreate extends Request { @Expose private String poNumber; + /** + * Optionally overrides the suffix component of the composed transaction descriptor. If omitted, + * the suffix is derived from the subscription's plan name or the invoice description, with a + * Trial prefix on Visa trial conversions. Subject to gateway availability and payment method + * support. + */ + @SerializedName("transaction_descriptor_suffix") + @Expose + private String transactionDescriptorSuffix; + public RecoveryAccountCreate getAccount() { return this.account; } - /** @param account */ + /** + * @param account + */ public void setAccount(final RecoveryAccountCreate account) { this.account = account; } @@ -63,7 +75,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -73,7 +87,9 @@ public ZonedDateTime getDueAt() { return this.dueAt; } - /** @param dueAt Date invoice was originally due. Must be in the past. */ + /** + * @param dueAt Date invoice was originally due. Must be in the past. + */ public void setDueAt(final ZonedDateTime dueAt) { this.dueAt = dueAt; } @@ -116,8 +132,30 @@ public String getPoNumber() { return this.poNumber; } - /** @param poNumber This identifies the PO number associated with the subscription. */ + /** + * @param poNumber This identifies the PO number associated with the subscription. + */ public void setPoNumber(final String poNumber) { this.poNumber = poNumber; } + + /** + * Optionally overrides the suffix component of the composed transaction descriptor. If omitted, + * the suffix is derived from the subscription's plan name or the invoice description, with a + * Trial prefix on Visa trial conversions. Subject to gateway availability and payment method + * support. + */ + public String getTransactionDescriptorSuffix() { + return this.transactionDescriptorSuffix; + } + + /** + * @param transactionDescriptorSuffix Optionally overrides the suffix component of the composed + * transaction descriptor. If omitted, the suffix is derived from the subscription's plan name + * or the invoice description, with a Trial prefix on Visa trial conversions. Subject to + * gateway availability and payment method support. + */ + public void setTransactionDescriptorSuffix(final String transactionDescriptorSuffix) { + this.transactionDescriptorSuffix = transactionDescriptorSuffix; + } } diff --git a/src/main/java/com/recurly/v3/requests/RecoveryLineItemCreate.java b/src/main/java/com/recurly/v3/requests/RecoveryLineItemCreate.java index 0101dbf..a42f84c 100644 --- a/src/main/java/com/recurly/v3/requests/RecoveryLineItemCreate.java +++ b/src/main/java/com/recurly/v3/requests/RecoveryLineItemCreate.java @@ -88,7 +88,9 @@ public String getDescription() { return this.description; } - /** @param description Description that appears on the invoice. */ + /** + * @param description Description that appears on the invoice. + */ public void setDescription(final String description) { this.description = description; } @@ -152,7 +154,9 @@ public BigDecimal getTax() { return this.tax; } - /** @param tax The tax amount for the line item. */ + /** + * @param tax The tax amount for the line item. + */ public void setTax(final BigDecimal tax) { this.tax = tax; } @@ -162,7 +166,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount A positive or negative amount will result in a positive `unit_amount`. */ + /** + * @param unitAmount A positive or negative amount will result in a positive `unit_amount`. + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } diff --git a/src/main/java/com/recurly/v3/requests/RecoveryTransactionCreate.java b/src/main/java/com/recurly/v3/requests/RecoveryTransactionCreate.java index bf0edcd..a20b818 100644 --- a/src/main/java/com/recurly/v3/requests/RecoveryTransactionCreate.java +++ b/src/main/java/com/recurly/v3/requests/RecoveryTransactionCreate.java @@ -36,7 +36,9 @@ public ZonedDateTime getAttemptedCollectionDate() { return this.attemptedCollectionDate; } - /** @param attemptedCollectionDate The date the original payment collection was attempted. */ + /** + * @param attemptedCollectionDate The date the original payment collection was attempted. + */ public void setAttemptedCollectionDate(final ZonedDateTime attemptedCollectionDate) { this.attemptedCollectionDate = attemptedCollectionDate; } diff --git a/src/main/java/com/recurly/v3/requests/ShippingAddressCreate.java b/src/main/java/com/recurly/v3/requests/ShippingAddressCreate.java index 309c2f2..4d3e566 100644 --- a/src/main/java/com/recurly/v3/requests/ShippingAddressCreate.java +++ b/src/main/java/com/recurly/v3/requests/ShippingAddressCreate.java @@ -79,7 +79,9 @@ public String getCity() { return this.city; } - /** @param city */ + /** + * @param city + */ public void setCity(final String city) { this.city = city; } @@ -88,7 +90,9 @@ public String getCompany() { return this.company; } - /** @param company */ + /** + * @param company + */ public void setCompany(final String company) { this.company = company; } @@ -98,7 +102,9 @@ public String getCountry() { return this.country; } - /** @param country Country, 2-letter ISO 3166-1 alpha-2 code. */ + /** + * @param country Country, 2-letter ISO 3166-1 alpha-2 code. + */ public void setCountry(final String country) { this.country = country; } @@ -107,7 +113,9 @@ public String getEmail() { return this.email; } - /** @param email */ + /** + * @param email + */ public void setEmail(final String email) { this.email = email; } @@ -116,7 +124,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName */ + /** + * @param firstName + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -141,7 +151,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName */ + /** + * @param lastName + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -150,7 +162,9 @@ public String getNickname() { return this.nickname; } - /** @param nickname */ + /** + * @param nickname + */ public void setNickname(final String nickname) { this.nickname = nickname; } @@ -159,7 +173,9 @@ public String getPhone() { return this.phone; } - /** @param phone */ + /** + * @param phone + */ public void setPhone(final String phone) { this.phone = phone; } @@ -169,7 +185,9 @@ public String getPostalCode() { return this.postalCode; } - /** @param postalCode Zip or postal code. */ + /** + * @param postalCode Zip or postal code. + */ public void setPostalCode(final String postalCode) { this.postalCode = postalCode; } @@ -179,7 +197,9 @@ public String getRegion() { return this.region; } - /** @param region State or province. */ + /** + * @param region State or province. + */ public void setRegion(final String region) { this.region = region; } @@ -188,7 +208,9 @@ public String getStreet1() { return this.street1; } - /** @param street1 */ + /** + * @param street1 + */ public void setStreet1(final String street1) { this.street1 = street1; } @@ -197,7 +219,9 @@ public String getStreet2() { return this.street2; } - /** @param street2 */ + /** + * @param street2 + */ public void setStreet2(final String street2) { this.street2 = street2; } @@ -206,7 +230,9 @@ public String getVatNumber() { return this.vatNumber; } - /** @param vatNumber */ + /** + * @param vatNumber + */ public void setVatNumber(final String vatNumber) { this.vatNumber = vatNumber; } diff --git a/src/main/java/com/recurly/v3/requests/ShippingAddressUpdate.java b/src/main/java/com/recurly/v3/requests/ShippingAddressUpdate.java index 14c1979..464b983 100644 --- a/src/main/java/com/recurly/v3/requests/ShippingAddressUpdate.java +++ b/src/main/java/com/recurly/v3/requests/ShippingAddressUpdate.java @@ -84,7 +84,9 @@ public String getCity() { return this.city; } - /** @param city */ + /** + * @param city + */ public void setCity(final String city) { this.city = city; } @@ -93,7 +95,9 @@ public String getCompany() { return this.company; } - /** @param company */ + /** + * @param company + */ public void setCompany(final String company) { this.company = company; } @@ -103,7 +107,9 @@ public String getCountry() { return this.country; } - /** @param country Country, 2-letter ISO 3166-1 alpha-2 code. */ + /** + * @param country Country, 2-letter ISO 3166-1 alpha-2 code. + */ public void setCountry(final String country) { this.country = country; } @@ -112,7 +118,9 @@ public String getEmail() { return this.email; } - /** @param email */ + /** + * @param email + */ public void setEmail(final String email) { this.email = email; } @@ -121,7 +129,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName */ + /** + * @param firstName + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -147,7 +157,9 @@ public String getId() { return this.id; } - /** @param id Shipping Address ID */ + /** + * @param id Shipping Address ID + */ public void setId(final String id) { this.id = id; } @@ -156,7 +168,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName */ + /** + * @param lastName + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -165,7 +179,9 @@ public String getNickname() { return this.nickname; } - /** @param nickname */ + /** + * @param nickname + */ public void setNickname(final String nickname) { this.nickname = nickname; } @@ -174,7 +190,9 @@ public String getPhone() { return this.phone; } - /** @param phone */ + /** + * @param phone + */ public void setPhone(final String phone) { this.phone = phone; } @@ -184,7 +202,9 @@ public String getPostalCode() { return this.postalCode; } - /** @param postalCode Zip or postal code. */ + /** + * @param postalCode Zip or postal code. + */ public void setPostalCode(final String postalCode) { this.postalCode = postalCode; } @@ -194,7 +214,9 @@ public String getRegion() { return this.region; } - /** @param region State or province. */ + /** + * @param region State or province. + */ public void setRegion(final String region) { this.region = region; } @@ -203,7 +225,9 @@ public String getStreet1() { return this.street1; } - /** @param street1 */ + /** + * @param street1 + */ public void setStreet1(final String street1) { this.street1 = street1; } @@ -212,7 +236,9 @@ public String getStreet2() { return this.street2; } - /** @param street2 */ + /** + * @param street2 + */ public void setStreet2(final String street2) { this.street2 = street2; } @@ -221,7 +247,9 @@ public String getVatNumber() { return this.vatNumber; } - /** @param vatNumber */ + /** + * @param vatNumber + */ public void setVatNumber(final String vatNumber) { this.vatNumber = vatNumber; } diff --git a/src/main/java/com/recurly/v3/requests/ShippingFeeCreate.java b/src/main/java/com/recurly/v3/requests/ShippingFeeCreate.java index 11b551b..9fca62f 100644 --- a/src/main/java/com/recurly/v3/requests/ShippingFeeCreate.java +++ b/src/main/java/com/recurly/v3/requests/ShippingFeeCreate.java @@ -39,7 +39,9 @@ public BigDecimal getAmount() { return this.amount; } - /** @param amount This is priced in the purchase's currency. */ + /** + * @param amount This is priced in the purchase's currency. + */ public void setAmount(final BigDecimal amount) { this.amount = amount; } diff --git a/src/main/java/com/recurly/v3/requests/ShippingMethodCreate.java b/src/main/java/com/recurly/v3/requests/ShippingMethodCreate.java index 154c24b..5ca30c2 100644 --- a/src/main/java/com/recurly/v3/requests/ShippingMethodCreate.java +++ b/src/main/java/com/recurly/v3/requests/ShippingMethodCreate.java @@ -69,7 +69,9 @@ public String getAccountingCode() { return this.accountingCode; } - /** @param accountingCode Accounting code for shipping method. */ + /** + * @param accountingCode Accounting code for shipping method. + */ public void setAccountingCode(final String accountingCode) { this.accountingCode = accountingCode; } @@ -79,7 +81,9 @@ public String getCode() { return this.code; } - /** @param code The internal name used identify the shipping method. */ + /** + * @param code The internal name used identify the shipping method. + */ public void setCode(final String code) { this.code = code; } @@ -106,7 +110,9 @@ public String getName() { return this.name; } - /** @param name The name of the shipping method displayed to customers. */ + /** + * @param name The name of the shipping method displayed to customers. + */ public void setName(final String name) { this.name = name; } diff --git a/src/main/java/com/recurly/v3/requests/ShippingMethodUpdate.java b/src/main/java/com/recurly/v3/requests/ShippingMethodUpdate.java index 8d51cd5..0b8e21e 100644 --- a/src/main/java/com/recurly/v3/requests/ShippingMethodUpdate.java +++ b/src/main/java/com/recurly/v3/requests/ShippingMethodUpdate.java @@ -69,7 +69,9 @@ public String getAccountingCode() { return this.accountingCode; } - /** @param accountingCode Accounting code for shipping method. */ + /** + * @param accountingCode Accounting code for shipping method. + */ public void setAccountingCode(final String accountingCode) { this.accountingCode = accountingCode; } @@ -79,7 +81,9 @@ public String getCode() { return this.code; } - /** @param code The internal name used identify the shipping method. */ + /** + * @param code The internal name used identify the shipping method. + */ public void setCode(final String code) { this.code = code; } @@ -106,7 +110,9 @@ public String getName() { return this.name; } - /** @param name The name of the shipping method displayed to customers. */ + /** + * @param name The name of the shipping method displayed to customers. + */ public void setName(final String name) { this.name = name; } diff --git a/src/main/java/com/recurly/v3/requests/ShippingPurchase.java b/src/main/java/com/recurly/v3/requests/ShippingPurchase.java index 4715b94..c4bd23e 100644 --- a/src/main/java/com/recurly/v3/requests/ShippingPurchase.java +++ b/src/main/java/com/recurly/v3/requests/ShippingPurchase.java @@ -34,7 +34,9 @@ public ShippingAddressCreate getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final ShippingAddressCreate address) { this.address = address; } @@ -60,7 +62,9 @@ public List getFees() { return this.fees; } - /** @param fees A list of shipping fees to be created as charges with the purchase. */ + /** + * @param fees A list of shipping fees to be created as charges with the purchase. + */ public void setFees(final List fees) { this.fees = fees; } diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionAddOnCreate.java b/src/main/java/com/recurly/v3/requests/SubscriptionAddOnCreate.java index 7983f4e..f4a9655 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionAddOnCreate.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionAddOnCreate.java @@ -162,7 +162,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity Quantity */ + /** + * @param quantity Quantity + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } @@ -172,7 +174,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionAddOnTier.java b/src/main/java/com/recurly/v3/requests/SubscriptionAddOnTier.java index f2d75ee..cad0359 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionAddOnTier.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionAddOnTier.java @@ -99,7 +99,9 @@ public String getUsagePercentage() { return this.usagePercentage; } - /** @param usagePercentage (deprecated) -- Use the percentage_tiers object instead. */ + /** + * @param usagePercentage (deprecated) -- Use the percentage_tiers object instead. + */ public void setUsagePercentage(final String usagePercentage) { this.usagePercentage = usagePercentage; } diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionAddOnUpdate.java b/src/main/java/com/recurly/v3/requests/SubscriptionAddOnUpdate.java index 61f0c55..ff2a86b 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionAddOnUpdate.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionAddOnUpdate.java @@ -188,7 +188,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity Quantity */ + /** + * @param quantity Quantity + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } @@ -198,7 +200,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionChangeCreate.java b/src/main/java/com/recurly/v3/requests/SubscriptionChangeCreate.java index 55e3060..b1b7c70 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionChangeCreate.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionChangeCreate.java @@ -252,7 +252,9 @@ public SubscriptionChangeBillingInfoCreate getBillingInfo() { return this.billingInfo; } - /** @param billingInfo */ + /** + * @param billingInfo + */ public void setBillingInfo(final SubscriptionChangeBillingInfoCreate billingInfo) { this.billingInfo = billingInfo; } @@ -310,7 +312,9 @@ public Constants.CollectionMethod getCollectionMethod() { return this.collectionMethod; } - /** @param collectionMethod Collection method */ + /** + * @param collectionMethod Collection method + */ public void setCollectionMethod(final Constants.CollectionMethod collectionMethod) { this.collectionMethod = collectionMethod; } @@ -468,7 +472,9 @@ public String getPriceSegmentId() { return this.priceSegmentId; } - /** @param priceSegmentId The price segment ID, e.g. `e28zov4fw0v2`. */ + /** + * @param priceSegmentId The price segment ID, e.g. `e28zov4fw0v2`. + */ public void setPriceSegmentId(final String priceSegmentId) { this.priceSegmentId = priceSegmentId; } @@ -493,7 +499,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity Optionally override the default quantity of 1. */ + /** + * @param quantity Optionally override the default quantity of 1. + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } @@ -503,7 +511,9 @@ public List getRampIntervals() { return this.rampIntervals; } - /** @param rampIntervals The new set of ramp intervals for the subscription. */ + /** + * @param rampIntervals The new set of ramp intervals for the subscription. + */ public void setRampIntervals(final List rampIntervals) { this.rampIntervals = rampIntervals; } @@ -513,7 +523,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -541,7 +553,9 @@ public Boolean getTaxInclusive() { return this.taxInclusive; } - /** @param taxInclusive This field is deprecated. Please do not use it. */ + /** + * @param taxInclusive This field is deprecated. Please do not use it. + */ public void setTaxInclusive(final Boolean taxInclusive) { this.taxInclusive = taxInclusive; } diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionChangeShippingCreate.java b/src/main/java/com/recurly/v3/requests/SubscriptionChangeShippingCreate.java index a1ec4c8..3956bb2 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionChangeShippingCreate.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionChangeShippingCreate.java @@ -55,7 +55,9 @@ public ShippingAddressCreate getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final ShippingAddressCreate address) { this.address = address; } diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionCreate.java b/src/main/java/com/recurly/v3/requests/SubscriptionCreate.java index 091f639..f2cdbbd 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionCreate.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionCreate.java @@ -276,6 +276,16 @@ public class SubscriptionCreate extends Request { @Expose private Integer totalBillingCycles; + /** + * Optionally overrides the suffix component of the composed transaction descriptor. If omitted, + * the suffix is derived from the subscription's plan name or the invoice description, with a + * Trial prefix on Visa trial conversions. Subject to gateway availability and payment method + * support. + */ + @SerializedName("transaction_descriptor_suffix") + @Expose + private String transactionDescriptorSuffix; + /** * An optional type designation for the payment gateway transaction created by this request. * Supports 'moto' value, which is the acronym for mail order and telephone transactions. @@ -306,7 +316,9 @@ public AccountCreate getAccount() { return this.account; } - /** @param account */ + /** + * @param account + */ public void setAccount(final AccountCreate account) { this.account = account; } @@ -316,7 +328,9 @@ public List getAddOns() { return this.addOns; } - /** @param addOns Add-ons */ + /** + * @param addOns Add-ons + */ public void setAddOns(final List addOns) { this.addOns = addOns; } @@ -326,7 +340,9 @@ public Boolean getAutoRenew() { return this.autoRenew; } - /** @param autoRenew Whether the subscription renews at the end of its term. */ + /** + * @param autoRenew Whether the subscription renews at the end of its term. + */ public void setAutoRenew(final Boolean autoRenew) { this.autoRenew = autoRenew; } @@ -419,7 +435,9 @@ public Constants.CollectionMethod getCollectionMethod() { return this.collectionMethod; } - /** @param collectionMethod Collection method */ + /** + * @param collectionMethod Collection method + */ public void setCollectionMethod(final Constants.CollectionMethod collectionMethod) { this.collectionMethod = collectionMethod; } @@ -477,7 +495,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -692,7 +712,9 @@ public String getPriceSegmentId() { return this.priceSegmentId; } - /** @param priceSegmentId The price segment ID, e.g. `e28zov4fw0v2`. */ + /** + * @param priceSegmentId The price segment ID, e.g. `e28zov4fw0v2`. + */ public void setPriceSegmentId(final String priceSegmentId) { this.priceSegmentId = priceSegmentId; } @@ -715,7 +737,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity Optionally override the default quantity of 1. */ + /** + * @param quantity Optionally override the default quantity of 1. + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } @@ -725,7 +749,9 @@ public List getRampIntervals() { return this.rampIntervals; } - /** @param rampIntervals The new set of ramp intervals for the subscription. */ + /** + * @param rampIntervals The new set of ramp intervals for the subscription. + */ public void setRampIntervals(final List rampIntervals) { this.rampIntervals = rampIntervals; } @@ -752,7 +778,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -762,7 +790,9 @@ public SubscriptionShippingCreate getShipping() { return this.shipping; } - /** @param shipping Create a shipping address on the account and assign it to the subscription. */ + /** + * @param shipping Create a shipping address on the account and assign it to the subscription. + */ public void setShipping(final SubscriptionShippingCreate shipping) { this.shipping = shipping; } @@ -838,6 +868,26 @@ public void setTotalBillingCycles(final Integer totalBillingCycles) { this.totalBillingCycles = totalBillingCycles; } + /** + * Optionally overrides the suffix component of the composed transaction descriptor. If omitted, + * the suffix is derived from the subscription's plan name or the invoice description, with a + * Trial prefix on Visa trial conversions. Subject to gateway availability and payment method + * support. + */ + public String getTransactionDescriptorSuffix() { + return this.transactionDescriptorSuffix; + } + + /** + * @param transactionDescriptorSuffix Optionally overrides the suffix component of the composed + * transaction descriptor. If omitted, the suffix is derived from the subscription's plan name + * or the invoice description, with a Trial prefix on Visa trial conversions. Subject to + * gateway availability and payment method support. + */ + public void setTransactionDescriptorSuffix(final String transactionDescriptorSuffix) { + this.transactionDescriptorSuffix = transactionDescriptorSuffix; + } + /** * An optional type designation for the payment gateway transaction created by this request. * Supports 'moto' value, which is the acronym for mail order and telephone transactions. diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionCreateProrationSettings.java b/src/main/java/com/recurly/v3/requests/SubscriptionCreateProrationSettings.java index 082e3fb..ce78638 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionCreateProrationSettings.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionCreateProrationSettings.java @@ -23,7 +23,9 @@ public Constants.SubscriptionCreateProrationSettingsCharge getCharge() { return this.charge; } - /** @param charge Determines how the amount charged is determined for this change */ + /** + * @param charge Determines how the amount charged is determined for this change + */ public void setCharge(final Constants.SubscriptionCreateProrationSettingsCharge charge) { this.charge = charge; } diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionPurchase.java b/src/main/java/com/recurly/v3/requests/SubscriptionPurchase.java index 2b599b0..a7b33a0 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionPurchase.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionPurchase.java @@ -164,7 +164,9 @@ public List getAddOns() { return this.addOns; } - /** @param addOns Add-ons */ + /** + * @param addOns Add-ons + */ public void setAddOns(final List addOns) { this.addOns = addOns; } @@ -174,7 +176,9 @@ public Boolean getAutoRenew() { return this.autoRenew; } - /** @param autoRenew Whether the subscription renews at the end of its term. */ + /** + * @param autoRenew Whether the subscription renews at the end of its term. + */ public void setAutoRenew(final Boolean autoRenew) { this.autoRenew = autoRenew; } @@ -261,7 +265,9 @@ public String getPlanCode() { return this.planCode; } - /** @param planCode Plan code */ + /** + * @param planCode Plan code + */ public void setPlanCode(final String planCode) { this.planCode = planCode; } @@ -271,7 +277,9 @@ public String getPlanId() { return this.planId; } - /** @param planId Plan ID */ + /** + * @param planId Plan ID + */ public void setPlanId(final String planId) { this.planId = planId; } @@ -311,7 +319,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity Optionally override the default quantity of 1. */ + /** + * @param quantity Optionally override the default quantity of 1. + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } @@ -321,7 +331,9 @@ public List getRampIntervals() { return this.rampIntervals; } - /** @param rampIntervals The new set of ramp intervals for the subscription. */ + /** + * @param rampIntervals The new set of ramp intervals for the subscription. + */ public void setRampIntervals(final List rampIntervals) { this.rampIntervals = rampIntervals; } @@ -348,7 +360,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -358,7 +372,9 @@ public SubscriptionShippingPurchase getShipping() { return this.shipping; } - /** @param shipping Create a shipping address on the account and assign it to the subscription. */ + /** + * @param shipping Create a shipping address on the account and assign it to the subscription. + */ public void setShipping(final SubscriptionShippingPurchase shipping) { this.shipping = shipping; } diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionRampInterval.java b/src/main/java/com/recurly/v3/requests/SubscriptionRampInterval.java index 9f2267b..c949153 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionRampInterval.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionRampInterval.java @@ -28,7 +28,9 @@ public Integer getStartingBillingCycle() { return this.startingBillingCycle; } - /** @param startingBillingCycle Represents the billing cycle where a ramp interval starts. */ + /** + * @param startingBillingCycle Represents the billing cycle where a ramp interval starts. + */ public void setStartingBillingCycle(final Integer startingBillingCycle) { this.startingBillingCycle = startingBillingCycle; } @@ -38,7 +40,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount Represents the price for the ramp interval. */ + /** + * @param unitAmount Represents the price for the ramp interval. + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionShippingCreate.java b/src/main/java/com/recurly/v3/requests/SubscriptionShippingCreate.java index 0a32657..be57460 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionShippingCreate.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionShippingCreate.java @@ -59,7 +59,9 @@ public ShippingAddressCreate getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final ShippingAddressCreate address) { this.address = address; } diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionShippingUpdate.java b/src/main/java/com/recurly/v3/requests/SubscriptionShippingUpdate.java index 418a7ef..2c37e19 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionShippingUpdate.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionShippingUpdate.java @@ -30,7 +30,9 @@ public ShippingAddressCreate getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final ShippingAddressCreate address) { this.address = address; } @@ -40,7 +42,9 @@ public String getAddressId() { return this.addressId; } - /** @param addressId Assign a shipping address from the account's existing shipping addresses. */ + /** + * @param addressId Assign a shipping address from the account's existing shipping addresses. + */ public void setAddressId(final String addressId) { this.addressId = addressId; } @@ -50,7 +54,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/requests/SubscriptionUpdate.java b/src/main/java/com/recurly/v3/requests/SubscriptionUpdate.java index a210309..9d3d094 100644 --- a/src/main/java/com/recurly/v3/requests/SubscriptionUpdate.java +++ b/src/main/java/com/recurly/v3/requests/SubscriptionUpdate.java @@ -159,12 +159,24 @@ public class SubscriptionUpdate extends Request { @Expose private String termsAndConditions; + /** + * Optionally overrides the suffix component of the composed transaction descriptor. If omitted, + * the suffix is derived from the subscription's plan name or the invoice description, with a + * Trial prefix on Visa trial conversions. Subject to gateway availability and payment method + * support. + */ + @SerializedName("transaction_descriptor_suffix") + @Expose + private String transactionDescriptorSuffix; + /** Whether the subscription renews at the end of its term. */ public Boolean getAutoRenew() { return this.autoRenew; } - /** @param autoRenew Whether the subscription renews at the end of its term. */ + /** + * @param autoRenew Whether the subscription renews at the end of its term. + */ public void setAutoRenew(final Boolean autoRenew) { this.autoRenew = autoRenew; } @@ -194,7 +206,9 @@ public Constants.CollectionMethod getCollectionMethod() { return this.collectionMethod; } - /** @param collectionMethod Change collection method */ + /** + * @param collectionMethod Change collection method + */ public void setCollectionMethod(final Constants.CollectionMethod collectionMethod) { this.collectionMethod = collectionMethod; } @@ -373,7 +387,9 @@ public String getPriceSegmentId() { return this.priceSegmentId; } - /** @param priceSegmentId The price segment ID, e.g. `e28zov4fw0v2`. */ + /** + * @param priceSegmentId The price segment ID, e.g. `e28zov4fw0v2`. + */ public void setPriceSegmentId(final String priceSegmentId) { this.priceSegmentId = priceSegmentId; } @@ -383,7 +399,9 @@ public Integer getRemainingBillingCycles() { return this.remainingBillingCycles; } - /** @param remainingBillingCycles The remaining billing cycles in the current term. */ + /** + * @param remainingBillingCycles The remaining billing cycles in the current term. + */ public void setRemainingBillingCycles(final Integer remainingBillingCycles) { this.remainingBillingCycles = remainingBillingCycles; } @@ -410,7 +428,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -420,7 +440,9 @@ public SubscriptionShippingUpdate getShipping() { return this.shipping; } - /** @param shipping Subscription shipping details */ + /** + * @param shipping Subscription shipping details + */ public void setShipping(final SubscriptionShippingUpdate shipping) { this.shipping = shipping; } @@ -430,7 +452,9 @@ public Boolean getTaxInclusive() { return this.taxInclusive; } - /** @param taxInclusive This field is deprecated. Please do not use it. */ + /** + * @param taxInclusive This field is deprecated. Please do not use it. + */ public void setTaxInclusive(final Boolean taxInclusive) { this.taxInclusive = taxInclusive; } @@ -450,4 +474,24 @@ public String getTermsAndConditions() { public void setTermsAndConditions(final String termsAndConditions) { this.termsAndConditions = termsAndConditions; } + + /** + * Optionally overrides the suffix component of the composed transaction descriptor. If omitted, + * the suffix is derived from the subscription's plan name or the invoice description, with a + * Trial prefix on Visa trial conversions. Subject to gateway availability and payment method + * support. + */ + public String getTransactionDescriptorSuffix() { + return this.transactionDescriptorSuffix; + } + + /** + * @param transactionDescriptorSuffix Optionally overrides the suffix component of the composed + * transaction descriptor. If omitted, the suffix is derived from the subscription's plan name + * or the invoice description, with a Trial prefix on Visa trial conversions. Subject to + * gateway availability and payment method support. + */ + public void setTransactionDescriptorSuffix(final String transactionDescriptorSuffix) { + this.transactionDescriptorSuffix = transactionDescriptorSuffix; + } } diff --git a/src/main/java/com/recurly/v3/requests/Tier.java b/src/main/java/com/recurly/v3/requests/Tier.java index dbe5255..5d372d9 100644 --- a/src/main/java/com/recurly/v3/requests/Tier.java +++ b/src/main/java/com/recurly/v3/requests/Tier.java @@ -36,7 +36,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies Tier pricing */ + /** + * @param currencies Tier pricing + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -62,7 +64,9 @@ public String getUsagePercentage() { return this.usagePercentage; } - /** @param usagePercentage (deprecated) -- Use the percentage_tiers object instead. */ + /** + * @param usagePercentage (deprecated) -- Use the percentage_tiers object instead. + */ public void setUsagePercentage(final String usagePercentage) { this.usagePercentage = usagePercentage; } diff --git a/src/main/java/com/recurly/v3/requests/TierPricing.java b/src/main/java/com/recurly/v3/requests/TierPricing.java index 8bb3650..411a25b 100644 --- a/src/main/java/com/recurly/v3/requests/TierPricing.java +++ b/src/main/java/com/recurly/v3/requests/TierPricing.java @@ -36,7 +36,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } diff --git a/src/main/java/com/recurly/v3/requests/UsageCreate.java b/src/main/java/com/recurly/v3/requests/UsageCreate.java index 2d205ce..a797dfc 100644 --- a/src/main/java/com/recurly/v3/requests/UsageCreate.java +++ b/src/main/java/com/recurly/v3/requests/UsageCreate.java @@ -88,7 +88,9 @@ public ZonedDateTime getRecordingTimestamp() { return this.recordingTimestamp; } - /** @param recordingTimestamp When the usage was recorded in your system. */ + /** + * @param recordingTimestamp When the usage was recorded in your system. + */ public void setRecordingTimestamp(final ZonedDateTime recordingTimestamp) { this.recordingTimestamp = recordingTimestamp; } diff --git a/src/main/java/com/recurly/v3/resources/Account.java b/src/main/java/com/recurly/v3/resources/Account.java index 683f9d2..de5b854 100644 --- a/src/main/java/com/recurly/v3/resources/Account.java +++ b/src/main/java/com/recurly/v3/resources/Account.java @@ -252,7 +252,9 @@ public Address getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final Address address) { this.address = address; } @@ -293,7 +295,9 @@ public BillingInfo getBillingInfo() { return this.billingInfo; } - /** @param billingInfo */ + /** + * @param billingInfo + */ public void setBillingInfo(final BillingInfo billingInfo) { this.billingInfo = billingInfo; } @@ -332,7 +336,9 @@ public String getCompany() { return this.company; } - /** @param company */ + /** + * @param company + */ public void setCompany(final String company) { this.company = company; } @@ -342,7 +348,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the account was created. */ + /** + * @param createdAt When the account was created. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -370,7 +378,9 @@ public ZonedDateTime getDeletedAt() { return this.deletedAt; } - /** @param deletedAt If present, when the account was last marked inactive. */ + /** + * @param deletedAt If present, when the account was last marked inactive. + */ public void setDeletedAt(final ZonedDateTime deletedAt) { this.deletedAt = deletedAt; } @@ -451,7 +461,9 @@ public List getExternalAccounts() { return this.externalAccounts; } - /** @param externalAccounts The external accounts belonging to this account */ + /** + * @param externalAccounts The external accounts belonging to this account + */ public void setExternalAccounts(final List externalAccounts) { this.externalAccounts = externalAccounts; } @@ -460,7 +472,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName */ + /** + * @param firstName + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -470,7 +484,9 @@ public Boolean getHasActiveSubscription() { return this.hasActiveSubscription; } - /** @param hasActiveSubscription Indicates if the account has an active subscription. */ + /** + * @param hasActiveSubscription Indicates if the account has an active subscription. + */ public void setHasActiveSubscription(final Boolean hasActiveSubscription) { this.hasActiveSubscription = hasActiveSubscription; } @@ -480,7 +496,9 @@ public Boolean getHasCanceledSubscription() { return this.hasCanceledSubscription; } - /** @param hasCanceledSubscription Indicates if the account has a canceled subscription. */ + /** + * @param hasCanceledSubscription Indicates if the account has a canceled subscription. + */ public void setHasCanceledSubscription(final Boolean hasCanceledSubscription) { this.hasCanceledSubscription = hasCanceledSubscription; } @@ -490,7 +508,9 @@ public Boolean getHasFutureSubscription() { return this.hasFutureSubscription; } - /** @param hasFutureSubscription Indicates if the account has a future subscription. */ + /** + * @param hasFutureSubscription Indicates if the account has a future subscription. + */ public void setHasFutureSubscription(final Boolean hasFutureSubscription) { this.hasFutureSubscription = hasFutureSubscription; } @@ -515,7 +535,9 @@ public Boolean getHasPastDueInvoice() { return this.hasPastDueInvoice; } - /** @param hasPastDueInvoice Indicates if the account has a past due invoice. */ + /** + * @param hasPastDueInvoice Indicates if the account has a past due invoice. + */ public void setHasPastDueInvoice(final Boolean hasPastDueInvoice) { this.hasPastDueInvoice = hasPastDueInvoice; } @@ -525,7 +547,9 @@ public Boolean getHasPausedSubscription() { return this.hasPausedSubscription; } - /** @param hasPausedSubscription Indicates if the account has a paused subscription. */ + /** + * @param hasPausedSubscription Indicates if the account has a paused subscription. + */ public void setHasPausedSubscription(final Boolean hasPausedSubscription) { this.hasPausedSubscription = hasPausedSubscription; } @@ -552,7 +576,9 @@ public String getId() { return this.id; } - /** @param id */ + /** + * @param id + */ public void setId(final String id) { this.id = id; } @@ -581,7 +607,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName */ + /** + * @param lastName + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -591,7 +619,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -617,7 +647,9 @@ public String getParentAccountId() { return this.parentAccountId; } - /** @param parentAccountId The UUID of the parent account associated with this account. */ + /** + * @param parentAccountId The UUID of the parent account associated with this account. + */ public void setParentAccountId(final String parentAccountId) { this.parentAccountId = parentAccountId; } @@ -661,7 +693,9 @@ public List getShippingAddresses() { return this.shippingAddresses; } - /** @param shippingAddresses The shipping addresses on the account. */ + /** + * @param shippingAddresses The shipping addresses on the account. + */ public void setShippingAddresses(final List shippingAddresses) { this.shippingAddresses = shippingAddresses; } @@ -671,7 +705,9 @@ public Constants.ActiveState getState() { return this.state; } - /** @param state Accounts can be either active or inactive. */ + /** + * @param state Accounts can be either active or inactive. + */ public void setState(final Constants.ActiveState state) { this.state = state; } @@ -697,7 +733,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the account was last changed. */ + /** + * @param updatedAt When the account was last changed. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } @@ -707,7 +745,9 @@ public String getUsername() { return this.username; } - /** @param username A secondary value for the account. */ + /** + * @param username A secondary value for the account. + */ public void setUsername(final String username) { this.username = username; } diff --git a/src/main/java/com/recurly/v3/resources/AccountAcquisition.java b/src/main/java/com/recurly/v3/resources/AccountAcquisition.java index afc51b7..5609eef 100644 --- a/src/main/java/com/recurly/v3/resources/AccountAcquisition.java +++ b/src/main/java/com/recurly/v3/resources/AccountAcquisition.java @@ -74,7 +74,9 @@ public AccountMini getAccount() { return this.account; } - /** @param account Account mini details */ + /** + * @param account Account mini details + */ public void setAccount(final AccountMini account) { this.account = account; } @@ -115,7 +117,9 @@ public Constants.Channel getChannel() { return this.channel; } - /** @param channel The channel through which the account was acquired. */ + /** + * @param channel The channel through which the account was acquired. + */ public void setChannel(final Constants.Channel channel) { this.channel = channel; } @@ -125,7 +129,9 @@ public AccountAcquisitionCost getCost() { return this.cost; } - /** @param cost Account balance */ + /** + * @param cost Account balance + */ public void setCost(final AccountAcquisitionCost cost) { this.cost = cost; } @@ -135,7 +141,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the account acquisition data was created. */ + /** + * @param createdAt When the account acquisition data was created. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -144,7 +152,9 @@ public String getId() { return this.id; } - /** @param id */ + /** + * @param id + */ public void setId(final String id) { this.id = id; } @@ -154,7 +164,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -179,7 +191,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the account acquisition data was last changed. */ + /** + * @param updatedAt When the account acquisition data was last changed. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/AccountAcquisitionCost.java b/src/main/java/com/recurly/v3/resources/AccountAcquisitionCost.java index b1da919..e9a2746 100644 --- a/src/main/java/com/recurly/v3/resources/AccountAcquisitionCost.java +++ b/src/main/java/com/recurly/v3/resources/AccountAcquisitionCost.java @@ -27,7 +27,9 @@ public BigDecimal getAmount() { return this.amount; } - /** @param amount The amount of the corresponding currency used to acquire the account. */ + /** + * @param amount The amount of the corresponding currency used to acquire the account. + */ public void setAmount(final BigDecimal amount) { this.amount = amount; } @@ -37,7 +39,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } diff --git a/src/main/java/com/recurly/v3/resources/AccountBalance.java b/src/main/java/com/recurly/v3/resources/AccountBalance.java index 26809d8..d954310 100644 --- a/src/main/java/com/recurly/v3/resources/AccountBalance.java +++ b/src/main/java/com/recurly/v3/resources/AccountBalance.java @@ -35,7 +35,9 @@ public AccountMini getAccount() { return this.account; } - /** @param account Account mini details */ + /** + * @param account Account mini details + */ public void setAccount(final AccountMini account) { this.account = account; } @@ -44,7 +46,9 @@ public List getBalances() { return this.balances; } - /** @param balances */ + /** + * @param balances + */ public void setBalances(final List balances) { this.balances = balances; } @@ -54,7 +58,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -63,7 +69,9 @@ public Boolean getPastDue() { return this.pastDue; } - /** @param pastDue */ + /** + * @param pastDue + */ public void setPastDue(final Boolean pastDue) { this.pastDue = pastDue; } diff --git a/src/main/java/com/recurly/v3/resources/AccountBalanceAmount.java b/src/main/java/com/recurly/v3/resources/AccountBalanceAmount.java index d8fd90c..bcd131b 100644 --- a/src/main/java/com/recurly/v3/resources/AccountBalanceAmount.java +++ b/src/main/java/com/recurly/v3/resources/AccountBalanceAmount.java @@ -37,7 +37,9 @@ public BigDecimal getAmount() { return this.amount; } - /** @param amount Total amount the account is past due. */ + /** + * @param amount Total amount the account is past due. + */ public void setAmount(final BigDecimal amount) { this.amount = amount; } @@ -60,7 +62,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } diff --git a/src/main/java/com/recurly/v3/resources/AccountMini.java b/src/main/java/com/recurly/v3/resources/AccountMini.java index d26c359..469fc18 100644 --- a/src/main/java/com/recurly/v3/resources/AccountMini.java +++ b/src/main/java/com/recurly/v3/resources/AccountMini.java @@ -63,7 +63,9 @@ public String getBillTo() { return this.billTo; } - /** @param billTo */ + /** + * @param billTo + */ public void setBillTo(final String billTo) { this.billTo = billTo; } @@ -73,7 +75,9 @@ public String getCode() { return this.code; } - /** @param code The unique identifier of the account. */ + /** + * @param code The unique identifier of the account. + */ public void setCode(final String code) { this.code = code; } @@ -82,7 +86,9 @@ public String getCompany() { return this.company; } - /** @param company */ + /** + * @param company + */ public void setCompany(final String company) { this.company = company; } @@ -110,7 +116,9 @@ public String getEmail() { return this.email; } - /** @param email The email address used for communicating with this customer. */ + /** + * @param email The email address used for communicating with this customer. + */ public void setEmail(final String email) { this.email = email; } @@ -119,7 +127,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName */ + /** + * @param firstName + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -128,7 +138,9 @@ public String getId() { return this.id; } - /** @param id */ + /** + * @param id + */ public void setId(final String id) { this.id = id; } @@ -137,7 +149,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName */ + /** + * @param lastName + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -147,7 +161,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -156,7 +172,9 @@ public String getParentAccountId() { return this.parentAccountId; } - /** @param parentAccountId */ + /** + * @param parentAccountId + */ public void setParentAccountId(final String parentAccountId) { this.parentAccountId = parentAccountId; } diff --git a/src/main/java/com/recurly/v3/resources/AccountNote.java b/src/main/java/com/recurly/v3/resources/AccountNote.java index d583786..f6b2272 100644 --- a/src/main/java/com/recurly/v3/resources/AccountNote.java +++ b/src/main/java/com/recurly/v3/resources/AccountNote.java @@ -41,7 +41,9 @@ public String getAccountId() { return this.accountId; } - /** @param accountId */ + /** + * @param accountId + */ public void setAccountId(final String accountId) { this.accountId = accountId; } @@ -50,7 +52,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt */ + /** + * @param createdAt + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -59,7 +63,9 @@ public String getId() { return this.id; } - /** @param id */ + /** + * @param id + */ public void setId(final String id) { this.id = id; } @@ -68,7 +74,9 @@ public String getMessage() { return this.message; } - /** @param message */ + /** + * @param message + */ public void setMessage(final String message) { this.message = message; } @@ -78,7 +86,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -87,7 +97,9 @@ public User getUser() { return this.user; } - /** @param user */ + /** + * @param user + */ public void setUser(final User user) { this.user = user; } diff --git a/src/main/java/com/recurly/v3/resources/AddOn.java b/src/main/java/com/recurly/v3/resources/AddOn.java index a8b05ec..e38ba58 100644 --- a/src/main/java/com/recurly/v3/resources/AddOn.java +++ b/src/main/java/com/recurly/v3/resources/AddOn.java @@ -260,7 +260,9 @@ public Constants.AddOnType getAddOnType() { return this.addOnType; } - /** @param addOnType Whether the add-on type is fixed, or usage-based. */ + /** + * @param addOnType Whether the add-on type is fixed, or usage-based. + */ public void setAddOnType(final Constants.AddOnType addOnType) { this.addOnType = addOnType; } @@ -310,7 +312,9 @@ public String getCode() { return this.code; } - /** @param code The unique identifier for the add-on within its plan. */ + /** + * @param code The unique identifier for the add-on within its plan. + */ public void setCode(final String code) { this.code = code; } @@ -320,7 +324,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -330,7 +336,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies Add-on pricing */ + /** + * @param currencies Add-on pricing + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -340,7 +348,9 @@ public Integer getDefaultQuantity() { return this.defaultQuantity; } - /** @param defaultQuantity Default quantity for the hosted pages. */ + /** + * @param defaultQuantity Default quantity for the hosted pages. + */ public void setDefaultQuantity(final Integer defaultQuantity) { this.defaultQuantity = defaultQuantity; } @@ -350,7 +360,9 @@ public ZonedDateTime getDeletedAt() { return this.deletedAt; } - /** @param deletedAt Deleted at */ + /** + * @param deletedAt Deleted at + */ public void setDeletedAt(final ZonedDateTime deletedAt) { this.deletedAt = deletedAt; } @@ -407,7 +419,9 @@ public String getId() { return this.id; } - /** @param id Add-on ID */ + /** + * @param id Add-on ID + */ public void setId(final String id) { this.id = id; } @@ -417,7 +431,9 @@ public ItemMini getItem() { return this.item; } - /** @param item Just the important parts. */ + /** + * @param item Just the important parts. + */ public void setItem(final ItemMini item) { this.item = item; } @@ -457,7 +473,9 @@ public String getName() { return this.name; } - /** @param name Describes your add-on and will appear in subscribers' invoices. */ + /** + * @param name Describes your add-on and will appear in subscribers' invoices. + */ public void setName(final String name) { this.name = name; } @@ -467,7 +485,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -530,7 +550,9 @@ public String getPlanId() { return this.planId; } - /** @param planId Plan ID */ + /** + * @param planId Plan ID + */ public void setPlanId(final String planId) { this.planId = planId; } @@ -574,7 +596,9 @@ public Constants.ActiveState getState() { return this.state; } - /** @param state Add-ons can be either active or inactive. */ + /** + * @param state Add-ons can be either active or inactive. + */ public void setState(final Constants.ActiveState state) { this.state = state; } @@ -626,7 +650,9 @@ public List getTiers() { return this.tiers; } - /** @param tiers Tiers */ + /** + * @param tiers Tiers + */ public void setTiers(final List tiers) { this.tiers = tiers; } @@ -636,7 +662,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } @@ -682,7 +710,9 @@ public Constants.UsageTimeframe getUsageTimeframe() { return this.usageTimeframe; } - /** @param usageTimeframe The time at which usage totals are reset for billing purposes. */ + /** + * @param usageTimeframe The time at which usage totals are reset for billing purposes. + */ public void setUsageTimeframe(final Constants.UsageTimeframe usageTimeframe) { this.usageTimeframe = usageTimeframe; } @@ -692,7 +722,9 @@ public Constants.UsageType getUsageType() { return this.usageType; } - /** @param usageType Type of usage, returns usage type if `add_on_type` is `usage`. */ + /** + * @param usageType Type of usage, returns usage type if `add_on_type` is `usage`. + */ public void setUsageType(final Constants.UsageType usageType) { this.usageType = usageType; } diff --git a/src/main/java/com/recurly/v3/resources/AddOnMini.java b/src/main/java/com/recurly/v3/resources/AddOnMini.java index 225215e..475eb76 100644 --- a/src/main/java/com/recurly/v3/resources/AddOnMini.java +++ b/src/main/java/com/recurly/v3/resources/AddOnMini.java @@ -95,7 +95,9 @@ public Constants.AddOnType getAddOnType() { return this.addOnType; } - /** @param addOnType Whether the add-on type is fixed, or usage-based. */ + /** + * @param addOnType Whether the add-on type is fixed, or usage-based. + */ public void setAddOnType(final Constants.AddOnType addOnType) { this.addOnType = addOnType; } @@ -105,7 +107,9 @@ public String getCode() { return this.code; } - /** @param code The unique identifier for the add-on within its plan. */ + /** + * @param code The unique identifier for the add-on within its plan. + */ public void setCode(final String code) { this.code = code; } @@ -127,7 +131,9 @@ public String getId() { return this.id; } - /** @param id Add-on ID */ + /** + * @param id Add-on ID + */ public void setId(final String id) { this.id = id; } @@ -137,7 +143,9 @@ public String getItemId() { return this.itemId; } - /** @param itemId Item ID */ + /** + * @param itemId Item ID + */ public void setItemId(final String itemId) { this.itemId = itemId; } @@ -160,7 +168,9 @@ public String getName() { return this.name; } - /** @param name Describes your add-on and will appear in subscribers' invoices. */ + /** + * @param name Describes your add-on and will appear in subscribers' invoices. + */ public void setName(final String name) { this.name = name; } @@ -170,7 +180,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -196,7 +208,9 @@ public Constants.UsageType getUsageType() { return this.usageType; } - /** @param usageType Type of usage, returns usage type if `add_on_type` is `usage`. */ + /** + * @param usageType Type of usage, returns usage type if `add_on_type` is `usage`. + */ public void setUsageType(final Constants.UsageType usageType) { this.usageType = usageType; } diff --git a/src/main/java/com/recurly/v3/resources/AddOnPricing.java b/src/main/java/com/recurly/v3/resources/AddOnPricing.java index 6a8235f..e6dee2c 100644 --- a/src/main/java/com/recurly/v3/resources/AddOnPricing.java +++ b/src/main/java/com/recurly/v3/resources/AddOnPricing.java @@ -40,7 +40,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -50,7 +52,9 @@ public Boolean getTaxInclusive() { return this.taxInclusive; } - /** @param taxInclusive This field is deprecated. Please do not use it. */ + /** + * @param taxInclusive This field is deprecated. Please do not use it. + */ public void setTaxInclusive(final Boolean taxInclusive) { this.taxInclusive = taxInclusive; } diff --git a/src/main/java/com/recurly/v3/resources/Address.java b/src/main/java/com/recurly/v3/resources/Address.java index df61859..6b565f9 100644 --- a/src/main/java/com/recurly/v3/resources/Address.java +++ b/src/main/java/com/recurly/v3/resources/Address.java @@ -59,7 +59,9 @@ public String getCity() { return this.city; } - /** @param city City */ + /** + * @param city City + */ public void setCity(final String city) { this.city = city; } @@ -69,7 +71,9 @@ public String getCountry() { return this.country; } - /** @param country Country, 2-letter ISO 3166-1 alpha-2 code. */ + /** + * @param country Country, 2-letter ISO 3166-1 alpha-2 code. + */ public void setCountry(final String country) { this.country = country; } @@ -95,7 +99,9 @@ public String getPhone() { return this.phone; } - /** @param phone Phone number */ + /** + * @param phone Phone number + */ public void setPhone(final String phone) { this.phone = phone; } @@ -105,7 +111,9 @@ public String getPostalCode() { return this.postalCode; } - /** @param postalCode Zip or postal code. */ + /** + * @param postalCode Zip or postal code. + */ public void setPostalCode(final String postalCode) { this.postalCode = postalCode; } @@ -115,7 +123,9 @@ public String getRegion() { return this.region; } - /** @param region State or province. */ + /** + * @param region State or province. + */ public void setRegion(final String region) { this.region = region; } @@ -125,7 +135,9 @@ public String getStreet1() { return this.street1; } - /** @param street1 Street 1 */ + /** + * @param street1 Street 1 + */ public void setStreet1(final String street1) { this.street1 = street1; } @@ -135,7 +147,9 @@ public String getStreet2() { return this.street2; } - /** @param street2 Street 2 */ + /** + * @param street2 Street 2 + */ public void setStreet2(final String street2) { this.street2 = street2; } diff --git a/src/main/java/com/recurly/v3/resources/AddressWithName.java b/src/main/java/com/recurly/v3/resources/AddressWithName.java index 6ca3f04..93e8814 100644 --- a/src/main/java/com/recurly/v3/resources/AddressWithName.java +++ b/src/main/java/com/recurly/v3/resources/AddressWithName.java @@ -69,7 +69,9 @@ public String getCity() { return this.city; } - /** @param city City */ + /** + * @param city City + */ public void setCity(final String city) { this.city = city; } @@ -79,7 +81,9 @@ public String getCountry() { return this.country; } - /** @param country Country, 2-letter ISO 3166-1 alpha-2 code. */ + /** + * @param country Country, 2-letter ISO 3166-1 alpha-2 code. + */ public void setCountry(final String country) { this.country = country; } @@ -89,7 +93,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName First name */ + /** + * @param firstName First name + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -115,7 +121,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName Last name */ + /** + * @param lastName Last name + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -125,7 +133,9 @@ public String getPhone() { return this.phone; } - /** @param phone Phone number */ + /** + * @param phone Phone number + */ public void setPhone(final String phone) { this.phone = phone; } @@ -135,7 +145,9 @@ public String getPostalCode() { return this.postalCode; } - /** @param postalCode Zip or postal code. */ + /** + * @param postalCode Zip or postal code. + */ public void setPostalCode(final String postalCode) { this.postalCode = postalCode; } @@ -145,7 +157,9 @@ public String getRegion() { return this.region; } - /** @param region State or province. */ + /** + * @param region State or province. + */ public void setRegion(final String region) { this.region = region; } @@ -155,7 +169,9 @@ public String getStreet1() { return this.street1; } - /** @param street1 Street 1 */ + /** + * @param street1 Street 1 + */ public void setStreet1(final String street1) { this.street1 = street1; } @@ -165,7 +181,9 @@ public String getStreet2() { return this.street2; } - /** @param street2 Street 2 */ + /** + * @param street2 Street 2 + */ public void setStreet2(final String street2) { this.street2 = street2; } diff --git a/src/main/java/com/recurly/v3/resources/BillingInfo.java b/src/main/java/com/recurly/v3/resources/BillingInfo.java index ce0e3d9..4b6a123 100644 --- a/src/main/java/com/recurly/v3/resources/BillingInfo.java +++ b/src/main/java/com/recurly/v3/resources/BillingInfo.java @@ -106,7 +106,9 @@ public String getAccountId() { return this.accountId; } - /** @param accountId */ + /** + * @param accountId + */ public void setAccountId(final String accountId) { this.accountId = accountId; } @@ -115,7 +117,9 @@ public Address getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final Address address) { this.address = address; } @@ -141,7 +145,9 @@ public String getCompany() { return this.company; } - /** @param company */ + /** + * @param company + */ public void setCompany(final String company) { this.company = company; } @@ -151,7 +157,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the billing information was created. */ + /** + * @param createdAt When the billing information was created. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -160,7 +168,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName */ + /** + * @param firstName + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -170,7 +180,9 @@ public FraudInfo getFraud() { return this.fraud; } - /** @param fraud Most recent fraud result. */ + /** + * @param fraud Most recent fraud result. + */ public void setFraud(final FraudInfo fraud) { this.fraud = fraud; } @@ -179,7 +191,9 @@ public String getId() { return this.id; } - /** @param id */ + /** + * @param id + */ public void setId(final String id) { this.id = id; } @@ -188,7 +202,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName */ + /** + * @param lastName + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -198,7 +214,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -224,7 +242,9 @@ public PaymentMethod getPaymentMethod() { return this.paymentMethod; } - /** @param paymentMethod */ + /** + * @param paymentMethod + */ public void setPaymentMethod(final PaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; } @@ -252,7 +272,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the billing information was last changed. */ + /** + * @param updatedAt When the billing information was last changed. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } @@ -261,7 +283,9 @@ public BillingInfoUpdatedBy getUpdatedBy() { return this.updatedBy; } - /** @param updatedBy */ + /** + * @param updatedBy + */ public void setUpdatedBy(final BillingInfoUpdatedBy updatedBy) { this.updatedBy = updatedBy; } @@ -270,7 +294,9 @@ public Boolean getValid() { return this.valid; } - /** @param valid */ + /** + * @param valid + */ public void setValid(final Boolean valid) { this.valid = valid; } diff --git a/src/main/java/com/recurly/v3/resources/BillingInfoUpdatedBy.java b/src/main/java/com/recurly/v3/resources/BillingInfoUpdatedBy.java index e28e359..5c9bce0 100644 --- a/src/main/java/com/recurly/v3/resources/BillingInfoUpdatedBy.java +++ b/src/main/java/com/recurly/v3/resources/BillingInfoUpdatedBy.java @@ -43,7 +43,9 @@ public String getIp() { return this.ip; } - /** @param ip Customer's IP address when updating their billing information. */ + /** + * @param ip Customer's IP address when updating their billing information. + */ public void setIp(final String ip) { this.ip = ip; } diff --git a/src/main/java/com/recurly/v3/resources/BinaryFile.java b/src/main/java/com/recurly/v3/resources/BinaryFile.java index a73c13f..20c61fc 100644 --- a/src/main/java/com/recurly/v3/resources/BinaryFile.java +++ b/src/main/java/com/recurly/v3/resources/BinaryFile.java @@ -19,7 +19,9 @@ public byte[] getData() { return this.data; } - /** @param data */ + /** + * @param data + */ public void setData(final byte[] data) { this.data = data; } diff --git a/src/main/java/com/recurly/v3/resources/BusinessEntity.java b/src/main/java/com/recurly/v3/resources/BusinessEntity.java index 6198a0c..816a18c 100644 --- a/src/main/java/com/recurly/v3/resources/BusinessEntity.java +++ b/src/main/java/com/recurly/v3/resources/BusinessEntity.java @@ -108,7 +108,9 @@ public String getCode() { return this.code; } - /** @param code The entity code of the business entity. */ + /** + * @param code The entity code of the business entity. + */ public void setCode(final String code) { this.code = code; } @@ -118,7 +120,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -145,7 +149,9 @@ public String getDefaultRegistrationNumber() { return this.defaultRegistrationNumber; } - /** @param defaultRegistrationNumber Registration number for the customer used on the invoice. */ + /** + * @param defaultRegistrationNumber Registration number for the customer used on the invoice. + */ public void setDefaultRegistrationNumber(final String defaultRegistrationNumber) { this.defaultRegistrationNumber = defaultRegistrationNumber; } @@ -172,7 +178,9 @@ public String getDefaultVatNumber() { return this.defaultVatNumber; } - /** @param defaultVatNumber VAT number for the customer used on the invoice. */ + /** + * @param defaultVatNumber VAT number for the customer used on the invoice. + */ public void setDefaultVatNumber(final String defaultVatNumber) { this.defaultVatNumber = defaultVatNumber; } @@ -202,7 +210,9 @@ public String getId() { return this.id; } - /** @param id Business entity ID */ + /** + * @param id Business entity ID + */ public void setId(final String id) { this.id = id; } @@ -225,7 +235,9 @@ public String getName() { return this.name; } - /** @param name This name describes your business entity and will appear on the invoice. */ + /** + * @param name This name describes your business entity and will appear on the invoice. + */ public void setName(final String name) { this.name = name; } @@ -235,7 +247,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -291,7 +305,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/BusinessEntityMini.java b/src/main/java/com/recurly/v3/resources/BusinessEntityMini.java index b308993..11c3eab 100644 --- a/src/main/java/com/recurly/v3/resources/BusinessEntityMini.java +++ b/src/main/java/com/recurly/v3/resources/BusinessEntityMini.java @@ -36,7 +36,9 @@ public String getCode() { return this.code; } - /** @param code The entity code of the business entity. */ + /** + * @param code The entity code of the business entity. + */ public void setCode(final String code) { this.code = code; } @@ -46,7 +48,9 @@ public String getId() { return this.id; } - /** @param id Business entity ID */ + /** + * @param id Business entity ID + */ public void setId(final String id) { this.id = id; } @@ -56,7 +60,9 @@ public String getName() { return this.name; } - /** @param name This name describes your business entity and will appear on the invoice. */ + /** + * @param name This name describes your business entity and will appear on the invoice. + */ public void setName(final String name) { this.name = name; } @@ -66,7 +72,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/Coupon.java b/src/main/java/com/recurly/v3/resources/Coupon.java index 11404bd..193dc8a 100644 --- a/src/main/java/com/recurly/v3/resources/Coupon.java +++ b/src/main/java/com/recurly/v3/resources/Coupon.java @@ -245,7 +245,9 @@ public Boolean getAppliesToNonPlanCharges() { return this.appliesToNonPlanCharges; } - /** @param appliesToNonPlanCharges The coupon is valid for one-time, non-plan charges if true. */ + /** + * @param appliesToNonPlanCharges The coupon is valid for one-time, non-plan charges if true. + */ public void setAppliesToNonPlanCharges(final Boolean appliesToNonPlanCharges) { this.appliesToNonPlanCharges = appliesToNonPlanCharges; } @@ -255,7 +257,9 @@ public String getCode() { return this.code; } - /** @param code The code the customer enters to redeem the coupon. */ + /** + * @param code The code the customer enters to redeem the coupon. + */ public void setCode(final String code) { this.code = code; } @@ -281,7 +285,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -337,7 +343,9 @@ public Integer getFreeTrialAmount() { return this.freeTrialAmount; } - /** @param freeTrialAmount Sets the duration of time the `free_trial_unit` is for. */ + /** + * @param freeTrialAmount Sets the duration of time the `free_trial_unit` is for. + */ public void setFreeTrialAmount(final Integer freeTrialAmount) { this.freeTrialAmount = freeTrialAmount; } @@ -380,7 +388,9 @@ public String getId() { return this.id; } - /** @param id Coupon ID */ + /** + * @param id Coupon ID + */ public void setId(final String id) { this.id = id; } @@ -390,7 +400,9 @@ public String getInvoiceDescription() { return this.invoiceDescription; } - /** @param invoiceDescription Description of the coupon on the invoice. */ + /** + * @param invoiceDescription Description of the coupon on the invoice. + */ public void setInvoiceDescription(final String invoiceDescription) { this.invoiceDescription = invoiceDescription; } @@ -451,7 +463,9 @@ public String getName() { return this.name; } - /** @param name The internal name for the coupon. */ + /** + * @param name The internal name for the coupon. + */ public void setName(final String name) { this.name = name; } @@ -461,7 +475,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -519,7 +535,9 @@ public Constants.CouponState getState() { return this.state; } - /** @param state Indicates if the coupon is redeemable, and if it is not, why. */ + /** + * @param state Indicates if the coupon is redeemable, and if it is not, why. + */ public void setState(final Constants.CouponState state) { this.state = state; } @@ -606,7 +624,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/CouponDiscount.java b/src/main/java/com/recurly/v3/resources/CouponDiscount.java index 7c7affb..9b83d4c 100644 --- a/src/main/java/com/recurly/v3/resources/CouponDiscount.java +++ b/src/main/java/com/recurly/v3/resources/CouponDiscount.java @@ -37,7 +37,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies This is only present when `type=fixed`. */ + /** + * @param currencies This is only present when `type=fixed`. + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -47,7 +49,9 @@ public Integer getPercent() { return this.percent; } - /** @param percent This is only present when `type=percent`. */ + /** + * @param percent This is only present when `type=percent`. + */ public void setPercent(final Integer percent) { this.percent = percent; } @@ -57,7 +61,9 @@ public CouponDiscountTrial getTrial() { return this.trial; } - /** @param trial This is only present when `type=free_trial`. */ + /** + * @param trial This is only present when `type=free_trial`. + */ public void setTrial(final CouponDiscountTrial trial) { this.trial = trial; } @@ -66,7 +72,9 @@ public Constants.DiscountType getType() { return this.type; } - /** @param type */ + /** + * @param type + */ public void setType(final Constants.DiscountType type) { this.type = type; } diff --git a/src/main/java/com/recurly/v3/resources/CouponDiscountPricing.java b/src/main/java/com/recurly/v3/resources/CouponDiscountPricing.java index a5b415d..e494ffa 100644 --- a/src/main/java/com/recurly/v3/resources/CouponDiscountPricing.java +++ b/src/main/java/com/recurly/v3/resources/CouponDiscountPricing.java @@ -27,7 +27,9 @@ public BigDecimal getAmount() { return this.amount; } - /** @param amount Value of the fixed discount that this coupon applies. */ + /** + * @param amount Value of the fixed discount that this coupon applies. + */ public void setAmount(final BigDecimal amount) { this.amount = amount; } @@ -37,7 +39,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } diff --git a/src/main/java/com/recurly/v3/resources/CouponDiscountTrial.java b/src/main/java/com/recurly/v3/resources/CouponDiscountTrial.java index 3346030..8f0e353 100644 --- a/src/main/java/com/recurly/v3/resources/CouponDiscountTrial.java +++ b/src/main/java/com/recurly/v3/resources/CouponDiscountTrial.java @@ -30,7 +30,9 @@ public Integer getLength() { return this.length; } - /** @param length Trial length measured in the units specified by the sibling `unit` property */ + /** + * @param length Trial length measured in the units specified by the sibling `unit` property + */ public void setLength(final Integer length) { this.length = length; } diff --git a/src/main/java/com/recurly/v3/resources/CouponMini.java b/src/main/java/com/recurly/v3/resources/CouponMini.java index b6621fa..b77e348 100644 --- a/src/main/java/com/recurly/v3/resources/CouponMini.java +++ b/src/main/java/com/recurly/v3/resources/CouponMini.java @@ -64,7 +64,9 @@ public String getCode() { return this.code; } - /** @param code The code the customer enters to redeem the coupon. */ + /** + * @param code The code the customer enters to redeem the coupon. + */ public void setCode(final String code) { this.code = code; } @@ -119,7 +121,9 @@ public String getId() { return this.id; } - /** @param id Coupon ID */ + /** + * @param id Coupon ID + */ public void setId(final String id) { this.id = id; } @@ -129,7 +133,9 @@ public String getName() { return this.name; } - /** @param name The internal name for the coupon. */ + /** + * @param name The internal name for the coupon. + */ public void setName(final String name) { this.name = name; } @@ -139,7 +145,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -149,7 +157,9 @@ public Constants.CouponState getState() { return this.state; } - /** @param state Indicates if the coupon is redeemable, and if it is not, why. */ + /** + * @param state Indicates if the coupon is redeemable, and if it is not, why. + */ public void setState(final Constants.CouponState state) { this.state = state; } diff --git a/src/main/java/com/recurly/v3/resources/CouponRedemption.java b/src/main/java/com/recurly/v3/resources/CouponRedemption.java index cbb7c26..382ecdb 100644 --- a/src/main/java/com/recurly/v3/resources/CouponRedemption.java +++ b/src/main/java/com/recurly/v3/resources/CouponRedemption.java @@ -86,7 +86,9 @@ public AccountMini getAccount() { return this.account; } - /** @param account The Account on which the coupon was applied. */ + /** + * @param account The Account on which the coupon was applied. + */ public void setAccount(final AccountMini account) { this.account = account; } @@ -95,7 +97,9 @@ public Coupon getCoupon() { return this.coupon; } - /** @param coupon */ + /** + * @param coupon + */ public void setCoupon(final Coupon coupon) { this.coupon = coupon; } @@ -105,7 +109,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -115,7 +121,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -140,7 +148,9 @@ public String getId() { return this.id; } - /** @param id Coupon Redemption ID */ + /** + * @param id Coupon Redemption ID + */ public void setId(final String id) { this.id = id; } @@ -150,7 +160,9 @@ public String getObject() { return this.object; } - /** @param object Will always be `coupon`. */ + /** + * @param object Will always be `coupon`. + */ public void setObject(final String object) { this.object = object; } @@ -159,7 +171,9 @@ public CouponRedemptionRemainingDuration getRemainingDuration() { return this.remainingDuration; } - /** @param remainingDuration */ + /** + * @param remainingDuration + */ public void setRemainingDuration(final CouponRedemptionRemainingDuration remainingDuration) { this.remainingDuration = remainingDuration; } @@ -181,7 +195,9 @@ public Constants.ActiveState getState() { return this.state; } - /** @param state Coupon Redemption state */ + /** + * @param state Coupon Redemption state + */ public void setState(final Constants.ActiveState state) { this.state = state; } @@ -191,7 +207,9 @@ public String getSubscriptionId() { return this.subscriptionId; } - /** @param subscriptionId Subscription ID */ + /** + * @param subscriptionId Subscription ID + */ public void setSubscriptionId(final String subscriptionId) { this.subscriptionId = subscriptionId; } @@ -201,7 +219,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/CouponRedemptionMini.java b/src/main/java/com/recurly/v3/resources/CouponRedemptionMini.java index 34e50a2..aa763f3 100644 --- a/src/main/java/com/recurly/v3/resources/CouponRedemptionMini.java +++ b/src/main/java/com/recurly/v3/resources/CouponRedemptionMini.java @@ -53,7 +53,9 @@ public CouponMini getCoupon() { return this.coupon; } - /** @param coupon */ + /** + * @param coupon + */ public void setCoupon(final CouponMini coupon) { this.coupon = coupon; } @@ -63,7 +65,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -88,7 +92,9 @@ public String getId() { return this.id; } - /** @param id Coupon Redemption ID */ + /** + * @param id Coupon Redemption ID + */ public void setId(final String id) { this.id = id; } @@ -98,7 +104,9 @@ public String getObject() { return this.object; } - /** @param object Will always be `coupon`. */ + /** + * @param object Will always be `coupon`. + */ public void setObject(final String object) { this.object = object; } @@ -107,7 +115,9 @@ public CouponRedemptionRemainingDuration getRemainingDuration() { return this.remainingDuration; } - /** @param remainingDuration */ + /** + * @param remainingDuration + */ public void setRemainingDuration(final CouponRedemptionRemainingDuration remainingDuration) { this.remainingDuration = remainingDuration; } @@ -117,7 +127,9 @@ public Constants.ActiveState getState() { return this.state; } - /** @param state Coupon Redemption state */ + /** + * @param state Coupon Redemption state + */ public void setState(final Constants.ActiveState state) { this.state = state; } diff --git a/src/main/java/com/recurly/v3/resources/CreditPayment.java b/src/main/java/com/recurly/v3/resources/CreditPayment.java index e7fa89c..2704897 100644 --- a/src/main/java/com/recurly/v3/resources/CreditPayment.java +++ b/src/main/java/com/recurly/v3/resources/CreditPayment.java @@ -90,7 +90,9 @@ public AccountMini getAccount() { return this.account; } - /** @param account Account mini details */ + /** + * @param account Account mini details + */ public void setAccount(final AccountMini account) { this.account = account; } @@ -100,7 +102,9 @@ public Constants.CreditPaymentAction getAction() { return this.action; } - /** @param action The action for which the credit was created. */ + /** + * @param action The action for which the credit was created. + */ public void setAction(final Constants.CreditPaymentAction action) { this.action = action; } @@ -110,7 +114,9 @@ public BigDecimal getAmount() { return this.amount; } - /** @param amount Total credit payment amount applied to the charge invoice. */ + /** + * @param amount Total credit payment amount applied to the charge invoice. + */ public void setAmount(final BigDecimal amount) { this.amount = amount; } @@ -120,7 +126,9 @@ public InvoiceMini getAppliedToInvoice() { return this.appliedToInvoice; } - /** @param appliedToInvoice Invoice mini details */ + /** + * @param appliedToInvoice Invoice mini details + */ public void setAppliedToInvoice(final InvoiceMini appliedToInvoice) { this.appliedToInvoice = appliedToInvoice; } @@ -130,7 +138,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -140,7 +150,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -150,7 +162,9 @@ public String getId() { return this.id; } - /** @param id Credit Payment ID */ + /** + * @param id Credit Payment ID + */ public void setId(final String id) { this.id = id; } @@ -160,7 +174,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -183,7 +199,9 @@ public InvoiceMini getOriginalInvoice() { return this.originalInvoice; } - /** @param originalInvoice Invoice mini details */ + /** + * @param originalInvoice Invoice mini details + */ public void setOriginalInvoice(final InvoiceMini originalInvoice) { this.originalInvoice = originalInvoice; } @@ -192,7 +210,9 @@ public Transaction getRefundTransaction() { return this.refundTransaction; } - /** @param refundTransaction */ + /** + * @param refundTransaction + */ public void setRefundTransaction(final Transaction refundTransaction) { this.refundTransaction = refundTransaction; } @@ -202,7 +222,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } @@ -227,7 +249,9 @@ public ZonedDateTime getVoidedAt() { return this.voidedAt; } - /** @param voidedAt Voided at */ + /** + * @param voidedAt Voided at + */ public void setVoidedAt(final ZonedDateTime voidedAt) { this.voidedAt = voidedAt; } diff --git a/src/main/java/com/recurly/v3/resources/CustomField.java b/src/main/java/com/recurly/v3/resources/CustomField.java index 0428c51..94ebe5c 100644 --- a/src/main/java/com/recurly/v3/resources/CustomField.java +++ b/src/main/java/com/recurly/v3/resources/CustomField.java @@ -43,7 +43,9 @@ public String getName() { return this.name; } - /** @param name Fields must be created in the UI before values can be assigned to them. */ + /** + * @param name Fields must be created in the UI before values can be assigned to them. + */ public void setName(final String name) { this.name = name; } diff --git a/src/main/java/com/recurly/v3/resources/CustomFieldDefinition.java b/src/main/java/com/recurly/v3/resources/CustomFieldDefinition.java index 4863bec..52a8822 100644 --- a/src/main/java/com/recurly/v3/resources/CustomFieldDefinition.java +++ b/src/main/java/com/recurly/v3/resources/CustomFieldDefinition.java @@ -81,7 +81,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -120,7 +122,9 @@ public String getId() { return this.id; } - /** @param id Custom field definition ID */ + /** + * @param id Custom field definition ID + */ public void setId(final String id) { this.id = id; } @@ -146,7 +150,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -156,7 +162,9 @@ public Constants.RelatedType getRelatedType() { return this.relatedType; } - /** @param relatedType Related Recurly object type */ + /** + * @param relatedType Related Recurly object type + */ public void setRelatedType(final Constants.RelatedType relatedType) { this.relatedType = relatedType; } @@ -166,7 +174,9 @@ public String getTooltip() { return this.tooltip; } - /** @param tooltip Displayed as a tooltip when editing the field in the Recurly admin UI. */ + /** + * @param tooltip Displayed as a tooltip when editing the field in the Recurly admin UI. + */ public void setTooltip(final String tooltip) { this.tooltip = tooltip; } @@ -176,7 +186,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/CustomerPermission.java b/src/main/java/com/recurly/v3/resources/CustomerPermission.java index 67856a9..a039535 100644 --- a/src/main/java/com/recurly/v3/resources/CustomerPermission.java +++ b/src/main/java/com/recurly/v3/resources/CustomerPermission.java @@ -41,7 +41,9 @@ public String getCode() { return this.code; } - /** @param code Customer permission code. */ + /** + * @param code Customer permission code. + */ public void setCode(final String code) { this.code = code; } @@ -51,7 +53,9 @@ public String getDescription() { return this.description; } - /** @param description Description of customer permission. */ + /** + * @param description Description of customer permission. + */ public void setDescription(final String description) { this.description = description; } @@ -61,7 +65,9 @@ public String getId() { return this.id; } - /** @param id Customer permission ID. */ + /** + * @param id Customer permission ID. + */ public void setId(final String id) { this.id = id; } @@ -71,7 +77,9 @@ public String getName() { return this.name; } - /** @param name Customer permission name. */ + /** + * @param name Customer permission name. + */ public void setName(final String name) { this.name = name; } @@ -81,7 +89,9 @@ public String getObject() { return this.object; } - /** @param object It will always be "customer_permission". */ + /** + * @param object It will always be "customer_permission". + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/DunningCampaign.java b/src/main/java/com/recurly/v3/resources/DunningCampaign.java index edb41bb..4c0496a 100644 --- a/src/main/java/com/recurly/v3/resources/DunningCampaign.java +++ b/src/main/java/com/recurly/v3/resources/DunningCampaign.java @@ -70,7 +70,9 @@ public String getCode() { return this.code; } - /** @param code Campaign code. */ + /** + * @param code Campaign code. + */ public void setCode(final String code) { this.code = code; } @@ -80,7 +82,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the current campaign was created in Recurly. */ + /** + * @param createdAt When the current campaign was created in Recurly. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -106,7 +110,9 @@ public ZonedDateTime getDeletedAt() { return this.deletedAt; } - /** @param deletedAt When the current campaign was deleted in Recurly. */ + /** + * @param deletedAt When the current campaign was deleted in Recurly. + */ public void setDeletedAt(final ZonedDateTime deletedAt) { this.deletedAt = deletedAt; } @@ -116,7 +122,9 @@ public String getDescription() { return this.description; } - /** @param description Campaign description. */ + /** + * @param description Campaign description. + */ public void setDescription(final String description) { this.description = description; } @@ -126,7 +134,9 @@ public List getDunningCycles() { return this.dunningCycles; } - /** @param dunningCycles Dunning Cycle settings. */ + /** + * @param dunningCycles Dunning Cycle settings. + */ public void setDunningCycles(final List dunningCycles) { this.dunningCycles = dunningCycles; } @@ -135,7 +145,9 @@ public String getId() { return this.id; } - /** @param id */ + /** + * @param id + */ public void setId(final String id) { this.id = id; } @@ -145,7 +157,9 @@ public String getName() { return this.name; } - /** @param name Campaign name. */ + /** + * @param name Campaign name. + */ public void setName(final String name) { this.name = name; } @@ -155,7 +169,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -165,7 +181,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the current campaign was updated in Recurly. */ + /** + * @param updatedAt When the current campaign was updated in Recurly. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/DunningCampaignsBulkUpdateResponse.java b/src/main/java/com/recurly/v3/resources/DunningCampaignsBulkUpdateResponse.java index ecc28dc..cc82d47 100644 --- a/src/main/java/com/recurly/v3/resources/DunningCampaignsBulkUpdateResponse.java +++ b/src/main/java/com/recurly/v3/resources/DunningCampaignsBulkUpdateResponse.java @@ -27,7 +27,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -37,7 +39,9 @@ public List getPlans() { return this.plans; } - /** @param plans An array containing all of the `Plan` resources that have been updated. */ + /** + * @param plans An array containing all of the `Plan` resources that have been updated. + */ public void setPlans(final List plans) { this.plans = plans; } diff --git a/src/main/java/com/recurly/v3/resources/DunningCycle.java b/src/main/java/com/recurly/v3/resources/DunningCycle.java index 5d0f877..8443271 100644 --- a/src/main/java/com/recurly/v3/resources/DunningCycle.java +++ b/src/main/java/com/recurly/v3/resources/DunningCycle.java @@ -101,7 +101,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the current settings were created in Recurly. */ + /** + * @param createdAt When the current settings were created in Recurly. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -124,7 +126,9 @@ public Boolean getFailInvoice() { return this.failInvoice; } - /** @param failInvoice Whether the invoice should be failed at the end of the dunning cycle. */ + /** + * @param failInvoice Whether the invoice should be failed at the end of the dunning cycle. + */ public void setFailInvoice(final Boolean failInvoice) { this.failInvoice = failInvoice; } @@ -147,7 +151,9 @@ public List getIntervals() { return this.intervals; } - /** @param intervals Dunning intervals. */ + /** + * @param intervals Dunning intervals. + */ public void setIntervals(final List intervals) { this.intervals = intervals; } @@ -202,7 +208,9 @@ public Constants.DunningCycleType getType() { return this.type; } - /** @param type The type of invoice this cycle applies to. */ + /** + * @param type The type of invoice this cycle applies to. + */ public void setType(final Constants.DunningCycleType type) { this.type = type; } @@ -212,7 +220,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the current settings were updated in Recurly. */ + /** + * @param updatedAt When the current settings were updated in Recurly. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } @@ -222,7 +232,9 @@ public Integer getVersion() { return this.version; } - /** @param version Current campaign version. */ + /** + * @param version Current campaign version. + */ public void setVersion(final Integer version) { this.version = version; } diff --git a/src/main/java/com/recurly/v3/resources/DunningInterval.java b/src/main/java/com/recurly/v3/resources/DunningInterval.java index a75af92..645764b 100644 --- a/src/main/java/com/recurly/v3/resources/DunningInterval.java +++ b/src/main/java/com/recurly/v3/resources/DunningInterval.java @@ -26,7 +26,9 @@ public Integer getDays() { return this.days; } - /** @param days Number of days before sending the next email. */ + /** + * @param days Number of days before sending the next email. + */ public void setDays(final Integer days) { this.days = days; } @@ -36,7 +38,9 @@ public String getEmailTemplate() { return this.emailTemplate; } - /** @param emailTemplate Email template being used. */ + /** + * @param emailTemplate Email template being used. + */ public void setEmailTemplate(final String emailTemplate) { this.emailTemplate = emailTemplate; } diff --git a/src/main/java/com/recurly/v3/resources/Entitlement.java b/src/main/java/com/recurly/v3/resources/Entitlement.java index f32f743..a8e596c 100644 --- a/src/main/java/com/recurly/v3/resources/Entitlement.java +++ b/src/main/java/com/recurly/v3/resources/Entitlement.java @@ -42,7 +42,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Time object was created. */ + /** + * @param createdAt Time object was created. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -51,7 +53,9 @@ public CustomerPermission getCustomerPermission() { return this.customerPermission; } - /** @param customerPermission */ + /** + * @param customerPermission + */ public void setCustomerPermission(final CustomerPermission customerPermission) { this.customerPermission = customerPermission; } @@ -61,7 +65,9 @@ public List getGrantedBy() { return this.grantedBy; } - /** @param grantedBy Subscription or item that granted the customer permission. */ + /** + * @param grantedBy Subscription or item that granted the customer permission. + */ public void setGrantedBy(final List grantedBy) { this.grantedBy = grantedBy; } @@ -71,7 +77,9 @@ public String getObject() { return this.object; } - /** @param object Entitlement */ + /** + * @param object Entitlement + */ public void setObject(final String object) { this.object = object; } @@ -81,7 +89,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Time the object was last updated */ + /** + * @param updatedAt Time the object was last updated + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/Entitlements.java b/src/main/java/com/recurly/v3/resources/Entitlements.java index a7cf7e4..e0b80c4 100644 --- a/src/main/java/com/recurly/v3/resources/Entitlements.java +++ b/src/main/java/com/recurly/v3/resources/Entitlements.java @@ -35,7 +35,9 @@ public List getData() { return this.data; } - /** @param data */ + /** + * @param data + */ public void setData(final List data) { this.data = data; } @@ -45,7 +47,9 @@ public Boolean getHasMore() { return this.hasMore; } - /** @param hasMore Indicates there are more results on subsequent pages. */ + /** + * @param hasMore Indicates there are more results on subsequent pages. + */ public void setHasMore(final Boolean hasMore) { this.hasMore = hasMore; } @@ -55,7 +59,9 @@ public String getNext() { return this.next; } - /** @param next Path to subsequent page of results. */ + /** + * @param next Path to subsequent page of results. + */ public void setNext(final String next) { this.next = next; } @@ -65,7 +71,9 @@ public String getObject() { return this.object; } - /** @param object Object Type */ + /** + * @param object Object Type + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/Error.java b/src/main/java/com/recurly/v3/resources/Error.java index 8a125d5..ce8266a 100644 --- a/src/main/java/com/recurly/v3/resources/Error.java +++ b/src/main/java/com/recurly/v3/resources/Error.java @@ -34,7 +34,9 @@ public String getMessage() { return this.message; } - /** @param message Message */ + /** + * @param message Message + */ public void setMessage(final String message) { this.message = message; } @@ -44,7 +46,9 @@ public List getParams() { return this.params; } - /** @param params Parameter specific errors */ + /** + * @param params Parameter specific errors + */ public void setParams(final List params) { this.params = params; } @@ -54,7 +58,9 @@ public Constants.ErrorType getType() { return this.type; } - /** @param type Type */ + /** + * @param type Type + */ public void setType(final Constants.ErrorType type) { this.type = type; } diff --git a/src/main/java/com/recurly/v3/resources/ErrorMayHaveTransaction.java b/src/main/java/com/recurly/v3/resources/ErrorMayHaveTransaction.java index af8e2f6..b23f689 100644 --- a/src/main/java/com/recurly/v3/resources/ErrorMayHaveTransaction.java +++ b/src/main/java/com/recurly/v3/resources/ErrorMayHaveTransaction.java @@ -39,7 +39,9 @@ public String getMessage() { return this.message; } - /** @param message Message */ + /** + * @param message Message + */ public void setMessage(final String message) { this.message = message; } @@ -49,7 +51,9 @@ public List getParams() { return this.params; } - /** @param params Parameter specific errors */ + /** + * @param params Parameter specific errors + */ public void setParams(final List params) { this.params = params; } @@ -59,7 +63,9 @@ public TransactionError getTransactionError() { return this.transactionError; } - /** @param transactionError This is only included on errors with `type=transaction`. */ + /** + * @param transactionError This is only included on errors with `type=transaction`. + */ public void setTransactionError(final TransactionError transactionError) { this.transactionError = transactionError; } @@ -69,7 +75,9 @@ public Constants.ErrorType getType() { return this.type; } - /** @param type Type */ + /** + * @param type Type + */ public void setType(final Constants.ErrorType type) { this.type = type; } diff --git a/src/main/java/com/recurly/v3/resources/ExportDates.java b/src/main/java/com/recurly/v3/resources/ExportDates.java index 6fd329c..7def3ff 100644 --- a/src/main/java/com/recurly/v3/resources/ExportDates.java +++ b/src/main/java/com/recurly/v3/resources/ExportDates.java @@ -27,7 +27,9 @@ public List getDates() { return this.dates; } - /** @param dates An array of dates that have available exports. */ + /** + * @param dates An array of dates that have available exports. + */ public void setDates(final List dates) { this.dates = dates; } @@ -37,7 +39,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/ExportFile.java b/src/main/java/com/recurly/v3/resources/ExportFile.java index 05be7c1..c57616d 100644 --- a/src/main/java/com/recurly/v3/resources/ExportFile.java +++ b/src/main/java/com/recurly/v3/resources/ExportFile.java @@ -31,7 +31,9 @@ public String getHref() { return this.href; } - /** @param href A presigned link to download the export file. */ + /** + * @param href A presigned link to download the export file. + */ public void setHref(final String href) { this.href = href; } @@ -41,7 +43,9 @@ public String getMd5sum() { return this.md5sum; } - /** @param md5sum MD5 hash of the export file. */ + /** + * @param md5sum MD5 hash of the export file. + */ public void setMd5sum(final String md5sum) { this.md5sum = md5sum; } @@ -51,7 +55,9 @@ public String getName() { return this.name; } - /** @param name Name of the export file. */ + /** + * @param name Name of the export file. + */ public void setName(final String name) { this.name = name; } diff --git a/src/main/java/com/recurly/v3/resources/ExportFiles.java b/src/main/java/com/recurly/v3/resources/ExportFiles.java index 802be40..39c0edc 100644 --- a/src/main/java/com/recurly/v3/resources/ExportFiles.java +++ b/src/main/java/com/recurly/v3/resources/ExportFiles.java @@ -25,7 +25,9 @@ public List getFiles() { return this.files; } - /** @param files */ + /** + * @param files + */ public void setFiles(final List files) { this.files = files; } @@ -35,7 +37,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/ExternalAccount.java b/src/main/java/com/recurly/v3/resources/ExternalAccount.java index a47b438..6e7c9a3 100644 --- a/src/main/java/com/recurly/v3/resources/ExternalAccount.java +++ b/src/main/java/com/recurly/v3/resources/ExternalAccount.java @@ -46,7 +46,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -56,7 +58,9 @@ public String getExternalAccountCode() { return this.externalAccountCode; } - /** @param externalAccountCode Represents the account code for the external account. */ + /** + * @param externalAccountCode Represents the account code for the external account. + */ public void setExternalAccountCode(final String externalAccountCode) { this.externalAccountCode = externalAccountCode; } @@ -79,7 +83,9 @@ public String getId() { return this.id; } - /** @param id UUID of the external_account . */ + /** + * @param id UUID of the external_account . + */ public void setId(final String id) { this.id = id; } @@ -88,7 +94,9 @@ public String getObject() { return this.object; } - /** @param object */ + /** + * @param object + */ public void setObject(final String object) { this.object = object; } @@ -98,7 +106,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/ExternalCharge.java b/src/main/java/com/recurly/v3/resources/ExternalCharge.java index fb7b6a3..925df2d 100644 --- a/src/main/java/com/recurly/v3/resources/ExternalCharge.java +++ b/src/main/java/com/recurly/v3/resources/ExternalCharge.java @@ -65,7 +65,9 @@ public AccountMini getAccount() { return this.account; } - /** @param account Account mini details */ + /** + * @param account Account mini details + */ public void setAccount(final AccountMini account) { this.account = account; } @@ -75,7 +77,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the external charge was created in Recurly. */ + /** + * @param createdAt When the external charge was created in Recurly. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -85,7 +89,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -94,7 +100,9 @@ public String getDescription() { return this.description; } - /** @param description */ + /** + * @param description + */ public void setDescription(final String description) { this.description = description; } @@ -104,7 +112,9 @@ public ExternalProductReferenceMini getExternalProductReference() { return this.externalProductReference; } - /** @param externalProductReference External Product Reference details */ + /** + * @param externalProductReference External Product Reference details + */ public void setExternalProductReference( final ExternalProductReferenceMini externalProductReference) { this.externalProductReference = externalProductReference; @@ -127,7 +137,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -136,7 +148,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity */ + /** + * @param quantity + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } @@ -146,7 +160,9 @@ public String getUnitAmount() { return this.unitAmount; } - /** @param unitAmount Unit Amount */ + /** + * @param unitAmount Unit Amount + */ public void setUnitAmount(final String unitAmount) { this.unitAmount = unitAmount; } @@ -156,7 +172,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the external charge was updated in Recurly. */ + /** + * @param updatedAt When the external charge was updated in Recurly. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/ExternalInvoice.java b/src/main/java/com/recurly/v3/resources/ExternalInvoice.java index 75c69b6..8f79fda 100644 --- a/src/main/java/com/recurly/v3/resources/ExternalInvoice.java +++ b/src/main/java/com/recurly/v3/resources/ExternalInvoice.java @@ -80,7 +80,9 @@ public AccountMini getAccount() { return this.account; } - /** @param account Account mini details */ + /** + * @param account Account mini details + */ public void setAccount(final AccountMini account) { this.account = account; } @@ -90,7 +92,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the external invoice was created in Recurly. */ + /** + * @param createdAt When the external invoice was created in Recurly. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -100,7 +104,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -150,7 +156,9 @@ public List getLineItems() { return this.lineItems; } - /** @param lineItems */ + /** + * @param lineItems + */ public void setLineItems(final List lineItems) { this.lineItems = lineItems; } @@ -160,7 +168,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -170,7 +180,9 @@ public ZonedDateTime getPurchasedAt() { return this.purchasedAt; } - /** @param purchasedAt When the invoice was created in the external platform. */ + /** + * @param purchasedAt When the invoice was created in the external platform. + */ public void setPurchasedAt(final ZonedDateTime purchasedAt) { this.purchasedAt = purchasedAt; } @@ -179,7 +191,9 @@ public Constants.ExternalInvoiceState getState() { return this.state; } - /** @param state */ + /** + * @param state + */ public void setState(final Constants.ExternalInvoiceState state) { this.state = state; } @@ -189,7 +203,9 @@ public String getTotal() { return this.total; } - /** @param total Total */ + /** + * @param total Total + */ public void setTotal(final String total) { this.total = total; } @@ -199,7 +215,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the external invoice was updated in Recurly. */ + /** + * @param updatedAt When the external invoice was updated in Recurly. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/ExternalPaymentPhase.java b/src/main/java/com/recurly/v3/resources/ExternalPaymentPhase.java index 9e35782..3f2f24a 100644 --- a/src/main/java/com/recurly/v3/resources/ExternalPaymentPhase.java +++ b/src/main/java/com/recurly/v3/resources/ExternalPaymentPhase.java @@ -87,7 +87,9 @@ public String getAmount() { return this.amount; } - /** @param amount Allows up to 9 decimal places */ + /** + * @param amount Allows up to 9 decimal places + */ public void setAmount(final String amount) { this.amount = amount; } @@ -97,7 +99,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the external subscription was created in Recurly. */ + /** + * @param createdAt When the external subscription was created in Recurly. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -107,7 +111,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -117,7 +123,9 @@ public Integer getEndingBillingPeriodIndex() { return this.endingBillingPeriodIndex; } - /** @param endingBillingPeriodIndex Ending Billing Period Index */ + /** + * @param endingBillingPeriodIndex Ending Billing Period Index + */ public void setEndingBillingPeriodIndex(final Integer endingBillingPeriodIndex) { this.endingBillingPeriodIndex = endingBillingPeriodIndex; } @@ -127,7 +135,9 @@ public ZonedDateTime getEndsAt() { return this.endsAt; } - /** @param endsAt Ends At */ + /** + * @param endsAt Ends At + */ public void setEndsAt(final ZonedDateTime endsAt) { this.endsAt = endsAt; } @@ -150,7 +160,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -160,7 +172,9 @@ public String getOfferName() { return this.offerName; } - /** @param offerName Name of the discount offer given, e.g. "introductory" */ + /** + * @param offerName Name of the discount offer given, e.g. "introductory" + */ public void setOfferName(final String offerName) { this.offerName = offerName; } @@ -170,7 +184,9 @@ public String getOfferType() { return this.offerType; } - /** @param offerType Type of discount offer given, e.g. "FREE_TRIAL" */ + /** + * @param offerType Type of discount offer given, e.g. "FREE_TRIAL" + */ public void setOfferType(final String offerType) { this.offerType = offerType; } @@ -180,7 +196,9 @@ public Integer getPeriodCount() { return this.periodCount; } - /** @param periodCount Number of billing periods */ + /** + * @param periodCount Number of billing periods + */ public void setPeriodCount(final Integer periodCount) { this.periodCount = periodCount; } @@ -190,7 +208,9 @@ public String getPeriodLength() { return this.periodLength; } - /** @param periodLength Billing cycle length */ + /** + * @param periodLength Billing cycle length + */ public void setPeriodLength(final String periodLength) { this.periodLength = periodLength; } @@ -200,7 +220,9 @@ public ZonedDateTime getStartedAt() { return this.startedAt; } - /** @param startedAt Started At */ + /** + * @param startedAt Started At + */ public void setStartedAt(final ZonedDateTime startedAt) { this.startedAt = startedAt; } @@ -210,7 +232,9 @@ public Integer getStartingBillingPeriodIndex() { return this.startingBillingPeriodIndex; } - /** @param startingBillingPeriodIndex Starting Billing Period Index */ + /** + * @param startingBillingPeriodIndex Starting Billing Period Index + */ public void setStartingBillingPeriodIndex(final Integer startingBillingPeriodIndex) { this.startingBillingPeriodIndex = startingBillingPeriodIndex; } @@ -220,7 +244,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the external subscription was updated in Recurly. */ + /** + * @param updatedAt When the external subscription was updated in Recurly. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/ExternalProduct.java b/src/main/java/com/recurly/v3/resources/ExternalProduct.java index 4255fcf..1a35d4b 100644 --- a/src/main/java/com/recurly/v3/resources/ExternalProduct.java +++ b/src/main/java/com/recurly/v3/resources/ExternalProduct.java @@ -53,7 +53,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the external product was created in Recurly. */ + /** + * @param createdAt When the external product was created in Recurly. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -88,7 +90,9 @@ public String getName() { return this.name; } - /** @param name Name to identify the external product in Recurly. */ + /** + * @param name Name to identify the external product in Recurly. + */ public void setName(final String name) { this.name = name; } @@ -98,7 +102,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -108,7 +114,9 @@ public PlanMini getPlan() { return this.plan; } - /** @param plan Just the important parts. */ + /** + * @param plan Just the important parts. + */ public void setPlan(final PlanMini plan) { this.plan = plan; } @@ -118,7 +126,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the external product was updated in Recurly. */ + /** + * @param updatedAt When the external product was updated in Recurly. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/ExternalProductReferenceCollection.java b/src/main/java/com/recurly/v3/resources/ExternalProductReferenceCollection.java index 48ff69c..11f2437 100644 --- a/src/main/java/com/recurly/v3/resources/ExternalProductReferenceCollection.java +++ b/src/main/java/com/recurly/v3/resources/ExternalProductReferenceCollection.java @@ -35,7 +35,9 @@ public List getData() { return this.data; } - /** @param data */ + /** + * @param data + */ public void setData(final List data) { this.data = data; } @@ -45,7 +47,9 @@ public Boolean getHasMore() { return this.hasMore; } - /** @param hasMore Indicates there are more results on subsequent pages. */ + /** + * @param hasMore Indicates there are more results on subsequent pages. + */ public void setHasMore(final Boolean hasMore) { this.hasMore = hasMore; } @@ -55,7 +59,9 @@ public String getNext() { return this.next; } - /** @param next Path to subsequent page of results. */ + /** + * @param next Path to subsequent page of results. + */ public void setNext(final String next) { this.next = next; } @@ -65,7 +71,9 @@ public String getObject() { return this.object; } - /** @param object Will always be List. */ + /** + * @param object Will always be List. + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/ExternalProductReferenceMini.java b/src/main/java/com/recurly/v3/resources/ExternalProductReferenceMini.java index 6fb05b5..cf73f5b 100644 --- a/src/main/java/com/recurly/v3/resources/ExternalProductReferenceMini.java +++ b/src/main/java/com/recurly/v3/resources/ExternalProductReferenceMini.java @@ -50,7 +50,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the external product was created in Recurly. */ + /** + * @param createdAt When the external product was created in Recurly. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -60,7 +62,9 @@ public String getExternalConnectionType() { return this.externalConnectionType; } - /** @param externalConnectionType Source connection platform. */ + /** + * @param externalConnectionType Source connection platform. + */ public void setExternalConnectionType(final String externalConnectionType) { this.externalConnectionType = externalConnectionType; } @@ -82,7 +86,9 @@ public String getObject() { return this.object; } - /** @param object object */ + /** + * @param object object + */ public void setObject(final String object) { this.object = object; } @@ -108,7 +114,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the external product was updated in Recurly. */ + /** + * @param updatedAt When the external product was updated in Recurly. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/ExternalSubscription.java b/src/main/java/com/recurly/v3/resources/ExternalSubscription.java index caebc50..39667a5 100644 --- a/src/main/java/com/recurly/v3/resources/ExternalSubscription.java +++ b/src/main/java/com/recurly/v3/resources/ExternalSubscription.java @@ -144,7 +144,9 @@ public AccountMini getAccount() { return this.account; } - /** @param account Account mini details */ + /** + * @param account Account mini details + */ public void setAccount(final AccountMini account) { this.account = account; } @@ -154,7 +156,9 @@ public ZonedDateTime getActivatedAt() { return this.activatedAt; } - /** @param activatedAt When the external subscription was activated in the external platform. */ + /** + * @param activatedAt When the external subscription was activated in the external platform. + */ public void setActivatedAt(final ZonedDateTime activatedAt) { this.activatedAt = activatedAt; } @@ -164,7 +168,9 @@ public String getAppIdentifier() { return this.appIdentifier; } - /** @param appIdentifier Identifier of the app that generated the external subscription. */ + /** + * @param appIdentifier Identifier of the app that generated the external subscription. + */ public void setAppIdentifier(final String appIdentifier) { this.appIdentifier = appIdentifier; } @@ -190,7 +196,9 @@ public ZonedDateTime getCanceledAt() { return this.canceledAt; } - /** @param canceledAt When the external subscription was canceled in the external platform. */ + /** + * @param canceledAt When the external subscription was canceled in the external platform. + */ public void setCanceledAt(final ZonedDateTime canceledAt) { this.canceledAt = canceledAt; } @@ -200,7 +208,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the external subscription was created in Recurly. */ + /** + * @param createdAt When the external subscription was created in Recurly. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -210,7 +220,9 @@ public ZonedDateTime getExpiresAt() { return this.expiresAt; } - /** @param expiresAt When the external subscription expires in the external platform. */ + /** + * @param expiresAt When the external subscription expires in the external platform. + */ public void setExpiresAt(final ZonedDateTime expiresAt) { this.expiresAt = expiresAt; } @@ -235,7 +247,9 @@ public List getExternalPaymentPhases() { return this.externalPaymentPhases; } - /** @param externalPaymentPhases The phases of the external subscription payment lifecycle. */ + /** + * @param externalPaymentPhases The phases of the external subscription payment lifecycle. + */ public void setExternalPaymentPhases(final List externalPaymentPhases) { this.externalPaymentPhases = externalPaymentPhases; } @@ -245,7 +259,9 @@ public ExternalProductReferenceMini getExternalProductReference() { return this.externalProductReference; } - /** @param externalProductReference External Product Reference details */ + /** + * @param externalProductReference External Product Reference details + */ public void setExternalProductReference( final ExternalProductReferenceMini externalProductReference) { this.externalProductReference = externalProductReference; @@ -314,7 +330,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -324,7 +342,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity An indication of the quantity of a subscribed item's quantity. */ + /** + * @param quantity An indication of the quantity of a subscribed item's quantity. + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } @@ -390,7 +410,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the external subscription was updated in Recurly. */ + /** + * @param updatedAt When the external subscription was updated in Recurly. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } @@ -400,7 +422,9 @@ public String getUuid() { return this.uuid; } - /** @param uuid Universally Unique Identifier created automatically. */ + /** + * @param uuid Universally Unique Identifier created automatically. + */ public void setUuid(final String uuid) { this.uuid = uuid; } diff --git a/src/main/java/com/recurly/v3/resources/FraudInfo.java b/src/main/java/com/recurly/v3/resources/FraudInfo.java index f46ab4d..4ffe449 100644 --- a/src/main/java/com/recurly/v3/resources/FraudInfo.java +++ b/src/main/java/com/recurly/v3/resources/FraudInfo.java @@ -33,7 +33,9 @@ public Constants.KountDecision getDecision() { return this.decision; } - /** @param decision Kount decision */ + /** + * @param decision Kount decision + */ public void setDecision(final Constants.KountDecision decision) { this.decision = decision; } @@ -43,7 +45,9 @@ public Map getRiskRulesTriggered() { return this.riskRulesTriggered; } - /** @param riskRulesTriggered Kount rules */ + /** + * @param riskRulesTriggered Kount rules + */ public void setRiskRulesTriggered(final Map riskRulesTriggered) { this.riskRulesTriggered = riskRulesTriggered; } @@ -53,7 +57,9 @@ public Integer getScore() { return this.score; } - /** @param score Kount score */ + /** + * @param score Kount score + */ public void setScore(final Integer score) { this.score = score; } diff --git a/src/main/java/com/recurly/v3/resources/FraudRiskRule.java b/src/main/java/com/recurly/v3/resources/FraudRiskRule.java index adccb21..357ed63 100644 --- a/src/main/java/com/recurly/v3/resources/FraudRiskRule.java +++ b/src/main/java/com/recurly/v3/resources/FraudRiskRule.java @@ -26,7 +26,9 @@ public String getCode() { return this.code; } - /** @param code The Kount rule number. */ + /** + * @param code The Kount rule number. + */ public void setCode(final String code) { this.code = code; } @@ -36,7 +38,9 @@ public String getMessage() { return this.message; } - /** @param message Description of why the rule was triggered */ + /** + * @param message Description of why the rule was triggered + */ public void setMessage(final String message) { this.message = message; } diff --git a/src/main/java/com/recurly/v3/resources/GeneralLedgerAccount.java b/src/main/java/com/recurly/v3/resources/GeneralLedgerAccount.java index 4b31fff..b3599f5 100644 --- a/src/main/java/com/recurly/v3/resources/GeneralLedgerAccount.java +++ b/src/main/java/com/recurly/v3/resources/GeneralLedgerAccount.java @@ -57,7 +57,9 @@ public Constants.GeneralLedgerAccountType getAccountType() { return this.accountType; } - /** @param accountType */ + /** + * @param accountType + */ public void setAccountType(final Constants.GeneralLedgerAccountType accountType) { this.accountType = accountType; } @@ -83,7 +85,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -93,7 +97,9 @@ public String getDescription() { return this.description; } - /** @param description Optional description. */ + /** + * @param description Optional description. + */ public void setDescription(final String description) { this.description = description; } @@ -119,7 +125,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -129,7 +137,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/GiftCard.java b/src/main/java/com/recurly/v3/resources/GiftCard.java index d6883b5..2918bb1 100644 --- a/src/main/java/com/recurly/v3/resources/GiftCard.java +++ b/src/main/java/com/recurly/v3/resources/GiftCard.java @@ -166,7 +166,9 @@ public ZonedDateTime getCanceledAt() { return this.canceledAt; } - /** @param canceledAt When the gift card was canceled. */ + /** + * @param canceledAt When the gift card was canceled. + */ public void setCanceledAt(final ZonedDateTime canceledAt) { this.canceledAt = canceledAt; } @@ -176,7 +178,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -186,7 +190,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -214,7 +220,9 @@ public GiftCardDelivery getDelivery() { return this.delivery; } - /** @param delivery The delivery details for the gift card. */ + /** + * @param delivery The delivery details for the gift card. + */ public void setDelivery(final GiftCardDelivery delivery) { this.delivery = delivery; } @@ -224,7 +232,9 @@ public String getGifterAccountId() { return this.gifterAccountId; } - /** @param gifterAccountId The ID of the account that purchased the gift card. */ + /** + * @param gifterAccountId The ID of the account that purchased the gift card. + */ public void setGifterAccountId(final String gifterAccountId) { this.gifterAccountId = gifterAccountId; } @@ -234,7 +244,9 @@ public String getId() { return this.id; } - /** @param id Gift card ID */ + /** + * @param id Gift card ID + */ public void setId(final String id) { this.id = id; } @@ -261,7 +273,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -288,7 +302,9 @@ public String getProductCode() { return this.productCode; } - /** @param productCode The product code or SKU of the gift card product. */ + /** + * @param productCode The product code or SKU of the gift card product. + */ public void setProductCode(final String productCode) { this.productCode = productCode; } @@ -326,7 +342,9 @@ public ZonedDateTime getRedeemedAt() { return this.redeemedAt; } - /** @param redeemedAt When the gift card was redeemed by the recipient. */ + /** + * @param redeemedAt When the gift card was redeemed by the recipient. + */ public void setRedeemedAt(final ZonedDateTime redeemedAt) { this.redeemedAt = redeemedAt; } @@ -404,7 +422,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/GiftCardDelivery.java b/src/main/java/com/recurly/v3/resources/GiftCardDelivery.java index 12f197e..6e0f21a 100644 --- a/src/main/java/com/recurly/v3/resources/GiftCardDelivery.java +++ b/src/main/java/com/recurly/v3/resources/GiftCardDelivery.java @@ -80,7 +80,9 @@ public String getEmailAddress() { return this.emailAddress; } - /** @param emailAddress The email address of the recipient. */ + /** + * @param emailAddress The email address of the recipient. + */ public void setEmailAddress(final String emailAddress) { this.emailAddress = emailAddress; } @@ -90,7 +92,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName The first name of the recipient. */ + /** + * @param firstName The first name of the recipient. + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -113,7 +117,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName The last name of the recipient. */ + /** + * @param lastName The last name of the recipient. + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -123,7 +129,9 @@ public Constants.DeliveryMethod getMethod() { return this.method; } - /** @param method Whether the delivery method is email or postal service. */ + /** + * @param method Whether the delivery method is email or postal service. + */ public void setMethod(final Constants.DeliveryMethod method) { this.method = method; } @@ -133,7 +141,9 @@ public String getPersonalMessage() { return this.personalMessage; } - /** @param personalMessage The personal message from the gifter to the recipient. */ + /** + * @param personalMessage The personal message from the gifter to the recipient. + */ public void setPersonalMessage(final String personalMessage) { this.personalMessage = personalMessage; } @@ -143,7 +153,9 @@ public Address getRecipientAddress() { return this.recipientAddress; } - /** @param recipientAddress Address information for the recipient. */ + /** + * @param recipientAddress Address information for the recipient. + */ public void setRecipientAddress(final Address recipientAddress) { this.recipientAddress = recipientAddress; } diff --git a/src/main/java/com/recurly/v3/resources/GrantedBy.java b/src/main/java/com/recurly/v3/resources/GrantedBy.java index ecc995f..678292a 100644 --- a/src/main/java/com/recurly/v3/resources/GrantedBy.java +++ b/src/main/java/com/recurly/v3/resources/GrantedBy.java @@ -43,7 +43,9 @@ public String getObject() { return this.object; } - /** @param object Object Type */ + /** + * @param object Object Type + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/Invoice.java b/src/main/java/com/recurly/v3/resources/Invoice.java index 0e973f0..05aef9a 100644 --- a/src/main/java/com/recurly/v3/resources/Invoice.java +++ b/src/main/java/com/recurly/v3/resources/Invoice.java @@ -336,7 +336,9 @@ public AccountMini getAccount() { return this.account; } - /** @param account Account mini details */ + /** + * @param account Account mini details + */ public void setAccount(final AccountMini account) { this.account = account; } @@ -345,7 +347,9 @@ public InvoiceAddress getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final InvoiceAddress address) { this.address = address; } @@ -355,7 +359,9 @@ public BigDecimal getBalance() { return this.balance; } - /** @param balance The outstanding balance remaining on this invoice. */ + /** + * @param balance The outstanding balance remaining on this invoice. + */ public void setBalance(final BigDecimal balance) { this.balance = balance; } @@ -401,7 +407,9 @@ public ZonedDateTime getClosedAt() { return this.closedAt; } - /** @param closedAt Date invoice was marked paid or failed. */ + /** + * @param closedAt Date invoice was marked paid or failed. + */ public void setClosedAt(final ZonedDateTime closedAt) { this.closedAt = closedAt; } @@ -433,7 +441,9 @@ public List getCouponRedemptions() { return this.couponRedemptions; } - /** @param couponRedemptions The coupon redemptions applied to this invoice. */ + /** + * @param couponRedemptions The coupon redemptions applied to this invoice. + */ public void setCouponRedemptions(final List couponRedemptions) { this.couponRedemptions = couponRedemptions; } @@ -443,7 +453,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -453,7 +465,9 @@ public List getCreditPayments() { return this.creditPayments; } - /** @param creditPayments Credit payments */ + /** + * @param creditPayments Credit payments + */ public void setCreditPayments(final List creditPayments) { this.creditPayments = creditPayments; } @@ -463,7 +477,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -506,7 +522,9 @@ public BigDecimal getDiscount() { return this.discount; } - /** @param discount Total discounts applied to this invoice. */ + /** + * @param discount Total discounts applied to this invoice. + */ public void setDiscount(final BigDecimal discount) { this.discount = discount; } @@ -516,7 +534,9 @@ public ZonedDateTime getDueAt() { return this.dueAt; } - /** @param dueAt Date invoice is due. This is the date the net terms are reached. */ + /** + * @param dueAt Date invoice is due. This is the date the net terms are reached. + */ public void setDueAt(final ZonedDateTime dueAt) { this.dueAt = dueAt; } @@ -543,7 +563,9 @@ public Integer getDunningEventsSent() { return this.dunningEventsSent; } - /** @param dunningEventsSent Number of times the event was sent. */ + /** + * @param dunningEventsSent Number of times the event was sent. + */ public void setDunningEventsSent(final Integer dunningEventsSent) { this.dunningEventsSent = dunningEventsSent; } @@ -553,7 +575,9 @@ public Boolean getFinalDunningEvent() { return this.finalDunningEvent; } - /** @param finalDunningEvent Last communication attempt. */ + /** + * @param finalDunningEvent Last communication attempt. + */ public void setFinalDunningEvent(final Boolean finalDunningEvent) { this.finalDunningEvent = finalDunningEvent; } @@ -581,7 +605,9 @@ public String getId() { return this.id; } - /** @param id Invoice ID */ + /** + * @param id Invoice ID + */ public void setId(final String id) { this.id = id; } @@ -591,7 +617,9 @@ public List getLineItems() { return this.lineItems; } - /** @param lineItems Line Items */ + /** + * @param lineItems Line Items + */ public void setLineItems(final List lineItems) { this.lineItems = lineItems; } @@ -688,7 +716,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -698,7 +728,9 @@ public Constants.Origin getOrigin() { return this.origin; } - /** @param origin The event that created the invoice. */ + /** + * @param origin The event that created the invoice. + */ public void setOrigin(final Constants.Origin origin) { this.origin = origin; } @@ -708,7 +740,9 @@ public BigDecimal getPaid() { return this.paid; } - /** @param paid The total amount of successful payments transaction on this invoice. */ + /** + * @param paid The total amount of successful payments transaction on this invoice. + */ public void setPaid(final BigDecimal paid) { this.paid = paid; } @@ -755,7 +789,9 @@ public ReferenceOnlyCurrencyConversion getReferenceOnlyCurrencyConversion() { return this.referenceOnlyCurrencyConversion; } - /** @param referenceOnlyCurrencyConversion Reference Only Currency Conversion */ + /** + * @param referenceOnlyCurrencyConversion Reference Only Currency Conversion + */ public void setReferenceOnlyCurrencyConversion( final ReferenceOnlyCurrencyConversion referenceOnlyCurrencyConversion) { this.referenceOnlyCurrencyConversion = referenceOnlyCurrencyConversion; @@ -778,7 +814,9 @@ public ShippingAddress getShippingAddress() { return this.shippingAddress; } - /** @param shippingAddress */ + /** + * @param shippingAddress + */ public void setShippingAddress(final ShippingAddress shippingAddress) { this.shippingAddress = shippingAddress; } @@ -788,7 +826,9 @@ public Constants.InvoiceState getState() { return this.state; } - /** @param state Invoice state */ + /** + * @param state Invoice state + */ public void setState(final Constants.InvoiceState state) { this.state = state; } @@ -811,7 +851,9 @@ public BigDecimal getSubtotal() { return this.subtotal; } - /** @param subtotal The summation of charges and credits, before discounts and taxes. */ + /** + * @param subtotal The summation of charges and credits, before discounts and taxes. + */ public void setSubtotal(final BigDecimal subtotal) { this.subtotal = subtotal; } @@ -821,7 +863,9 @@ public BigDecimal getSubtotalAfterDiscount() { return this.subtotalAfterDiscount; } - /** @param subtotalAfterDiscount The summation of charges and credits, after discounts applied. */ + /** + * @param subtotalAfterDiscount The summation of charges and credits, after discounts applied. + */ public void setSubtotalAfterDiscount(final BigDecimal subtotalAfterDiscount) { this.subtotalAfterDiscount = subtotalAfterDiscount; } @@ -831,7 +875,9 @@ public BigDecimal getTax() { return this.tax; } - /** @param tax The total tax on this invoice. */ + /** + * @param tax The total tax on this invoice. + */ public void setTax(final BigDecimal tax) { this.tax = tax; } @@ -841,7 +887,9 @@ public TaxInfo getTaxInfo() { return this.taxInfo; } - /** @param taxInfo Only for merchants using Recurly's In-The-Box taxes. */ + /** + * @param taxInfo Only for merchants using Recurly's In-The-Box taxes. + */ public void setTaxInfo(final TaxInfo taxInfo) { this.taxInfo = taxInfo; } @@ -883,7 +931,9 @@ public List getTransactions() { return this.transactions; } - /** @param transactions Transactions */ + /** + * @param transactions Transactions + */ public void setTransactions(final List transactions) { this.transactions = transactions; } @@ -893,7 +943,9 @@ public Constants.InvoiceType getType() { return this.type; } - /** @param type Invoices are either charge, credit, or legacy invoices. */ + /** + * @param type Invoices are either charge, credit, or legacy invoices. + */ public void setType(final Constants.InvoiceType type) { this.type = type; } @@ -903,7 +955,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } @@ -932,7 +986,9 @@ public String getUuid() { return this.uuid; } - /** @param uuid Invoice UUID */ + /** + * @param uuid Invoice UUID + */ public void setUuid(final String uuid) { this.uuid = uuid; } diff --git a/src/main/java/com/recurly/v3/resources/InvoiceAddress.java b/src/main/java/com/recurly/v3/resources/InvoiceAddress.java index 7bccea7..841a4f3 100644 --- a/src/main/java/com/recurly/v3/resources/InvoiceAddress.java +++ b/src/main/java/com/recurly/v3/resources/InvoiceAddress.java @@ -79,7 +79,9 @@ public String getCity() { return this.city; } - /** @param city City */ + /** + * @param city City + */ public void setCity(final String city) { this.city = city; } @@ -89,7 +91,9 @@ public String getCompany() { return this.company; } - /** @param company Company */ + /** + * @param company Company + */ public void setCompany(final String company) { this.company = company; } @@ -99,7 +103,9 @@ public String getCountry() { return this.country; } - /** @param country Country, 2-letter ISO 3166-1 alpha-2 code. */ + /** + * @param country Country, 2-letter ISO 3166-1 alpha-2 code. + */ public void setCountry(final String country) { this.country = country; } @@ -109,7 +115,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName First name */ + /** + * @param firstName First name + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -135,7 +143,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName Last name */ + /** + * @param lastName Last name + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -145,7 +155,9 @@ public String getNameOnAccount() { return this.nameOnAccount; } - /** @param nameOnAccount Name on account */ + /** + * @param nameOnAccount Name on account + */ public void setNameOnAccount(final String nameOnAccount) { this.nameOnAccount = nameOnAccount; } @@ -155,7 +167,9 @@ public String getPhone() { return this.phone; } - /** @param phone Phone number */ + /** + * @param phone Phone number + */ public void setPhone(final String phone) { this.phone = phone; } @@ -165,7 +179,9 @@ public String getPostalCode() { return this.postalCode; } - /** @param postalCode Zip or postal code. */ + /** + * @param postalCode Zip or postal code. + */ public void setPostalCode(final String postalCode) { this.postalCode = postalCode; } @@ -175,7 +191,9 @@ public String getRegion() { return this.region; } - /** @param region State or province. */ + /** + * @param region State or province. + */ public void setRegion(final String region) { this.region = region; } @@ -185,7 +203,9 @@ public String getStreet1() { return this.street1; } - /** @param street1 Street 1 */ + /** + * @param street1 Street 1 + */ public void setStreet1(final String street1) { this.street1 = street1; } @@ -195,7 +215,9 @@ public String getStreet2() { return this.street2; } - /** @param street2 Street 2 */ + /** + * @param street2 Street 2 + */ public void setStreet2(final String street2) { this.street2 = street2; } diff --git a/src/main/java/com/recurly/v3/resources/InvoiceCollection.java b/src/main/java/com/recurly/v3/resources/InvoiceCollection.java index fe93953..d1f01f9 100644 --- a/src/main/java/com/recurly/v3/resources/InvoiceCollection.java +++ b/src/main/java/com/recurly/v3/resources/InvoiceCollection.java @@ -35,7 +35,9 @@ public Invoice getChargeInvoice() { return this.chargeInvoice; } - /** @param chargeInvoice */ + /** + * @param chargeInvoice + */ public void setChargeInvoice(final Invoice chargeInvoice) { this.chargeInvoice = chargeInvoice; } @@ -45,7 +47,9 @@ public List getCreditInvoices() { return this.creditInvoices; } - /** @param creditInvoices Credit invoices */ + /** + * @param creditInvoices Credit invoices + */ public void setCreditInvoices(final List creditInvoices) { this.creditInvoices = creditInvoices; } @@ -55,7 +59,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/InvoiceMini.java b/src/main/java/com/recurly/v3/resources/InvoiceMini.java index 8f0ff05..9e14d3d 100644 --- a/src/main/java/com/recurly/v3/resources/InvoiceMini.java +++ b/src/main/java/com/recurly/v3/resources/InvoiceMini.java @@ -66,7 +66,9 @@ public String getId() { return this.id; } - /** @param id Invoice ID */ + /** + * @param id Invoice ID + */ public void setId(final String id) { this.id = id; } @@ -76,7 +78,9 @@ public String getNumber() { return this.number; } - /** @param number Invoice number */ + /** + * @param number Invoice number + */ public void setNumber(final String number) { this.number = number; } @@ -86,7 +90,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -96,7 +102,9 @@ public Constants.InvoiceState getState() { return this.state; } - /** @param state Invoice state */ + /** + * @param state Invoice state + */ public void setState(final Constants.InvoiceState state) { this.state = state; } @@ -106,7 +114,9 @@ public Constants.InvoiceType getType() { return this.type; } - /** @param type Invoice type */ + /** + * @param type Invoice type + */ public void setType(final Constants.InvoiceType type) { this.type = type; } diff --git a/src/main/java/com/recurly/v3/resources/InvoiceTemplate.java b/src/main/java/com/recurly/v3/resources/InvoiceTemplate.java index 85d9344..768205f 100644 --- a/src/main/java/com/recurly/v3/resources/InvoiceTemplate.java +++ b/src/main/java/com/recurly/v3/resources/InvoiceTemplate.java @@ -46,7 +46,9 @@ public String getCode() { return this.code; } - /** @param code Invoice template code. */ + /** + * @param code Invoice template code. + */ public void setCode(final String code) { this.code = code; } @@ -56,7 +58,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the invoice template was created in Recurly. */ + /** + * @param createdAt When the invoice template was created in Recurly. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -66,7 +70,9 @@ public String getDescription() { return this.description; } - /** @param description Invoice template description. */ + /** + * @param description Invoice template description. + */ public void setDescription(final String description) { this.description = description; } @@ -75,7 +81,9 @@ public String getId() { return this.id; } - /** @param id */ + /** + * @param id + */ public void setId(final String id) { this.id = id; } @@ -85,7 +93,9 @@ public String getName() { return this.name; } - /** @param name Invoice template name. */ + /** + * @param name Invoice template name. + */ public void setName(final String name) { this.name = name; } @@ -95,7 +105,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the invoice template was updated in Recurly. */ + /** + * @param updatedAt When the invoice template was updated in Recurly. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/Item.java b/src/main/java/com/recurly/v3/resources/Item.java index b52bc74..5e66cd0 100644 --- a/src/main/java/com/recurly/v3/resources/Item.java +++ b/src/main/java/com/recurly/v3/resources/Item.java @@ -166,7 +166,9 @@ public String getAccountingCode() { return this.accountingCode; } - /** @param accountingCode Accounting code for invoice line items. */ + /** + * @param accountingCode Accounting code for invoice line items. + */ public void setAccountingCode(final String accountingCode) { this.accountingCode = accountingCode; } @@ -216,7 +218,9 @@ public String getCode() { return this.code; } - /** @param code Unique code to identify the item. */ + /** + * @param code Unique code to identify the item. + */ public void setCode(final String code) { this.code = code; } @@ -226,7 +230,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -236,7 +242,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies Item Pricing */ + /** + * @param currencies Item Pricing + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -264,7 +272,9 @@ public ZonedDateTime getDeletedAt() { return this.deletedAt; } - /** @param deletedAt Deleted at */ + /** + * @param deletedAt Deleted at + */ public void setDeletedAt(final ZonedDateTime deletedAt) { this.deletedAt = deletedAt; } @@ -274,7 +284,9 @@ public String getDescription() { return this.description; } - /** @param description Optional, description. */ + /** + * @param description Optional, description. + */ public void setDescription(final String description) { this.description = description; } @@ -318,7 +330,9 @@ public String getId() { return this.id; } - /** @param id Item ID */ + /** + * @param id Item ID + */ public void setId(final String id) { this.id = id; } @@ -361,7 +375,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -404,7 +420,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -414,7 +432,9 @@ public Constants.ActiveState getState() { return this.state; } - /** @param state The current state of the item. */ + /** + * @param state The current state of the item. + */ public void setState(final Constants.ActiveState state) { this.state = state; } @@ -444,7 +464,9 @@ public Boolean getTaxExempt() { return this.taxExempt; } - /** @param taxExempt `true` exempts tax on the item, `false` applies tax on the item. */ + /** + * @param taxExempt `true` exempts tax on the item, `false` applies tax on the item. + */ public void setTaxExempt(final Boolean taxExempt) { this.taxExempt = taxExempt; } @@ -454,7 +476,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/ItemMini.java b/src/main/java/com/recurly/v3/resources/ItemMini.java index aa7fbb5..95d2b82 100644 --- a/src/main/java/com/recurly/v3/resources/ItemMini.java +++ b/src/main/java/com/recurly/v3/resources/ItemMini.java @@ -50,7 +50,9 @@ public String getCode() { return this.code; } - /** @param code Unique code to identify the item. */ + /** + * @param code Unique code to identify the item. + */ public void setCode(final String code) { this.code = code; } @@ -60,7 +62,9 @@ public String getDescription() { return this.description; } - /** @param description Optional, description. */ + /** + * @param description Optional, description. + */ public void setDescription(final String description) { this.description = description; } @@ -70,7 +74,9 @@ public String getId() { return this.id; } - /** @param id Item ID */ + /** + * @param id Item ID + */ public void setId(final String id) { this.id = id; } @@ -96,7 +102,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -106,7 +114,9 @@ public Constants.ActiveState getState() { return this.state; } - /** @param state The current state of the item. */ + /** + * @param state The current state of the item. + */ public void setState(final Constants.ActiveState state) { this.state = state; } diff --git a/src/main/java/com/recurly/v3/resources/LineItem.java b/src/main/java/com/recurly/v3/resources/LineItem.java index 654226c..b832cca 100644 --- a/src/main/java/com/recurly/v3/resources/LineItem.java +++ b/src/main/java/com/recurly/v3/resources/LineItem.java @@ -438,7 +438,9 @@ public AccountMini getAccount() { return this.account; } - /** @param account Account mini details */ + /** + * @param account Account mini details + */ public void setAccount(final AccountMini account) { this.account = account; } @@ -468,7 +470,9 @@ public String getAddOnCode() { return this.addOnCode; } - /** @param addOnCode If the line item is a charge or credit for an add-on, this is its code. */ + /** + * @param addOnCode If the line item is a charge or credit for an add-on, this is its code. + */ public void setAddOnCode(final String addOnCode) { this.addOnCode = addOnCode; } @@ -478,7 +482,9 @@ public String getAddOnId() { return this.addOnId; } - /** @param addOnId If the line item is a charge or credit for an add-on this is its ID. */ + /** + * @param addOnId If the line item is a charge or credit for an add-on this is its ID. + */ public void setAddOnId(final String addOnId) { this.addOnId = addOnId; } @@ -488,7 +494,9 @@ public BigDecimal getAmount() { return this.amount; } - /** @param amount `(quantity * unit_amount) - discount + tax` */ + /** + * @param amount `(quantity * unit_amount) - discount + tax` + */ public void setAmount(final BigDecimal amount) { this.amount = amount; } @@ -538,7 +546,9 @@ public String getBillForAccountId() { return this.billForAccountId; } - /** @param billForAccountId The UUID of the account responsible for originating the line item. */ + /** + * @param billForAccountId The UUID of the account responsible for originating the line item. + */ public void setBillForAccountId(final String billForAccountId) { this.billForAccountId = billForAccountId; } @@ -548,7 +558,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the line item was created. */ + /** + * @param createdAt When the line item was created. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -570,7 +582,9 @@ public Constants.FullCreditReasonCode getCreditReasonCode() { return this.creditReasonCode; } - /** @param creditReasonCode The reason the credit was given when line item is `type=credit`. */ + /** + * @param creditReasonCode The reason the credit was given when line item is `type=credit`. + */ public void setCreditReasonCode(final Constants.FullCreditReasonCode creditReasonCode) { this.creditReasonCode = creditReasonCode; } @@ -580,7 +594,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -644,7 +660,9 @@ public BigDecimal getDiscount() { return this.discount; } - /** @param discount The sum of all discounts applied to the line item. */ + /** + * @param discount The sum of all discounts applied to the line item. + */ public void setDiscount(final BigDecimal discount) { this.discount = discount; } @@ -654,7 +672,9 @@ public List getDiscounts() { return this.discounts; } - /** @param discounts The breakdown of discounts applied to the line item by coupon redemption. */ + /** + * @param discounts The breakdown of discounts applied to the line item by coupon redemption. + */ public void setDiscounts(final List discounts) { this.discounts = discounts; } @@ -664,7 +684,9 @@ public ZonedDateTime getEndDate() { return this.endDate; } - /** @param endDate If this date is provided, it indicates the end of a time range. */ + /** + * @param endDate If this date is provided, it indicates the end of a time range. + */ public void setEndDate(final ZonedDateTime endDate) { this.endDate = endDate; } @@ -712,7 +734,9 @@ public String getId() { return this.id; } - /** @param id Line item ID */ + /** + * @param id Line item ID + */ public void setId(final String id) { this.id = id; } @@ -722,7 +746,9 @@ public String getInvoiceId() { return this.invoiceId; } - /** @param invoiceId Once the line item has been invoiced this will be the invoice's ID. */ + /** + * @param invoiceId Once the line item has been invoiced this will be the invoice's ID. + */ public void setInvoiceId(final String invoiceId) { this.invoiceId = invoiceId; } @@ -822,7 +848,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -1013,7 +1041,9 @@ public Boolean getRefund() { return this.refund; } - /** @param refund Refund? */ + /** + * @param refund Refund? + */ public void setRefund(final Boolean refund) { this.refund = refund; } @@ -1074,7 +1104,9 @@ public Constants.LineItemRevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType( final Constants.LineItemRevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; @@ -1084,7 +1116,9 @@ public ShippingAddress getShippingAddress() { return this.shippingAddress; } - /** @param shippingAddress */ + /** + * @param shippingAddress + */ public void setShippingAddress(final ShippingAddress shippingAddress) { this.shippingAddress = shippingAddress; } @@ -1139,7 +1173,9 @@ public BigDecimal getSubtotal() { return this.subtotal; } - /** @param subtotal `quantity * unit_amount` */ + /** + * @param subtotal `quantity * unit_amount` + */ public void setSubtotal(final BigDecimal subtotal) { this.subtotal = subtotal; } @@ -1149,7 +1185,9 @@ public BigDecimal getTax() { return this.tax; } - /** @param tax The tax amount for the line item. */ + /** + * @param tax The tax amount for the line item. + */ public void setTax(final BigDecimal tax) { this.tax = tax; } @@ -1215,7 +1253,9 @@ public TaxInfo getTaxInfo() { return this.taxInfo; } - /** @param taxInfo Only for merchants using Recurly's In-The-Box taxes. */ + /** + * @param taxInfo Only for merchants using Recurly's In-The-Box taxes. + */ public void setTaxInfo(final TaxInfo taxInfo) { this.taxInfo = taxInfo; } @@ -1225,7 +1265,9 @@ public Boolean getTaxable() { return this.taxable; } - /** @param taxable `true` if the line item is taxable, `false` if it is not. */ + /** + * @param taxable `true` if the line item is taxable, `false` if it is not. + */ public void setTaxable(final Boolean taxable) { this.taxable = taxable; } @@ -1251,7 +1293,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount Positive amount for a charge, negative amount for a credit. */ + /** + * @param unitAmount Positive amount for a charge, negative amount for a credit. + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } @@ -1261,7 +1305,9 @@ public String getUnitAmountDecimal() { return this.unitAmountDecimal; } - /** @param unitAmountDecimal Positive amount for a charge, negative amount for a credit. */ + /** + * @param unitAmountDecimal Positive amount for a charge, negative amount for a credit. + */ public void setUnitAmountDecimal(final String unitAmountDecimal) { this.unitAmountDecimal = unitAmountDecimal; } @@ -1271,7 +1317,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the line item was last changed. */ + /** + * @param updatedAt When the line item was last changed. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/LineItemDiscount.java b/src/main/java/com/recurly/v3/resources/LineItemDiscount.java index 876fb6a..2bf4605 100644 --- a/src/main/java/com/recurly/v3/resources/LineItemDiscount.java +++ b/src/main/java/com/recurly/v3/resources/LineItemDiscount.java @@ -47,7 +47,9 @@ public String getCouponId() { return this.couponId; } - /** @param couponId The ID of the coupon that generated this discount. */ + /** + * @param couponId The ID of the coupon that generated this discount. + */ public void setCouponId(final String couponId) { this.couponId = couponId; } @@ -57,7 +59,9 @@ public String getCouponRedemptionId() { return this.couponRedemptionId; } - /** @param couponRedemptionId The ID of the coupon redemption that generated this discount. */ + /** + * @param couponRedemptionId The ID of the coupon redemption that generated this discount. + */ public void setCouponRedemptionId(final String couponRedemptionId) { this.couponRedemptionId = couponRedemptionId; } @@ -67,7 +71,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -77,7 +83,9 @@ public BigDecimal getDiscountAmount() { return this.discountAmount; } - /** @param discountAmount The amount discounted on this line item by this coupon redemption. */ + /** + * @param discountAmount The amount discounted on this line item by this coupon redemption. + */ public void setDiscountAmount(final BigDecimal discountAmount) { this.discountAmount = discountAmount; } @@ -87,7 +95,9 @@ public String getObject() { return this.object; } - /** @param object Will always be `line_item_discount`. */ + /** + * @param object Will always be `line_item_discount`. + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/MeasuredUnit.java b/src/main/java/com/recurly/v3/resources/MeasuredUnit.java index b5386c6..e229fd1 100644 --- a/src/main/java/com/recurly/v3/resources/MeasuredUnit.java +++ b/src/main/java/com/recurly/v3/resources/MeasuredUnit.java @@ -66,7 +66,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -76,7 +78,9 @@ public ZonedDateTime getDeletedAt() { return this.deletedAt; } - /** @param deletedAt Deleted at */ + /** + * @param deletedAt Deleted at + */ public void setDeletedAt(final ZonedDateTime deletedAt) { this.deletedAt = deletedAt; } @@ -86,7 +90,9 @@ public String getDescription() { return this.description; } - /** @param description Optional internal description. */ + /** + * @param description Optional internal description. + */ public void setDescription(final String description) { this.description = description; } @@ -112,7 +118,9 @@ public String getId() { return this.id; } - /** @param id Item ID */ + /** + * @param id Item ID + */ public void setId(final String id) { this.id = id; } @@ -122,7 +130,9 @@ public String getName() { return this.name; } - /** @param name Unique internal name of the measured unit on your site. */ + /** + * @param name Unique internal name of the measured unit on your site. + */ public void setName(final String name) { this.name = name; } @@ -132,7 +142,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -142,7 +154,9 @@ public Constants.ActiveState getState() { return this.state; } - /** @param state The current state of the measured unit. */ + /** + * @param state The current state of the measured unit. + */ public void setState(final Constants.ActiveState state) { this.state = state; } @@ -152,7 +166,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/PaymentMethod.java b/src/main/java/com/recurly/v3/resources/PaymentMethod.java index 5a65495..daa277a 100644 --- a/src/main/java/com/recurly/v3/resources/PaymentMethod.java +++ b/src/main/java/com/recurly/v3/resources/PaymentMethod.java @@ -114,7 +114,9 @@ public Constants.AccountType getAccountType() { return this.accountType; } - /** @param accountType The bank account type. Only present for ACH payment methods. */ + /** + * @param accountType The bank account type. Only present for ACH payment methods. + */ public void setAccountType(final Constants.AccountType accountType) { this.accountType = accountType; } @@ -153,7 +155,9 @@ public Constants.CardType getCardType() { return this.cardType; } - /** @param cardType Visa, MasterCard, American Express, Discover, JCB, etc. */ + /** + * @param cardType Visa, MasterCard, American Express, Discover, JCB, etc. + */ public void setCardType(final Constants.CardType cardType) { this.cardType = cardType; } @@ -176,7 +180,9 @@ public Integer getExpMonth() { return this.expMonth; } - /** @param expMonth Expiration month. */ + /** + * @param expMonth Expiration month. + */ public void setExpMonth(final Integer expMonth) { this.expMonth = expMonth; } @@ -186,7 +192,9 @@ public Integer getExpYear() { return this.expYear; } - /** @param expYear Expiration year. */ + /** + * @param expYear Expiration year. + */ public void setExpYear(final Integer expYear) { this.expYear = expYear; } @@ -196,7 +204,9 @@ public String getFirstSix() { return this.firstSix; } - /** @param firstSix Credit card number's first six digits. */ + /** + * @param firstSix Credit card number's first six digits. + */ public void setFirstSix(final String firstSix) { this.firstSix = firstSix; } @@ -206,7 +216,9 @@ public Constants.CardFundingSource getFundingSource() { return this.fundingSource; } - /** @param fundingSource The funding source of the card, if known. */ + /** + * @param fundingSource The funding source of the card, if known. + */ public void setFundingSource(final Constants.CardFundingSource fundingSource) { this.fundingSource = fundingSource; } @@ -216,7 +228,9 @@ public GatewayAttributes getGatewayAttributes() { return this.gatewayAttributes; } - /** @param gatewayAttributes Gateway specific attributes associated with this PaymentMethod */ + /** + * @param gatewayAttributes Gateway specific attributes associated with this PaymentMethod + */ public void setGatewayAttributes(final GatewayAttributes gatewayAttributes) { this.gatewayAttributes = gatewayAttributes; } @@ -226,7 +240,9 @@ public String getGatewayCode() { return this.gatewayCode; } - /** @param gatewayCode An identifier for a specific payment gateway. */ + /** + * @param gatewayCode An identifier for a specific payment gateway. + */ public void setGatewayCode(final String gatewayCode) { this.gatewayCode = gatewayCode; } @@ -261,7 +277,9 @@ public String getLastTwo() { return this.lastTwo; } - /** @param lastTwo The IBAN bank account's last two digits. */ + /** + * @param lastTwo The IBAN bank account's last two digits. + */ public void setLastTwo(final String lastTwo) { this.lastTwo = lastTwo; } @@ -271,7 +289,9 @@ public String getNameOnAccount() { return this.nameOnAccount; } - /** @param nameOnAccount The name associated with the bank account. */ + /** + * @param nameOnAccount The name associated with the bank account. + */ public void setNameOnAccount(final String nameOnAccount) { this.nameOnAccount = nameOnAccount; } @@ -280,7 +300,9 @@ public Constants.PaymentMethod getObject() { return this.object; } - /** @param object */ + /** + * @param object + */ public void setObject(final Constants.PaymentMethod object) { this.object = object; } @@ -302,7 +324,9 @@ public String getRoutingNumberBank() { return this.routingNumberBank; } - /** @param routingNumberBank The bank name of this routing number. */ + /** + * @param routingNumberBank The bank name of this routing number. + */ public void setRoutingNumberBank(final String routingNumberBank) { this.routingNumberBank = routingNumberBank; } diff --git a/src/main/java/com/recurly/v3/resources/PercentageTiersByCurrency.java b/src/main/java/com/recurly/v3/resources/PercentageTiersByCurrency.java index 8f05a9c..62ef59a 100644 --- a/src/main/java/com/recurly/v3/resources/PercentageTiersByCurrency.java +++ b/src/main/java/com/recurly/v3/resources/PercentageTiersByCurrency.java @@ -27,7 +27,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -37,7 +39,9 @@ public List getTiers() { return this.tiers; } - /** @param tiers Tiers */ + /** + * @param tiers Tiers + */ public void setTiers(final List tiers) { this.tiers = tiers; } diff --git a/src/main/java/com/recurly/v3/resources/PerformanceObligation.java b/src/main/java/com/recurly/v3/resources/PerformanceObligation.java index 5bbec00..aa2e6ee 100644 --- a/src/main/java/com/recurly/v3/resources/PerformanceObligation.java +++ b/src/main/java/com/recurly/v3/resources/PerformanceObligation.java @@ -40,7 +40,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created At */ + /** + * @param createdAt Created At + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -66,7 +68,9 @@ public String getName() { return this.name; } - /** @param name Performance Obligation Name */ + /** + * @param name Performance Obligation Name + */ public void setName(final String name) { this.name = name; } @@ -76,7 +80,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/Plan.java b/src/main/java/com/recurly/v3/resources/Plan.java index 54ee6b1..e26ab2b 100644 --- a/src/main/java/com/recurly/v3/resources/Plan.java +++ b/src/main/java/com/recurly/v3/resources/Plan.java @@ -408,7 +408,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -418,7 +420,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies Present only when `pricing_model` is `'fixed'`. */ + /** + * @param currencies Present only when `pricing_model` is `'fixed'`. + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -446,7 +450,9 @@ public ZonedDateTime getDeletedAt() { return this.deletedAt; } - /** @param deletedAt Deleted at */ + /** + * @param deletedAt Deleted at + */ public void setDeletedAt(final ZonedDateTime deletedAt) { this.deletedAt = deletedAt; } @@ -456,7 +462,9 @@ public String getDescription() { return this.description; } - /** @param description Optional description, not displayed. */ + /** + * @param description Optional description, not displayed. + */ public void setDescription(final String description) { this.description = description; } @@ -506,7 +514,9 @@ public PlanHostedPages getHostedPages() { return this.hostedPages; } - /** @param hostedPages Hosted pages settings */ + /** + * @param hostedPages Hosted pages settings + */ public void setHostedPages(final PlanHostedPages hostedPages) { this.hostedPages = hostedPages; } @@ -516,7 +526,9 @@ public String getId() { return this.id; } - /** @param id Plan ID */ + /** + * @param id Plan ID + */ public void setId(final String id) { this.id = id; } @@ -526,7 +538,9 @@ public Integer getIntervalLength() { return this.intervalLength; } - /** @param intervalLength Length of the plan's billing interval in `interval_unit`. */ + /** + * @param intervalLength Length of the plan's billing interval in `interval_unit`. + */ public void setIntervalLength(final Integer intervalLength) { this.intervalLength = intervalLength; } @@ -536,7 +550,9 @@ public Constants.IntervalUnit getIntervalUnit() { return this.intervalUnit; } - /** @param intervalUnit Unit for the plan's billing interval. */ + /** + * @param intervalUnit Unit for the plan's billing interval. + */ public void setIntervalUnit(final Constants.IntervalUnit intervalUnit) { this.intervalUnit = intervalUnit; } @@ -579,7 +595,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -624,7 +642,9 @@ public List getRampIntervals() { return this.rampIntervals; } - /** @param rampIntervals Ramp Intervals */ + /** + * @param rampIntervals Ramp Intervals + */ public void setRampIntervals(final List rampIntervals) { this.rampIntervals = rampIntervals; } @@ -650,7 +670,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -727,7 +749,9 @@ public Constants.RevenueScheduleType getSetupFeeRevenueScheduleType() { return this.setupFeeRevenueScheduleType; } - /** @param setupFeeRevenueScheduleType Setup fee revenue schedule type */ + /** + * @param setupFeeRevenueScheduleType Setup fee revenue schedule type + */ public void setSetupFeeRevenueScheduleType( final Constants.RevenueScheduleType setupFeeRevenueScheduleType) { this.setupFeeRevenueScheduleType = setupFeeRevenueScheduleType; @@ -738,7 +762,9 @@ public List getSetupFees() { return this.setupFees; } - /** @param setupFees Setup Fees */ + /** + * @param setupFees Setup Fees + */ public void setSetupFees(final List setupFees) { this.setupFees = setupFees; } @@ -748,7 +774,9 @@ public Constants.ActiveState getState() { return this.state; } - /** @param state The current state of the plan. */ + /** + * @param state The current state of the plan. + */ public void setState(final Constants.ActiveState state) { this.state = state; } @@ -778,7 +806,9 @@ public Boolean getTaxExempt() { return this.taxExempt; } - /** @param taxExempt `true` exempts tax on the plan, `false` applies tax on the plan. */ + /** + * @param taxExempt `true` exempts tax on the plan, `false` applies tax on the plan. + */ public void setTaxExempt(final Boolean taxExempt) { this.taxExempt = taxExempt; } @@ -806,7 +836,9 @@ public Integer getTrialLength() { return this.trialLength; } - /** @param trialLength Length of plan's trial period in `trial_units`. `0` means `no trial`. */ + /** + * @param trialLength Length of plan's trial period in `trial_units`. `0` means `no trial`. + */ public void setTrialLength(final Integer trialLength) { this.trialLength = trialLength; } @@ -833,7 +865,9 @@ public Constants.IntervalUnit getTrialUnit() { return this.trialUnit; } - /** @param trialUnit Units for the plan's trial period. */ + /** + * @param trialUnit Units for the plan's trial period. + */ public void setTrialUnit(final Constants.IntervalUnit trialUnit) { this.trialUnit = trialUnit; } @@ -843,7 +877,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/PlanHostedPages.java b/src/main/java/com/recurly/v3/resources/PlanHostedPages.java index 6d8b0a5..7607954 100644 --- a/src/main/java/com/recurly/v3/resources/PlanHostedPages.java +++ b/src/main/java/com/recurly/v3/resources/PlanHostedPages.java @@ -55,7 +55,9 @@ public String getCancelUrl() { return this.cancelUrl; } - /** @param cancelUrl URL to redirect to on canceled signup on the hosted payment pages. */ + /** + * @param cancelUrl URL to redirect to on canceled signup on the hosted payment pages. + */ public void setCancelUrl(final String cancelUrl) { this.cancelUrl = cancelUrl; } @@ -78,7 +80,9 @@ public String getSuccessUrl() { return this.successUrl; } - /** @param successUrl URL to redirect to after signup on the hosted payment pages. */ + /** + * @param successUrl URL to redirect to after signup on the hosted payment pages. + */ public void setSuccessUrl(final String successUrl) { this.successUrl = successUrl; } diff --git a/src/main/java/com/recurly/v3/resources/PlanMini.java b/src/main/java/com/recurly/v3/resources/PlanMini.java index b2e52d7..1cc9ce5 100644 --- a/src/main/java/com/recurly/v3/resources/PlanMini.java +++ b/src/main/java/com/recurly/v3/resources/PlanMini.java @@ -58,7 +58,9 @@ public String getId() { return this.id; } - /** @param id Plan ID */ + /** + * @param id Plan ID + */ public void setId(final String id) { this.id = id; } @@ -84,7 +86,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/PlanPricing.java b/src/main/java/com/recurly/v3/resources/PlanPricing.java index 2ce308f..963190f 100644 --- a/src/main/java/com/recurly/v3/resources/PlanPricing.java +++ b/src/main/java/com/recurly/v3/resources/PlanPricing.java @@ -50,7 +50,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -97,7 +99,9 @@ public Boolean getTaxInclusive() { return this.taxInclusive; } - /** @param taxInclusive This field is deprecated. Please do not use it. */ + /** + * @param taxInclusive This field is deprecated. Please do not use it. + */ public void setTaxInclusive(final Boolean taxInclusive) { this.taxInclusive = taxInclusive; } @@ -107,7 +111,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount This field should not be sent when the pricing model is `'ramp'`. */ + /** + * @param unitAmount This field should not be sent when the pricing model is `'ramp'`. + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } diff --git a/src/main/java/com/recurly/v3/resources/PlanRampInterval.java b/src/main/java/com/recurly/v3/resources/PlanRampInterval.java index 41bb1ab..bb7030b 100644 --- a/src/main/java/com/recurly/v3/resources/PlanRampInterval.java +++ b/src/main/java/com/recurly/v3/resources/PlanRampInterval.java @@ -27,7 +27,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies Represents the price for the ramp interval. */ + /** + * @param currencies Represents the price for the ramp interval. + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -37,7 +39,9 @@ public Integer getStartingBillingCycle() { return this.startingBillingCycle; } - /** @param startingBillingCycle Represents the billing cycle where a ramp interval starts. */ + /** + * @param startingBillingCycle Represents the billing cycle where a ramp interval starts. + */ public void setStartingBillingCycle(final Integer startingBillingCycle) { this.startingBillingCycle = startingBillingCycle; } diff --git a/src/main/java/com/recurly/v3/resources/PlanRampPricing.java b/src/main/java/com/recurly/v3/resources/PlanRampPricing.java index 665bfb6..d047fe4 100644 --- a/src/main/java/com/recurly/v3/resources/PlanRampPricing.java +++ b/src/main/java/com/recurly/v3/resources/PlanRampPricing.java @@ -35,7 +35,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -62,7 +64,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount Represents the price for the Ramp Interval. */ + /** + * @param unitAmount Represents the price for the Ramp Interval. + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } diff --git a/src/main/java/com/recurly/v3/resources/PlanSetupPricing.java b/src/main/java/com/recurly/v3/resources/PlanSetupPricing.java index f6cfad7..a7dde8a 100644 --- a/src/main/java/com/recurly/v3/resources/PlanSetupPricing.java +++ b/src/main/java/com/recurly/v3/resources/PlanSetupPricing.java @@ -31,7 +31,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } diff --git a/src/main/java/com/recurly/v3/resources/PriceSegment.java b/src/main/java/com/recurly/v3/resources/PriceSegment.java index efd72e9..0ff27de 100644 --- a/src/main/java/com/recurly/v3/resources/PriceSegment.java +++ b/src/main/java/com/recurly/v3/resources/PriceSegment.java @@ -31,7 +31,9 @@ public String getCode() { return this.code; } - /** @param code The price segment code, e.g. `my-price-segment`. */ + /** + * @param code The price segment code, e.g. `my-price-segment`. + */ public void setCode(final String code) { this.code = code; } @@ -41,7 +43,9 @@ public String getId() { return this.id; } - /** @param id The price segment ID, e.g. `e28zov4fw0v2`. */ + /** + * @param id The price segment ID, e.g. `e28zov4fw0v2`. + */ public void setId(final String id) { this.id = id; } @@ -51,7 +55,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/Pricing.java b/src/main/java/com/recurly/v3/resources/Pricing.java index b587c79..ebf2806 100644 --- a/src/main/java/com/recurly/v3/resources/Pricing.java +++ b/src/main/java/com/recurly/v3/resources/Pricing.java @@ -31,7 +31,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -41,7 +43,9 @@ public Boolean getTaxInclusive() { return this.taxInclusive; } - /** @param taxInclusive This field is deprecated. Please do not use it. */ + /** + * @param taxInclusive This field is deprecated. Please do not use it. + */ public void setTaxInclusive(final Boolean taxInclusive) { this.taxInclusive = taxInclusive; } @@ -50,7 +54,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount */ + /** + * @param unitAmount + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } diff --git a/src/main/java/com/recurly/v3/resources/ReferenceOnlyCurrencyConversion.java b/src/main/java/com/recurly/v3/resources/ReferenceOnlyCurrencyConversion.java index ad1e33a..c5bd4b1 100644 --- a/src/main/java/com/recurly/v3/resources/ReferenceOnlyCurrencyConversion.java +++ b/src/main/java/com/recurly/v3/resources/ReferenceOnlyCurrencyConversion.java @@ -47,7 +47,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -57,7 +59,9 @@ public String getDate() { return this.date; } - /** @param date The date of the conversion rate. */ + /** + * @param date The date of the conversion rate. + */ public void setDate(final String date) { this.date = date; } @@ -67,7 +71,9 @@ public String getRate() { return this.rate; } - /** @param rate The conversion rate to the currency. */ + /** + * @param rate The conversion rate to the currency. + */ public void setRate(final String rate) { this.rate = rate; } @@ -77,7 +83,9 @@ public String getSource() { return this.source; } - /** @param source The source of the conversion rate. */ + /** + * @param source The source of the conversion rate. + */ public void setSource(final String source) { this.source = source; } @@ -87,7 +95,9 @@ public BigDecimal getSubtotalInCents() { return this.subtotalInCents; } - /** @param subtotalInCents The subtotal converted to the currency. */ + /** + * @param subtotalInCents The subtotal converted to the currency. + */ public void setSubtotalInCents(final BigDecimal subtotalInCents) { this.subtotalInCents = subtotalInCents; } @@ -97,7 +107,9 @@ public BigDecimal getTaxInCents() { return this.taxInCents; } - /** @param taxInCents The tax converted to the currency. */ + /** + * @param taxInCents The tax converted to the currency. + */ public void setTaxInCents(final BigDecimal taxInCents) { this.taxInCents = taxInCents; } diff --git a/src/main/java/com/recurly/v3/resources/Settings.java b/src/main/java/com/recurly/v3/resources/Settings.java index 3b2c930..d2b0079 100644 --- a/src/main/java/com/recurly/v3/resources/Settings.java +++ b/src/main/java/com/recurly/v3/resources/Settings.java @@ -34,7 +34,9 @@ public List getAcceptedCurrencies() { return this.acceptedCurrencies; } - /** @param acceptedCurrencies */ + /** + * @param acceptedCurrencies + */ public void setAcceptedCurrencies(final List acceptedCurrencies) { this.acceptedCurrencies = acceptedCurrencies; } @@ -62,7 +64,9 @@ public String getDefaultCurrency() { return this.defaultCurrency; } - /** @param defaultCurrency The default 3-letter ISO 4217 currency code. */ + /** + * @param defaultCurrency The default 3-letter ISO 4217 currency code. + */ public void setDefaultCurrency(final String defaultCurrency) { this.defaultCurrency = defaultCurrency; } diff --git a/src/main/java/com/recurly/v3/resources/ShippingAddress.java b/src/main/java/com/recurly/v3/resources/ShippingAddress.java index da90b7f..ca894c4 100644 --- a/src/main/java/com/recurly/v3/resources/ShippingAddress.java +++ b/src/main/java/com/recurly/v3/resources/ShippingAddress.java @@ -105,7 +105,9 @@ public String getAccountId() { return this.accountId; } - /** @param accountId Account ID */ + /** + * @param accountId Account ID + */ public void setAccountId(final String accountId) { this.accountId = accountId; } @@ -114,7 +116,9 @@ public String getCity() { return this.city; } - /** @param city */ + /** + * @param city + */ public void setCity(final String city) { this.city = city; } @@ -123,7 +127,9 @@ public String getCompany() { return this.company; } - /** @param company */ + /** + * @param company + */ public void setCompany(final String company) { this.company = company; } @@ -133,7 +139,9 @@ public String getCountry() { return this.country; } - /** @param country Country, 2-letter ISO 3166-1 alpha-2 code. */ + /** + * @param country Country, 2-letter ISO 3166-1 alpha-2 code. + */ public void setCountry(final String country) { this.country = country; } @@ -143,7 +151,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -152,7 +162,9 @@ public String getEmail() { return this.email; } - /** @param email */ + /** + * @param email + */ public void setEmail(final String email) { this.email = email; } @@ -161,7 +173,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName */ + /** + * @param firstName + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -187,7 +201,9 @@ public String getId() { return this.id; } - /** @param id Shipping Address ID */ + /** + * @param id Shipping Address ID + */ public void setId(final String id) { this.id = id; } @@ -196,7 +212,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName */ + /** + * @param lastName + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -205,7 +223,9 @@ public String getNickname() { return this.nickname; } - /** @param nickname */ + /** + * @param nickname + */ public void setNickname(final String nickname) { this.nickname = nickname; } @@ -215,7 +235,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -224,7 +246,9 @@ public String getPhone() { return this.phone; } - /** @param phone */ + /** + * @param phone + */ public void setPhone(final String phone) { this.phone = phone; } @@ -234,7 +258,9 @@ public String getPostalCode() { return this.postalCode; } - /** @param postalCode Zip or postal code. */ + /** + * @param postalCode Zip or postal code. + */ public void setPostalCode(final String postalCode) { this.postalCode = postalCode; } @@ -244,7 +270,9 @@ public String getRegion() { return this.region; } - /** @param region State or province. */ + /** + * @param region State or province. + */ public void setRegion(final String region) { this.region = region; } @@ -253,7 +281,9 @@ public String getStreet1() { return this.street1; } - /** @param street1 */ + /** + * @param street1 + */ public void setStreet1(final String street1) { this.street1 = street1; } @@ -262,7 +292,9 @@ public String getStreet2() { return this.street2; } - /** @param street2 */ + /** + * @param street2 + */ public void setStreet2(final String street2) { this.street2 = street2; } @@ -272,7 +304,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Updated at */ + /** + * @param updatedAt Updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } @@ -281,7 +315,9 @@ public String getVatNumber() { return this.vatNumber; } - /** @param vatNumber */ + /** + * @param vatNumber + */ public void setVatNumber(final String vatNumber) { this.vatNumber = vatNumber; } diff --git a/src/main/java/com/recurly/v3/resources/ShippingMethod.java b/src/main/java/com/recurly/v3/resources/ShippingMethod.java index 2896e1a..7b3f57a 100644 --- a/src/main/java/com/recurly/v3/resources/ShippingMethod.java +++ b/src/main/java/com/recurly/v3/resources/ShippingMethod.java @@ -94,7 +94,9 @@ public String getAccountingCode() { return this.accountingCode; } - /** @param accountingCode Accounting code for shipping method. */ + /** + * @param accountingCode Accounting code for shipping method. + */ public void setAccountingCode(final String accountingCode) { this.accountingCode = accountingCode; } @@ -104,7 +106,9 @@ public String getCode() { return this.code; } - /** @param code The internal name used identify the shipping method. */ + /** + * @param code The internal name used identify the shipping method. + */ public void setCode(final String code) { this.code = code; } @@ -114,7 +118,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -124,7 +130,9 @@ public ZonedDateTime getDeletedAt() { return this.deletedAt; } - /** @param deletedAt Deleted at */ + /** + * @param deletedAt Deleted at + */ public void setDeletedAt(final ZonedDateTime deletedAt) { this.deletedAt = deletedAt; } @@ -134,7 +142,9 @@ public String getId() { return this.id; } - /** @param id Shipping Method ID */ + /** + * @param id Shipping Method ID + */ public void setId(final String id) { this.id = id; } @@ -161,7 +171,9 @@ public String getName() { return this.name; } - /** @param name The name of the shipping method displayed to customers. */ + /** + * @param name The name of the shipping method displayed to customers. + */ public void setName(final String name) { this.name = name; } @@ -171,7 +183,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -239,7 +253,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/ShippingMethodMini.java b/src/main/java/com/recurly/v3/resources/ShippingMethodMini.java index 0712717..b2987d7 100644 --- a/src/main/java/com/recurly/v3/resources/ShippingMethodMini.java +++ b/src/main/java/com/recurly/v3/resources/ShippingMethodMini.java @@ -36,7 +36,9 @@ public String getCode() { return this.code; } - /** @param code The internal name used identify the shipping method. */ + /** + * @param code The internal name used identify the shipping method. + */ public void setCode(final String code) { this.code = code; } @@ -46,7 +48,9 @@ public String getId() { return this.id; } - /** @param id Shipping Method ID */ + /** + * @param id Shipping Method ID + */ public void setId(final String id) { this.id = id; } @@ -56,7 +60,9 @@ public String getName() { return this.name; } - /** @param name The name of the shipping method displayed to customers. */ + /** + * @param name The name of the shipping method displayed to customers. + */ public void setName(final String name) { this.name = name; } @@ -66,7 +72,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/Site.java b/src/main/java/com/recurly/v3/resources/Site.java index 6cad4f5..42a8af1 100644 --- a/src/main/java/com/recurly/v3/resources/Site.java +++ b/src/main/java/com/recurly/v3/resources/Site.java @@ -70,7 +70,9 @@ public Address getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final Address address) { this.address = address; } @@ -80,7 +82,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -90,7 +94,9 @@ public ZonedDateTime getDeletedAt() { return this.deletedAt; } - /** @param deletedAt Deleted at */ + /** + * @param deletedAt Deleted at + */ public void setDeletedAt(final ZonedDateTime deletedAt) { this.deletedAt = deletedAt; } @@ -100,7 +106,9 @@ public List getFeatures() { return this.features; } - /** @param features A list of features enabled for the site. */ + /** + * @param features A list of features enabled for the site. + */ public void setFeatures(final List features) { this.features = features; } @@ -110,7 +118,9 @@ public String getId() { return this.id; } - /** @param id Site ID */ + /** + * @param id Site ID + */ public void setId(final String id) { this.id = id; } @@ -120,7 +130,9 @@ public Constants.SiteMode getMode() { return this.mode; } - /** @param mode Mode */ + /** + * @param mode Mode + */ public void setMode(final Constants.SiteMode mode) { this.mode = mode; } @@ -130,7 +142,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -152,7 +166,9 @@ public Settings getSettings() { return this.settings; } - /** @param settings */ + /** + * @param settings + */ public void setSettings(final Settings settings) { this.settings = settings; } @@ -161,7 +177,9 @@ public String getSubdomain() { return this.subdomain; } - /** @param subdomain */ + /** + * @param subdomain + */ public void setSubdomain(final String subdomain) { this.subdomain = subdomain; } @@ -171,7 +189,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Updated at */ + /** + * @param updatedAt Updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/Subscription.java b/src/main/java/com/recurly/v3/resources/Subscription.java index 0fdd272..b0fb878 100644 --- a/src/main/java/com/recurly/v3/resources/Subscription.java +++ b/src/main/java/com/recurly/v3/resources/Subscription.java @@ -375,7 +375,9 @@ public AccountMini getAccount() { return this.account; } - /** @param account Account mini details */ + /** + * @param account Account mini details + */ public void setAccount(final AccountMini account) { this.account = account; } @@ -401,7 +403,9 @@ public ZonedDateTime getActivatedAt() { return this.activatedAt; } - /** @param activatedAt Activated at */ + /** + * @param activatedAt Activated at + */ public void setActivatedAt(final ZonedDateTime activatedAt) { this.activatedAt = activatedAt; } @@ -423,7 +427,9 @@ public List getAddOns() { return this.addOns; } - /** @param addOns Add-ons */ + /** + * @param addOns Add-ons + */ public void setAddOns(final List addOns) { this.addOns = addOns; } @@ -433,7 +439,9 @@ public BigDecimal getAddOnsTotal() { return this.addOnsTotal; } - /** @param addOnsTotal Total price of add-ons */ + /** + * @param addOnsTotal Total price of add-ons + */ public void setAddOnsTotal(final BigDecimal addOnsTotal) { this.addOnsTotal = addOnsTotal; } @@ -443,7 +451,9 @@ public Boolean getAutoRenew() { return this.autoRenew; } - /** @param autoRenew Whether the subscription renews at the end of its term. */ + /** + * @param autoRenew Whether the subscription renews at the end of its term. + */ public void setAutoRenew(final Boolean autoRenew) { this.autoRenew = autoRenew; } @@ -472,7 +482,9 @@ public String getBillingInfoId() { return this.billingInfoId; } - /** @param billingInfoId Billing Info ID. */ + /** + * @param billingInfoId Billing Info ID. + */ public void setBillingInfoId(final String billingInfoId) { this.billingInfoId = billingInfoId; } @@ -498,7 +510,9 @@ public ZonedDateTime getCanceledAt() { return this.canceledAt; } - /** @param canceledAt Canceled at */ + /** + * @param canceledAt Canceled at + */ public void setCanceledAt(final ZonedDateTime canceledAt) { this.canceledAt = canceledAt; } @@ -508,7 +522,9 @@ public Constants.CollectionMethod getCollectionMethod() { return this.collectionMethod; } - /** @param collectionMethod Collection method */ + /** + * @param collectionMethod Collection method + */ public void setCollectionMethod(final Constants.CollectionMethod collectionMethod) { this.collectionMethod = collectionMethod; } @@ -518,7 +534,9 @@ public ZonedDateTime getConvertedAt() { return this.convertedAt; } - /** @param convertedAt When the subscription was converted from a gift card. */ + /** + * @param convertedAt When the subscription was converted from a gift card. + */ public void setConvertedAt(final ZonedDateTime convertedAt) { this.convertedAt = convertedAt; } @@ -541,7 +559,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -569,7 +589,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -579,7 +601,9 @@ public ZonedDateTime getCurrentPeriodEndsAt() { return this.currentPeriodEndsAt; } - /** @param currentPeriodEndsAt Current billing period ends at */ + /** + * @param currentPeriodEndsAt Current billing period ends at + */ public void setCurrentPeriodEndsAt(final ZonedDateTime currentPeriodEndsAt) { this.currentPeriodEndsAt = currentPeriodEndsAt; } @@ -589,7 +613,9 @@ public ZonedDateTime getCurrentPeriodStartedAt() { return this.currentPeriodStartedAt; } - /** @param currentPeriodStartedAt Current billing period started at */ + /** + * @param currentPeriodStartedAt Current billing period started at + */ public void setCurrentPeriodStartedAt(final ZonedDateTime currentPeriodStartedAt) { this.currentPeriodStartedAt = currentPeriodStartedAt; } @@ -652,7 +678,9 @@ public String getCustomerNotes() { return this.customerNotes; } - /** @param customerNotes Customer notes */ + /** + * @param customerNotes Customer notes + */ public void setCustomerNotes(final String customerNotes) { this.customerNotes = customerNotes; } @@ -662,7 +690,9 @@ public String getExpirationReason() { return this.expirationReason; } - /** @param expirationReason Expiration reason */ + /** + * @param expirationReason Expiration reason + */ public void setExpirationReason(final String expirationReason) { this.expirationReason = expirationReason; } @@ -672,7 +702,9 @@ public ZonedDateTime getExpiresAt() { return this.expiresAt; } - /** @param expiresAt Expires at */ + /** + * @param expiresAt Expires at + */ public void setExpiresAt(final ZonedDateTime expiresAt) { this.expiresAt = expiresAt; } @@ -695,7 +727,9 @@ public String getId() { return this.id; } - /** @param id Subscription ID */ + /** + * @param id Subscription ID + */ public void setId(final String id) { this.id = id; } @@ -774,7 +808,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -797,7 +833,9 @@ public SubscriptionChange getPendingChange() { return this.pendingChange; } - /** @param pendingChange Subscription Change */ + /** + * @param pendingChange Subscription Change + */ public void setPendingChange(final SubscriptionChange pendingChange) { this.pendingChange = pendingChange; } @@ -807,7 +845,9 @@ public PlanMini getPlan() { return this.plan; } - /** @param plan Just the important parts. */ + /** + * @param plan Just the important parts. + */ public void setPlan(final PlanMini plan) { this.plan = plan; } @@ -847,7 +887,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity Subscription quantity */ + /** + * @param quantity Subscription quantity + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } @@ -869,7 +911,9 @@ public Integer getRemainingBillingCycles() { return this.remainingBillingCycles; } - /** @param remainingBillingCycles The remaining billing cycles in the current term. */ + /** + * @param remainingBillingCycles The remaining billing cycles in the current term. + */ public void setRemainingBillingCycles(final Integer remainingBillingCycles) { this.remainingBillingCycles = remainingBillingCycles; } @@ -925,7 +969,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -935,7 +981,9 @@ public SubscriptionShipping getShipping() { return this.shipping; } - /** @param shipping Subscription shipping details */ + /** + * @param shipping Subscription shipping details + */ public void setShipping(final SubscriptionShipping shipping) { this.shipping = shipping; } @@ -945,7 +993,9 @@ public Boolean getStartedWithGift() { return this.startedWithGift; } - /** @param startedWithGift Whether the subscription was started with a gift certificate. */ + /** + * @param startedWithGift Whether the subscription was started with a gift certificate. + */ public void setStartedWithGift(final Boolean startedWithGift) { this.startedWithGift = startedWithGift; } @@ -955,7 +1005,9 @@ public Constants.SubscriptionState getState() { return this.state; } - /** @param state State */ + /** + * @param state State + */ public void setState(final Constants.SubscriptionState state) { this.state = state; } @@ -965,7 +1017,9 @@ public BigDecimal getSubtotal() { return this.subtotal; } - /** @param subtotal Estimated total, before tax. */ + /** + * @param subtotal Estimated total, before tax. + */ public void setSubtotal(final BigDecimal subtotal) { this.subtotal = subtotal; } @@ -975,7 +1029,9 @@ public BigDecimal getTax() { return this.tax; } - /** @param tax Only for merchants using Recurly's In-The-Box taxes. */ + /** + * @param tax Only for merchants using Recurly's In-The-Box taxes. + */ public void setTax(final BigDecimal tax) { this.tax = tax; } @@ -1002,7 +1058,9 @@ public TaxInfo getTaxInfo() { return this.taxInfo; } - /** @param taxInfo Only for merchants using Recurly's In-The-Box taxes. */ + /** + * @param taxInfo Only for merchants using Recurly's In-The-Box taxes. + */ public void setTaxInfo(final TaxInfo taxInfo) { this.taxInfo = taxInfo; } @@ -1012,7 +1070,9 @@ public String getTermsAndConditions() { return this.termsAndConditions; } - /** @param termsAndConditions Terms and conditions */ + /** + * @param termsAndConditions Terms and conditions + */ public void setTermsAndConditions(final String termsAndConditions) { this.termsAndConditions = termsAndConditions; } @@ -1022,7 +1082,9 @@ public BigDecimal getTotal() { return this.total; } - /** @param total Estimated total */ + /** + * @param total Estimated total + */ public void setTotal(final BigDecimal total) { this.total = total; } @@ -1050,7 +1112,9 @@ public ZonedDateTime getTrialEndsAt() { return this.trialEndsAt; } - /** @param trialEndsAt Trial period ends at */ + /** + * @param trialEndsAt Trial period ends at + */ public void setTrialEndsAt(final ZonedDateTime trialEndsAt) { this.trialEndsAt = trialEndsAt; } @@ -1060,7 +1124,9 @@ public ZonedDateTime getTrialStartedAt() { return this.trialStartedAt; } - /** @param trialStartedAt Trial period started at */ + /** + * @param trialStartedAt Trial period started at + */ public void setTrialStartedAt(final ZonedDateTime trialStartedAt) { this.trialStartedAt = trialStartedAt; } @@ -1070,7 +1136,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount Subscription unit price */ + /** + * @param unitAmount Subscription unit price + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } @@ -1080,7 +1148,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Last updated at */ + /** + * @param updatedAt Last updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/SubscriptionAddOn.java b/src/main/java/com/recurly/v3/resources/SubscriptionAddOn.java index 0fdc13c..59b136a 100644 --- a/src/main/java/com/recurly/v3/resources/SubscriptionAddOn.java +++ b/src/main/java/com/recurly/v3/resources/SubscriptionAddOn.java @@ -140,7 +140,9 @@ public AddOnMini getAddOn() { return this.addOn; } - /** @param addOn Just the important parts. */ + /** + * @param addOn Just the important parts. + */ public void setAddOn(final AddOnMini addOn) { this.addOn = addOn; } @@ -171,7 +173,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -181,7 +185,9 @@ public ZonedDateTime getExpiredAt() { return this.expiredAt; } - /** @param expiredAt Expired at */ + /** + * @param expiredAt Expired at + */ public void setExpiredAt(final ZonedDateTime expiredAt) { this.expiredAt = expiredAt; } @@ -191,7 +197,9 @@ public String getId() { return this.id; } - /** @param id Subscription Add-on ID */ + /** + * @param id Subscription Add-on ID + */ public void setId(final String id) { this.id = id; } @@ -201,7 +209,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -234,7 +244,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity Add-on quantity */ + /** + * @param quantity Add-on quantity + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } @@ -244,7 +256,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -254,7 +268,9 @@ public String getSubscriptionId() { return this.subscriptionId; } - /** @param subscriptionId Subscription ID */ + /** + * @param subscriptionId Subscription ID + */ public void setSubscriptionId(final String subscriptionId) { this.subscriptionId = subscriptionId; } @@ -304,7 +320,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount Supports up to 2 decimal places. */ + /** + * @param unitAmount Supports up to 2 decimal places. + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } @@ -314,7 +332,9 @@ public String getUnitAmountDecimal() { return this.unitAmountDecimal; } - /** @param unitAmountDecimal Supports up to 9 decimal places. */ + /** + * @param unitAmountDecimal Supports up to 9 decimal places. + */ public void setUnitAmountDecimal(final String unitAmountDecimal) { this.unitAmountDecimal = unitAmountDecimal; } @@ -324,7 +344,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Updated at */ + /** + * @param updatedAt Updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } @@ -372,7 +394,9 @@ public Constants.UsageTimeframe getUsageTimeframe() { return this.usageTimeframe; } - /** @param usageTimeframe The time at which usage totals are reset for billing purposes. */ + /** + * @param usageTimeframe The time at which usage totals are reset for billing purposes. + */ public void setUsageTimeframe(final Constants.UsageTimeframe usageTimeframe) { this.usageTimeframe = usageTimeframe; } diff --git a/src/main/java/com/recurly/v3/resources/SubscriptionAddOnTier.java b/src/main/java/com/recurly/v3/resources/SubscriptionAddOnTier.java index 17f1fa2..20459bc 100644 --- a/src/main/java/com/recurly/v3/resources/SubscriptionAddOnTier.java +++ b/src/main/java/com/recurly/v3/resources/SubscriptionAddOnTier.java @@ -98,7 +98,9 @@ public String getUsagePercentage() { return this.usagePercentage; } - /** @param usagePercentage (deprecated) -- Use the percentage_tiers object instead. */ + /** + * @param usagePercentage (deprecated) -- Use the percentage_tiers object instead. + */ public void setUsagePercentage(final String usagePercentage) { this.usagePercentage = usagePercentage; } diff --git a/src/main/java/com/recurly/v3/resources/SubscriptionChange.java b/src/main/java/com/recurly/v3/resources/SubscriptionChange.java index bdd4a21..450ed58 100644 --- a/src/main/java/com/recurly/v3/resources/SubscriptionChange.java +++ b/src/main/java/com/recurly/v3/resources/SubscriptionChange.java @@ -133,7 +133,9 @@ public ZonedDateTime getActivateAt() { return this.activateAt; } - /** @param activateAt Activated at */ + /** + * @param activateAt Activated at + */ public void setActivateAt(final ZonedDateTime activateAt) { this.activateAt = activateAt; } @@ -143,7 +145,9 @@ public Boolean getActivated() { return this.activated; } - /** @param activated Returns `true` if the subscription change is activated. */ + /** + * @param activated Returns `true` if the subscription change is activated. + */ public void setActivated(final Boolean activated) { this.activated = activated; } @@ -153,7 +157,9 @@ public List getAddOns() { return this.addOns; } - /** @param addOns These add-ons will be used when the subscription renews. */ + /** + * @param addOns These add-ons will be used when the subscription renews. + */ public void setAddOns(final List addOns) { this.addOns = addOns; } @@ -163,7 +169,9 @@ public SubscriptionChangeBillingInfo getBillingInfo() { return this.billingInfo; } - /** @param billingInfo Accept nested attributes for three_d_secure_action_result_token_id */ + /** + * @param billingInfo Accept nested attributes for three_d_secure_action_result_token_id + */ public void setBillingInfo(final SubscriptionChangeBillingInfo billingInfo) { this.billingInfo = billingInfo; } @@ -173,7 +181,9 @@ public BusinessEntityMini getBusinessEntity() { return this.businessEntity; } - /** @param businessEntity Business entity details */ + /** + * @param businessEntity Business entity details + */ public void setBusinessEntity(final BusinessEntityMini businessEntity) { this.businessEntity = businessEntity; } @@ -183,7 +193,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -211,7 +223,9 @@ public ZonedDateTime getDeletedAt() { return this.deletedAt; } - /** @param deletedAt Deleted at */ + /** + * @param deletedAt Deleted at + */ public void setDeletedAt(final ZonedDateTime deletedAt) { this.deletedAt = deletedAt; } @@ -221,7 +235,9 @@ public String getId() { return this.id; } - /** @param id The ID of the Subscription Change. */ + /** + * @param id The ID of the Subscription Change. + */ public void setId(final String id) { this.id = id; } @@ -231,7 +247,9 @@ public InvoiceCollection getInvoiceCollection() { return this.invoiceCollection; } - /** @param invoiceCollection Invoice Collection */ + /** + * @param invoiceCollection Invoice Collection + */ public void setInvoiceCollection(final InvoiceCollection invoiceCollection) { this.invoiceCollection = invoiceCollection; } @@ -259,7 +277,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -269,7 +289,9 @@ public PlanMini getPlan() { return this.plan; } - /** @param plan Just the important parts. */ + /** + * @param plan Just the important parts. + */ public void setPlan(final PlanMini plan) { this.plan = plan; } @@ -279,7 +301,9 @@ public Integer getQuantity() { return this.quantity; } - /** @param quantity Subscription quantity */ + /** + * @param quantity Subscription quantity + */ public void setQuantity(final Integer quantity) { this.quantity = quantity; } @@ -301,7 +325,9 @@ public Constants.RevenueScheduleType getRevenueScheduleType() { return this.revenueScheduleType; } - /** @param revenueScheduleType Revenue schedule type */ + /** + * @param revenueScheduleType Revenue schedule type + */ public void setRevenueScheduleType(final Constants.RevenueScheduleType revenueScheduleType) { this.revenueScheduleType = revenueScheduleType; } @@ -311,7 +337,9 @@ public SubscriptionShipping getShipping() { return this.shipping; } - /** @param shipping Subscription shipping details */ + /** + * @param shipping Subscription shipping details + */ public void setShipping(final SubscriptionShipping shipping) { this.shipping = shipping; } @@ -321,7 +349,9 @@ public String getSubscriptionId() { return this.subscriptionId; } - /** @param subscriptionId The ID of the subscription that is going to be changed. */ + /** + * @param subscriptionId The ID of the subscription that is going to be changed. + */ public void setSubscriptionId(final String subscriptionId) { this.subscriptionId = subscriptionId; } @@ -331,7 +361,9 @@ public Boolean getTaxInclusive() { return this.taxInclusive; } - /** @param taxInclusive This field is deprecated. Please do not use it. */ + /** + * @param taxInclusive This field is deprecated. Please do not use it. + */ public void setTaxInclusive(final Boolean taxInclusive) { this.taxInclusive = taxInclusive; } @@ -341,7 +373,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount Unit amount */ + /** + * @param unitAmount Unit amount + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } @@ -351,7 +385,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Updated at */ + /** + * @param updatedAt Updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/SubscriptionRampIntervalResponse.java b/src/main/java/com/recurly/v3/resources/SubscriptionRampIntervalResponse.java index dc14539..89879cd 100644 --- a/src/main/java/com/recurly/v3/resources/SubscriptionRampIntervalResponse.java +++ b/src/main/java/com/recurly/v3/resources/SubscriptionRampIntervalResponse.java @@ -43,7 +43,9 @@ public ZonedDateTime getEndingOn() { return this.endingOn; } - /** @param endingOn Date the ramp interval ends */ + /** + * @param endingOn Date the ramp interval ends + */ public void setEndingOn(final ZonedDateTime endingOn) { this.endingOn = endingOn; } @@ -65,7 +67,9 @@ public Integer getStartingBillingCycle() { return this.startingBillingCycle; } - /** @param startingBillingCycle Represents the billing cycle where a ramp interval starts. */ + /** + * @param startingBillingCycle Represents the billing cycle where a ramp interval starts. + */ public void setStartingBillingCycle(final Integer startingBillingCycle) { this.startingBillingCycle = startingBillingCycle; } @@ -75,7 +79,9 @@ public ZonedDateTime getStartingOn() { return this.startingOn; } - /** @param startingOn Date the ramp interval starts */ + /** + * @param startingOn Date the ramp interval starts + */ public void setStartingOn(final ZonedDateTime startingOn) { this.startingOn = startingOn; } @@ -85,7 +91,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount Represents the price for the ramp interval. */ + /** + * @param unitAmount Represents the price for the ramp interval. + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } diff --git a/src/main/java/com/recurly/v3/resources/SubscriptionShipping.java b/src/main/java/com/recurly/v3/resources/SubscriptionShipping.java index 34a98c5..422f3a5 100644 --- a/src/main/java/com/recurly/v3/resources/SubscriptionShipping.java +++ b/src/main/java/com/recurly/v3/resources/SubscriptionShipping.java @@ -34,7 +34,9 @@ public ShippingAddress getAddress() { return this.address; } - /** @param address */ + /** + * @param address + */ public void setAddress(final ShippingAddress address) { this.address = address; } @@ -44,7 +46,9 @@ public BigDecimal getAmount() { return this.amount; } - /** @param amount Subscription's shipping cost */ + /** + * @param amount Subscription's shipping cost + */ public void setAmount(final BigDecimal amount) { this.amount = amount; } @@ -53,7 +57,9 @@ public ShippingMethodMini getMethod() { return this.method; } - /** @param method */ + /** + * @param method + */ public void setMethod(final ShippingMethodMini method) { this.method = method; } @@ -63,7 +69,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } diff --git a/src/main/java/com/recurly/v3/resources/TaxDetail.java b/src/main/java/com/recurly/v3/resources/TaxDetail.java index 9ca4b26..ca6038d 100644 --- a/src/main/java/com/recurly/v3/resources/TaxDetail.java +++ b/src/main/java/com/recurly/v3/resources/TaxDetail.java @@ -116,7 +116,9 @@ public BigDecimal getRate() { return this.rate; } - /** @param rate Provides the tax rate for the region. */ + /** + * @param rate Provides the tax rate for the region. + */ public void setRate(final BigDecimal rate) { this.rate = rate; } @@ -143,7 +145,9 @@ public BigDecimal getTax() { return this.tax; } - /** @param tax The total tax applied for this tax type. */ + /** + * @param tax The total tax applied for this tax type. + */ public void setTax(final BigDecimal tax) { this.tax = tax; } diff --git a/src/main/java/com/recurly/v3/resources/TaxInfo.java b/src/main/java/com/recurly/v3/resources/TaxInfo.java index 1d823e8..6b70518 100644 --- a/src/main/java/com/recurly/v3/resources/TaxInfo.java +++ b/src/main/java/com/recurly/v3/resources/TaxInfo.java @@ -53,7 +53,9 @@ public BigDecimal getRate() { return this.rate; } - /** @param rate The combined tax rate. Not present when Avalara for Communications is enabled. */ + /** + * @param rate The combined tax rate. Not present when Avalara for Communications is enabled. + */ public void setRate(final BigDecimal rate) { this.rate = rate; } diff --git a/src/main/java/com/recurly/v3/resources/Tier.java b/src/main/java/com/recurly/v3/resources/Tier.java index 9006d26..d50b764 100644 --- a/src/main/java/com/recurly/v3/resources/Tier.java +++ b/src/main/java/com/recurly/v3/resources/Tier.java @@ -35,7 +35,9 @@ public List getCurrencies() { return this.currencies; } - /** @param currencies Tier pricing */ + /** + * @param currencies Tier pricing + */ public void setCurrencies(final List currencies) { this.currencies = currencies; } @@ -61,7 +63,9 @@ public String getUsagePercentage() { return this.usagePercentage; } - /** @param usagePercentage (deprecated) -- Use the percentage_tiers object instead. */ + /** + * @param usagePercentage (deprecated) -- Use the percentage_tiers object instead. + */ public void setUsagePercentage(final String usagePercentage) { this.usagePercentage = usagePercentage; } diff --git a/src/main/java/com/recurly/v3/resources/TierPricing.java b/src/main/java/com/recurly/v3/resources/TierPricing.java index 97b3163..4f3a94f 100644 --- a/src/main/java/com/recurly/v3/resources/TierPricing.java +++ b/src/main/java/com/recurly/v3/resources/TierPricing.java @@ -35,7 +35,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } diff --git a/src/main/java/com/recurly/v3/resources/Transaction.java b/src/main/java/com/recurly/v3/resources/Transaction.java index 3abd1ab..072fec7 100644 --- a/src/main/java/com/recurly/v3/resources/Transaction.java +++ b/src/main/java/com/recurly/v3/resources/Transaction.java @@ -300,7 +300,9 @@ public AccountMini getAccount() { return this.account; } - /** @param account Account mini details */ + /** + * @param account Account mini details + */ public void setAccount(final AccountMini account) { this.account = account; } @@ -326,7 +328,9 @@ public BigDecimal getAmount() { return this.amount; } - /** @param amount Total transaction amount sent to the payment gateway. */ + /** + * @param amount Total transaction amount sent to the payment gateway. + */ public void setAmount(final BigDecimal amount) { this.amount = amount; } @@ -336,7 +340,9 @@ public Constants.AvsCheck getAvsCheck() { return this.avsCheck; } - /** @param avsCheck When processed, result from checking the overall AVS on the transaction. */ + /** + * @param avsCheck When processed, result from checking the overall AVS on the transaction. + */ public void setAvsCheck(final Constants.AvsCheck avsCheck) { this.avsCheck = avsCheck; } @@ -358,7 +364,9 @@ public AddressWithName getBillingAddress() { return this.billingAddress; } - /** @param billingAddress */ + /** + * @param billingAddress + */ public void setBillingAddress(final AddressWithName billingAddress) { this.billingAddress = billingAddress; } @@ -380,7 +388,9 @@ public Constants.CollectionMethod getCollectionMethod() { return this.collectionMethod; } - /** @param collectionMethod The method by which the payment was collected. */ + /** + * @param collectionMethod The method by which the payment was collected. + */ public void setCollectionMethod(final Constants.CollectionMethod collectionMethod) { this.collectionMethod = collectionMethod; } @@ -390,7 +400,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -400,7 +412,9 @@ public String getCurrency() { return this.currency; } - /** @param currency 3-letter ISO 4217 currency code. */ + /** + * @param currency 3-letter ISO 4217 currency code. + */ public void setCurrency(final String currency) { this.currency = currency; } @@ -423,7 +437,9 @@ public String getCustomerMessageLocale() { return this.customerMessageLocale; } - /** @param customerMessageLocale Language code for the message */ + /** + * @param customerMessageLocale Language code for the message + */ public void setCustomerMessageLocale(final String customerMessageLocale) { this.customerMessageLocale = customerMessageLocale; } @@ -433,7 +449,9 @@ public Constants.CvvCheck getCvvCheck() { return this.cvvCheck; } - /** @param cvvCheck When processed, result from checking the CVV/CVC value on the transaction. */ + /** + * @param cvvCheck When processed, result from checking the CVV/CVC value on the transaction. + */ public void setCvvCheck(final Constants.CvvCheck cvvCheck) { this.cvvCheck = cvvCheck; } @@ -443,7 +461,9 @@ public String getDescription() { return this.description; } - /** @param description The description that gets sent to the gateway. */ + /** + * @param description The description that gets sent to the gateway. + */ public void setDescription(final String description) { this.description = description; } @@ -453,7 +473,9 @@ public TransactionFraudInfo getFraudInfo() { return this.fraudInfo; } - /** @param fraudInfo Fraud information */ + /** + * @param fraudInfo Fraud information + */ public void setFraudInfo(final TransactionFraudInfo fraudInfo) { this.fraudInfo = fraudInfo; } @@ -463,7 +485,9 @@ public String getGatewayApprovalCode() { return this.gatewayApprovalCode; } - /** @param gatewayApprovalCode Transaction approval code from the payment gateway. */ + /** + * @param gatewayApprovalCode Transaction approval code from the payment gateway. + */ public void setGatewayApprovalCode(final String gatewayApprovalCode) { this.gatewayApprovalCode = gatewayApprovalCode; } @@ -473,7 +497,9 @@ public String getGatewayMessage() { return this.gatewayMessage; } - /** @param gatewayMessage Transaction message from the payment gateway. */ + /** + * @param gatewayMessage Transaction message from the payment gateway. + */ public void setGatewayMessage(final String gatewayMessage) { this.gatewayMessage = gatewayMessage; } @@ -483,7 +509,9 @@ public String getGatewayReference() { return this.gatewayReference; } - /** @param gatewayReference Transaction reference number from the payment gateway. */ + /** + * @param gatewayReference Transaction reference number from the payment gateway. + */ public void setGatewayReference(final String gatewayReference) { this.gatewayReference = gatewayReference; } @@ -506,7 +534,9 @@ public BigDecimal getGatewayResponseTime() { return this.gatewayResponseTime; } - /** @param gatewayResponseTime Time, in seconds, for gateway to process the transaction. */ + /** + * @param gatewayResponseTime Time, in seconds, for gateway to process the transaction. + */ public void setGatewayResponseTime(final BigDecimal gatewayResponseTime) { this.gatewayResponseTime = gatewayResponseTime; } @@ -516,7 +546,9 @@ public Map getGatewayResponseValues() { return this.gatewayResponseValues; } - /** @param gatewayResponseValues The values in this field will vary from gateway to gateway. */ + /** + * @param gatewayResponseValues The values in this field will vary from gateway to gateway. + */ public void setGatewayResponseValues(final Map gatewayResponseValues) { this.gatewayResponseValues = gatewayResponseValues; } @@ -526,7 +558,9 @@ public String getId() { return this.id; } - /** @param id Transaction ID */ + /** + * @param id Transaction ID + */ public void setId(final String id) { this.id = id; } @@ -556,7 +590,9 @@ public InvoiceMini getInvoice() { return this.invoice; } - /** @param invoice Invoice mini details */ + /** + * @param invoice Invoice mini details + */ public void setInvoice(final InvoiceMini invoice) { this.invoice = invoice; } @@ -668,7 +704,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -678,7 +716,9 @@ public Constants.TransactionOrigin getOrigin() { return this.origin; } - /** @param origin Describes how the transaction was triggered. */ + /** + * @param origin Describes how the transaction was triggered. + */ public void setOrigin(final Constants.TransactionOrigin origin) { this.origin = origin; } @@ -703,7 +743,9 @@ public TransactionPaymentGateway getPaymentGateway() { return this.paymentGateway; } - /** @param paymentGateway */ + /** + * @param paymentGateway + */ public void setPaymentGateway(final TransactionPaymentGateway paymentGateway) { this.paymentGateway = paymentGateway; } @@ -712,7 +754,9 @@ public PaymentMethod getPaymentMethod() { return this.paymentMethod; } - /** @param paymentMethod */ + /** + * @param paymentMethod + */ public void setPaymentMethod(final PaymentMethod paymentMethod) { this.paymentMethod = paymentMethod; } @@ -722,7 +766,9 @@ public Boolean getRefunded() { return this.refunded; } - /** @param refunded Indicates if part or all of this transaction was refunded. */ + /** + * @param refunded Indicates if part or all of this transaction was refunded. + */ public void setRefunded(final Boolean refunded) { this.refunded = refunded; } @@ -748,7 +794,9 @@ public String getStatusCode() { return this.statusCode; } - /** @param statusCode Status code */ + /** + * @param statusCode Status code + */ public void setStatusCode(final String statusCode) { this.statusCode = statusCode; } @@ -786,7 +834,9 @@ public Boolean getSuccess() { return this.success; } - /** @param success Did this transaction complete successfully? */ + /** + * @param success Did this transaction complete successfully? + */ public void setSuccess(final Boolean success) { this.success = success; } @@ -819,7 +869,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Updated at */ + /** + * @param updatedAt Updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } @@ -862,7 +914,9 @@ public ZonedDateTime getVoidedAt() { return this.voidedAt; } - /** @param voidedAt Voided at */ + /** + * @param voidedAt Voided at + */ public void setVoidedAt(final ZonedDateTime voidedAt) { this.voidedAt = voidedAt; } @@ -872,7 +926,9 @@ public InvoiceMini getVoidedByInvoice() { return this.voidedByInvoice; } - /** @param voidedByInvoice Invoice mini details */ + /** + * @param voidedByInvoice Invoice mini details + */ public void setVoidedByInvoice(final InvoiceMini voidedByInvoice) { this.voidedByInvoice = voidedByInvoice; } diff --git a/src/main/java/com/recurly/v3/resources/TransactionError.java b/src/main/java/com/recurly/v3/resources/TransactionError.java index 7bdf2d3..6a3e2fa 100644 --- a/src/main/java/com/recurly/v3/resources/TransactionError.java +++ b/src/main/java/com/recurly/v3/resources/TransactionError.java @@ -65,7 +65,9 @@ public Constants.ErrorCategory getCategory() { return this.category; } - /** @param category Category */ + /** + * @param category Category + */ public void setCategory(final Constants.ErrorCategory category) { this.category = category; } @@ -75,7 +77,9 @@ public Constants.ErrorCode getCode() { return this.code; } - /** @param code Code */ + /** + * @param code Code + */ public void setCode(final Constants.ErrorCode code) { this.code = code; } @@ -85,7 +89,9 @@ public Constants.DeclineCode getDeclineCode() { return this.declineCode; } - /** @param declineCode Decline code */ + /** + * @param declineCode Decline code + */ public void setDeclineCode(final Constants.DeclineCode declineCode) { this.declineCode = declineCode; } @@ -95,7 +101,9 @@ public TransactionFraudInfo getFraudInfo() { return this.fraudInfo; } - /** @param fraudInfo Fraud information */ + /** + * @param fraudInfo Fraud information + */ public void setFraudInfo(final TransactionFraudInfo fraudInfo) { this.fraudInfo = fraudInfo; } @@ -105,7 +113,9 @@ public String getMerchantAdvice() { return this.merchantAdvice; } - /** @param merchantAdvice Merchant message */ + /** + * @param merchantAdvice Merchant message + */ public void setMerchantAdvice(final String merchantAdvice) { this.merchantAdvice = merchantAdvice; } @@ -115,7 +125,9 @@ public String getMessage() { return this.message; } - /** @param message Customer message */ + /** + * @param message Customer message + */ public void setMessage(final String message) { this.message = message; } @@ -125,7 +137,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -151,7 +165,9 @@ public String getTransactionId() { return this.transactionId; } - /** @param transactionId Transaction ID */ + /** + * @param transactionId Transaction ID + */ public void setTransactionId(final String transactionId) { this.transactionId = transactionId; } diff --git a/src/main/java/com/recurly/v3/resources/TransactionFraudInfo.java b/src/main/java/com/recurly/v3/resources/TransactionFraudInfo.java index 9567766..95131c4 100644 --- a/src/main/java/com/recurly/v3/resources/TransactionFraudInfo.java +++ b/src/main/java/com/recurly/v3/resources/TransactionFraudInfo.java @@ -43,7 +43,9 @@ public Constants.KountDecision getDecision() { return this.decision; } - /** @param decision Kount decision */ + /** + * @param decision Kount decision + */ public void setDecision(final Constants.KountDecision decision) { this.decision = decision; } @@ -53,7 +55,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -63,7 +67,9 @@ public String getReference() { return this.reference; } - /** @param reference Kount transaction reference ID */ + /** + * @param reference Kount transaction reference ID + */ public void setReference(final String reference) { this.reference = reference; } @@ -85,7 +91,9 @@ public Integer getScore() { return this.score; } - /** @param score Kount score */ + /** + * @param score Kount score + */ public void setScore(final Integer score) { this.score = score; } diff --git a/src/main/java/com/recurly/v3/resources/TransactionNextAction.java b/src/main/java/com/recurly/v3/resources/TransactionNextAction.java index b0e0c36..114e0c1 100644 --- a/src/main/java/com/recurly/v3/resources/TransactionNextAction.java +++ b/src/main/java/com/recurly/v3/resources/TransactionNextAction.java @@ -27,7 +27,9 @@ public Constants.NextActionType getType() { return this.type; } - /** @param type The type of next action required. */ + /** + * @param type The type of next action required. + */ public void setType(final Constants.NextActionType type) { this.type = type; } @@ -37,7 +39,9 @@ public String getValue() { return this.value; } - /** @param value The value associated with the next action type. */ + /** + * @param value The value associated with the next action type. + */ public void setValue(final String value) { this.value = value; } diff --git a/src/main/java/com/recurly/v3/resources/TransactionPaymentGateway.java b/src/main/java/com/recurly/v3/resources/TransactionPaymentGateway.java index 08ede4b..30c8d96 100644 --- a/src/main/java/com/recurly/v3/resources/TransactionPaymentGateway.java +++ b/src/main/java/com/recurly/v3/resources/TransactionPaymentGateway.java @@ -32,7 +32,9 @@ public String getId() { return this.id; } - /** @param id */ + /** + * @param id + */ public void setId(final String id) { this.id = id; } @@ -41,7 +43,9 @@ public String getName() { return this.name; } - /** @param name */ + /** + * @param name + */ public void setName(final String name) { this.name = name; } @@ -51,7 +55,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -60,7 +66,9 @@ public String getType() { return this.type; } - /** @param type */ + /** + * @param type + */ public void setType(final String type) { this.type = type; } diff --git a/src/main/java/com/recurly/v3/resources/UniqueCouponCode.java b/src/main/java/com/recurly/v3/resources/UniqueCouponCode.java index 8e12088..50126a4 100644 --- a/src/main/java/com/recurly/v3/resources/UniqueCouponCode.java +++ b/src/main/java/com/recurly/v3/resources/UniqueCouponCode.java @@ -68,7 +68,9 @@ public String getBulkCouponCode() { return this.bulkCouponCode; } - /** @param bulkCouponCode The Coupon code of the parent Bulk Coupon */ + /** + * @param bulkCouponCode The Coupon code of the parent Bulk Coupon + */ public void setBulkCouponCode(final String bulkCouponCode) { this.bulkCouponCode = bulkCouponCode; } @@ -78,7 +80,9 @@ public String getBulkCouponId() { return this.bulkCouponId; } - /** @param bulkCouponId The Coupon ID of the parent Bulk Coupon */ + /** + * @param bulkCouponId The Coupon ID of the parent Bulk Coupon + */ public void setBulkCouponId(final String bulkCouponId) { this.bulkCouponId = bulkCouponId; } @@ -88,7 +92,9 @@ public String getCode() { return this.code; } - /** @param code The code the customer enters to redeem the coupon. */ + /** + * @param code The code the customer enters to redeem the coupon. + */ public void setCode(final String code) { this.code = code; } @@ -98,7 +104,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt Created at */ + /** + * @param createdAt Created at + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -121,7 +129,9 @@ public String getId() { return this.id; } - /** @param id Unique Coupon Code ID */ + /** + * @param id Unique Coupon Code ID + */ public void setId(final String id) { this.id = id; } @@ -131,7 +141,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -141,7 +153,9 @@ public ZonedDateTime getRedeemedAt() { return this.redeemedAt; } - /** @param redeemedAt The date and time the unique coupon code was redeemed. */ + /** + * @param redeemedAt The date and time the unique coupon code was redeemed. + */ public void setRedeemedAt(final ZonedDateTime redeemedAt) { this.redeemedAt = redeemedAt; } @@ -151,7 +165,9 @@ public Constants.CouponCodeState getState() { return this.state; } - /** @param state Indicates if the unique coupon code is redeemable or why not. */ + /** + * @param state Indicates if the unique coupon code is redeemable or why not. + */ public void setState(final Constants.CouponCodeState state) { this.state = state; } @@ -161,7 +177,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt Updated at */ + /** + * @param updatedAt Updated at + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } diff --git a/src/main/java/com/recurly/v3/resources/UniqueCouponCodeGenerationResponse.java b/src/main/java/com/recurly/v3/resources/UniqueCouponCodeGenerationResponse.java index 7cac565..e9eef93 100644 --- a/src/main/java/com/recurly/v3/resources/UniqueCouponCodeGenerationResponse.java +++ b/src/main/java/com/recurly/v3/resources/UniqueCouponCodeGenerationResponse.java @@ -27,7 +27,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -37,7 +39,9 @@ public List getUniqueCouponCodes() { return this.uniqueCouponCodes; } - /** @param uniqueCouponCodes An array containing the newly generated unique coupon codes. */ + /** + * @param uniqueCouponCodes An array containing the newly generated unique coupon codes. + */ public void setUniqueCouponCodes(final List uniqueCouponCodes) { this.uniqueCouponCodes = uniqueCouponCodes; } diff --git a/src/main/java/com/recurly/v3/resources/UniqueCouponCodeParams.java b/src/main/java/com/recurly/v3/resources/UniqueCouponCodeParams.java index fa48e56..3cbaa76 100644 --- a/src/main/java/com/recurly/v3/resources/UniqueCouponCodeParams.java +++ b/src/main/java/com/recurly/v3/resources/UniqueCouponCodeParams.java @@ -37,7 +37,9 @@ public ZonedDateTime getBeginTime() { return this.beginTime; } - /** @param beginTime The date-time to be included when listing UniqueCouponCodes */ + /** + * @param beginTime The date-time to be included when listing UniqueCouponCodes + */ public void setBeginTime(final ZonedDateTime beginTime) { this.beginTime = beginTime; } @@ -47,7 +49,9 @@ public Integer getLimit() { return this.limit; } - /** @param limit The number of UniqueCouponCodes that will be generated */ + /** + * @param limit The number of UniqueCouponCodes that will be generated + */ public void setLimit(final Integer limit) { this.limit = limit; } @@ -57,7 +61,9 @@ public String getOrder() { return this.order; } - /** @param order Sort order to list newly generated UniqueCouponCodes (should always be `asc`) */ + /** + * @param order Sort order to list newly generated UniqueCouponCodes (should always be `asc`) + */ public void setOrder(final String order) { this.order = order; } diff --git a/src/main/java/com/recurly/v3/resources/Usage.java b/src/main/java/com/recurly/v3/resources/Usage.java index 0f6cb54..04585f2 100644 --- a/src/main/java/com/recurly/v3/resources/Usage.java +++ b/src/main/java/com/recurly/v3/resources/Usage.java @@ -151,7 +151,9 @@ public ZonedDateTime getBilledAt() { return this.billedAt; } - /** @param billedAt When the usage record was billed on an invoice. */ + /** + * @param billedAt When the usage record was billed on an invoice. + */ public void setBilledAt(final ZonedDateTime billedAt) { this.billedAt = billedAt; } @@ -161,7 +163,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt When the usage record was created in Recurly. */ + /** + * @param createdAt When the usage record was created in Recurly. + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -170,7 +174,9 @@ public String getId() { return this.id; } - /** @param id */ + /** + * @param id + */ public void setId(final String id) { this.id = id; } @@ -210,7 +216,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -238,7 +246,9 @@ public ZonedDateTime getRecordingTimestamp() { return this.recordingTimestamp; } - /** @param recordingTimestamp When the usage was recorded in your system. */ + /** + * @param recordingTimestamp When the usage was recorded in your system. + */ public void setRecordingTimestamp(final ZonedDateTime recordingTimestamp) { this.recordingTimestamp = recordingTimestamp; } @@ -284,7 +294,9 @@ public BigDecimal getUnitAmount() { return this.unitAmount; } - /** @param unitAmount Unit price */ + /** + * @param unitAmount Unit price + */ public void setUnitAmount(final BigDecimal unitAmount) { this.unitAmount = unitAmount; } @@ -294,7 +306,9 @@ public String getUnitAmountDecimal() { return this.unitAmountDecimal; } - /** @param unitAmountDecimal Unit price that can optionally support a sub-cent value. */ + /** + * @param unitAmountDecimal Unit price that can optionally support a sub-cent value. + */ public void setUnitAmountDecimal(final String unitAmountDecimal) { this.unitAmountDecimal = unitAmountDecimal; } @@ -304,7 +318,9 @@ public ZonedDateTime getUpdatedAt() { return this.updatedAt; } - /** @param updatedAt When the usage record was billed on an invoice. */ + /** + * @param updatedAt When the usage record was billed on an invoice. + */ public void setUpdatedAt(final ZonedDateTime updatedAt) { this.updatedAt = updatedAt; } @@ -346,7 +362,9 @@ public Constants.UsageType getUsageType() { return this.usageType; } - /** @param usageType Type of usage, returns usage type if `add_on_type` is `usage`. */ + /** + * @param usageType Type of usage, returns usage type if `add_on_type` is `usage`. + */ public void setUsageType(final Constants.UsageType usageType) { this.usageType = usageType; } diff --git a/src/main/java/com/recurly/v3/resources/User.java b/src/main/java/com/recurly/v3/resources/User.java index e77f87b..9c2137e 100644 --- a/src/main/java/com/recurly/v3/resources/User.java +++ b/src/main/java/com/recurly/v3/resources/User.java @@ -49,7 +49,9 @@ public ZonedDateTime getCreatedAt() { return this.createdAt; } - /** @param createdAt */ + /** + * @param createdAt + */ public void setCreatedAt(final ZonedDateTime createdAt) { this.createdAt = createdAt; } @@ -58,7 +60,9 @@ public ZonedDateTime getDeletedAt() { return this.deletedAt; } - /** @param deletedAt */ + /** + * @param deletedAt + */ public void setDeletedAt(final ZonedDateTime deletedAt) { this.deletedAt = deletedAt; } @@ -67,7 +71,9 @@ public String getEmail() { return this.email; } - /** @param email */ + /** + * @param email + */ public void setEmail(final String email) { this.email = email; } @@ -76,7 +82,9 @@ public String getFirstName() { return this.firstName; } - /** @param firstName */ + /** + * @param firstName + */ public void setFirstName(final String firstName) { this.firstName = firstName; } @@ -85,7 +93,9 @@ public String getId() { return this.id; } - /** @param id */ + /** + * @param id + */ public void setId(final String id) { this.id = id; } @@ -94,7 +104,9 @@ public String getLastName() { return this.lastName; } - /** @param lastName */ + /** + * @param lastName + */ public void setLastName(final String lastName) { this.lastName = lastName; } @@ -104,7 +116,9 @@ public String getObject() { return this.object; } - /** @param object Object type */ + /** + * @param object Object type + */ public void setObject(final String object) { this.object = object; } @@ -113,7 +127,9 @@ public String getTimeZone() { return this.timeZone; } - /** @param timeZone */ + /** + * @param timeZone + */ public void setTimeZone(final String timeZone) { this.timeZone = timeZone; }