diff --git a/src/main/java/com/stripe/model/Charge.java b/src/main/java/com/stripe/model/Charge.java index 283bf952292..a93c16464cb 100644 --- a/src/main/java/com/stripe/model/Charge.java +++ b/src/main/java/com/stripe/model/Charge.java @@ -1214,7 +1214,13 @@ public static class Checks extends StripeObject { @Getter @Setter @EqualsAndHashCode(callSuper = false) - public static class ThreeDSecure extends StripeObject {} + public static class ThreeDSecure extends StripeObject { + @SerializedName("succeeded") + Boolean succeeded; + + @SerializedName("version") + String version; + } @Getter @Setter diff --git a/src/main/java/com/stripe/model/Invoice.java b/src/main/java/com/stripe/model/Invoice.java index 18eb37d03d7..cfeb4de955b 100644 --- a/src/main/java/com/stripe/model/Invoice.java +++ b/src/main/java/com/stripe/model/Invoice.java @@ -244,8 +244,15 @@ public class Invoice extends ApiResource implements HasId, MetadataStore paymentIntent; /** End of the usage period during which invoice items were added to this invoice. */ @SerializedName("period_end") @@ -407,6 +414,25 @@ public void setDefaultSourceObject(PaymentSource expandableObject) { new ExpandableField(expandableObject.getId(), expandableObject); } + /** Get id of expandable `paymentIntent` object. */ + public String getPaymentIntent() { + return (this.paymentIntent != null) ? this.paymentIntent.getId() : null; + } + + public void setPaymentIntent(String id) { + this.paymentIntent = ApiResource.setExpandableFieldId(id, this.paymentIntent); + } + + /** Get expanded `paymentIntent`. */ + public PaymentIntent getPaymentIntentObject() { + return (this.paymentIntent != null) ? this.paymentIntent.getExpanded() : null; + } + + public void setPaymentIntentObject(PaymentIntent expandableObject) { + this.paymentIntent = + new ExpandableField(expandableObject.getId(), expandableObject); + } + /** Get id of expandable `subscription` object. */ public String getSubscription() { return (this.subscription != null) ? this.subscription.getId() : null; diff --git a/src/main/java/com/stripe/model/PaymentIntent.java b/src/main/java/com/stripe/model/PaymentIntent.java index a95f099ccbc..890f28e104e 100644 --- a/src/main/java/com/stripe/model/PaymentIntent.java +++ b/src/main/java/com/stripe/model/PaymentIntent.java @@ -197,8 +197,7 @@ public class PaymentIntent extends ApiResource implements HasId, MetadataStore

next_action. If payment fails, the PaymentIntent will transition to the * requires_payment_method status. If payment succeeds, the PaymentIntent will transition * to the succeeded status (or requires_capture, if capture_method - * is set to manual). Read the expanded documentation to learn - * more about server-side confirmation. + * is set to manual). * *

If the confirmation_method is automatic, payment may be attempted * using our client SDKs and @@ -522,7 +519,9 @@ public PaymentIntent update(PaymentIntentUpdateParams params, RequestOptions opt * initiated using a secret key. If any actions are required for the payment, the PaymentIntent * will return to the requires_confirmation state after those actions are completed. * Your server needs to then explicitly re-confirm the PaymentIntent to initiate the next payment - * attempt. + * attempt. Read the expanded + * documentation to learn more about manual confirmation. */ public PaymentIntent confirm() throws StripeException { return confirm((Map) null, (RequestOptions) null); @@ -537,9 +536,7 @@ public PaymentIntent confirm() throws StripeException { * next_action. If payment fails, the PaymentIntent will transition to the * requires_payment_method status. If payment succeeds, the PaymentIntent will transition * to the succeeded status (or requires_capture, if capture_method - * is set to manual). Read the expanded documentation to learn - * more about server-side confirmation. + * is set to manual). * *

If the confirmation_method is automatic, payment may be attempted * using our client SDKs and @@ -551,7 +548,9 @@ public PaymentIntent confirm() throws StripeException { * initiated using a secret key. If any actions are required for the payment, the PaymentIntent * will return to the requires_confirmation state after those actions are completed. * Your server needs to then explicitly re-confirm the PaymentIntent to initiate the next payment - * attempt. + * attempt. Read the expanded + * documentation to learn more about manual confirmation. */ public PaymentIntent confirm(RequestOptions options) throws StripeException { return confirm((Map) null, options); @@ -566,9 +565,7 @@ public PaymentIntent confirm(RequestOptions options) throws StripeException { * next_action. If payment fails, the PaymentIntent will transition to the * requires_payment_method status. If payment succeeds, the PaymentIntent will transition * to the succeeded status (or requires_capture, if capture_method - * is set to manual). Read the expanded documentation to learn - * more about server-side confirmation. + * is set to manual). * *

If the confirmation_method is automatic, payment may be attempted * using our client SDKs and @@ -580,7 +577,9 @@ public PaymentIntent confirm(RequestOptions options) throws StripeException { * initiated using a secret key. If any actions are required for the payment, the PaymentIntent * will return to the requires_confirmation state after those actions are completed. * Your server needs to then explicitly re-confirm the PaymentIntent to initiate the next payment - * attempt. + * attempt. Read the expanded + * documentation to learn more about manual confirmation. */ public PaymentIntent confirm(Map params) throws StripeException { return confirm(params, (RequestOptions) null); @@ -595,9 +594,7 @@ public PaymentIntent confirm(Map params) throws StripeException * next_action. If payment fails, the PaymentIntent will transition to the * requires_payment_method status. If payment succeeds, the PaymentIntent will transition * to the succeeded status (or requires_capture, if capture_method - * is set to manual). Read the expanded documentation to learn - * more about server-side confirmation. + * is set to manual). * *

If the confirmation_method is automatic, payment may be attempted * using our client SDKs and @@ -609,7 +606,9 @@ public PaymentIntent confirm(Map params) throws StripeException * initiated using a secret key. If any actions are required for the payment, the PaymentIntent * will return to the requires_confirmation state after those actions are completed. * Your server needs to then explicitly re-confirm the PaymentIntent to initiate the next payment - * attempt. + * attempt. Read the expanded + * documentation to learn more about manual confirmation. */ public PaymentIntent confirm(Map params, RequestOptions options) throws StripeException { @@ -630,9 +629,7 @@ public PaymentIntent confirm(Map params, RequestOptions options) * next_action. If payment fails, the PaymentIntent will transition to the * requires_payment_method status. If payment succeeds, the PaymentIntent will transition * to the succeeded status (or requires_capture, if capture_method - * is set to manual). Read the expanded documentation to learn - * more about server-side confirmation. + * is set to manual). * *

If the confirmation_method is automatic, payment may be attempted * using our client SDKs and @@ -644,7 +641,9 @@ public PaymentIntent confirm(Map params, RequestOptions options) * initiated using a secret key. If any actions are required for the payment, the PaymentIntent * will return to the requires_confirmation state after those actions are completed. * Your server needs to then explicitly re-confirm the PaymentIntent to initiate the next payment - * attempt. + * attempt. Read the expanded + * documentation to learn more about manual confirmation. */ public PaymentIntent confirm(PaymentIntentConfirmParams params) throws StripeException { return confirm(params, (RequestOptions) null); @@ -659,9 +658,7 @@ public PaymentIntent confirm(PaymentIntentConfirmParams params) throws StripeExc * next_action. If payment fails, the PaymentIntent will transition to the * requires_payment_method status. If payment succeeds, the PaymentIntent will transition * to the succeeded status (or requires_capture, if capture_method - * is set to manual). Read the expanded documentation to learn - * more about server-side confirmation. + * is set to manual). * *

If the confirmation_method is automatic, payment may be attempted * using our client SDKs and @@ -673,7 +670,9 @@ public PaymentIntent confirm(PaymentIntentConfirmParams params) throws StripeExc * initiated using a secret key. If any actions are required for the payment, the PaymentIntent * will return to the requires_confirmation state after those actions are completed. * Your server needs to then explicitly re-confirm the PaymentIntent to initiate the next payment - * attempt. + * attempt. Read the expanded + * documentation to learn more about manual confirmation. */ public PaymentIntent confirm(PaymentIntentConfirmParams params, RequestOptions options) throws StripeException { diff --git a/src/main/java/com/stripe/model/Refund.java b/src/main/java/com/stripe/model/Refund.java index 147854a4546..7f720476b98 100644 --- a/src/main/java/com/stripe/model/Refund.java +++ b/src/main/java/com/stripe/model/Refund.java @@ -108,9 +108,9 @@ public class Refund extends ApiResource implements BalanceTransactionSource, Met ExpandableField sourceTransferReversal; /** - * Status of the refund. For credit card refunds, this can be `succeeded` or `failed`. For other - * types of refunds, it can be `pending`, `succeeded`, `failed`, or `canceled`. Refer to our - * [refunds](https://stripe.com/docs/refunds#failed-refunds) documentation for more details. + * Status of the refund. For credit card refunds, this can be `pending`, `succeeded`, or `failed`. + * For other types of refunds, it can be `pending`, `succeeded`, `failed`, or `canceled`. Refer to + * our [refunds](https://stripe.com/docs/refunds#failed-refunds) documentation for more details. */ @SerializedName("status") String status; diff --git a/src/main/java/com/stripe/model/issuing/Card.java b/src/main/java/com/stripe/model/issuing/Card.java index e95a3f73c13..23e115a3be1 100644 --- a/src/main/java/com/stripe/model/issuing/Card.java +++ b/src/main/java/com/stripe/model/issuing/Card.java @@ -337,6 +337,10 @@ public static class AuthorizationControls extends StripeObject { */ @SerializedName("max_approvals") Long maxApprovals; + + /** Limit the spending with rules based on time intervals and categories. */ + @SerializedName("spending_limits") + List spendingLimits; } @Getter @@ -390,4 +394,28 @@ public static class Shipping extends StripeObject { @SerializedName("type") String type; } + + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class SpendingLimit extends StripeObject { + /** Maximum amount allowed to spend per time interval. */ + @SerializedName("amount") + Long amount; + + /** + * Array of strings containing + * [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) + * on which to apply the spending limit. Leave this blank to limit all charges. + */ + @SerializedName("categories") + List categories; + + /** + * The time interval with which to apply this spending limit towards. Allowed values are + * `per_authorization`, `daily`, `weekly`, `monthly`, `yearly`, or `all_time`. + */ + @SerializedName("interval") + String interval; + } } diff --git a/src/main/java/com/stripe/model/issuing/Cardholder.java b/src/main/java/com/stripe/model/issuing/Cardholder.java index 7af097b8ff3..9ee6131ec4a 100644 --- a/src/main/java/com/stripe/model/issuing/Cardholder.java +++ b/src/main/java/com/stripe/model/issuing/Cardholder.java @@ -243,6 +243,10 @@ public static class AuthorizationControls extends StripeObject { */ @SerializedName("blocked_categories") List blockedCategories; + + /** Limit the spending with rules based on time intervals and categories. */ + @SerializedName("spending_limits") + List spendingLimits; } @Getter @@ -255,4 +259,28 @@ public static class Billing extends StripeObject { @SerializedName("name") String name; } + + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class SpendingLimit extends StripeObject { + /** Maximum amount allowed to spend per time interval. */ + @SerializedName("amount") + Long amount; + + /** + * Array of strings containing + * [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) + * on which to apply the spending limit. Leave this blank to limit all charges. + */ + @SerializedName("categories") + List categories; + + /** + * The time interval with which to apply this spending limit towards. Allowed values are + * `per_authorization`, `daily`, `weekly`, `monthly`, `yearly`, or `all_time`. + */ + @SerializedName("interval") + String interval; + } } diff --git a/src/main/java/com/stripe/param/PaymentIntentCreateParams.java b/src/main/java/com/stripe/param/PaymentIntentCreateParams.java index 409c4fdc4d3..10a7c2238d9 100644 --- a/src/main/java/com/stripe/param/PaymentIntentCreateParams.java +++ b/src/main/java/com/stripe/param/PaymentIntentCreateParams.java @@ -36,9 +36,7 @@ public class PaymentIntentCreateParams extends ApiRequestParams { /** * Set to `true` to attempt to confirm this PaymentIntent immediately. This parameter defaults to * `false`. If the payment method attached is a card, a return_url may be provided in case - * additional authentication is required. Read the [expanded - * documentation](https://stripe.com/docs/payments/payment-intents/server-confirmation) to learn - * more about server-side confirmation. + * additional authentication is required. */ @SerializedName("confirm") Boolean confirm; @@ -53,7 +51,9 @@ public class PaymentIntentCreateParams extends ApiRequestParams { *

When the confirmation method is `manual`, all payment attempts must be made using a secret * key. The PaymentIntent will return to the `requires_confirmation` state after handling * `next_action`s, and requires your server to initiate each payment attempt with an explicit - * confirmation. + * confirmation. Read the [expanded + * documentation](https://stripe.com/docs/payments/payment-intents/quickstart#flow-manual-confirmation) + * to learn more about manual confirmation. */ @SerializedName("confirmation_method") ConfirmationMethod confirmationMethod; @@ -304,9 +304,7 @@ public Builder setCaptureMethod(CaptureMethod captureMethod) { /** * Set to `true` to attempt to confirm this PaymentIntent immediately. This parameter defaults * to `false`. If the payment method attached is a card, a return_url may be provided in case - * additional authentication is required. Read the [expanded - * documentation](https://stripe.com/docs/payments/payment-intents/server-confirmation) to learn - * more about server-side confirmation. + * additional authentication is required. */ public Builder setConfirm(Boolean confirm) { this.confirm = confirm; @@ -323,7 +321,9 @@ public Builder setConfirm(Boolean confirm) { *

When the confirmation method is `manual`, all payment attempts must be made using a secret * key. The PaymentIntent will return to the `requires_confirmation` state after handling * `next_action`s, and requires your server to initiate each payment attempt with an explicit - * confirmation. + * confirmation. Read the [expanded + * documentation](https://stripe.com/docs/payments/payment-intents/quickstart#flow-manual-confirmation) + * to learn more about manual confirmation. */ public Builder setConfirmationMethod(ConfirmationMethod confirmationMethod) { this.confirmationMethod = confirmationMethod; diff --git a/src/main/java/com/stripe/param/issuing/CardCreateParams.java b/src/main/java/com/stripe/param/issuing/CardCreateParams.java index eb16d5178e4..4a4937ce9a8 100644 --- a/src/main/java/com/stripe/param/issuing/CardCreateParams.java +++ b/src/main/java/com/stripe/param/issuing/CardCreateParams.java @@ -243,15 +243,21 @@ public static class AuthorizationControls { @SerializedName("max_approvals") Long maxApprovals; + /** Limit the spending with rules based on time intervals and categories. */ + @SerializedName("spending_limits") + List spendingLimits; + private AuthorizationControls( List allowedCategories, List blockedCategories, Long maxAmount, - Long maxApprovals) { + Long maxApprovals, + List spendingLimits) { this.allowedCategories = allowedCategories; this.blockedCategories = blockedCategories; this.maxAmount = maxAmount; this.maxApprovals = maxApprovals; + this.spendingLimits = spendingLimits; } public static Builder builder() { @@ -267,10 +273,16 @@ public static class Builder { private Long maxApprovals; + private List spendingLimits; + /** Finalize and obtain parameter instance from this builder. */ public AuthorizationControls build() { return new AuthorizationControls( - this.allowedCategories, this.blockedCategories, this.maxAmount, this.maxApprovals); + this.allowedCategories, + this.blockedCategories, + this.maxAmount, + this.maxApprovals, + this.spendingLimits); } /** @@ -331,6 +343,32 @@ public Builder setMaxApprovals(Long maxApprovals) { return this; } + /** + * Add an element to `spendingLimits` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * AuthorizationControls#spendingLimits} for the field documentation. + */ + public Builder addSpendingLimit(SpendingLimit element) { + if (this.spendingLimits == null) { + this.spendingLimits = new ArrayList<>(); + } + this.spendingLimits.add(element); + return this; + } + + /** + * Add all elements to `spendingLimits` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * AuthorizationControls#spendingLimits} for the field documentation. + */ + public Builder addAllSpendingLimit(List elements) { + if (this.spendingLimits == null) { + this.spendingLimits = new ArrayList<>(); + } + this.spendingLimits.addAll(elements); + return this; + } + /** * Add an element to `allowedCategories` list. A list is initialized for the first * `add/addAll` call, and subsequent calls adds additional elements to the original list. See @@ -345,6 +383,1000 @@ public Builder addAllowedCategory(AllowedCategory element) { } } + public static class SpendingLimit { + /** Maximum amount allowed to spend per time interval. */ + @SerializedName("amount") + Long amount; + + /** + * Array of strings containing + * [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) + * on which to apply the spending limit. Leave this blank to limit all charges. + */ + @SerializedName("categories") + List categories; + + /** + * The time interval with which to apply this spending limit towards. Allowed values are + * 'per_authorization', 'daily', 'weekly', 'monthly', 'yearly', and 'all_time'. + */ + @SerializedName("interval") + Interval interval; + + private SpendingLimit(Long amount, List categories, Interval interval) { + this.amount = amount; + this.categories = categories; + this.interval = interval; + } + + public static Builder builder() { + return new com.stripe.param.issuing.CardCreateParams.AuthorizationControls.SpendingLimit + .Builder(); + } + + public static class Builder { + private Long amount; + + private List categories; + + private Interval interval; + + /** Finalize and obtain parameter instance from this builder. */ + public SpendingLimit build() { + return new SpendingLimit(this.amount, this.categories, this.interval); + } + + /** Maximum amount allowed to spend per time interval. */ + public Builder setAmount(Long amount) { + this.amount = amount; + return this; + } + + /** + * Add an element to `categories` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * SpendingLimit#categories} for the field documentation. + */ + public Builder addCategory(Category element) { + if (this.categories == null) { + this.categories = new ArrayList<>(); + } + this.categories.add(element); + return this; + } + + /** + * Add all elements to `categories` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * SpendingLimit#categories} for the field documentation. + */ + public Builder addAllCategory(List elements) { + if (this.categories == null) { + this.categories = new ArrayList<>(); + } + this.categories.addAll(elements); + return this; + } + + /** + * The time interval with which to apply this spending limit towards. Allowed values are + * 'per_authorization', 'daily', 'weekly', 'monthly', 'yearly', and 'all_time'. + */ + public Builder setInterval(Interval interval) { + this.interval = interval; + return this; + } + } + + public enum Category implements ApiRequestParams.EnumParam { + @SerializedName("ac_refrigeration_repair") + AC_REFRIGERATION_REPAIR("ac_refrigeration_repair"), + + @SerializedName("accounting_bookkeeping_services") + ACCOUNTING_BOOKKEEPING_SERVICES("accounting_bookkeeping_services"), + + @SerializedName("advertising_services") + ADVERTISING_SERVICES("advertising_services"), + + @SerializedName("agricultural_cooperative") + AGRICULTURAL_COOPERATIVE("agricultural_cooperative"), + + @SerializedName("airlines_air_carriers") + AIRLINES_AIR_CARRIERS("airlines_air_carriers"), + + @SerializedName("airports_flying_fields") + AIRPORTS_FLYING_FIELDS("airports_flying_fields"), + + @SerializedName("ambulance_services") + AMBULANCE_SERVICES("ambulance_services"), + + @SerializedName("amusement_parks_carnivals") + AMUSEMENT_PARKS_CARNIVALS("amusement_parks_carnivals"), + + @SerializedName("antique_reproductions") + ANTIQUE_REPRODUCTIONS("antique_reproductions"), + + @SerializedName("antique_shops") + ANTIQUE_SHOPS("antique_shops"), + + @SerializedName("aquariums") + AQUARIUMS("aquariums"), + + @SerializedName("architectural_surveying_services") + ARCHITECTURAL_SURVEYING_SERVICES("architectural_surveying_services"), + + @SerializedName("art_dealers_and_galleries") + ART_DEALERS_AND_GALLERIES("art_dealers_and_galleries"), + + @SerializedName("artists_supply_and_craft_shops") + ARTISTS_SUPPLY_AND_CRAFT_SHOPS("artists_supply_and_craft_shops"), + + @SerializedName("auto_and_home_supply_stores") + AUTO_AND_HOME_SUPPLY_STORES("auto_and_home_supply_stores"), + + @SerializedName("auto_body_repair_shops") + AUTO_BODY_REPAIR_SHOPS("auto_body_repair_shops"), + + @SerializedName("auto_paint_shops") + AUTO_PAINT_SHOPS("auto_paint_shops"), + + @SerializedName("auto_service_shops") + AUTO_SERVICE_SHOPS("auto_service_shops"), + + @SerializedName("automated_cash_disburse") + AUTOMATED_CASH_DISBURSE("automated_cash_disburse"), + + @SerializedName("automated_fuel_dispensers") + AUTOMATED_FUEL_DISPENSERS("automated_fuel_dispensers"), + + @SerializedName("automobile_associations") + AUTOMOBILE_ASSOCIATIONS("automobile_associations"), + + @SerializedName("automotive_parts_and_accessories_stores") + AUTOMOTIVE_PARTS_AND_ACCESSORIES_STORES("automotive_parts_and_accessories_stores"), + + @SerializedName("automotive_tire_stores") + AUTOMOTIVE_TIRE_STORES("automotive_tire_stores"), + + @SerializedName("bail_and_bond_payments") + BAIL_AND_BOND_PAYMENTS("bail_and_bond_payments"), + + @SerializedName("bakeries") + BAKERIES("bakeries"), + + @SerializedName("bands_orchestras") + BANDS_ORCHESTRAS("bands_orchestras"), + + @SerializedName("barber_and_beauty_shops") + BARBER_AND_BEAUTY_SHOPS("barber_and_beauty_shops"), + + @SerializedName("betting_casino_gambling") + BETTING_CASINO_GAMBLING("betting_casino_gambling"), + + @SerializedName("bicycle_shops") + BICYCLE_SHOPS("bicycle_shops"), + + @SerializedName("billiard_pool_establishments") + BILLIARD_POOL_ESTABLISHMENTS("billiard_pool_establishments"), + + @SerializedName("boat_dealers") + BOAT_DEALERS("boat_dealers"), + + @SerializedName("boat_rentals_and_leases") + BOAT_RENTALS_AND_LEASES("boat_rentals_and_leases"), + + @SerializedName("book_stores") + BOOK_STORES("book_stores"), + + @SerializedName("books_periodicals_and_newspapers") + BOOKS_PERIODICALS_AND_NEWSPAPERS("books_periodicals_and_newspapers"), + + @SerializedName("bowling_alleys") + BOWLING_ALLEYS("bowling_alleys"), + + @SerializedName("bus_lines") + BUS_LINES("bus_lines"), + + @SerializedName("business_secretarial_schools") + BUSINESS_SECRETARIAL_SCHOOLS("business_secretarial_schools"), + + @SerializedName("buying_shopping_services") + BUYING_SHOPPING_SERVICES("buying_shopping_services"), + + @SerializedName("cable_satellite_and_other_pay_television_and_radio") + CABLE_SATELLITE_AND_OTHER_PAY_TELEVISION_AND_RADIO( + "cable_satellite_and_other_pay_television_and_radio"), + + @SerializedName("camera_and_photographic_supply_stores") + CAMERA_AND_PHOTOGRAPHIC_SUPPLY_STORES("camera_and_photographic_supply_stores"), + + @SerializedName("candy_nut_and_confectionery_stores") + CANDY_NUT_AND_CONFECTIONERY_STORES("candy_nut_and_confectionery_stores"), + + @SerializedName("car_and_truck_dealers_new_used") + CAR_AND_TRUCK_DEALERS_NEW_USED("car_and_truck_dealers_new_used"), + + @SerializedName("car_and_truck_dealers_used_only") + CAR_AND_TRUCK_DEALERS_USED_ONLY("car_and_truck_dealers_used_only"), + + @SerializedName("car_rental_agencies") + CAR_RENTAL_AGENCIES("car_rental_agencies"), + + @SerializedName("car_washes") + CAR_WASHES("car_washes"), + + @SerializedName("carpentry_services") + CARPENTRY_SERVICES("carpentry_services"), + + @SerializedName("carpet_upholstery_cleaning") + CARPET_UPHOLSTERY_CLEANING("carpet_upholstery_cleaning"), + + @SerializedName("caterers") + CATERERS("caterers"), + + @SerializedName("charitable_and_social_service_organizations_fundraising") + CHARITABLE_AND_SOCIAL_SERVICE_ORGANIZATIONS_FUNDRAISING( + "charitable_and_social_service_organizations_fundraising"), + + @SerializedName("chemicals_and_allied_products") + CHEMICALS_AND_ALLIED_PRODUCTS("chemicals_and_allied_products"), + + @SerializedName("chidrens_and_infants_wear_stores") + CHIDRENS_AND_INFANTS_WEAR_STORES("chidrens_and_infants_wear_stores"), + + @SerializedName("child_care_services") + CHILD_CARE_SERVICES("child_care_services"), + + @SerializedName("chiropodists_podiatrists") + CHIROPODISTS_PODIATRISTS("chiropodists_podiatrists"), + + @SerializedName("chiropractors") + CHIROPRACTORS("chiropractors"), + + @SerializedName("cigar_stores_and_stands") + CIGAR_STORES_AND_STANDS("cigar_stores_and_stands"), + + @SerializedName("civic_social_fraternal_associations") + CIVIC_SOCIAL_FRATERNAL_ASSOCIATIONS("civic_social_fraternal_associations"), + + @SerializedName("cleaning_and_maintenance") + CLEANING_AND_MAINTENANCE("cleaning_and_maintenance"), + + @SerializedName("clothing_rental") + CLOTHING_RENTAL("clothing_rental"), + + @SerializedName("colleges_universities") + COLLEGES_UNIVERSITIES("colleges_universities"), + + @SerializedName("commercial_equipment") + COMMERCIAL_EQUIPMENT("commercial_equipment"), + + @SerializedName("commercial_footwear") + COMMERCIAL_FOOTWEAR("commercial_footwear"), + + @SerializedName("commercial_photography_art_and_graphics") + COMMERCIAL_PHOTOGRAPHY_ART_AND_GRAPHICS("commercial_photography_art_and_graphics"), + + @SerializedName("commuter_transport_and_ferries") + COMMUTER_TRANSPORT_AND_FERRIES("commuter_transport_and_ferries"), + + @SerializedName("computer_network_services") + COMPUTER_NETWORK_SERVICES("computer_network_services"), + + @SerializedName("computer_programming") + COMPUTER_PROGRAMMING("computer_programming"), + + @SerializedName("computer_repair") + COMPUTER_REPAIR("computer_repair"), + + @SerializedName("computer_software_stores") + COMPUTER_SOFTWARE_STORES("computer_software_stores"), + + @SerializedName("computers_peripherals_and_software") + COMPUTERS_PERIPHERALS_AND_SOFTWARE("computers_peripherals_and_software"), + + @SerializedName("concrete_work_services") + CONCRETE_WORK_SERVICES("concrete_work_services"), + + @SerializedName("construction_materials") + CONSTRUCTION_MATERIALS("construction_materials"), + + @SerializedName("consulting_public_relations") + CONSULTING_PUBLIC_RELATIONS("consulting_public_relations"), + + @SerializedName("correspondence_schools") + CORRESPONDENCE_SCHOOLS("correspondence_schools"), + + @SerializedName("cosmetic_stores") + COSMETIC_STORES("cosmetic_stores"), + + @SerializedName("counseling_services") + COUNSELING_SERVICES("counseling_services"), + + @SerializedName("country_clubs") + COUNTRY_CLUBS("country_clubs"), + + @SerializedName("courier_services") + COURIER_SERVICES("courier_services"), + + @SerializedName("court_costs") + COURT_COSTS("court_costs"), + + @SerializedName("credit_reporting_agencies") + CREDIT_REPORTING_AGENCIES("credit_reporting_agencies"), + + @SerializedName("cruise_lines") + CRUISE_LINES("cruise_lines"), + + @SerializedName("dairy_products_stores") + DAIRY_PRODUCTS_STORES("dairy_products_stores"), + + @SerializedName("dance_hall_studios_schools") + DANCE_HALL_STUDIOS_SCHOOLS("dance_hall_studios_schools"), + + @SerializedName("dating_escort_services") + DATING_ESCORT_SERVICES("dating_escort_services"), + + @SerializedName("dentists_orthodontists") + DENTISTS_ORTHODONTISTS("dentists_orthodontists"), + + @SerializedName("department_stores") + DEPARTMENT_STORES("department_stores"), + + @SerializedName("detective_agencies") + DETECTIVE_AGENCIES("detective_agencies"), + + @SerializedName("direct_marketing_catalog_merchant") + DIRECT_MARKETING_CATALOG_MERCHANT("direct_marketing_catalog_merchant"), + + @SerializedName("direct_marketing_combination_catalog_and_retail_merchant") + DIRECT_MARKETING_COMBINATION_CATALOG_AND_RETAIL_MERCHANT( + "direct_marketing_combination_catalog_and_retail_merchant"), + + @SerializedName("direct_marketing_inbound_telemarketing") + DIRECT_MARKETING_INBOUND_TELEMARKETING("direct_marketing_inbound_telemarketing"), + + @SerializedName("direct_marketing_insurance_services") + DIRECT_MARKETING_INSURANCE_SERVICES("direct_marketing_insurance_services"), + + @SerializedName("direct_marketing_other") + DIRECT_MARKETING_OTHER("direct_marketing_other"), + + @SerializedName("direct_marketing_outbound_telemarketing") + DIRECT_MARKETING_OUTBOUND_TELEMARKETING("direct_marketing_outbound_telemarketing"), + + @SerializedName("direct_marketing_subscription") + DIRECT_MARKETING_SUBSCRIPTION("direct_marketing_subscription"), + + @SerializedName("direct_marketing_travel") + DIRECT_MARKETING_TRAVEL("direct_marketing_travel"), + + @SerializedName("discount_stores") + DISCOUNT_STORES("discount_stores"), + + @SerializedName("doctors") + DOCTORS("doctors"), + + @SerializedName("door_to_door_sales") + DOOR_TO_DOOR_SALES("door_to_door_sales"), + + @SerializedName("drapery_window_covering_and_upholstery_stores") + DRAPERY_WINDOW_COVERING_AND_UPHOLSTERY_STORES( + "drapery_window_covering_and_upholstery_stores"), + + @SerializedName("drinking_places") + DRINKING_PLACES("drinking_places"), + + @SerializedName("drug_stores_and_pharmacies") + DRUG_STORES_AND_PHARMACIES("drug_stores_and_pharmacies"), + + @SerializedName("drugs_drug_proprietaries_and_druggist_sundries") + DRUGS_DRUG_PROPRIETARIES_AND_DRUGGIST_SUNDRIES( + "drugs_drug_proprietaries_and_druggist_sundries"), + + @SerializedName("dry_cleaners") + DRY_CLEANERS("dry_cleaners"), + + @SerializedName("durable_goods") + DURABLE_GOODS("durable_goods"), + + @SerializedName("duty_free_stores") + DUTY_FREE_STORES("duty_free_stores"), + + @SerializedName("eating_places_restaurants") + EATING_PLACES_RESTAURANTS("eating_places_restaurants"), + + @SerializedName("educational_services") + EDUCATIONAL_SERVICES("educational_services"), + + @SerializedName("electric_razor_stores") + ELECTRIC_RAZOR_STORES("electric_razor_stores"), + + @SerializedName("electrical_parts_and_equipment") + ELECTRICAL_PARTS_AND_EQUIPMENT("electrical_parts_and_equipment"), + + @SerializedName("electrical_services") + ELECTRICAL_SERVICES("electrical_services"), + + @SerializedName("electronics_repair_shops") + ELECTRONICS_REPAIR_SHOPS("electronics_repair_shops"), + + @SerializedName("electronics_stores") + ELECTRONICS_STORES("electronics_stores"), + + @SerializedName("elementary_secondary_schools") + ELEMENTARY_SECONDARY_SCHOOLS("elementary_secondary_schools"), + + @SerializedName("employment_temp_agencies") + EMPLOYMENT_TEMP_AGENCIES("employment_temp_agencies"), + + @SerializedName("equipment_rental") + EQUIPMENT_RENTAL("equipment_rental"), + + @SerializedName("exterminating_services") + EXTERMINATING_SERVICES("exterminating_services"), + + @SerializedName("family_clothing_stores") + FAMILY_CLOTHING_STORES("family_clothing_stores"), + + @SerializedName("fast_food_restaurants") + FAST_FOOD_RESTAURANTS("fast_food_restaurants"), + + @SerializedName("financial_institutions") + FINANCIAL_INSTITUTIONS("financial_institutions"), + + @SerializedName("fines_government_administrative_entities") + FINES_GOVERNMENT_ADMINISTRATIVE_ENTITIES("fines_government_administrative_entities"), + + @SerializedName("fireplace_fireplace_screens_and_accessories_stores") + FIREPLACE_FIREPLACE_SCREENS_AND_ACCESSORIES_STORES( + "fireplace_fireplace_screens_and_accessories_stores"), + + @SerializedName("floor_covering_stores") + FLOOR_COVERING_STORES("floor_covering_stores"), + + @SerializedName("florists") + FLORISTS("florists"), + + @SerializedName("florists_supplies_nursery_stock_and_flowers") + FLORISTS_SUPPLIES_NURSERY_STOCK_AND_FLOWERS("florists_supplies_nursery_stock_and_flowers"), + + @SerializedName("freezer_and_locker_meat_provisioners") + FREEZER_AND_LOCKER_MEAT_PROVISIONERS("freezer_and_locker_meat_provisioners"), + + @SerializedName("fuel_dealers_non_automotive") + FUEL_DEALERS_NON_AUTOMOTIVE("fuel_dealers_non_automotive"), + + @SerializedName("funeral_services_crematories") + FUNERAL_SERVICES_CREMATORIES("funeral_services_crematories"), + + @SerializedName("furniture_home_furnishings_and_equipment_stores_except_appliances") + FURNITURE_HOME_FURNISHINGS_AND_EQUIPMENT_STORES_EXCEPT_APPLIANCES( + "furniture_home_furnishings_and_equipment_stores_except_appliances"), + + @SerializedName("furniture_repair_refinishing") + FURNITURE_REPAIR_REFINISHING("furniture_repair_refinishing"), + + @SerializedName("furriers_and_fur_shops") + FURRIERS_AND_FUR_SHOPS("furriers_and_fur_shops"), + + @SerializedName("general_services") + GENERAL_SERVICES("general_services"), + + @SerializedName("gift_card_novelty_and_souvenir_shops") + GIFT_CARD_NOVELTY_AND_SOUVENIR_SHOPS("gift_card_novelty_and_souvenir_shops"), + + @SerializedName("glass_paint_and_wallpaper_stores") + GLASS_PAINT_AND_WALLPAPER_STORES("glass_paint_and_wallpaper_stores"), + + @SerializedName("glassware_crystal_stores") + GLASSWARE_CRYSTAL_STORES("glassware_crystal_stores"), + + @SerializedName("golf_courses_public") + GOLF_COURSES_PUBLIC("golf_courses_public"), + + @SerializedName("government_services") + GOVERNMENT_SERVICES("government_services"), + + @SerializedName("grocery_stores_supermarkets") + GROCERY_STORES_SUPERMARKETS("grocery_stores_supermarkets"), + + @SerializedName("hardware_equipment_and_supplies") + HARDWARE_EQUIPMENT_AND_SUPPLIES("hardware_equipment_and_supplies"), + + @SerializedName("hardware_stores") + HARDWARE_STORES("hardware_stores"), + + @SerializedName("health_and_beauty_spas") + HEALTH_AND_BEAUTY_SPAS("health_and_beauty_spas"), + + @SerializedName("hearing_aids_sales_and_supplies") + HEARING_AIDS_SALES_AND_SUPPLIES("hearing_aids_sales_and_supplies"), + + @SerializedName("heating_plumbing_a_c") + HEATING_PLUMBING_A_C("heating_plumbing_a_c"), + + @SerializedName("hobby_toy_and_game_shops") + HOBBY_TOY_AND_GAME_SHOPS("hobby_toy_and_game_shops"), + + @SerializedName("home_supply_warehouse_stores") + HOME_SUPPLY_WAREHOUSE_STORES("home_supply_warehouse_stores"), + + @SerializedName("hospitals") + HOSPITALS("hospitals"), + + @SerializedName("hotels_motels_and_resorts") + HOTELS_MOTELS_AND_RESORTS("hotels_motels_and_resorts"), + + @SerializedName("household_appliance_stores") + HOUSEHOLD_APPLIANCE_STORES("household_appliance_stores"), + + @SerializedName("industrial_supplies") + INDUSTRIAL_SUPPLIES("industrial_supplies"), + + @SerializedName("information_retrieval_services") + INFORMATION_RETRIEVAL_SERVICES("information_retrieval_services"), + + @SerializedName("insurance_default") + INSURANCE_DEFAULT("insurance_default"), + + @SerializedName("insurance_underwriting_premiums") + INSURANCE_UNDERWRITING_PREMIUMS("insurance_underwriting_premiums"), + + @SerializedName("intra_company_purchases") + INTRA_COMPANY_PURCHASES("intra_company_purchases"), + + @SerializedName("jewelry_stores_watches_clocks_and_silverware_stores") + JEWELRY_STORES_WATCHES_CLOCKS_AND_SILVERWARE_STORES( + "jewelry_stores_watches_clocks_and_silverware_stores"), + + @SerializedName("landscaping_services") + LANDSCAPING_SERVICES("landscaping_services"), + + @SerializedName("laundries") + LAUNDRIES("laundries"), + + @SerializedName("laundry_cleaning_services") + LAUNDRY_CLEANING_SERVICES("laundry_cleaning_services"), + + @SerializedName("legal_services_attorneys") + LEGAL_SERVICES_ATTORNEYS("legal_services_attorneys"), + + @SerializedName("luggage_and_leather_goods_stores") + LUGGAGE_AND_LEATHER_GOODS_STORES("luggage_and_leather_goods_stores"), + + @SerializedName("lumber_building_materials_stores") + LUMBER_BUILDING_MATERIALS_STORES("lumber_building_materials_stores"), + + @SerializedName("manual_cash_disburse") + MANUAL_CASH_DISBURSE("manual_cash_disburse"), + + @SerializedName("marinas_service_and_supplies") + MARINAS_SERVICE_AND_SUPPLIES("marinas_service_and_supplies"), + + @SerializedName("masonry_stonework_and_plaster") + MASONRY_STONEWORK_AND_PLASTER("masonry_stonework_and_plaster"), + + @SerializedName("massage_parlors") + MASSAGE_PARLORS("massage_parlors"), + + @SerializedName("medical_and_dental_labs") + MEDICAL_AND_DENTAL_LABS("medical_and_dental_labs"), + + @SerializedName("medical_dental_ophthalmic_and_hospital_equipment_and_supplies") + MEDICAL_DENTAL_OPHTHALMIC_AND_HOSPITAL_EQUIPMENT_AND_SUPPLIES( + "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"), + + @SerializedName("medical_services") + MEDICAL_SERVICES("medical_services"), + + @SerializedName("membership_organizations") + MEMBERSHIP_ORGANIZATIONS("membership_organizations"), + + @SerializedName("mens_and_boys_clothing_and_accessories_stores") + MENS_AND_BOYS_CLOTHING_AND_ACCESSORIES_STORES( + "mens_and_boys_clothing_and_accessories_stores"), + + @SerializedName("mens_womens_clothing_stores") + MENS_WOMENS_CLOTHING_STORES("mens_womens_clothing_stores"), + + @SerializedName("metal_service_centers") + METAL_SERVICE_CENTERS("metal_service_centers"), + + @SerializedName("miscellaneous") + MISCELLANEOUS("miscellaneous"), + + @SerializedName("miscellaneous_apparel_and_accessory_shops") + MISCELLANEOUS_APPAREL_AND_ACCESSORY_SHOPS("miscellaneous_apparel_and_accessory_shops"), + + @SerializedName("miscellaneous_auto_dealers") + MISCELLANEOUS_AUTO_DEALERS("miscellaneous_auto_dealers"), + + @SerializedName("miscellaneous_business_services") + MISCELLANEOUS_BUSINESS_SERVICES("miscellaneous_business_services"), + + @SerializedName("miscellaneous_food_stores") + MISCELLANEOUS_FOOD_STORES("miscellaneous_food_stores"), + + @SerializedName("miscellaneous_general_merchandise") + MISCELLANEOUS_GENERAL_MERCHANDISE("miscellaneous_general_merchandise"), + + @SerializedName("miscellaneous_general_services") + MISCELLANEOUS_GENERAL_SERVICES("miscellaneous_general_services"), + + @SerializedName("miscellaneous_home_furnishing_specialty_stores") + MISCELLANEOUS_HOME_FURNISHING_SPECIALTY_STORES( + "miscellaneous_home_furnishing_specialty_stores"), + + @SerializedName("miscellaneous_publishing_and_printing") + MISCELLANEOUS_PUBLISHING_AND_PRINTING("miscellaneous_publishing_and_printing"), + + @SerializedName("miscellaneous_recreation_services") + MISCELLANEOUS_RECREATION_SERVICES("miscellaneous_recreation_services"), + + @SerializedName("miscellaneous_repair_shops") + MISCELLANEOUS_REPAIR_SHOPS("miscellaneous_repair_shops"), + + @SerializedName("miscellaneous_specialty_retail") + MISCELLANEOUS_SPECIALTY_RETAIL("miscellaneous_specialty_retail"), + + @SerializedName("mobile_home_dealers") + MOBILE_HOME_DEALERS("mobile_home_dealers"), + + @SerializedName("motion_picture_theaters") + MOTION_PICTURE_THEATERS("motion_picture_theaters"), + + @SerializedName("motor_freight_carriers_and_trucking") + MOTOR_FREIGHT_CARRIERS_AND_TRUCKING("motor_freight_carriers_and_trucking"), + + @SerializedName("motor_homes_dealers") + MOTOR_HOMES_DEALERS("motor_homes_dealers"), + + @SerializedName("motor_vehicle_supplies_and_new_parts") + MOTOR_VEHICLE_SUPPLIES_AND_NEW_PARTS("motor_vehicle_supplies_and_new_parts"), + + @SerializedName("motorcycle_shops_and_dealers") + MOTORCYCLE_SHOPS_AND_DEALERS("motorcycle_shops_and_dealers"), + + @SerializedName("motorcycle_shops_dealers") + MOTORCYCLE_SHOPS_DEALERS("motorcycle_shops_dealers"), + + @SerializedName("music_stores_musical_instruments_pianos_and_sheet_music") + MUSIC_STORES_MUSICAL_INSTRUMENTS_PIANOS_AND_SHEET_MUSIC( + "music_stores_musical_instruments_pianos_and_sheet_music"), + + @SerializedName("news_dealers_and_newsstands") + NEWS_DEALERS_AND_NEWSSTANDS("news_dealers_and_newsstands"), + + @SerializedName("non_fi_money_orders") + NON_FI_MONEY_ORDERS("non_fi_money_orders"), + + @SerializedName("non_fi_stored_value_card_purchase_load") + NON_FI_STORED_VALUE_CARD_PURCHASE_LOAD("non_fi_stored_value_card_purchase_load"), + + @SerializedName("nondurable_goods") + NONDURABLE_GOODS("nondurable_goods"), + + @SerializedName("nurseries_lawn_and_garden_supply_stores") + NURSERIES_LAWN_AND_GARDEN_SUPPLY_STORES("nurseries_lawn_and_garden_supply_stores"), + + @SerializedName("nursing_personal_care") + NURSING_PERSONAL_CARE("nursing_personal_care"), + + @SerializedName("office_and_commercial_furniture") + OFFICE_AND_COMMERCIAL_FURNITURE("office_and_commercial_furniture"), + + @SerializedName("opticians_eyeglasses") + OPTICIANS_EYEGLASSES("opticians_eyeglasses"), + + @SerializedName("optometrists_ophthalmologist") + OPTOMETRISTS_OPHTHALMOLOGIST("optometrists_ophthalmologist"), + + @SerializedName("orthopedic_goods_prosthetic_devices") + ORTHOPEDIC_GOODS_PROSTHETIC_DEVICES("orthopedic_goods_prosthetic_devices"), + + @SerializedName("osteopaths") + OSTEOPATHS("osteopaths"), + + @SerializedName("package_stores_beer_wine_and_liquor") + PACKAGE_STORES_BEER_WINE_AND_LIQUOR("package_stores_beer_wine_and_liquor"), + + @SerializedName("paints_varnishes_and_supplies") + PAINTS_VARNISHES_AND_SUPPLIES("paints_varnishes_and_supplies"), + + @SerializedName("parking_lots_garages") + PARKING_LOTS_GARAGES("parking_lots_garages"), + + @SerializedName("passenger_railways") + PASSENGER_RAILWAYS("passenger_railways"), + + @SerializedName("pawn_shops") + PAWN_SHOPS("pawn_shops"), + + @SerializedName("pet_shops_pet_food_and_supplies") + PET_SHOPS_PET_FOOD_AND_SUPPLIES("pet_shops_pet_food_and_supplies"), + + @SerializedName("petroleum_and_petroleum_products") + PETROLEUM_AND_PETROLEUM_PRODUCTS("petroleum_and_petroleum_products"), + + @SerializedName("photo_developing") + PHOTO_DEVELOPING("photo_developing"), + + @SerializedName("photographic_photocopy_microfilm_equipment_and_supplies") + PHOTOGRAPHIC_PHOTOCOPY_MICROFILM_EQUIPMENT_AND_SUPPLIES( + "photographic_photocopy_microfilm_equipment_and_supplies"), + + @SerializedName("photographic_studios") + PHOTOGRAPHIC_STUDIOS("photographic_studios"), + + @SerializedName("picture_video_production") + PICTURE_VIDEO_PRODUCTION("picture_video_production"), + + @SerializedName("piece_goods_notions_and_other_dry_goods") + PIECE_GOODS_NOTIONS_AND_OTHER_DRY_GOODS("piece_goods_notions_and_other_dry_goods"), + + @SerializedName("plumbing_heating_equipment_and_supplies") + PLUMBING_HEATING_EQUIPMENT_AND_SUPPLIES("plumbing_heating_equipment_and_supplies"), + + @SerializedName("political_organizations") + POLITICAL_ORGANIZATIONS("political_organizations"), + + @SerializedName("postal_services_government_only") + POSTAL_SERVICES_GOVERNMENT_ONLY("postal_services_government_only"), + + @SerializedName("precious_stones_and_metals_watches_and_jewelry") + PRECIOUS_STONES_AND_METALS_WATCHES_AND_JEWELRY( + "precious_stones_and_metals_watches_and_jewelry"), + + @SerializedName("professional_services") + PROFESSIONAL_SERVICES("professional_services"), + + @SerializedName("public_warehousing_and_storage") + PUBLIC_WAREHOUSING_AND_STORAGE("public_warehousing_and_storage"), + + @SerializedName("quick_copy_repro_and_blueprint") + QUICK_COPY_REPRO_AND_BLUEPRINT("quick_copy_repro_and_blueprint"), + + @SerializedName("railroads") + RAILROADS("railroads"), + + @SerializedName("real_estate_agents_and_managers_rentals") + REAL_ESTATE_AGENTS_AND_MANAGERS_RENTALS("real_estate_agents_and_managers_rentals"), + + @SerializedName("record_stores") + RECORD_STORES("record_stores"), + + @SerializedName("recreational_vehicle_rentals") + RECREATIONAL_VEHICLE_RENTALS("recreational_vehicle_rentals"), + + @SerializedName("religious_goods_stores") + RELIGIOUS_GOODS_STORES("religious_goods_stores"), + + @SerializedName("religious_organizations") + RELIGIOUS_ORGANIZATIONS("religious_organizations"), + + @SerializedName("roofing_siding_sheet_metal") + ROOFING_SIDING_SHEET_METAL("roofing_siding_sheet_metal"), + + @SerializedName("secretarial_support_services") + SECRETARIAL_SUPPORT_SERVICES("secretarial_support_services"), + + @SerializedName("security_brokers_dealers") + SECURITY_BROKERS_DEALERS("security_brokers_dealers"), + + @SerializedName("service_stations") + SERVICE_STATIONS("service_stations"), + + @SerializedName("sewing_needlework_fabric_and_piece_goods_stores") + SEWING_NEEDLEWORK_FABRIC_AND_PIECE_GOODS_STORES( + "sewing_needlework_fabric_and_piece_goods_stores"), + + @SerializedName("shoe_repair_hat_cleaning") + SHOE_REPAIR_HAT_CLEANING("shoe_repair_hat_cleaning"), + + @SerializedName("shoe_stores") + SHOE_STORES("shoe_stores"), + + @SerializedName("small_appliance_repair") + SMALL_APPLIANCE_REPAIR("small_appliance_repair"), + + @SerializedName("snowmobile_dealers") + SNOWMOBILE_DEALERS("snowmobile_dealers"), + + @SerializedName("special_trade_services") + SPECIAL_TRADE_SERVICES("special_trade_services"), + + @SerializedName("specialty_cleaning") + SPECIALTY_CLEANING("specialty_cleaning"), + + @SerializedName("sporting_goods_stores") + SPORTING_GOODS_STORES("sporting_goods_stores"), + + @SerializedName("sporting_recreation_camps") + SPORTING_RECREATION_CAMPS("sporting_recreation_camps"), + + @SerializedName("sports_and_riding_apparel_stores") + SPORTS_AND_RIDING_APPAREL_STORES("sports_and_riding_apparel_stores"), + + @SerializedName("sports_clubs_fields") + SPORTS_CLUBS_FIELDS("sports_clubs_fields"), + + @SerializedName("stamp_and_coin_stores") + STAMP_AND_COIN_STORES("stamp_and_coin_stores"), + + @SerializedName("stationary_office_supplies_printing_and_writing_paper") + STATIONARY_OFFICE_SUPPLIES_PRINTING_AND_WRITING_PAPER( + "stationary_office_supplies_printing_and_writing_paper"), + + @SerializedName("stationery_stores_office_and_school_supply_stores") + STATIONERY_STORES_OFFICE_AND_SCHOOL_SUPPLY_STORES( + "stationery_stores_office_and_school_supply_stores"), + + @SerializedName("swimming_pools_sales") + SWIMMING_POOLS_SALES("swimming_pools_sales"), + + @SerializedName("t_ui_travel_germany") + T_UI_TRAVEL_GERMANY("t_ui_travel_germany"), + + @SerializedName("tailors_alterations") + TAILORS_ALTERATIONS("tailors_alterations"), + + @SerializedName("tax_payments_government_agencies") + TAX_PAYMENTS_GOVERNMENT_AGENCIES("tax_payments_government_agencies"), + + @SerializedName("tax_preparation_services") + TAX_PREPARATION_SERVICES("tax_preparation_services"), + + @SerializedName("taxicabs_limousines") + TAXICABS_LIMOUSINES("taxicabs_limousines"), + + @SerializedName("telecommunication_equipment_and_telephone_sales") + TELECOMMUNICATION_EQUIPMENT_AND_TELEPHONE_SALES( + "telecommunication_equipment_and_telephone_sales"), + + @SerializedName("telecommunication_services") + TELECOMMUNICATION_SERVICES("telecommunication_services"), + + @SerializedName("telegraph_services") + TELEGRAPH_SERVICES("telegraph_services"), + + @SerializedName("tent_and_awning_shops") + TENT_AND_AWNING_SHOPS("tent_and_awning_shops"), + + @SerializedName("testing_laboratories") + TESTING_LABORATORIES("testing_laboratories"), + + @SerializedName("theatrical_ticket_agencies") + THEATRICAL_TICKET_AGENCIES("theatrical_ticket_agencies"), + + @SerializedName("timeshares") + TIMESHARES("timeshares"), + + @SerializedName("tire_retreading_and_repair") + TIRE_RETREADING_AND_REPAIR("tire_retreading_and_repair"), + + @SerializedName("tolls_bridge_fees") + TOLLS_BRIDGE_FEES("tolls_bridge_fees"), + + @SerializedName("tourist_attractions_and_exhibits") + TOURIST_ATTRACTIONS_AND_EXHIBITS("tourist_attractions_and_exhibits"), + + @SerializedName("towing_services") + TOWING_SERVICES("towing_services"), + + @SerializedName("trailer_parks_campgrounds") + TRAILER_PARKS_CAMPGROUNDS("trailer_parks_campgrounds"), + + @SerializedName("transportation_services") + TRANSPORTATION_SERVICES("transportation_services"), + + @SerializedName("travel_agencies_tour_operators") + TRAVEL_AGENCIES_TOUR_OPERATORS("travel_agencies_tour_operators"), + + @SerializedName("truck_stop_iteration") + TRUCK_STOP_ITERATION("truck_stop_iteration"), + + @SerializedName("truck_utility_trailer_rentals") + TRUCK_UTILITY_TRAILER_RENTALS("truck_utility_trailer_rentals"), + + @SerializedName("typesetting_plate_making_and_related_services") + TYPESETTING_PLATE_MAKING_AND_RELATED_SERVICES( + "typesetting_plate_making_and_related_services"), + + @SerializedName("typewriter_stores") + TYPEWRITER_STORES("typewriter_stores"), + + @SerializedName("u_s_federal_government_agencies_or_departments") + U_S_FEDERAL_GOVERNMENT_AGENCIES_OR_DEPARTMENTS( + "u_s_federal_government_agencies_or_departments"), + + @SerializedName("uniforms_commercial_clothing") + UNIFORMS_COMMERCIAL_CLOTHING("uniforms_commercial_clothing"), + + @SerializedName("used_merchandise_and_secondhand_stores") + USED_MERCHANDISE_AND_SECONDHAND_STORES("used_merchandise_and_secondhand_stores"), + + @SerializedName("utilities") + UTILITIES("utilities"), + + @SerializedName("variety_stores") + VARIETY_STORES("variety_stores"), + + @SerializedName("veterinary_services") + VETERINARY_SERVICES("veterinary_services"), + + @SerializedName("video_amusement_game_supplies") + VIDEO_AMUSEMENT_GAME_SUPPLIES("video_amusement_game_supplies"), + + @SerializedName("video_game_arcades") + VIDEO_GAME_ARCADES("video_game_arcades"), + + @SerializedName("video_tape_rental_stores") + VIDEO_TAPE_RENTAL_STORES("video_tape_rental_stores"), + + @SerializedName("vocational_trade_schools") + VOCATIONAL_TRADE_SCHOOLS("vocational_trade_schools"), + + @SerializedName("watch_jewelry_repair") + WATCH_JEWELRY_REPAIR("watch_jewelry_repair"), + + @SerializedName("welding_repair") + WELDING_REPAIR("welding_repair"), + + @SerializedName("wholesale_clubs") + WHOLESALE_CLUBS("wholesale_clubs"), + + @SerializedName("wig_and_toupee_stores") + WIG_AND_TOUPEE_STORES("wig_and_toupee_stores"), + + @SerializedName("wires_money_orders") + WIRES_MONEY_ORDERS("wires_money_orders"), + + @SerializedName("womens_accessory_and_specialty_shops") + WOMENS_ACCESSORY_AND_SPECIALTY_SHOPS("womens_accessory_and_specialty_shops"), + + @SerializedName("womens_ready_to_wear_stores") + WOMENS_READY_TO_WEAR_STORES("womens_ready_to_wear_stores"), + + @SerializedName("wrecking_and_salvage_yards") + WRECKING_AND_SALVAGE_YARDS("wrecking_and_salvage_yards"); + + @Getter(onMethod = @__({@Override})) + private final String value; + + Category(String value) { + this.value = value; + } + } + + public enum Interval implements ApiRequestParams.EnumParam { + @SerializedName("all_time") + ALL_TIME("all_time"), + + @SerializedName("daily") + DAILY("daily"), + + @SerializedName("monthly") + MONTHLY("monthly"), + + @SerializedName("per_authorization") + PER_AUTHORIZATION("per_authorization"), + + @SerializedName("weekly") + WEEKLY("weekly"), + + @SerializedName("yearly") + YEARLY("yearly"); + + @Getter(onMethod = @__({@Override})) + private final String value; + + Interval(String value) { + this.value = value; + } + } + } + public enum AllowedCategory implements ApiRequestParams.EnumParam { @SerializedName("ac_refrigeration_repair") AC_REFRIGERATION_REPAIR("ac_refrigeration_repair"), diff --git a/src/main/java/com/stripe/param/issuing/CardUpdateParams.java b/src/main/java/com/stripe/param/issuing/CardUpdateParams.java index 950388aeb41..a99d457d4b1 100644 --- a/src/main/java/com/stripe/param/issuing/CardUpdateParams.java +++ b/src/main/java/com/stripe/param/issuing/CardUpdateParams.java @@ -187,15 +187,21 @@ public static class AuthorizationControls { @SerializedName("max_approvals") Long maxApprovals; + /** Limit the spending with rules based on time intervals and categories. */ + @SerializedName("spending_limits") + List spendingLimits; + private AuthorizationControls( List allowedCategories, List blockedCategories, Long maxAmount, - Long maxApprovals) { + Long maxApprovals, + List spendingLimits) { this.allowedCategories = allowedCategories; this.blockedCategories = blockedCategories; this.maxAmount = maxAmount; this.maxApprovals = maxApprovals; + this.spendingLimits = spendingLimits; } public static Builder builder() { @@ -211,10 +217,16 @@ public static class Builder { private Long maxApprovals; + private List spendingLimits; + /** Finalize and obtain parameter instance from this builder. */ public AuthorizationControls build() { return new AuthorizationControls( - this.allowedCategories, this.blockedCategories, this.maxAmount, this.maxApprovals); + this.allowedCategories, + this.blockedCategories, + this.maxAmount, + this.maxApprovals, + this.spendingLimits); } /** @@ -275,6 +287,32 @@ public Builder setMaxApprovals(Long maxApprovals) { return this; } + /** + * Add an element to `spendingLimits` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * AuthorizationControls#spendingLimits} for the field documentation. + */ + public Builder addSpendingLimit(SpendingLimit element) { + if (this.spendingLimits == null) { + this.spendingLimits = new ArrayList<>(); + } + this.spendingLimits.add(element); + return this; + } + + /** + * Add all elements to `spendingLimits` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * AuthorizationControls#spendingLimits} for the field documentation. + */ + public Builder addAllSpendingLimit(List elements) { + if (this.spendingLimits == null) { + this.spendingLimits = new ArrayList<>(); + } + this.spendingLimits.addAll(elements); + return this; + } + /** * Add an element to `allowedCategories` list. A list is initialized for the first * `add/addAll` call, and subsequent calls adds additional elements to the original list. See @@ -289,6 +327,1000 @@ public Builder addAllowedCategory(AllowedCategory element) { } } + public static class SpendingLimit { + /** Maximum amount allowed to spend per time interval. */ + @SerializedName("amount") + Long amount; + + /** + * Array of strings containing + * [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) + * on which to apply the spending limit. Leave this blank to limit all charges. + */ + @SerializedName("categories") + List categories; + + /** + * The time interval with which to apply this spending limit towards. Allowed values are + * 'per_authorization', 'daily', 'weekly', 'monthly', 'yearly', and 'all_time'. + */ + @SerializedName("interval") + Interval interval; + + private SpendingLimit(Long amount, List categories, Interval interval) { + this.amount = amount; + this.categories = categories; + this.interval = interval; + } + + public static Builder builder() { + return new com.stripe.param.issuing.CardUpdateParams.AuthorizationControls.SpendingLimit + .Builder(); + } + + public static class Builder { + private Long amount; + + private List categories; + + private Interval interval; + + /** Finalize and obtain parameter instance from this builder. */ + public SpendingLimit build() { + return new SpendingLimit(this.amount, this.categories, this.interval); + } + + /** Maximum amount allowed to spend per time interval. */ + public Builder setAmount(Long amount) { + this.amount = amount; + return this; + } + + /** + * Add an element to `categories` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * SpendingLimit#categories} for the field documentation. + */ + public Builder addCategory(Category element) { + if (this.categories == null) { + this.categories = new ArrayList<>(); + } + this.categories.add(element); + return this; + } + + /** + * Add all elements to `categories` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * SpendingLimit#categories} for the field documentation. + */ + public Builder addAllCategory(List elements) { + if (this.categories == null) { + this.categories = new ArrayList<>(); + } + this.categories.addAll(elements); + return this; + } + + /** + * The time interval with which to apply this spending limit towards. Allowed values are + * 'per_authorization', 'daily', 'weekly', 'monthly', 'yearly', and 'all_time'. + */ + public Builder setInterval(Interval interval) { + this.interval = interval; + return this; + } + } + + public enum Category implements ApiRequestParams.EnumParam { + @SerializedName("ac_refrigeration_repair") + AC_REFRIGERATION_REPAIR("ac_refrigeration_repair"), + + @SerializedName("accounting_bookkeeping_services") + ACCOUNTING_BOOKKEEPING_SERVICES("accounting_bookkeeping_services"), + + @SerializedName("advertising_services") + ADVERTISING_SERVICES("advertising_services"), + + @SerializedName("agricultural_cooperative") + AGRICULTURAL_COOPERATIVE("agricultural_cooperative"), + + @SerializedName("airlines_air_carriers") + AIRLINES_AIR_CARRIERS("airlines_air_carriers"), + + @SerializedName("airports_flying_fields") + AIRPORTS_FLYING_FIELDS("airports_flying_fields"), + + @SerializedName("ambulance_services") + AMBULANCE_SERVICES("ambulance_services"), + + @SerializedName("amusement_parks_carnivals") + AMUSEMENT_PARKS_CARNIVALS("amusement_parks_carnivals"), + + @SerializedName("antique_reproductions") + ANTIQUE_REPRODUCTIONS("antique_reproductions"), + + @SerializedName("antique_shops") + ANTIQUE_SHOPS("antique_shops"), + + @SerializedName("aquariums") + AQUARIUMS("aquariums"), + + @SerializedName("architectural_surveying_services") + ARCHITECTURAL_SURVEYING_SERVICES("architectural_surveying_services"), + + @SerializedName("art_dealers_and_galleries") + ART_DEALERS_AND_GALLERIES("art_dealers_and_galleries"), + + @SerializedName("artists_supply_and_craft_shops") + ARTISTS_SUPPLY_AND_CRAFT_SHOPS("artists_supply_and_craft_shops"), + + @SerializedName("auto_and_home_supply_stores") + AUTO_AND_HOME_SUPPLY_STORES("auto_and_home_supply_stores"), + + @SerializedName("auto_body_repair_shops") + AUTO_BODY_REPAIR_SHOPS("auto_body_repair_shops"), + + @SerializedName("auto_paint_shops") + AUTO_PAINT_SHOPS("auto_paint_shops"), + + @SerializedName("auto_service_shops") + AUTO_SERVICE_SHOPS("auto_service_shops"), + + @SerializedName("automated_cash_disburse") + AUTOMATED_CASH_DISBURSE("automated_cash_disburse"), + + @SerializedName("automated_fuel_dispensers") + AUTOMATED_FUEL_DISPENSERS("automated_fuel_dispensers"), + + @SerializedName("automobile_associations") + AUTOMOBILE_ASSOCIATIONS("automobile_associations"), + + @SerializedName("automotive_parts_and_accessories_stores") + AUTOMOTIVE_PARTS_AND_ACCESSORIES_STORES("automotive_parts_and_accessories_stores"), + + @SerializedName("automotive_tire_stores") + AUTOMOTIVE_TIRE_STORES("automotive_tire_stores"), + + @SerializedName("bail_and_bond_payments") + BAIL_AND_BOND_PAYMENTS("bail_and_bond_payments"), + + @SerializedName("bakeries") + BAKERIES("bakeries"), + + @SerializedName("bands_orchestras") + BANDS_ORCHESTRAS("bands_orchestras"), + + @SerializedName("barber_and_beauty_shops") + BARBER_AND_BEAUTY_SHOPS("barber_and_beauty_shops"), + + @SerializedName("betting_casino_gambling") + BETTING_CASINO_GAMBLING("betting_casino_gambling"), + + @SerializedName("bicycle_shops") + BICYCLE_SHOPS("bicycle_shops"), + + @SerializedName("billiard_pool_establishments") + BILLIARD_POOL_ESTABLISHMENTS("billiard_pool_establishments"), + + @SerializedName("boat_dealers") + BOAT_DEALERS("boat_dealers"), + + @SerializedName("boat_rentals_and_leases") + BOAT_RENTALS_AND_LEASES("boat_rentals_and_leases"), + + @SerializedName("book_stores") + BOOK_STORES("book_stores"), + + @SerializedName("books_periodicals_and_newspapers") + BOOKS_PERIODICALS_AND_NEWSPAPERS("books_periodicals_and_newspapers"), + + @SerializedName("bowling_alleys") + BOWLING_ALLEYS("bowling_alleys"), + + @SerializedName("bus_lines") + BUS_LINES("bus_lines"), + + @SerializedName("business_secretarial_schools") + BUSINESS_SECRETARIAL_SCHOOLS("business_secretarial_schools"), + + @SerializedName("buying_shopping_services") + BUYING_SHOPPING_SERVICES("buying_shopping_services"), + + @SerializedName("cable_satellite_and_other_pay_television_and_radio") + CABLE_SATELLITE_AND_OTHER_PAY_TELEVISION_AND_RADIO( + "cable_satellite_and_other_pay_television_and_radio"), + + @SerializedName("camera_and_photographic_supply_stores") + CAMERA_AND_PHOTOGRAPHIC_SUPPLY_STORES("camera_and_photographic_supply_stores"), + + @SerializedName("candy_nut_and_confectionery_stores") + CANDY_NUT_AND_CONFECTIONERY_STORES("candy_nut_and_confectionery_stores"), + + @SerializedName("car_and_truck_dealers_new_used") + CAR_AND_TRUCK_DEALERS_NEW_USED("car_and_truck_dealers_new_used"), + + @SerializedName("car_and_truck_dealers_used_only") + CAR_AND_TRUCK_DEALERS_USED_ONLY("car_and_truck_dealers_used_only"), + + @SerializedName("car_rental_agencies") + CAR_RENTAL_AGENCIES("car_rental_agencies"), + + @SerializedName("car_washes") + CAR_WASHES("car_washes"), + + @SerializedName("carpentry_services") + CARPENTRY_SERVICES("carpentry_services"), + + @SerializedName("carpet_upholstery_cleaning") + CARPET_UPHOLSTERY_CLEANING("carpet_upholstery_cleaning"), + + @SerializedName("caterers") + CATERERS("caterers"), + + @SerializedName("charitable_and_social_service_organizations_fundraising") + CHARITABLE_AND_SOCIAL_SERVICE_ORGANIZATIONS_FUNDRAISING( + "charitable_and_social_service_organizations_fundraising"), + + @SerializedName("chemicals_and_allied_products") + CHEMICALS_AND_ALLIED_PRODUCTS("chemicals_and_allied_products"), + + @SerializedName("chidrens_and_infants_wear_stores") + CHIDRENS_AND_INFANTS_WEAR_STORES("chidrens_and_infants_wear_stores"), + + @SerializedName("child_care_services") + CHILD_CARE_SERVICES("child_care_services"), + + @SerializedName("chiropodists_podiatrists") + CHIROPODISTS_PODIATRISTS("chiropodists_podiatrists"), + + @SerializedName("chiropractors") + CHIROPRACTORS("chiropractors"), + + @SerializedName("cigar_stores_and_stands") + CIGAR_STORES_AND_STANDS("cigar_stores_and_stands"), + + @SerializedName("civic_social_fraternal_associations") + CIVIC_SOCIAL_FRATERNAL_ASSOCIATIONS("civic_social_fraternal_associations"), + + @SerializedName("cleaning_and_maintenance") + CLEANING_AND_MAINTENANCE("cleaning_and_maintenance"), + + @SerializedName("clothing_rental") + CLOTHING_RENTAL("clothing_rental"), + + @SerializedName("colleges_universities") + COLLEGES_UNIVERSITIES("colleges_universities"), + + @SerializedName("commercial_equipment") + COMMERCIAL_EQUIPMENT("commercial_equipment"), + + @SerializedName("commercial_footwear") + COMMERCIAL_FOOTWEAR("commercial_footwear"), + + @SerializedName("commercial_photography_art_and_graphics") + COMMERCIAL_PHOTOGRAPHY_ART_AND_GRAPHICS("commercial_photography_art_and_graphics"), + + @SerializedName("commuter_transport_and_ferries") + COMMUTER_TRANSPORT_AND_FERRIES("commuter_transport_and_ferries"), + + @SerializedName("computer_network_services") + COMPUTER_NETWORK_SERVICES("computer_network_services"), + + @SerializedName("computer_programming") + COMPUTER_PROGRAMMING("computer_programming"), + + @SerializedName("computer_repair") + COMPUTER_REPAIR("computer_repair"), + + @SerializedName("computer_software_stores") + COMPUTER_SOFTWARE_STORES("computer_software_stores"), + + @SerializedName("computers_peripherals_and_software") + COMPUTERS_PERIPHERALS_AND_SOFTWARE("computers_peripherals_and_software"), + + @SerializedName("concrete_work_services") + CONCRETE_WORK_SERVICES("concrete_work_services"), + + @SerializedName("construction_materials") + CONSTRUCTION_MATERIALS("construction_materials"), + + @SerializedName("consulting_public_relations") + CONSULTING_PUBLIC_RELATIONS("consulting_public_relations"), + + @SerializedName("correspondence_schools") + CORRESPONDENCE_SCHOOLS("correspondence_schools"), + + @SerializedName("cosmetic_stores") + COSMETIC_STORES("cosmetic_stores"), + + @SerializedName("counseling_services") + COUNSELING_SERVICES("counseling_services"), + + @SerializedName("country_clubs") + COUNTRY_CLUBS("country_clubs"), + + @SerializedName("courier_services") + COURIER_SERVICES("courier_services"), + + @SerializedName("court_costs") + COURT_COSTS("court_costs"), + + @SerializedName("credit_reporting_agencies") + CREDIT_REPORTING_AGENCIES("credit_reporting_agencies"), + + @SerializedName("cruise_lines") + CRUISE_LINES("cruise_lines"), + + @SerializedName("dairy_products_stores") + DAIRY_PRODUCTS_STORES("dairy_products_stores"), + + @SerializedName("dance_hall_studios_schools") + DANCE_HALL_STUDIOS_SCHOOLS("dance_hall_studios_schools"), + + @SerializedName("dating_escort_services") + DATING_ESCORT_SERVICES("dating_escort_services"), + + @SerializedName("dentists_orthodontists") + DENTISTS_ORTHODONTISTS("dentists_orthodontists"), + + @SerializedName("department_stores") + DEPARTMENT_STORES("department_stores"), + + @SerializedName("detective_agencies") + DETECTIVE_AGENCIES("detective_agencies"), + + @SerializedName("direct_marketing_catalog_merchant") + DIRECT_MARKETING_CATALOG_MERCHANT("direct_marketing_catalog_merchant"), + + @SerializedName("direct_marketing_combination_catalog_and_retail_merchant") + DIRECT_MARKETING_COMBINATION_CATALOG_AND_RETAIL_MERCHANT( + "direct_marketing_combination_catalog_and_retail_merchant"), + + @SerializedName("direct_marketing_inbound_telemarketing") + DIRECT_MARKETING_INBOUND_TELEMARKETING("direct_marketing_inbound_telemarketing"), + + @SerializedName("direct_marketing_insurance_services") + DIRECT_MARKETING_INSURANCE_SERVICES("direct_marketing_insurance_services"), + + @SerializedName("direct_marketing_other") + DIRECT_MARKETING_OTHER("direct_marketing_other"), + + @SerializedName("direct_marketing_outbound_telemarketing") + DIRECT_MARKETING_OUTBOUND_TELEMARKETING("direct_marketing_outbound_telemarketing"), + + @SerializedName("direct_marketing_subscription") + DIRECT_MARKETING_SUBSCRIPTION("direct_marketing_subscription"), + + @SerializedName("direct_marketing_travel") + DIRECT_MARKETING_TRAVEL("direct_marketing_travel"), + + @SerializedName("discount_stores") + DISCOUNT_STORES("discount_stores"), + + @SerializedName("doctors") + DOCTORS("doctors"), + + @SerializedName("door_to_door_sales") + DOOR_TO_DOOR_SALES("door_to_door_sales"), + + @SerializedName("drapery_window_covering_and_upholstery_stores") + DRAPERY_WINDOW_COVERING_AND_UPHOLSTERY_STORES( + "drapery_window_covering_and_upholstery_stores"), + + @SerializedName("drinking_places") + DRINKING_PLACES("drinking_places"), + + @SerializedName("drug_stores_and_pharmacies") + DRUG_STORES_AND_PHARMACIES("drug_stores_and_pharmacies"), + + @SerializedName("drugs_drug_proprietaries_and_druggist_sundries") + DRUGS_DRUG_PROPRIETARIES_AND_DRUGGIST_SUNDRIES( + "drugs_drug_proprietaries_and_druggist_sundries"), + + @SerializedName("dry_cleaners") + DRY_CLEANERS("dry_cleaners"), + + @SerializedName("durable_goods") + DURABLE_GOODS("durable_goods"), + + @SerializedName("duty_free_stores") + DUTY_FREE_STORES("duty_free_stores"), + + @SerializedName("eating_places_restaurants") + EATING_PLACES_RESTAURANTS("eating_places_restaurants"), + + @SerializedName("educational_services") + EDUCATIONAL_SERVICES("educational_services"), + + @SerializedName("electric_razor_stores") + ELECTRIC_RAZOR_STORES("electric_razor_stores"), + + @SerializedName("electrical_parts_and_equipment") + ELECTRICAL_PARTS_AND_EQUIPMENT("electrical_parts_and_equipment"), + + @SerializedName("electrical_services") + ELECTRICAL_SERVICES("electrical_services"), + + @SerializedName("electronics_repair_shops") + ELECTRONICS_REPAIR_SHOPS("electronics_repair_shops"), + + @SerializedName("electronics_stores") + ELECTRONICS_STORES("electronics_stores"), + + @SerializedName("elementary_secondary_schools") + ELEMENTARY_SECONDARY_SCHOOLS("elementary_secondary_schools"), + + @SerializedName("employment_temp_agencies") + EMPLOYMENT_TEMP_AGENCIES("employment_temp_agencies"), + + @SerializedName("equipment_rental") + EQUIPMENT_RENTAL("equipment_rental"), + + @SerializedName("exterminating_services") + EXTERMINATING_SERVICES("exterminating_services"), + + @SerializedName("family_clothing_stores") + FAMILY_CLOTHING_STORES("family_clothing_stores"), + + @SerializedName("fast_food_restaurants") + FAST_FOOD_RESTAURANTS("fast_food_restaurants"), + + @SerializedName("financial_institutions") + FINANCIAL_INSTITUTIONS("financial_institutions"), + + @SerializedName("fines_government_administrative_entities") + FINES_GOVERNMENT_ADMINISTRATIVE_ENTITIES("fines_government_administrative_entities"), + + @SerializedName("fireplace_fireplace_screens_and_accessories_stores") + FIREPLACE_FIREPLACE_SCREENS_AND_ACCESSORIES_STORES( + "fireplace_fireplace_screens_and_accessories_stores"), + + @SerializedName("floor_covering_stores") + FLOOR_COVERING_STORES("floor_covering_stores"), + + @SerializedName("florists") + FLORISTS("florists"), + + @SerializedName("florists_supplies_nursery_stock_and_flowers") + FLORISTS_SUPPLIES_NURSERY_STOCK_AND_FLOWERS("florists_supplies_nursery_stock_and_flowers"), + + @SerializedName("freezer_and_locker_meat_provisioners") + FREEZER_AND_LOCKER_MEAT_PROVISIONERS("freezer_and_locker_meat_provisioners"), + + @SerializedName("fuel_dealers_non_automotive") + FUEL_DEALERS_NON_AUTOMOTIVE("fuel_dealers_non_automotive"), + + @SerializedName("funeral_services_crematories") + FUNERAL_SERVICES_CREMATORIES("funeral_services_crematories"), + + @SerializedName("furniture_home_furnishings_and_equipment_stores_except_appliances") + FURNITURE_HOME_FURNISHINGS_AND_EQUIPMENT_STORES_EXCEPT_APPLIANCES( + "furniture_home_furnishings_and_equipment_stores_except_appliances"), + + @SerializedName("furniture_repair_refinishing") + FURNITURE_REPAIR_REFINISHING("furniture_repair_refinishing"), + + @SerializedName("furriers_and_fur_shops") + FURRIERS_AND_FUR_SHOPS("furriers_and_fur_shops"), + + @SerializedName("general_services") + GENERAL_SERVICES("general_services"), + + @SerializedName("gift_card_novelty_and_souvenir_shops") + GIFT_CARD_NOVELTY_AND_SOUVENIR_SHOPS("gift_card_novelty_and_souvenir_shops"), + + @SerializedName("glass_paint_and_wallpaper_stores") + GLASS_PAINT_AND_WALLPAPER_STORES("glass_paint_and_wallpaper_stores"), + + @SerializedName("glassware_crystal_stores") + GLASSWARE_CRYSTAL_STORES("glassware_crystal_stores"), + + @SerializedName("golf_courses_public") + GOLF_COURSES_PUBLIC("golf_courses_public"), + + @SerializedName("government_services") + GOVERNMENT_SERVICES("government_services"), + + @SerializedName("grocery_stores_supermarkets") + GROCERY_STORES_SUPERMARKETS("grocery_stores_supermarkets"), + + @SerializedName("hardware_equipment_and_supplies") + HARDWARE_EQUIPMENT_AND_SUPPLIES("hardware_equipment_and_supplies"), + + @SerializedName("hardware_stores") + HARDWARE_STORES("hardware_stores"), + + @SerializedName("health_and_beauty_spas") + HEALTH_AND_BEAUTY_SPAS("health_and_beauty_spas"), + + @SerializedName("hearing_aids_sales_and_supplies") + HEARING_AIDS_SALES_AND_SUPPLIES("hearing_aids_sales_and_supplies"), + + @SerializedName("heating_plumbing_a_c") + HEATING_PLUMBING_A_C("heating_plumbing_a_c"), + + @SerializedName("hobby_toy_and_game_shops") + HOBBY_TOY_AND_GAME_SHOPS("hobby_toy_and_game_shops"), + + @SerializedName("home_supply_warehouse_stores") + HOME_SUPPLY_WAREHOUSE_STORES("home_supply_warehouse_stores"), + + @SerializedName("hospitals") + HOSPITALS("hospitals"), + + @SerializedName("hotels_motels_and_resorts") + HOTELS_MOTELS_AND_RESORTS("hotels_motels_and_resorts"), + + @SerializedName("household_appliance_stores") + HOUSEHOLD_APPLIANCE_STORES("household_appliance_stores"), + + @SerializedName("industrial_supplies") + INDUSTRIAL_SUPPLIES("industrial_supplies"), + + @SerializedName("information_retrieval_services") + INFORMATION_RETRIEVAL_SERVICES("information_retrieval_services"), + + @SerializedName("insurance_default") + INSURANCE_DEFAULT("insurance_default"), + + @SerializedName("insurance_underwriting_premiums") + INSURANCE_UNDERWRITING_PREMIUMS("insurance_underwriting_premiums"), + + @SerializedName("intra_company_purchases") + INTRA_COMPANY_PURCHASES("intra_company_purchases"), + + @SerializedName("jewelry_stores_watches_clocks_and_silverware_stores") + JEWELRY_STORES_WATCHES_CLOCKS_AND_SILVERWARE_STORES( + "jewelry_stores_watches_clocks_and_silverware_stores"), + + @SerializedName("landscaping_services") + LANDSCAPING_SERVICES("landscaping_services"), + + @SerializedName("laundries") + LAUNDRIES("laundries"), + + @SerializedName("laundry_cleaning_services") + LAUNDRY_CLEANING_SERVICES("laundry_cleaning_services"), + + @SerializedName("legal_services_attorneys") + LEGAL_SERVICES_ATTORNEYS("legal_services_attorneys"), + + @SerializedName("luggage_and_leather_goods_stores") + LUGGAGE_AND_LEATHER_GOODS_STORES("luggage_and_leather_goods_stores"), + + @SerializedName("lumber_building_materials_stores") + LUMBER_BUILDING_MATERIALS_STORES("lumber_building_materials_stores"), + + @SerializedName("manual_cash_disburse") + MANUAL_CASH_DISBURSE("manual_cash_disburse"), + + @SerializedName("marinas_service_and_supplies") + MARINAS_SERVICE_AND_SUPPLIES("marinas_service_and_supplies"), + + @SerializedName("masonry_stonework_and_plaster") + MASONRY_STONEWORK_AND_PLASTER("masonry_stonework_and_plaster"), + + @SerializedName("massage_parlors") + MASSAGE_PARLORS("massage_parlors"), + + @SerializedName("medical_and_dental_labs") + MEDICAL_AND_DENTAL_LABS("medical_and_dental_labs"), + + @SerializedName("medical_dental_ophthalmic_and_hospital_equipment_and_supplies") + MEDICAL_DENTAL_OPHTHALMIC_AND_HOSPITAL_EQUIPMENT_AND_SUPPLIES( + "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"), + + @SerializedName("medical_services") + MEDICAL_SERVICES("medical_services"), + + @SerializedName("membership_organizations") + MEMBERSHIP_ORGANIZATIONS("membership_organizations"), + + @SerializedName("mens_and_boys_clothing_and_accessories_stores") + MENS_AND_BOYS_CLOTHING_AND_ACCESSORIES_STORES( + "mens_and_boys_clothing_and_accessories_stores"), + + @SerializedName("mens_womens_clothing_stores") + MENS_WOMENS_CLOTHING_STORES("mens_womens_clothing_stores"), + + @SerializedName("metal_service_centers") + METAL_SERVICE_CENTERS("metal_service_centers"), + + @SerializedName("miscellaneous") + MISCELLANEOUS("miscellaneous"), + + @SerializedName("miscellaneous_apparel_and_accessory_shops") + MISCELLANEOUS_APPAREL_AND_ACCESSORY_SHOPS("miscellaneous_apparel_and_accessory_shops"), + + @SerializedName("miscellaneous_auto_dealers") + MISCELLANEOUS_AUTO_DEALERS("miscellaneous_auto_dealers"), + + @SerializedName("miscellaneous_business_services") + MISCELLANEOUS_BUSINESS_SERVICES("miscellaneous_business_services"), + + @SerializedName("miscellaneous_food_stores") + MISCELLANEOUS_FOOD_STORES("miscellaneous_food_stores"), + + @SerializedName("miscellaneous_general_merchandise") + MISCELLANEOUS_GENERAL_MERCHANDISE("miscellaneous_general_merchandise"), + + @SerializedName("miscellaneous_general_services") + MISCELLANEOUS_GENERAL_SERVICES("miscellaneous_general_services"), + + @SerializedName("miscellaneous_home_furnishing_specialty_stores") + MISCELLANEOUS_HOME_FURNISHING_SPECIALTY_STORES( + "miscellaneous_home_furnishing_specialty_stores"), + + @SerializedName("miscellaneous_publishing_and_printing") + MISCELLANEOUS_PUBLISHING_AND_PRINTING("miscellaneous_publishing_and_printing"), + + @SerializedName("miscellaneous_recreation_services") + MISCELLANEOUS_RECREATION_SERVICES("miscellaneous_recreation_services"), + + @SerializedName("miscellaneous_repair_shops") + MISCELLANEOUS_REPAIR_SHOPS("miscellaneous_repair_shops"), + + @SerializedName("miscellaneous_specialty_retail") + MISCELLANEOUS_SPECIALTY_RETAIL("miscellaneous_specialty_retail"), + + @SerializedName("mobile_home_dealers") + MOBILE_HOME_DEALERS("mobile_home_dealers"), + + @SerializedName("motion_picture_theaters") + MOTION_PICTURE_THEATERS("motion_picture_theaters"), + + @SerializedName("motor_freight_carriers_and_trucking") + MOTOR_FREIGHT_CARRIERS_AND_TRUCKING("motor_freight_carriers_and_trucking"), + + @SerializedName("motor_homes_dealers") + MOTOR_HOMES_DEALERS("motor_homes_dealers"), + + @SerializedName("motor_vehicle_supplies_and_new_parts") + MOTOR_VEHICLE_SUPPLIES_AND_NEW_PARTS("motor_vehicle_supplies_and_new_parts"), + + @SerializedName("motorcycle_shops_and_dealers") + MOTORCYCLE_SHOPS_AND_DEALERS("motorcycle_shops_and_dealers"), + + @SerializedName("motorcycle_shops_dealers") + MOTORCYCLE_SHOPS_DEALERS("motorcycle_shops_dealers"), + + @SerializedName("music_stores_musical_instruments_pianos_and_sheet_music") + MUSIC_STORES_MUSICAL_INSTRUMENTS_PIANOS_AND_SHEET_MUSIC( + "music_stores_musical_instruments_pianos_and_sheet_music"), + + @SerializedName("news_dealers_and_newsstands") + NEWS_DEALERS_AND_NEWSSTANDS("news_dealers_and_newsstands"), + + @SerializedName("non_fi_money_orders") + NON_FI_MONEY_ORDERS("non_fi_money_orders"), + + @SerializedName("non_fi_stored_value_card_purchase_load") + NON_FI_STORED_VALUE_CARD_PURCHASE_LOAD("non_fi_stored_value_card_purchase_load"), + + @SerializedName("nondurable_goods") + NONDURABLE_GOODS("nondurable_goods"), + + @SerializedName("nurseries_lawn_and_garden_supply_stores") + NURSERIES_LAWN_AND_GARDEN_SUPPLY_STORES("nurseries_lawn_and_garden_supply_stores"), + + @SerializedName("nursing_personal_care") + NURSING_PERSONAL_CARE("nursing_personal_care"), + + @SerializedName("office_and_commercial_furniture") + OFFICE_AND_COMMERCIAL_FURNITURE("office_and_commercial_furniture"), + + @SerializedName("opticians_eyeglasses") + OPTICIANS_EYEGLASSES("opticians_eyeglasses"), + + @SerializedName("optometrists_ophthalmologist") + OPTOMETRISTS_OPHTHALMOLOGIST("optometrists_ophthalmologist"), + + @SerializedName("orthopedic_goods_prosthetic_devices") + ORTHOPEDIC_GOODS_PROSTHETIC_DEVICES("orthopedic_goods_prosthetic_devices"), + + @SerializedName("osteopaths") + OSTEOPATHS("osteopaths"), + + @SerializedName("package_stores_beer_wine_and_liquor") + PACKAGE_STORES_BEER_WINE_AND_LIQUOR("package_stores_beer_wine_and_liquor"), + + @SerializedName("paints_varnishes_and_supplies") + PAINTS_VARNISHES_AND_SUPPLIES("paints_varnishes_and_supplies"), + + @SerializedName("parking_lots_garages") + PARKING_LOTS_GARAGES("parking_lots_garages"), + + @SerializedName("passenger_railways") + PASSENGER_RAILWAYS("passenger_railways"), + + @SerializedName("pawn_shops") + PAWN_SHOPS("pawn_shops"), + + @SerializedName("pet_shops_pet_food_and_supplies") + PET_SHOPS_PET_FOOD_AND_SUPPLIES("pet_shops_pet_food_and_supplies"), + + @SerializedName("petroleum_and_petroleum_products") + PETROLEUM_AND_PETROLEUM_PRODUCTS("petroleum_and_petroleum_products"), + + @SerializedName("photo_developing") + PHOTO_DEVELOPING("photo_developing"), + + @SerializedName("photographic_photocopy_microfilm_equipment_and_supplies") + PHOTOGRAPHIC_PHOTOCOPY_MICROFILM_EQUIPMENT_AND_SUPPLIES( + "photographic_photocopy_microfilm_equipment_and_supplies"), + + @SerializedName("photographic_studios") + PHOTOGRAPHIC_STUDIOS("photographic_studios"), + + @SerializedName("picture_video_production") + PICTURE_VIDEO_PRODUCTION("picture_video_production"), + + @SerializedName("piece_goods_notions_and_other_dry_goods") + PIECE_GOODS_NOTIONS_AND_OTHER_DRY_GOODS("piece_goods_notions_and_other_dry_goods"), + + @SerializedName("plumbing_heating_equipment_and_supplies") + PLUMBING_HEATING_EQUIPMENT_AND_SUPPLIES("plumbing_heating_equipment_and_supplies"), + + @SerializedName("political_organizations") + POLITICAL_ORGANIZATIONS("political_organizations"), + + @SerializedName("postal_services_government_only") + POSTAL_SERVICES_GOVERNMENT_ONLY("postal_services_government_only"), + + @SerializedName("precious_stones_and_metals_watches_and_jewelry") + PRECIOUS_STONES_AND_METALS_WATCHES_AND_JEWELRY( + "precious_stones_and_metals_watches_and_jewelry"), + + @SerializedName("professional_services") + PROFESSIONAL_SERVICES("professional_services"), + + @SerializedName("public_warehousing_and_storage") + PUBLIC_WAREHOUSING_AND_STORAGE("public_warehousing_and_storage"), + + @SerializedName("quick_copy_repro_and_blueprint") + QUICK_COPY_REPRO_AND_BLUEPRINT("quick_copy_repro_and_blueprint"), + + @SerializedName("railroads") + RAILROADS("railroads"), + + @SerializedName("real_estate_agents_and_managers_rentals") + REAL_ESTATE_AGENTS_AND_MANAGERS_RENTALS("real_estate_agents_and_managers_rentals"), + + @SerializedName("record_stores") + RECORD_STORES("record_stores"), + + @SerializedName("recreational_vehicle_rentals") + RECREATIONAL_VEHICLE_RENTALS("recreational_vehicle_rentals"), + + @SerializedName("religious_goods_stores") + RELIGIOUS_GOODS_STORES("religious_goods_stores"), + + @SerializedName("religious_organizations") + RELIGIOUS_ORGANIZATIONS("religious_organizations"), + + @SerializedName("roofing_siding_sheet_metal") + ROOFING_SIDING_SHEET_METAL("roofing_siding_sheet_metal"), + + @SerializedName("secretarial_support_services") + SECRETARIAL_SUPPORT_SERVICES("secretarial_support_services"), + + @SerializedName("security_brokers_dealers") + SECURITY_BROKERS_DEALERS("security_brokers_dealers"), + + @SerializedName("service_stations") + SERVICE_STATIONS("service_stations"), + + @SerializedName("sewing_needlework_fabric_and_piece_goods_stores") + SEWING_NEEDLEWORK_FABRIC_AND_PIECE_GOODS_STORES( + "sewing_needlework_fabric_and_piece_goods_stores"), + + @SerializedName("shoe_repair_hat_cleaning") + SHOE_REPAIR_HAT_CLEANING("shoe_repair_hat_cleaning"), + + @SerializedName("shoe_stores") + SHOE_STORES("shoe_stores"), + + @SerializedName("small_appliance_repair") + SMALL_APPLIANCE_REPAIR("small_appliance_repair"), + + @SerializedName("snowmobile_dealers") + SNOWMOBILE_DEALERS("snowmobile_dealers"), + + @SerializedName("special_trade_services") + SPECIAL_TRADE_SERVICES("special_trade_services"), + + @SerializedName("specialty_cleaning") + SPECIALTY_CLEANING("specialty_cleaning"), + + @SerializedName("sporting_goods_stores") + SPORTING_GOODS_STORES("sporting_goods_stores"), + + @SerializedName("sporting_recreation_camps") + SPORTING_RECREATION_CAMPS("sporting_recreation_camps"), + + @SerializedName("sports_and_riding_apparel_stores") + SPORTS_AND_RIDING_APPAREL_STORES("sports_and_riding_apparel_stores"), + + @SerializedName("sports_clubs_fields") + SPORTS_CLUBS_FIELDS("sports_clubs_fields"), + + @SerializedName("stamp_and_coin_stores") + STAMP_AND_COIN_STORES("stamp_and_coin_stores"), + + @SerializedName("stationary_office_supplies_printing_and_writing_paper") + STATIONARY_OFFICE_SUPPLIES_PRINTING_AND_WRITING_PAPER( + "stationary_office_supplies_printing_and_writing_paper"), + + @SerializedName("stationery_stores_office_and_school_supply_stores") + STATIONERY_STORES_OFFICE_AND_SCHOOL_SUPPLY_STORES( + "stationery_stores_office_and_school_supply_stores"), + + @SerializedName("swimming_pools_sales") + SWIMMING_POOLS_SALES("swimming_pools_sales"), + + @SerializedName("t_ui_travel_germany") + T_UI_TRAVEL_GERMANY("t_ui_travel_germany"), + + @SerializedName("tailors_alterations") + TAILORS_ALTERATIONS("tailors_alterations"), + + @SerializedName("tax_payments_government_agencies") + TAX_PAYMENTS_GOVERNMENT_AGENCIES("tax_payments_government_agencies"), + + @SerializedName("tax_preparation_services") + TAX_PREPARATION_SERVICES("tax_preparation_services"), + + @SerializedName("taxicabs_limousines") + TAXICABS_LIMOUSINES("taxicabs_limousines"), + + @SerializedName("telecommunication_equipment_and_telephone_sales") + TELECOMMUNICATION_EQUIPMENT_AND_TELEPHONE_SALES( + "telecommunication_equipment_and_telephone_sales"), + + @SerializedName("telecommunication_services") + TELECOMMUNICATION_SERVICES("telecommunication_services"), + + @SerializedName("telegraph_services") + TELEGRAPH_SERVICES("telegraph_services"), + + @SerializedName("tent_and_awning_shops") + TENT_AND_AWNING_SHOPS("tent_and_awning_shops"), + + @SerializedName("testing_laboratories") + TESTING_LABORATORIES("testing_laboratories"), + + @SerializedName("theatrical_ticket_agencies") + THEATRICAL_TICKET_AGENCIES("theatrical_ticket_agencies"), + + @SerializedName("timeshares") + TIMESHARES("timeshares"), + + @SerializedName("tire_retreading_and_repair") + TIRE_RETREADING_AND_REPAIR("tire_retreading_and_repair"), + + @SerializedName("tolls_bridge_fees") + TOLLS_BRIDGE_FEES("tolls_bridge_fees"), + + @SerializedName("tourist_attractions_and_exhibits") + TOURIST_ATTRACTIONS_AND_EXHIBITS("tourist_attractions_and_exhibits"), + + @SerializedName("towing_services") + TOWING_SERVICES("towing_services"), + + @SerializedName("trailer_parks_campgrounds") + TRAILER_PARKS_CAMPGROUNDS("trailer_parks_campgrounds"), + + @SerializedName("transportation_services") + TRANSPORTATION_SERVICES("transportation_services"), + + @SerializedName("travel_agencies_tour_operators") + TRAVEL_AGENCIES_TOUR_OPERATORS("travel_agencies_tour_operators"), + + @SerializedName("truck_stop_iteration") + TRUCK_STOP_ITERATION("truck_stop_iteration"), + + @SerializedName("truck_utility_trailer_rentals") + TRUCK_UTILITY_TRAILER_RENTALS("truck_utility_trailer_rentals"), + + @SerializedName("typesetting_plate_making_and_related_services") + TYPESETTING_PLATE_MAKING_AND_RELATED_SERVICES( + "typesetting_plate_making_and_related_services"), + + @SerializedName("typewriter_stores") + TYPEWRITER_STORES("typewriter_stores"), + + @SerializedName("u_s_federal_government_agencies_or_departments") + U_S_FEDERAL_GOVERNMENT_AGENCIES_OR_DEPARTMENTS( + "u_s_federal_government_agencies_or_departments"), + + @SerializedName("uniforms_commercial_clothing") + UNIFORMS_COMMERCIAL_CLOTHING("uniforms_commercial_clothing"), + + @SerializedName("used_merchandise_and_secondhand_stores") + USED_MERCHANDISE_AND_SECONDHAND_STORES("used_merchandise_and_secondhand_stores"), + + @SerializedName("utilities") + UTILITIES("utilities"), + + @SerializedName("variety_stores") + VARIETY_STORES("variety_stores"), + + @SerializedName("veterinary_services") + VETERINARY_SERVICES("veterinary_services"), + + @SerializedName("video_amusement_game_supplies") + VIDEO_AMUSEMENT_GAME_SUPPLIES("video_amusement_game_supplies"), + + @SerializedName("video_game_arcades") + VIDEO_GAME_ARCADES("video_game_arcades"), + + @SerializedName("video_tape_rental_stores") + VIDEO_TAPE_RENTAL_STORES("video_tape_rental_stores"), + + @SerializedName("vocational_trade_schools") + VOCATIONAL_TRADE_SCHOOLS("vocational_trade_schools"), + + @SerializedName("watch_jewelry_repair") + WATCH_JEWELRY_REPAIR("watch_jewelry_repair"), + + @SerializedName("welding_repair") + WELDING_REPAIR("welding_repair"), + + @SerializedName("wholesale_clubs") + WHOLESALE_CLUBS("wholesale_clubs"), + + @SerializedName("wig_and_toupee_stores") + WIG_AND_TOUPEE_STORES("wig_and_toupee_stores"), + + @SerializedName("wires_money_orders") + WIRES_MONEY_ORDERS("wires_money_orders"), + + @SerializedName("womens_accessory_and_specialty_shops") + WOMENS_ACCESSORY_AND_SPECIALTY_SHOPS("womens_accessory_and_specialty_shops"), + + @SerializedName("womens_ready_to_wear_stores") + WOMENS_READY_TO_WEAR_STORES("womens_ready_to_wear_stores"), + + @SerializedName("wrecking_and_salvage_yards") + WRECKING_AND_SALVAGE_YARDS("wrecking_and_salvage_yards"); + + @Getter(onMethod = @__({@Override})) + private final String value; + + Category(String value) { + this.value = value; + } + } + + public enum Interval implements ApiRequestParams.EnumParam { + @SerializedName("all_time") + ALL_TIME("all_time"), + + @SerializedName("daily") + DAILY("daily"), + + @SerializedName("monthly") + MONTHLY("monthly"), + + @SerializedName("per_authorization") + PER_AUTHORIZATION("per_authorization"), + + @SerializedName("weekly") + WEEKLY("weekly"), + + @SerializedName("yearly") + YEARLY("yearly"); + + @Getter(onMethod = @__({@Override})) + private final String value; + + Interval(String value) { + this.value = value; + } + } + } + public enum AllowedCategory implements ApiRequestParams.EnumParam { @SerializedName("ac_refrigeration_repair") AC_REFRIGERATION_REPAIR("ac_refrigeration_repair"), diff --git a/src/main/java/com/stripe/param/issuing/CardholderCreateParams.java b/src/main/java/com/stripe/param/issuing/CardholderCreateParams.java index 91c01841863..26467e60029 100644 --- a/src/main/java/com/stripe/param/issuing/CardholderCreateParams.java +++ b/src/main/java/com/stripe/param/issuing/CardholderCreateParams.java @@ -251,10 +251,17 @@ public static class AuthorizationControls { @SerializedName("blocked_categories") List blockedCategories; + /** Limit the spending with rules based on time intervals and categories. */ + @SerializedName("spending_limits") + List spendingLimits; + private AuthorizationControls( - List allowedCategories, List blockedCategories) { + List allowedCategories, + List blockedCategories, + List spendingLimits) { this.allowedCategories = allowedCategories; this.blockedCategories = blockedCategories; + this.spendingLimits = spendingLimits; } public static Builder builder() { @@ -266,9 +273,12 @@ public static class Builder { private List blockedCategories; + private List spendingLimits; + /** Finalize and obtain parameter instance from this builder. */ public AuthorizationControls build() { - return new AuthorizationControls(this.allowedCategories, this.blockedCategories); + return new AuthorizationControls( + this.allowedCategories, this.blockedCategories, this.spendingLimits); } /** @@ -310,6 +320,32 @@ public Builder addAllBlockedCategory(List elements) { return this; } + /** + * Add an element to `spendingLimits` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * AuthorizationControls#spendingLimits} for the field documentation. + */ + public Builder addSpendingLimit(SpendingLimit element) { + if (this.spendingLimits == null) { + this.spendingLimits = new ArrayList<>(); + } + this.spendingLimits.add(element); + return this; + } + + /** + * Add all elements to `spendingLimits` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * AuthorizationControls#spendingLimits} for the field documentation. + */ + public Builder addAllSpendingLimit(List elements) { + if (this.spendingLimits == null) { + this.spendingLimits = new ArrayList<>(); + } + this.spendingLimits.addAll(elements); + return this; + } + /** * Add an element to `allowedCategories` list. A list is initialized for the first * `add/addAll` call, and subsequent calls adds additional elements to the original list. See @@ -324,6 +360,1000 @@ public Builder addAllowedCategory(AllowedCategory element) { } } + public static class SpendingLimit { + /** Maximum amount allowed to spend per time interval. */ + @SerializedName("amount") + Long amount; + + /** + * Array of strings containing + * [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) + * on which to apply the spending limit. Leave this blank to limit all charges. + */ + @SerializedName("categories") + List categories; + + /** + * The time interval with which to apply this spending limit towards. Allowed values are + * 'per_authorization', 'daily', 'weekly', 'monthly', 'yearly', and 'all_time'. + */ + @SerializedName("interval") + Interval interval; + + private SpendingLimit(Long amount, List categories, Interval interval) { + this.amount = amount; + this.categories = categories; + this.interval = interval; + } + + public static Builder builder() { + return new com.stripe.param.issuing.CardholderCreateParams.AuthorizationControls + .SpendingLimit.Builder(); + } + + public static class Builder { + private Long amount; + + private List categories; + + private Interval interval; + + /** Finalize and obtain parameter instance from this builder. */ + public SpendingLimit build() { + return new SpendingLimit(this.amount, this.categories, this.interval); + } + + /** Maximum amount allowed to spend per time interval. */ + public Builder setAmount(Long amount) { + this.amount = amount; + return this; + } + + /** + * Add an element to `categories` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * SpendingLimit#categories} for the field documentation. + */ + public Builder addCategory(Category element) { + if (this.categories == null) { + this.categories = new ArrayList<>(); + } + this.categories.add(element); + return this; + } + + /** + * Add all elements to `categories` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * SpendingLimit#categories} for the field documentation. + */ + public Builder addAllCategory(List elements) { + if (this.categories == null) { + this.categories = new ArrayList<>(); + } + this.categories.addAll(elements); + return this; + } + + /** + * The time interval with which to apply this spending limit towards. Allowed values are + * 'per_authorization', 'daily', 'weekly', 'monthly', 'yearly', and 'all_time'. + */ + public Builder setInterval(Interval interval) { + this.interval = interval; + return this; + } + } + + public enum Category implements ApiRequestParams.EnumParam { + @SerializedName("ac_refrigeration_repair") + AC_REFRIGERATION_REPAIR("ac_refrigeration_repair"), + + @SerializedName("accounting_bookkeeping_services") + ACCOUNTING_BOOKKEEPING_SERVICES("accounting_bookkeeping_services"), + + @SerializedName("advertising_services") + ADVERTISING_SERVICES("advertising_services"), + + @SerializedName("agricultural_cooperative") + AGRICULTURAL_COOPERATIVE("agricultural_cooperative"), + + @SerializedName("airlines_air_carriers") + AIRLINES_AIR_CARRIERS("airlines_air_carriers"), + + @SerializedName("airports_flying_fields") + AIRPORTS_FLYING_FIELDS("airports_flying_fields"), + + @SerializedName("ambulance_services") + AMBULANCE_SERVICES("ambulance_services"), + + @SerializedName("amusement_parks_carnivals") + AMUSEMENT_PARKS_CARNIVALS("amusement_parks_carnivals"), + + @SerializedName("antique_reproductions") + ANTIQUE_REPRODUCTIONS("antique_reproductions"), + + @SerializedName("antique_shops") + ANTIQUE_SHOPS("antique_shops"), + + @SerializedName("aquariums") + AQUARIUMS("aquariums"), + + @SerializedName("architectural_surveying_services") + ARCHITECTURAL_SURVEYING_SERVICES("architectural_surveying_services"), + + @SerializedName("art_dealers_and_galleries") + ART_DEALERS_AND_GALLERIES("art_dealers_and_galleries"), + + @SerializedName("artists_supply_and_craft_shops") + ARTISTS_SUPPLY_AND_CRAFT_SHOPS("artists_supply_and_craft_shops"), + + @SerializedName("auto_and_home_supply_stores") + AUTO_AND_HOME_SUPPLY_STORES("auto_and_home_supply_stores"), + + @SerializedName("auto_body_repair_shops") + AUTO_BODY_REPAIR_SHOPS("auto_body_repair_shops"), + + @SerializedName("auto_paint_shops") + AUTO_PAINT_SHOPS("auto_paint_shops"), + + @SerializedName("auto_service_shops") + AUTO_SERVICE_SHOPS("auto_service_shops"), + + @SerializedName("automated_cash_disburse") + AUTOMATED_CASH_DISBURSE("automated_cash_disburse"), + + @SerializedName("automated_fuel_dispensers") + AUTOMATED_FUEL_DISPENSERS("automated_fuel_dispensers"), + + @SerializedName("automobile_associations") + AUTOMOBILE_ASSOCIATIONS("automobile_associations"), + + @SerializedName("automotive_parts_and_accessories_stores") + AUTOMOTIVE_PARTS_AND_ACCESSORIES_STORES("automotive_parts_and_accessories_stores"), + + @SerializedName("automotive_tire_stores") + AUTOMOTIVE_TIRE_STORES("automotive_tire_stores"), + + @SerializedName("bail_and_bond_payments") + BAIL_AND_BOND_PAYMENTS("bail_and_bond_payments"), + + @SerializedName("bakeries") + BAKERIES("bakeries"), + + @SerializedName("bands_orchestras") + BANDS_ORCHESTRAS("bands_orchestras"), + + @SerializedName("barber_and_beauty_shops") + BARBER_AND_BEAUTY_SHOPS("barber_and_beauty_shops"), + + @SerializedName("betting_casino_gambling") + BETTING_CASINO_GAMBLING("betting_casino_gambling"), + + @SerializedName("bicycle_shops") + BICYCLE_SHOPS("bicycle_shops"), + + @SerializedName("billiard_pool_establishments") + BILLIARD_POOL_ESTABLISHMENTS("billiard_pool_establishments"), + + @SerializedName("boat_dealers") + BOAT_DEALERS("boat_dealers"), + + @SerializedName("boat_rentals_and_leases") + BOAT_RENTALS_AND_LEASES("boat_rentals_and_leases"), + + @SerializedName("book_stores") + BOOK_STORES("book_stores"), + + @SerializedName("books_periodicals_and_newspapers") + BOOKS_PERIODICALS_AND_NEWSPAPERS("books_periodicals_and_newspapers"), + + @SerializedName("bowling_alleys") + BOWLING_ALLEYS("bowling_alleys"), + + @SerializedName("bus_lines") + BUS_LINES("bus_lines"), + + @SerializedName("business_secretarial_schools") + BUSINESS_SECRETARIAL_SCHOOLS("business_secretarial_schools"), + + @SerializedName("buying_shopping_services") + BUYING_SHOPPING_SERVICES("buying_shopping_services"), + + @SerializedName("cable_satellite_and_other_pay_television_and_radio") + CABLE_SATELLITE_AND_OTHER_PAY_TELEVISION_AND_RADIO( + "cable_satellite_and_other_pay_television_and_radio"), + + @SerializedName("camera_and_photographic_supply_stores") + CAMERA_AND_PHOTOGRAPHIC_SUPPLY_STORES("camera_and_photographic_supply_stores"), + + @SerializedName("candy_nut_and_confectionery_stores") + CANDY_NUT_AND_CONFECTIONERY_STORES("candy_nut_and_confectionery_stores"), + + @SerializedName("car_and_truck_dealers_new_used") + CAR_AND_TRUCK_DEALERS_NEW_USED("car_and_truck_dealers_new_used"), + + @SerializedName("car_and_truck_dealers_used_only") + CAR_AND_TRUCK_DEALERS_USED_ONLY("car_and_truck_dealers_used_only"), + + @SerializedName("car_rental_agencies") + CAR_RENTAL_AGENCIES("car_rental_agencies"), + + @SerializedName("car_washes") + CAR_WASHES("car_washes"), + + @SerializedName("carpentry_services") + CARPENTRY_SERVICES("carpentry_services"), + + @SerializedName("carpet_upholstery_cleaning") + CARPET_UPHOLSTERY_CLEANING("carpet_upholstery_cleaning"), + + @SerializedName("caterers") + CATERERS("caterers"), + + @SerializedName("charitable_and_social_service_organizations_fundraising") + CHARITABLE_AND_SOCIAL_SERVICE_ORGANIZATIONS_FUNDRAISING( + "charitable_and_social_service_organizations_fundraising"), + + @SerializedName("chemicals_and_allied_products") + CHEMICALS_AND_ALLIED_PRODUCTS("chemicals_and_allied_products"), + + @SerializedName("chidrens_and_infants_wear_stores") + CHIDRENS_AND_INFANTS_WEAR_STORES("chidrens_and_infants_wear_stores"), + + @SerializedName("child_care_services") + CHILD_CARE_SERVICES("child_care_services"), + + @SerializedName("chiropodists_podiatrists") + CHIROPODISTS_PODIATRISTS("chiropodists_podiatrists"), + + @SerializedName("chiropractors") + CHIROPRACTORS("chiropractors"), + + @SerializedName("cigar_stores_and_stands") + CIGAR_STORES_AND_STANDS("cigar_stores_and_stands"), + + @SerializedName("civic_social_fraternal_associations") + CIVIC_SOCIAL_FRATERNAL_ASSOCIATIONS("civic_social_fraternal_associations"), + + @SerializedName("cleaning_and_maintenance") + CLEANING_AND_MAINTENANCE("cleaning_and_maintenance"), + + @SerializedName("clothing_rental") + CLOTHING_RENTAL("clothing_rental"), + + @SerializedName("colleges_universities") + COLLEGES_UNIVERSITIES("colleges_universities"), + + @SerializedName("commercial_equipment") + COMMERCIAL_EQUIPMENT("commercial_equipment"), + + @SerializedName("commercial_footwear") + COMMERCIAL_FOOTWEAR("commercial_footwear"), + + @SerializedName("commercial_photography_art_and_graphics") + COMMERCIAL_PHOTOGRAPHY_ART_AND_GRAPHICS("commercial_photography_art_and_graphics"), + + @SerializedName("commuter_transport_and_ferries") + COMMUTER_TRANSPORT_AND_FERRIES("commuter_transport_and_ferries"), + + @SerializedName("computer_network_services") + COMPUTER_NETWORK_SERVICES("computer_network_services"), + + @SerializedName("computer_programming") + COMPUTER_PROGRAMMING("computer_programming"), + + @SerializedName("computer_repair") + COMPUTER_REPAIR("computer_repair"), + + @SerializedName("computer_software_stores") + COMPUTER_SOFTWARE_STORES("computer_software_stores"), + + @SerializedName("computers_peripherals_and_software") + COMPUTERS_PERIPHERALS_AND_SOFTWARE("computers_peripherals_and_software"), + + @SerializedName("concrete_work_services") + CONCRETE_WORK_SERVICES("concrete_work_services"), + + @SerializedName("construction_materials") + CONSTRUCTION_MATERIALS("construction_materials"), + + @SerializedName("consulting_public_relations") + CONSULTING_PUBLIC_RELATIONS("consulting_public_relations"), + + @SerializedName("correspondence_schools") + CORRESPONDENCE_SCHOOLS("correspondence_schools"), + + @SerializedName("cosmetic_stores") + COSMETIC_STORES("cosmetic_stores"), + + @SerializedName("counseling_services") + COUNSELING_SERVICES("counseling_services"), + + @SerializedName("country_clubs") + COUNTRY_CLUBS("country_clubs"), + + @SerializedName("courier_services") + COURIER_SERVICES("courier_services"), + + @SerializedName("court_costs") + COURT_COSTS("court_costs"), + + @SerializedName("credit_reporting_agencies") + CREDIT_REPORTING_AGENCIES("credit_reporting_agencies"), + + @SerializedName("cruise_lines") + CRUISE_LINES("cruise_lines"), + + @SerializedName("dairy_products_stores") + DAIRY_PRODUCTS_STORES("dairy_products_stores"), + + @SerializedName("dance_hall_studios_schools") + DANCE_HALL_STUDIOS_SCHOOLS("dance_hall_studios_schools"), + + @SerializedName("dating_escort_services") + DATING_ESCORT_SERVICES("dating_escort_services"), + + @SerializedName("dentists_orthodontists") + DENTISTS_ORTHODONTISTS("dentists_orthodontists"), + + @SerializedName("department_stores") + DEPARTMENT_STORES("department_stores"), + + @SerializedName("detective_agencies") + DETECTIVE_AGENCIES("detective_agencies"), + + @SerializedName("direct_marketing_catalog_merchant") + DIRECT_MARKETING_CATALOG_MERCHANT("direct_marketing_catalog_merchant"), + + @SerializedName("direct_marketing_combination_catalog_and_retail_merchant") + DIRECT_MARKETING_COMBINATION_CATALOG_AND_RETAIL_MERCHANT( + "direct_marketing_combination_catalog_and_retail_merchant"), + + @SerializedName("direct_marketing_inbound_telemarketing") + DIRECT_MARKETING_INBOUND_TELEMARKETING("direct_marketing_inbound_telemarketing"), + + @SerializedName("direct_marketing_insurance_services") + DIRECT_MARKETING_INSURANCE_SERVICES("direct_marketing_insurance_services"), + + @SerializedName("direct_marketing_other") + DIRECT_MARKETING_OTHER("direct_marketing_other"), + + @SerializedName("direct_marketing_outbound_telemarketing") + DIRECT_MARKETING_OUTBOUND_TELEMARKETING("direct_marketing_outbound_telemarketing"), + + @SerializedName("direct_marketing_subscription") + DIRECT_MARKETING_SUBSCRIPTION("direct_marketing_subscription"), + + @SerializedName("direct_marketing_travel") + DIRECT_MARKETING_TRAVEL("direct_marketing_travel"), + + @SerializedName("discount_stores") + DISCOUNT_STORES("discount_stores"), + + @SerializedName("doctors") + DOCTORS("doctors"), + + @SerializedName("door_to_door_sales") + DOOR_TO_DOOR_SALES("door_to_door_sales"), + + @SerializedName("drapery_window_covering_and_upholstery_stores") + DRAPERY_WINDOW_COVERING_AND_UPHOLSTERY_STORES( + "drapery_window_covering_and_upholstery_stores"), + + @SerializedName("drinking_places") + DRINKING_PLACES("drinking_places"), + + @SerializedName("drug_stores_and_pharmacies") + DRUG_STORES_AND_PHARMACIES("drug_stores_and_pharmacies"), + + @SerializedName("drugs_drug_proprietaries_and_druggist_sundries") + DRUGS_DRUG_PROPRIETARIES_AND_DRUGGIST_SUNDRIES( + "drugs_drug_proprietaries_and_druggist_sundries"), + + @SerializedName("dry_cleaners") + DRY_CLEANERS("dry_cleaners"), + + @SerializedName("durable_goods") + DURABLE_GOODS("durable_goods"), + + @SerializedName("duty_free_stores") + DUTY_FREE_STORES("duty_free_stores"), + + @SerializedName("eating_places_restaurants") + EATING_PLACES_RESTAURANTS("eating_places_restaurants"), + + @SerializedName("educational_services") + EDUCATIONAL_SERVICES("educational_services"), + + @SerializedName("electric_razor_stores") + ELECTRIC_RAZOR_STORES("electric_razor_stores"), + + @SerializedName("electrical_parts_and_equipment") + ELECTRICAL_PARTS_AND_EQUIPMENT("electrical_parts_and_equipment"), + + @SerializedName("electrical_services") + ELECTRICAL_SERVICES("electrical_services"), + + @SerializedName("electronics_repair_shops") + ELECTRONICS_REPAIR_SHOPS("electronics_repair_shops"), + + @SerializedName("electronics_stores") + ELECTRONICS_STORES("electronics_stores"), + + @SerializedName("elementary_secondary_schools") + ELEMENTARY_SECONDARY_SCHOOLS("elementary_secondary_schools"), + + @SerializedName("employment_temp_agencies") + EMPLOYMENT_TEMP_AGENCIES("employment_temp_agencies"), + + @SerializedName("equipment_rental") + EQUIPMENT_RENTAL("equipment_rental"), + + @SerializedName("exterminating_services") + EXTERMINATING_SERVICES("exterminating_services"), + + @SerializedName("family_clothing_stores") + FAMILY_CLOTHING_STORES("family_clothing_stores"), + + @SerializedName("fast_food_restaurants") + FAST_FOOD_RESTAURANTS("fast_food_restaurants"), + + @SerializedName("financial_institutions") + FINANCIAL_INSTITUTIONS("financial_institutions"), + + @SerializedName("fines_government_administrative_entities") + FINES_GOVERNMENT_ADMINISTRATIVE_ENTITIES("fines_government_administrative_entities"), + + @SerializedName("fireplace_fireplace_screens_and_accessories_stores") + FIREPLACE_FIREPLACE_SCREENS_AND_ACCESSORIES_STORES( + "fireplace_fireplace_screens_and_accessories_stores"), + + @SerializedName("floor_covering_stores") + FLOOR_COVERING_STORES("floor_covering_stores"), + + @SerializedName("florists") + FLORISTS("florists"), + + @SerializedName("florists_supplies_nursery_stock_and_flowers") + FLORISTS_SUPPLIES_NURSERY_STOCK_AND_FLOWERS("florists_supplies_nursery_stock_and_flowers"), + + @SerializedName("freezer_and_locker_meat_provisioners") + FREEZER_AND_LOCKER_MEAT_PROVISIONERS("freezer_and_locker_meat_provisioners"), + + @SerializedName("fuel_dealers_non_automotive") + FUEL_DEALERS_NON_AUTOMOTIVE("fuel_dealers_non_automotive"), + + @SerializedName("funeral_services_crematories") + FUNERAL_SERVICES_CREMATORIES("funeral_services_crematories"), + + @SerializedName("furniture_home_furnishings_and_equipment_stores_except_appliances") + FURNITURE_HOME_FURNISHINGS_AND_EQUIPMENT_STORES_EXCEPT_APPLIANCES( + "furniture_home_furnishings_and_equipment_stores_except_appliances"), + + @SerializedName("furniture_repair_refinishing") + FURNITURE_REPAIR_REFINISHING("furniture_repair_refinishing"), + + @SerializedName("furriers_and_fur_shops") + FURRIERS_AND_FUR_SHOPS("furriers_and_fur_shops"), + + @SerializedName("general_services") + GENERAL_SERVICES("general_services"), + + @SerializedName("gift_card_novelty_and_souvenir_shops") + GIFT_CARD_NOVELTY_AND_SOUVENIR_SHOPS("gift_card_novelty_and_souvenir_shops"), + + @SerializedName("glass_paint_and_wallpaper_stores") + GLASS_PAINT_AND_WALLPAPER_STORES("glass_paint_and_wallpaper_stores"), + + @SerializedName("glassware_crystal_stores") + GLASSWARE_CRYSTAL_STORES("glassware_crystal_stores"), + + @SerializedName("golf_courses_public") + GOLF_COURSES_PUBLIC("golf_courses_public"), + + @SerializedName("government_services") + GOVERNMENT_SERVICES("government_services"), + + @SerializedName("grocery_stores_supermarkets") + GROCERY_STORES_SUPERMARKETS("grocery_stores_supermarkets"), + + @SerializedName("hardware_equipment_and_supplies") + HARDWARE_EQUIPMENT_AND_SUPPLIES("hardware_equipment_and_supplies"), + + @SerializedName("hardware_stores") + HARDWARE_STORES("hardware_stores"), + + @SerializedName("health_and_beauty_spas") + HEALTH_AND_BEAUTY_SPAS("health_and_beauty_spas"), + + @SerializedName("hearing_aids_sales_and_supplies") + HEARING_AIDS_SALES_AND_SUPPLIES("hearing_aids_sales_and_supplies"), + + @SerializedName("heating_plumbing_a_c") + HEATING_PLUMBING_A_C("heating_plumbing_a_c"), + + @SerializedName("hobby_toy_and_game_shops") + HOBBY_TOY_AND_GAME_SHOPS("hobby_toy_and_game_shops"), + + @SerializedName("home_supply_warehouse_stores") + HOME_SUPPLY_WAREHOUSE_STORES("home_supply_warehouse_stores"), + + @SerializedName("hospitals") + HOSPITALS("hospitals"), + + @SerializedName("hotels_motels_and_resorts") + HOTELS_MOTELS_AND_RESORTS("hotels_motels_and_resorts"), + + @SerializedName("household_appliance_stores") + HOUSEHOLD_APPLIANCE_STORES("household_appliance_stores"), + + @SerializedName("industrial_supplies") + INDUSTRIAL_SUPPLIES("industrial_supplies"), + + @SerializedName("information_retrieval_services") + INFORMATION_RETRIEVAL_SERVICES("information_retrieval_services"), + + @SerializedName("insurance_default") + INSURANCE_DEFAULT("insurance_default"), + + @SerializedName("insurance_underwriting_premiums") + INSURANCE_UNDERWRITING_PREMIUMS("insurance_underwriting_premiums"), + + @SerializedName("intra_company_purchases") + INTRA_COMPANY_PURCHASES("intra_company_purchases"), + + @SerializedName("jewelry_stores_watches_clocks_and_silverware_stores") + JEWELRY_STORES_WATCHES_CLOCKS_AND_SILVERWARE_STORES( + "jewelry_stores_watches_clocks_and_silverware_stores"), + + @SerializedName("landscaping_services") + LANDSCAPING_SERVICES("landscaping_services"), + + @SerializedName("laundries") + LAUNDRIES("laundries"), + + @SerializedName("laundry_cleaning_services") + LAUNDRY_CLEANING_SERVICES("laundry_cleaning_services"), + + @SerializedName("legal_services_attorneys") + LEGAL_SERVICES_ATTORNEYS("legal_services_attorneys"), + + @SerializedName("luggage_and_leather_goods_stores") + LUGGAGE_AND_LEATHER_GOODS_STORES("luggage_and_leather_goods_stores"), + + @SerializedName("lumber_building_materials_stores") + LUMBER_BUILDING_MATERIALS_STORES("lumber_building_materials_stores"), + + @SerializedName("manual_cash_disburse") + MANUAL_CASH_DISBURSE("manual_cash_disburse"), + + @SerializedName("marinas_service_and_supplies") + MARINAS_SERVICE_AND_SUPPLIES("marinas_service_and_supplies"), + + @SerializedName("masonry_stonework_and_plaster") + MASONRY_STONEWORK_AND_PLASTER("masonry_stonework_and_plaster"), + + @SerializedName("massage_parlors") + MASSAGE_PARLORS("massage_parlors"), + + @SerializedName("medical_and_dental_labs") + MEDICAL_AND_DENTAL_LABS("medical_and_dental_labs"), + + @SerializedName("medical_dental_ophthalmic_and_hospital_equipment_and_supplies") + MEDICAL_DENTAL_OPHTHALMIC_AND_HOSPITAL_EQUIPMENT_AND_SUPPLIES( + "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"), + + @SerializedName("medical_services") + MEDICAL_SERVICES("medical_services"), + + @SerializedName("membership_organizations") + MEMBERSHIP_ORGANIZATIONS("membership_organizations"), + + @SerializedName("mens_and_boys_clothing_and_accessories_stores") + MENS_AND_BOYS_CLOTHING_AND_ACCESSORIES_STORES( + "mens_and_boys_clothing_and_accessories_stores"), + + @SerializedName("mens_womens_clothing_stores") + MENS_WOMENS_CLOTHING_STORES("mens_womens_clothing_stores"), + + @SerializedName("metal_service_centers") + METAL_SERVICE_CENTERS("metal_service_centers"), + + @SerializedName("miscellaneous") + MISCELLANEOUS("miscellaneous"), + + @SerializedName("miscellaneous_apparel_and_accessory_shops") + MISCELLANEOUS_APPAREL_AND_ACCESSORY_SHOPS("miscellaneous_apparel_and_accessory_shops"), + + @SerializedName("miscellaneous_auto_dealers") + MISCELLANEOUS_AUTO_DEALERS("miscellaneous_auto_dealers"), + + @SerializedName("miscellaneous_business_services") + MISCELLANEOUS_BUSINESS_SERVICES("miscellaneous_business_services"), + + @SerializedName("miscellaneous_food_stores") + MISCELLANEOUS_FOOD_STORES("miscellaneous_food_stores"), + + @SerializedName("miscellaneous_general_merchandise") + MISCELLANEOUS_GENERAL_MERCHANDISE("miscellaneous_general_merchandise"), + + @SerializedName("miscellaneous_general_services") + MISCELLANEOUS_GENERAL_SERVICES("miscellaneous_general_services"), + + @SerializedName("miscellaneous_home_furnishing_specialty_stores") + MISCELLANEOUS_HOME_FURNISHING_SPECIALTY_STORES( + "miscellaneous_home_furnishing_specialty_stores"), + + @SerializedName("miscellaneous_publishing_and_printing") + MISCELLANEOUS_PUBLISHING_AND_PRINTING("miscellaneous_publishing_and_printing"), + + @SerializedName("miscellaneous_recreation_services") + MISCELLANEOUS_RECREATION_SERVICES("miscellaneous_recreation_services"), + + @SerializedName("miscellaneous_repair_shops") + MISCELLANEOUS_REPAIR_SHOPS("miscellaneous_repair_shops"), + + @SerializedName("miscellaneous_specialty_retail") + MISCELLANEOUS_SPECIALTY_RETAIL("miscellaneous_specialty_retail"), + + @SerializedName("mobile_home_dealers") + MOBILE_HOME_DEALERS("mobile_home_dealers"), + + @SerializedName("motion_picture_theaters") + MOTION_PICTURE_THEATERS("motion_picture_theaters"), + + @SerializedName("motor_freight_carriers_and_trucking") + MOTOR_FREIGHT_CARRIERS_AND_TRUCKING("motor_freight_carriers_and_trucking"), + + @SerializedName("motor_homes_dealers") + MOTOR_HOMES_DEALERS("motor_homes_dealers"), + + @SerializedName("motor_vehicle_supplies_and_new_parts") + MOTOR_VEHICLE_SUPPLIES_AND_NEW_PARTS("motor_vehicle_supplies_and_new_parts"), + + @SerializedName("motorcycle_shops_and_dealers") + MOTORCYCLE_SHOPS_AND_DEALERS("motorcycle_shops_and_dealers"), + + @SerializedName("motorcycle_shops_dealers") + MOTORCYCLE_SHOPS_DEALERS("motorcycle_shops_dealers"), + + @SerializedName("music_stores_musical_instruments_pianos_and_sheet_music") + MUSIC_STORES_MUSICAL_INSTRUMENTS_PIANOS_AND_SHEET_MUSIC( + "music_stores_musical_instruments_pianos_and_sheet_music"), + + @SerializedName("news_dealers_and_newsstands") + NEWS_DEALERS_AND_NEWSSTANDS("news_dealers_and_newsstands"), + + @SerializedName("non_fi_money_orders") + NON_FI_MONEY_ORDERS("non_fi_money_orders"), + + @SerializedName("non_fi_stored_value_card_purchase_load") + NON_FI_STORED_VALUE_CARD_PURCHASE_LOAD("non_fi_stored_value_card_purchase_load"), + + @SerializedName("nondurable_goods") + NONDURABLE_GOODS("nondurable_goods"), + + @SerializedName("nurseries_lawn_and_garden_supply_stores") + NURSERIES_LAWN_AND_GARDEN_SUPPLY_STORES("nurseries_lawn_and_garden_supply_stores"), + + @SerializedName("nursing_personal_care") + NURSING_PERSONAL_CARE("nursing_personal_care"), + + @SerializedName("office_and_commercial_furniture") + OFFICE_AND_COMMERCIAL_FURNITURE("office_and_commercial_furniture"), + + @SerializedName("opticians_eyeglasses") + OPTICIANS_EYEGLASSES("opticians_eyeglasses"), + + @SerializedName("optometrists_ophthalmologist") + OPTOMETRISTS_OPHTHALMOLOGIST("optometrists_ophthalmologist"), + + @SerializedName("orthopedic_goods_prosthetic_devices") + ORTHOPEDIC_GOODS_PROSTHETIC_DEVICES("orthopedic_goods_prosthetic_devices"), + + @SerializedName("osteopaths") + OSTEOPATHS("osteopaths"), + + @SerializedName("package_stores_beer_wine_and_liquor") + PACKAGE_STORES_BEER_WINE_AND_LIQUOR("package_stores_beer_wine_and_liquor"), + + @SerializedName("paints_varnishes_and_supplies") + PAINTS_VARNISHES_AND_SUPPLIES("paints_varnishes_and_supplies"), + + @SerializedName("parking_lots_garages") + PARKING_LOTS_GARAGES("parking_lots_garages"), + + @SerializedName("passenger_railways") + PASSENGER_RAILWAYS("passenger_railways"), + + @SerializedName("pawn_shops") + PAWN_SHOPS("pawn_shops"), + + @SerializedName("pet_shops_pet_food_and_supplies") + PET_SHOPS_PET_FOOD_AND_SUPPLIES("pet_shops_pet_food_and_supplies"), + + @SerializedName("petroleum_and_petroleum_products") + PETROLEUM_AND_PETROLEUM_PRODUCTS("petroleum_and_petroleum_products"), + + @SerializedName("photo_developing") + PHOTO_DEVELOPING("photo_developing"), + + @SerializedName("photographic_photocopy_microfilm_equipment_and_supplies") + PHOTOGRAPHIC_PHOTOCOPY_MICROFILM_EQUIPMENT_AND_SUPPLIES( + "photographic_photocopy_microfilm_equipment_and_supplies"), + + @SerializedName("photographic_studios") + PHOTOGRAPHIC_STUDIOS("photographic_studios"), + + @SerializedName("picture_video_production") + PICTURE_VIDEO_PRODUCTION("picture_video_production"), + + @SerializedName("piece_goods_notions_and_other_dry_goods") + PIECE_GOODS_NOTIONS_AND_OTHER_DRY_GOODS("piece_goods_notions_and_other_dry_goods"), + + @SerializedName("plumbing_heating_equipment_and_supplies") + PLUMBING_HEATING_EQUIPMENT_AND_SUPPLIES("plumbing_heating_equipment_and_supplies"), + + @SerializedName("political_organizations") + POLITICAL_ORGANIZATIONS("political_organizations"), + + @SerializedName("postal_services_government_only") + POSTAL_SERVICES_GOVERNMENT_ONLY("postal_services_government_only"), + + @SerializedName("precious_stones_and_metals_watches_and_jewelry") + PRECIOUS_STONES_AND_METALS_WATCHES_AND_JEWELRY( + "precious_stones_and_metals_watches_and_jewelry"), + + @SerializedName("professional_services") + PROFESSIONAL_SERVICES("professional_services"), + + @SerializedName("public_warehousing_and_storage") + PUBLIC_WAREHOUSING_AND_STORAGE("public_warehousing_and_storage"), + + @SerializedName("quick_copy_repro_and_blueprint") + QUICK_COPY_REPRO_AND_BLUEPRINT("quick_copy_repro_and_blueprint"), + + @SerializedName("railroads") + RAILROADS("railroads"), + + @SerializedName("real_estate_agents_and_managers_rentals") + REAL_ESTATE_AGENTS_AND_MANAGERS_RENTALS("real_estate_agents_and_managers_rentals"), + + @SerializedName("record_stores") + RECORD_STORES("record_stores"), + + @SerializedName("recreational_vehicle_rentals") + RECREATIONAL_VEHICLE_RENTALS("recreational_vehicle_rentals"), + + @SerializedName("religious_goods_stores") + RELIGIOUS_GOODS_STORES("religious_goods_stores"), + + @SerializedName("religious_organizations") + RELIGIOUS_ORGANIZATIONS("religious_organizations"), + + @SerializedName("roofing_siding_sheet_metal") + ROOFING_SIDING_SHEET_METAL("roofing_siding_sheet_metal"), + + @SerializedName("secretarial_support_services") + SECRETARIAL_SUPPORT_SERVICES("secretarial_support_services"), + + @SerializedName("security_brokers_dealers") + SECURITY_BROKERS_DEALERS("security_brokers_dealers"), + + @SerializedName("service_stations") + SERVICE_STATIONS("service_stations"), + + @SerializedName("sewing_needlework_fabric_and_piece_goods_stores") + SEWING_NEEDLEWORK_FABRIC_AND_PIECE_GOODS_STORES( + "sewing_needlework_fabric_and_piece_goods_stores"), + + @SerializedName("shoe_repair_hat_cleaning") + SHOE_REPAIR_HAT_CLEANING("shoe_repair_hat_cleaning"), + + @SerializedName("shoe_stores") + SHOE_STORES("shoe_stores"), + + @SerializedName("small_appliance_repair") + SMALL_APPLIANCE_REPAIR("small_appliance_repair"), + + @SerializedName("snowmobile_dealers") + SNOWMOBILE_DEALERS("snowmobile_dealers"), + + @SerializedName("special_trade_services") + SPECIAL_TRADE_SERVICES("special_trade_services"), + + @SerializedName("specialty_cleaning") + SPECIALTY_CLEANING("specialty_cleaning"), + + @SerializedName("sporting_goods_stores") + SPORTING_GOODS_STORES("sporting_goods_stores"), + + @SerializedName("sporting_recreation_camps") + SPORTING_RECREATION_CAMPS("sporting_recreation_camps"), + + @SerializedName("sports_and_riding_apparel_stores") + SPORTS_AND_RIDING_APPAREL_STORES("sports_and_riding_apparel_stores"), + + @SerializedName("sports_clubs_fields") + SPORTS_CLUBS_FIELDS("sports_clubs_fields"), + + @SerializedName("stamp_and_coin_stores") + STAMP_AND_COIN_STORES("stamp_and_coin_stores"), + + @SerializedName("stationary_office_supplies_printing_and_writing_paper") + STATIONARY_OFFICE_SUPPLIES_PRINTING_AND_WRITING_PAPER( + "stationary_office_supplies_printing_and_writing_paper"), + + @SerializedName("stationery_stores_office_and_school_supply_stores") + STATIONERY_STORES_OFFICE_AND_SCHOOL_SUPPLY_STORES( + "stationery_stores_office_and_school_supply_stores"), + + @SerializedName("swimming_pools_sales") + SWIMMING_POOLS_SALES("swimming_pools_sales"), + + @SerializedName("t_ui_travel_germany") + T_UI_TRAVEL_GERMANY("t_ui_travel_germany"), + + @SerializedName("tailors_alterations") + TAILORS_ALTERATIONS("tailors_alterations"), + + @SerializedName("tax_payments_government_agencies") + TAX_PAYMENTS_GOVERNMENT_AGENCIES("tax_payments_government_agencies"), + + @SerializedName("tax_preparation_services") + TAX_PREPARATION_SERVICES("tax_preparation_services"), + + @SerializedName("taxicabs_limousines") + TAXICABS_LIMOUSINES("taxicabs_limousines"), + + @SerializedName("telecommunication_equipment_and_telephone_sales") + TELECOMMUNICATION_EQUIPMENT_AND_TELEPHONE_SALES( + "telecommunication_equipment_and_telephone_sales"), + + @SerializedName("telecommunication_services") + TELECOMMUNICATION_SERVICES("telecommunication_services"), + + @SerializedName("telegraph_services") + TELEGRAPH_SERVICES("telegraph_services"), + + @SerializedName("tent_and_awning_shops") + TENT_AND_AWNING_SHOPS("tent_and_awning_shops"), + + @SerializedName("testing_laboratories") + TESTING_LABORATORIES("testing_laboratories"), + + @SerializedName("theatrical_ticket_agencies") + THEATRICAL_TICKET_AGENCIES("theatrical_ticket_agencies"), + + @SerializedName("timeshares") + TIMESHARES("timeshares"), + + @SerializedName("tire_retreading_and_repair") + TIRE_RETREADING_AND_REPAIR("tire_retreading_and_repair"), + + @SerializedName("tolls_bridge_fees") + TOLLS_BRIDGE_FEES("tolls_bridge_fees"), + + @SerializedName("tourist_attractions_and_exhibits") + TOURIST_ATTRACTIONS_AND_EXHIBITS("tourist_attractions_and_exhibits"), + + @SerializedName("towing_services") + TOWING_SERVICES("towing_services"), + + @SerializedName("trailer_parks_campgrounds") + TRAILER_PARKS_CAMPGROUNDS("trailer_parks_campgrounds"), + + @SerializedName("transportation_services") + TRANSPORTATION_SERVICES("transportation_services"), + + @SerializedName("travel_agencies_tour_operators") + TRAVEL_AGENCIES_TOUR_OPERATORS("travel_agencies_tour_operators"), + + @SerializedName("truck_stop_iteration") + TRUCK_STOP_ITERATION("truck_stop_iteration"), + + @SerializedName("truck_utility_trailer_rentals") + TRUCK_UTILITY_TRAILER_RENTALS("truck_utility_trailer_rentals"), + + @SerializedName("typesetting_plate_making_and_related_services") + TYPESETTING_PLATE_MAKING_AND_RELATED_SERVICES( + "typesetting_plate_making_and_related_services"), + + @SerializedName("typewriter_stores") + TYPEWRITER_STORES("typewriter_stores"), + + @SerializedName("u_s_federal_government_agencies_or_departments") + U_S_FEDERAL_GOVERNMENT_AGENCIES_OR_DEPARTMENTS( + "u_s_federal_government_agencies_or_departments"), + + @SerializedName("uniforms_commercial_clothing") + UNIFORMS_COMMERCIAL_CLOTHING("uniforms_commercial_clothing"), + + @SerializedName("used_merchandise_and_secondhand_stores") + USED_MERCHANDISE_AND_SECONDHAND_STORES("used_merchandise_and_secondhand_stores"), + + @SerializedName("utilities") + UTILITIES("utilities"), + + @SerializedName("variety_stores") + VARIETY_STORES("variety_stores"), + + @SerializedName("veterinary_services") + VETERINARY_SERVICES("veterinary_services"), + + @SerializedName("video_amusement_game_supplies") + VIDEO_AMUSEMENT_GAME_SUPPLIES("video_amusement_game_supplies"), + + @SerializedName("video_game_arcades") + VIDEO_GAME_ARCADES("video_game_arcades"), + + @SerializedName("video_tape_rental_stores") + VIDEO_TAPE_RENTAL_STORES("video_tape_rental_stores"), + + @SerializedName("vocational_trade_schools") + VOCATIONAL_TRADE_SCHOOLS("vocational_trade_schools"), + + @SerializedName("watch_jewelry_repair") + WATCH_JEWELRY_REPAIR("watch_jewelry_repair"), + + @SerializedName("welding_repair") + WELDING_REPAIR("welding_repair"), + + @SerializedName("wholesale_clubs") + WHOLESALE_CLUBS("wholesale_clubs"), + + @SerializedName("wig_and_toupee_stores") + WIG_AND_TOUPEE_STORES("wig_and_toupee_stores"), + + @SerializedName("wires_money_orders") + WIRES_MONEY_ORDERS("wires_money_orders"), + + @SerializedName("womens_accessory_and_specialty_shops") + WOMENS_ACCESSORY_AND_SPECIALTY_SHOPS("womens_accessory_and_specialty_shops"), + + @SerializedName("womens_ready_to_wear_stores") + WOMENS_READY_TO_WEAR_STORES("womens_ready_to_wear_stores"), + + @SerializedName("wrecking_and_salvage_yards") + WRECKING_AND_SALVAGE_YARDS("wrecking_and_salvage_yards"); + + @Getter(onMethod = @__({@Override})) + private final String value; + + Category(String value) { + this.value = value; + } + } + + public enum Interval implements ApiRequestParams.EnumParam { + @SerializedName("all_time") + ALL_TIME("all_time"), + + @SerializedName("daily") + DAILY("daily"), + + @SerializedName("monthly") + MONTHLY("monthly"), + + @SerializedName("per_authorization") + PER_AUTHORIZATION("per_authorization"), + + @SerializedName("weekly") + WEEKLY("weekly"), + + @SerializedName("yearly") + YEARLY("yearly"); + + @Getter(onMethod = @__({@Override})) + private final String value; + + Interval(String value) { + this.value = value; + } + } + } + public enum AllowedCategory implements ApiRequestParams.EnumParam { @SerializedName("ac_refrigeration_repair") AC_REFRIGERATION_REPAIR("ac_refrigeration_repair"), diff --git a/src/main/java/com/stripe/param/issuing/CardholderUpdateParams.java b/src/main/java/com/stripe/param/issuing/CardholderUpdateParams.java index 720eff40738..6d8ff309f05 100644 --- a/src/main/java/com/stripe/param/issuing/CardholderUpdateParams.java +++ b/src/main/java/com/stripe/param/issuing/CardholderUpdateParams.java @@ -220,10 +220,17 @@ public static class AuthorizationControls { @SerializedName("blocked_categories") List blockedCategories; + /** Limit the spending with rules based on time intervals and categories. */ + @SerializedName("spending_limits") + List spendingLimits; + private AuthorizationControls( - List allowedCategories, List blockedCategories) { + List allowedCategories, + List blockedCategories, + List spendingLimits) { this.allowedCategories = allowedCategories; this.blockedCategories = blockedCategories; + this.spendingLimits = spendingLimits; } public static Builder builder() { @@ -235,9 +242,12 @@ public static class Builder { private List blockedCategories; + private List spendingLimits; + /** Finalize and obtain parameter instance from this builder. */ public AuthorizationControls build() { - return new AuthorizationControls(this.allowedCategories, this.blockedCategories); + return new AuthorizationControls( + this.allowedCategories, this.blockedCategories, this.spendingLimits); } /** @@ -279,6 +289,32 @@ public Builder addAllBlockedCategory(List elements) { return this; } + /** + * Add an element to `spendingLimits` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * AuthorizationControls#spendingLimits} for the field documentation. + */ + public Builder addSpendingLimit(SpendingLimit element) { + if (this.spendingLimits == null) { + this.spendingLimits = new ArrayList<>(); + } + this.spendingLimits.add(element); + return this; + } + + /** + * Add all elements to `spendingLimits` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * AuthorizationControls#spendingLimits} for the field documentation. + */ + public Builder addAllSpendingLimit(List elements) { + if (this.spendingLimits == null) { + this.spendingLimits = new ArrayList<>(); + } + this.spendingLimits.addAll(elements); + return this; + } + /** * Add an element to `allowedCategories` list. A list is initialized for the first * `add/addAll` call, and subsequent calls adds additional elements to the original list. See @@ -293,6 +329,1000 @@ public Builder addAllowedCategory(AllowedCategory element) { } } + public static class SpendingLimit { + /** Maximum amount allowed to spend per time interval. */ + @SerializedName("amount") + Long amount; + + /** + * Array of strings containing + * [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) + * on which to apply the spending limit. Leave this blank to limit all charges. + */ + @SerializedName("categories") + List categories; + + /** + * The time interval with which to apply this spending limit towards. Allowed values are + * 'per_authorization', 'daily', 'weekly', 'monthly', 'yearly', and 'all_time'. + */ + @SerializedName("interval") + Interval interval; + + private SpendingLimit(Long amount, List categories, Interval interval) { + this.amount = amount; + this.categories = categories; + this.interval = interval; + } + + public static Builder builder() { + return new com.stripe.param.issuing.CardholderUpdateParams.AuthorizationControls + .SpendingLimit.Builder(); + } + + public static class Builder { + private Long amount; + + private List categories; + + private Interval interval; + + /** Finalize and obtain parameter instance from this builder. */ + public SpendingLimit build() { + return new SpendingLimit(this.amount, this.categories, this.interval); + } + + /** Maximum amount allowed to spend per time interval. */ + public Builder setAmount(Long amount) { + this.amount = amount; + return this; + } + + /** + * Add an element to `categories` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * SpendingLimit#categories} for the field documentation. + */ + public Builder addCategory(Category element) { + if (this.categories == null) { + this.categories = new ArrayList<>(); + } + this.categories.add(element); + return this; + } + + /** + * Add all elements to `categories` list. A list is initialized for the first `add/addAll` + * call, and subsequent calls adds additional elements to the original list. See {@link + * SpendingLimit#categories} for the field documentation. + */ + public Builder addAllCategory(List elements) { + if (this.categories == null) { + this.categories = new ArrayList<>(); + } + this.categories.addAll(elements); + return this; + } + + /** + * The time interval with which to apply this spending limit towards. Allowed values are + * 'per_authorization', 'daily', 'weekly', 'monthly', 'yearly', and 'all_time'. + */ + public Builder setInterval(Interval interval) { + this.interval = interval; + return this; + } + } + + public enum Category implements ApiRequestParams.EnumParam { + @SerializedName("ac_refrigeration_repair") + AC_REFRIGERATION_REPAIR("ac_refrigeration_repair"), + + @SerializedName("accounting_bookkeeping_services") + ACCOUNTING_BOOKKEEPING_SERVICES("accounting_bookkeeping_services"), + + @SerializedName("advertising_services") + ADVERTISING_SERVICES("advertising_services"), + + @SerializedName("agricultural_cooperative") + AGRICULTURAL_COOPERATIVE("agricultural_cooperative"), + + @SerializedName("airlines_air_carriers") + AIRLINES_AIR_CARRIERS("airlines_air_carriers"), + + @SerializedName("airports_flying_fields") + AIRPORTS_FLYING_FIELDS("airports_flying_fields"), + + @SerializedName("ambulance_services") + AMBULANCE_SERVICES("ambulance_services"), + + @SerializedName("amusement_parks_carnivals") + AMUSEMENT_PARKS_CARNIVALS("amusement_parks_carnivals"), + + @SerializedName("antique_reproductions") + ANTIQUE_REPRODUCTIONS("antique_reproductions"), + + @SerializedName("antique_shops") + ANTIQUE_SHOPS("antique_shops"), + + @SerializedName("aquariums") + AQUARIUMS("aquariums"), + + @SerializedName("architectural_surveying_services") + ARCHITECTURAL_SURVEYING_SERVICES("architectural_surveying_services"), + + @SerializedName("art_dealers_and_galleries") + ART_DEALERS_AND_GALLERIES("art_dealers_and_galleries"), + + @SerializedName("artists_supply_and_craft_shops") + ARTISTS_SUPPLY_AND_CRAFT_SHOPS("artists_supply_and_craft_shops"), + + @SerializedName("auto_and_home_supply_stores") + AUTO_AND_HOME_SUPPLY_STORES("auto_and_home_supply_stores"), + + @SerializedName("auto_body_repair_shops") + AUTO_BODY_REPAIR_SHOPS("auto_body_repair_shops"), + + @SerializedName("auto_paint_shops") + AUTO_PAINT_SHOPS("auto_paint_shops"), + + @SerializedName("auto_service_shops") + AUTO_SERVICE_SHOPS("auto_service_shops"), + + @SerializedName("automated_cash_disburse") + AUTOMATED_CASH_DISBURSE("automated_cash_disburse"), + + @SerializedName("automated_fuel_dispensers") + AUTOMATED_FUEL_DISPENSERS("automated_fuel_dispensers"), + + @SerializedName("automobile_associations") + AUTOMOBILE_ASSOCIATIONS("automobile_associations"), + + @SerializedName("automotive_parts_and_accessories_stores") + AUTOMOTIVE_PARTS_AND_ACCESSORIES_STORES("automotive_parts_and_accessories_stores"), + + @SerializedName("automotive_tire_stores") + AUTOMOTIVE_TIRE_STORES("automotive_tire_stores"), + + @SerializedName("bail_and_bond_payments") + BAIL_AND_BOND_PAYMENTS("bail_and_bond_payments"), + + @SerializedName("bakeries") + BAKERIES("bakeries"), + + @SerializedName("bands_orchestras") + BANDS_ORCHESTRAS("bands_orchestras"), + + @SerializedName("barber_and_beauty_shops") + BARBER_AND_BEAUTY_SHOPS("barber_and_beauty_shops"), + + @SerializedName("betting_casino_gambling") + BETTING_CASINO_GAMBLING("betting_casino_gambling"), + + @SerializedName("bicycle_shops") + BICYCLE_SHOPS("bicycle_shops"), + + @SerializedName("billiard_pool_establishments") + BILLIARD_POOL_ESTABLISHMENTS("billiard_pool_establishments"), + + @SerializedName("boat_dealers") + BOAT_DEALERS("boat_dealers"), + + @SerializedName("boat_rentals_and_leases") + BOAT_RENTALS_AND_LEASES("boat_rentals_and_leases"), + + @SerializedName("book_stores") + BOOK_STORES("book_stores"), + + @SerializedName("books_periodicals_and_newspapers") + BOOKS_PERIODICALS_AND_NEWSPAPERS("books_periodicals_and_newspapers"), + + @SerializedName("bowling_alleys") + BOWLING_ALLEYS("bowling_alleys"), + + @SerializedName("bus_lines") + BUS_LINES("bus_lines"), + + @SerializedName("business_secretarial_schools") + BUSINESS_SECRETARIAL_SCHOOLS("business_secretarial_schools"), + + @SerializedName("buying_shopping_services") + BUYING_SHOPPING_SERVICES("buying_shopping_services"), + + @SerializedName("cable_satellite_and_other_pay_television_and_radio") + CABLE_SATELLITE_AND_OTHER_PAY_TELEVISION_AND_RADIO( + "cable_satellite_and_other_pay_television_and_radio"), + + @SerializedName("camera_and_photographic_supply_stores") + CAMERA_AND_PHOTOGRAPHIC_SUPPLY_STORES("camera_and_photographic_supply_stores"), + + @SerializedName("candy_nut_and_confectionery_stores") + CANDY_NUT_AND_CONFECTIONERY_STORES("candy_nut_and_confectionery_stores"), + + @SerializedName("car_and_truck_dealers_new_used") + CAR_AND_TRUCK_DEALERS_NEW_USED("car_and_truck_dealers_new_used"), + + @SerializedName("car_and_truck_dealers_used_only") + CAR_AND_TRUCK_DEALERS_USED_ONLY("car_and_truck_dealers_used_only"), + + @SerializedName("car_rental_agencies") + CAR_RENTAL_AGENCIES("car_rental_agencies"), + + @SerializedName("car_washes") + CAR_WASHES("car_washes"), + + @SerializedName("carpentry_services") + CARPENTRY_SERVICES("carpentry_services"), + + @SerializedName("carpet_upholstery_cleaning") + CARPET_UPHOLSTERY_CLEANING("carpet_upholstery_cleaning"), + + @SerializedName("caterers") + CATERERS("caterers"), + + @SerializedName("charitable_and_social_service_organizations_fundraising") + CHARITABLE_AND_SOCIAL_SERVICE_ORGANIZATIONS_FUNDRAISING( + "charitable_and_social_service_organizations_fundraising"), + + @SerializedName("chemicals_and_allied_products") + CHEMICALS_AND_ALLIED_PRODUCTS("chemicals_and_allied_products"), + + @SerializedName("chidrens_and_infants_wear_stores") + CHIDRENS_AND_INFANTS_WEAR_STORES("chidrens_and_infants_wear_stores"), + + @SerializedName("child_care_services") + CHILD_CARE_SERVICES("child_care_services"), + + @SerializedName("chiropodists_podiatrists") + CHIROPODISTS_PODIATRISTS("chiropodists_podiatrists"), + + @SerializedName("chiropractors") + CHIROPRACTORS("chiropractors"), + + @SerializedName("cigar_stores_and_stands") + CIGAR_STORES_AND_STANDS("cigar_stores_and_stands"), + + @SerializedName("civic_social_fraternal_associations") + CIVIC_SOCIAL_FRATERNAL_ASSOCIATIONS("civic_social_fraternal_associations"), + + @SerializedName("cleaning_and_maintenance") + CLEANING_AND_MAINTENANCE("cleaning_and_maintenance"), + + @SerializedName("clothing_rental") + CLOTHING_RENTAL("clothing_rental"), + + @SerializedName("colleges_universities") + COLLEGES_UNIVERSITIES("colleges_universities"), + + @SerializedName("commercial_equipment") + COMMERCIAL_EQUIPMENT("commercial_equipment"), + + @SerializedName("commercial_footwear") + COMMERCIAL_FOOTWEAR("commercial_footwear"), + + @SerializedName("commercial_photography_art_and_graphics") + COMMERCIAL_PHOTOGRAPHY_ART_AND_GRAPHICS("commercial_photography_art_and_graphics"), + + @SerializedName("commuter_transport_and_ferries") + COMMUTER_TRANSPORT_AND_FERRIES("commuter_transport_and_ferries"), + + @SerializedName("computer_network_services") + COMPUTER_NETWORK_SERVICES("computer_network_services"), + + @SerializedName("computer_programming") + COMPUTER_PROGRAMMING("computer_programming"), + + @SerializedName("computer_repair") + COMPUTER_REPAIR("computer_repair"), + + @SerializedName("computer_software_stores") + COMPUTER_SOFTWARE_STORES("computer_software_stores"), + + @SerializedName("computers_peripherals_and_software") + COMPUTERS_PERIPHERALS_AND_SOFTWARE("computers_peripherals_and_software"), + + @SerializedName("concrete_work_services") + CONCRETE_WORK_SERVICES("concrete_work_services"), + + @SerializedName("construction_materials") + CONSTRUCTION_MATERIALS("construction_materials"), + + @SerializedName("consulting_public_relations") + CONSULTING_PUBLIC_RELATIONS("consulting_public_relations"), + + @SerializedName("correspondence_schools") + CORRESPONDENCE_SCHOOLS("correspondence_schools"), + + @SerializedName("cosmetic_stores") + COSMETIC_STORES("cosmetic_stores"), + + @SerializedName("counseling_services") + COUNSELING_SERVICES("counseling_services"), + + @SerializedName("country_clubs") + COUNTRY_CLUBS("country_clubs"), + + @SerializedName("courier_services") + COURIER_SERVICES("courier_services"), + + @SerializedName("court_costs") + COURT_COSTS("court_costs"), + + @SerializedName("credit_reporting_agencies") + CREDIT_REPORTING_AGENCIES("credit_reporting_agencies"), + + @SerializedName("cruise_lines") + CRUISE_LINES("cruise_lines"), + + @SerializedName("dairy_products_stores") + DAIRY_PRODUCTS_STORES("dairy_products_stores"), + + @SerializedName("dance_hall_studios_schools") + DANCE_HALL_STUDIOS_SCHOOLS("dance_hall_studios_schools"), + + @SerializedName("dating_escort_services") + DATING_ESCORT_SERVICES("dating_escort_services"), + + @SerializedName("dentists_orthodontists") + DENTISTS_ORTHODONTISTS("dentists_orthodontists"), + + @SerializedName("department_stores") + DEPARTMENT_STORES("department_stores"), + + @SerializedName("detective_agencies") + DETECTIVE_AGENCIES("detective_agencies"), + + @SerializedName("direct_marketing_catalog_merchant") + DIRECT_MARKETING_CATALOG_MERCHANT("direct_marketing_catalog_merchant"), + + @SerializedName("direct_marketing_combination_catalog_and_retail_merchant") + DIRECT_MARKETING_COMBINATION_CATALOG_AND_RETAIL_MERCHANT( + "direct_marketing_combination_catalog_and_retail_merchant"), + + @SerializedName("direct_marketing_inbound_telemarketing") + DIRECT_MARKETING_INBOUND_TELEMARKETING("direct_marketing_inbound_telemarketing"), + + @SerializedName("direct_marketing_insurance_services") + DIRECT_MARKETING_INSURANCE_SERVICES("direct_marketing_insurance_services"), + + @SerializedName("direct_marketing_other") + DIRECT_MARKETING_OTHER("direct_marketing_other"), + + @SerializedName("direct_marketing_outbound_telemarketing") + DIRECT_MARKETING_OUTBOUND_TELEMARKETING("direct_marketing_outbound_telemarketing"), + + @SerializedName("direct_marketing_subscription") + DIRECT_MARKETING_SUBSCRIPTION("direct_marketing_subscription"), + + @SerializedName("direct_marketing_travel") + DIRECT_MARKETING_TRAVEL("direct_marketing_travel"), + + @SerializedName("discount_stores") + DISCOUNT_STORES("discount_stores"), + + @SerializedName("doctors") + DOCTORS("doctors"), + + @SerializedName("door_to_door_sales") + DOOR_TO_DOOR_SALES("door_to_door_sales"), + + @SerializedName("drapery_window_covering_and_upholstery_stores") + DRAPERY_WINDOW_COVERING_AND_UPHOLSTERY_STORES( + "drapery_window_covering_and_upholstery_stores"), + + @SerializedName("drinking_places") + DRINKING_PLACES("drinking_places"), + + @SerializedName("drug_stores_and_pharmacies") + DRUG_STORES_AND_PHARMACIES("drug_stores_and_pharmacies"), + + @SerializedName("drugs_drug_proprietaries_and_druggist_sundries") + DRUGS_DRUG_PROPRIETARIES_AND_DRUGGIST_SUNDRIES( + "drugs_drug_proprietaries_and_druggist_sundries"), + + @SerializedName("dry_cleaners") + DRY_CLEANERS("dry_cleaners"), + + @SerializedName("durable_goods") + DURABLE_GOODS("durable_goods"), + + @SerializedName("duty_free_stores") + DUTY_FREE_STORES("duty_free_stores"), + + @SerializedName("eating_places_restaurants") + EATING_PLACES_RESTAURANTS("eating_places_restaurants"), + + @SerializedName("educational_services") + EDUCATIONAL_SERVICES("educational_services"), + + @SerializedName("electric_razor_stores") + ELECTRIC_RAZOR_STORES("electric_razor_stores"), + + @SerializedName("electrical_parts_and_equipment") + ELECTRICAL_PARTS_AND_EQUIPMENT("electrical_parts_and_equipment"), + + @SerializedName("electrical_services") + ELECTRICAL_SERVICES("electrical_services"), + + @SerializedName("electronics_repair_shops") + ELECTRONICS_REPAIR_SHOPS("electronics_repair_shops"), + + @SerializedName("electronics_stores") + ELECTRONICS_STORES("electronics_stores"), + + @SerializedName("elementary_secondary_schools") + ELEMENTARY_SECONDARY_SCHOOLS("elementary_secondary_schools"), + + @SerializedName("employment_temp_agencies") + EMPLOYMENT_TEMP_AGENCIES("employment_temp_agencies"), + + @SerializedName("equipment_rental") + EQUIPMENT_RENTAL("equipment_rental"), + + @SerializedName("exterminating_services") + EXTERMINATING_SERVICES("exterminating_services"), + + @SerializedName("family_clothing_stores") + FAMILY_CLOTHING_STORES("family_clothing_stores"), + + @SerializedName("fast_food_restaurants") + FAST_FOOD_RESTAURANTS("fast_food_restaurants"), + + @SerializedName("financial_institutions") + FINANCIAL_INSTITUTIONS("financial_institutions"), + + @SerializedName("fines_government_administrative_entities") + FINES_GOVERNMENT_ADMINISTRATIVE_ENTITIES("fines_government_administrative_entities"), + + @SerializedName("fireplace_fireplace_screens_and_accessories_stores") + FIREPLACE_FIREPLACE_SCREENS_AND_ACCESSORIES_STORES( + "fireplace_fireplace_screens_and_accessories_stores"), + + @SerializedName("floor_covering_stores") + FLOOR_COVERING_STORES("floor_covering_stores"), + + @SerializedName("florists") + FLORISTS("florists"), + + @SerializedName("florists_supplies_nursery_stock_and_flowers") + FLORISTS_SUPPLIES_NURSERY_STOCK_AND_FLOWERS("florists_supplies_nursery_stock_and_flowers"), + + @SerializedName("freezer_and_locker_meat_provisioners") + FREEZER_AND_LOCKER_MEAT_PROVISIONERS("freezer_and_locker_meat_provisioners"), + + @SerializedName("fuel_dealers_non_automotive") + FUEL_DEALERS_NON_AUTOMOTIVE("fuel_dealers_non_automotive"), + + @SerializedName("funeral_services_crematories") + FUNERAL_SERVICES_CREMATORIES("funeral_services_crematories"), + + @SerializedName("furniture_home_furnishings_and_equipment_stores_except_appliances") + FURNITURE_HOME_FURNISHINGS_AND_EQUIPMENT_STORES_EXCEPT_APPLIANCES( + "furniture_home_furnishings_and_equipment_stores_except_appliances"), + + @SerializedName("furniture_repair_refinishing") + FURNITURE_REPAIR_REFINISHING("furniture_repair_refinishing"), + + @SerializedName("furriers_and_fur_shops") + FURRIERS_AND_FUR_SHOPS("furriers_and_fur_shops"), + + @SerializedName("general_services") + GENERAL_SERVICES("general_services"), + + @SerializedName("gift_card_novelty_and_souvenir_shops") + GIFT_CARD_NOVELTY_AND_SOUVENIR_SHOPS("gift_card_novelty_and_souvenir_shops"), + + @SerializedName("glass_paint_and_wallpaper_stores") + GLASS_PAINT_AND_WALLPAPER_STORES("glass_paint_and_wallpaper_stores"), + + @SerializedName("glassware_crystal_stores") + GLASSWARE_CRYSTAL_STORES("glassware_crystal_stores"), + + @SerializedName("golf_courses_public") + GOLF_COURSES_PUBLIC("golf_courses_public"), + + @SerializedName("government_services") + GOVERNMENT_SERVICES("government_services"), + + @SerializedName("grocery_stores_supermarkets") + GROCERY_STORES_SUPERMARKETS("grocery_stores_supermarkets"), + + @SerializedName("hardware_equipment_and_supplies") + HARDWARE_EQUIPMENT_AND_SUPPLIES("hardware_equipment_and_supplies"), + + @SerializedName("hardware_stores") + HARDWARE_STORES("hardware_stores"), + + @SerializedName("health_and_beauty_spas") + HEALTH_AND_BEAUTY_SPAS("health_and_beauty_spas"), + + @SerializedName("hearing_aids_sales_and_supplies") + HEARING_AIDS_SALES_AND_SUPPLIES("hearing_aids_sales_and_supplies"), + + @SerializedName("heating_plumbing_a_c") + HEATING_PLUMBING_A_C("heating_plumbing_a_c"), + + @SerializedName("hobby_toy_and_game_shops") + HOBBY_TOY_AND_GAME_SHOPS("hobby_toy_and_game_shops"), + + @SerializedName("home_supply_warehouse_stores") + HOME_SUPPLY_WAREHOUSE_STORES("home_supply_warehouse_stores"), + + @SerializedName("hospitals") + HOSPITALS("hospitals"), + + @SerializedName("hotels_motels_and_resorts") + HOTELS_MOTELS_AND_RESORTS("hotels_motels_and_resorts"), + + @SerializedName("household_appliance_stores") + HOUSEHOLD_APPLIANCE_STORES("household_appliance_stores"), + + @SerializedName("industrial_supplies") + INDUSTRIAL_SUPPLIES("industrial_supplies"), + + @SerializedName("information_retrieval_services") + INFORMATION_RETRIEVAL_SERVICES("information_retrieval_services"), + + @SerializedName("insurance_default") + INSURANCE_DEFAULT("insurance_default"), + + @SerializedName("insurance_underwriting_premiums") + INSURANCE_UNDERWRITING_PREMIUMS("insurance_underwriting_premiums"), + + @SerializedName("intra_company_purchases") + INTRA_COMPANY_PURCHASES("intra_company_purchases"), + + @SerializedName("jewelry_stores_watches_clocks_and_silverware_stores") + JEWELRY_STORES_WATCHES_CLOCKS_AND_SILVERWARE_STORES( + "jewelry_stores_watches_clocks_and_silverware_stores"), + + @SerializedName("landscaping_services") + LANDSCAPING_SERVICES("landscaping_services"), + + @SerializedName("laundries") + LAUNDRIES("laundries"), + + @SerializedName("laundry_cleaning_services") + LAUNDRY_CLEANING_SERVICES("laundry_cleaning_services"), + + @SerializedName("legal_services_attorneys") + LEGAL_SERVICES_ATTORNEYS("legal_services_attorneys"), + + @SerializedName("luggage_and_leather_goods_stores") + LUGGAGE_AND_LEATHER_GOODS_STORES("luggage_and_leather_goods_stores"), + + @SerializedName("lumber_building_materials_stores") + LUMBER_BUILDING_MATERIALS_STORES("lumber_building_materials_stores"), + + @SerializedName("manual_cash_disburse") + MANUAL_CASH_DISBURSE("manual_cash_disburse"), + + @SerializedName("marinas_service_and_supplies") + MARINAS_SERVICE_AND_SUPPLIES("marinas_service_and_supplies"), + + @SerializedName("masonry_stonework_and_plaster") + MASONRY_STONEWORK_AND_PLASTER("masonry_stonework_and_plaster"), + + @SerializedName("massage_parlors") + MASSAGE_PARLORS("massage_parlors"), + + @SerializedName("medical_and_dental_labs") + MEDICAL_AND_DENTAL_LABS("medical_and_dental_labs"), + + @SerializedName("medical_dental_ophthalmic_and_hospital_equipment_and_supplies") + MEDICAL_DENTAL_OPHTHALMIC_AND_HOSPITAL_EQUIPMENT_AND_SUPPLIES( + "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"), + + @SerializedName("medical_services") + MEDICAL_SERVICES("medical_services"), + + @SerializedName("membership_organizations") + MEMBERSHIP_ORGANIZATIONS("membership_organizations"), + + @SerializedName("mens_and_boys_clothing_and_accessories_stores") + MENS_AND_BOYS_CLOTHING_AND_ACCESSORIES_STORES( + "mens_and_boys_clothing_and_accessories_stores"), + + @SerializedName("mens_womens_clothing_stores") + MENS_WOMENS_CLOTHING_STORES("mens_womens_clothing_stores"), + + @SerializedName("metal_service_centers") + METAL_SERVICE_CENTERS("metal_service_centers"), + + @SerializedName("miscellaneous") + MISCELLANEOUS("miscellaneous"), + + @SerializedName("miscellaneous_apparel_and_accessory_shops") + MISCELLANEOUS_APPAREL_AND_ACCESSORY_SHOPS("miscellaneous_apparel_and_accessory_shops"), + + @SerializedName("miscellaneous_auto_dealers") + MISCELLANEOUS_AUTO_DEALERS("miscellaneous_auto_dealers"), + + @SerializedName("miscellaneous_business_services") + MISCELLANEOUS_BUSINESS_SERVICES("miscellaneous_business_services"), + + @SerializedName("miscellaneous_food_stores") + MISCELLANEOUS_FOOD_STORES("miscellaneous_food_stores"), + + @SerializedName("miscellaneous_general_merchandise") + MISCELLANEOUS_GENERAL_MERCHANDISE("miscellaneous_general_merchandise"), + + @SerializedName("miscellaneous_general_services") + MISCELLANEOUS_GENERAL_SERVICES("miscellaneous_general_services"), + + @SerializedName("miscellaneous_home_furnishing_specialty_stores") + MISCELLANEOUS_HOME_FURNISHING_SPECIALTY_STORES( + "miscellaneous_home_furnishing_specialty_stores"), + + @SerializedName("miscellaneous_publishing_and_printing") + MISCELLANEOUS_PUBLISHING_AND_PRINTING("miscellaneous_publishing_and_printing"), + + @SerializedName("miscellaneous_recreation_services") + MISCELLANEOUS_RECREATION_SERVICES("miscellaneous_recreation_services"), + + @SerializedName("miscellaneous_repair_shops") + MISCELLANEOUS_REPAIR_SHOPS("miscellaneous_repair_shops"), + + @SerializedName("miscellaneous_specialty_retail") + MISCELLANEOUS_SPECIALTY_RETAIL("miscellaneous_specialty_retail"), + + @SerializedName("mobile_home_dealers") + MOBILE_HOME_DEALERS("mobile_home_dealers"), + + @SerializedName("motion_picture_theaters") + MOTION_PICTURE_THEATERS("motion_picture_theaters"), + + @SerializedName("motor_freight_carriers_and_trucking") + MOTOR_FREIGHT_CARRIERS_AND_TRUCKING("motor_freight_carriers_and_trucking"), + + @SerializedName("motor_homes_dealers") + MOTOR_HOMES_DEALERS("motor_homes_dealers"), + + @SerializedName("motor_vehicle_supplies_and_new_parts") + MOTOR_VEHICLE_SUPPLIES_AND_NEW_PARTS("motor_vehicle_supplies_and_new_parts"), + + @SerializedName("motorcycle_shops_and_dealers") + MOTORCYCLE_SHOPS_AND_DEALERS("motorcycle_shops_and_dealers"), + + @SerializedName("motorcycle_shops_dealers") + MOTORCYCLE_SHOPS_DEALERS("motorcycle_shops_dealers"), + + @SerializedName("music_stores_musical_instruments_pianos_and_sheet_music") + MUSIC_STORES_MUSICAL_INSTRUMENTS_PIANOS_AND_SHEET_MUSIC( + "music_stores_musical_instruments_pianos_and_sheet_music"), + + @SerializedName("news_dealers_and_newsstands") + NEWS_DEALERS_AND_NEWSSTANDS("news_dealers_and_newsstands"), + + @SerializedName("non_fi_money_orders") + NON_FI_MONEY_ORDERS("non_fi_money_orders"), + + @SerializedName("non_fi_stored_value_card_purchase_load") + NON_FI_STORED_VALUE_CARD_PURCHASE_LOAD("non_fi_stored_value_card_purchase_load"), + + @SerializedName("nondurable_goods") + NONDURABLE_GOODS("nondurable_goods"), + + @SerializedName("nurseries_lawn_and_garden_supply_stores") + NURSERIES_LAWN_AND_GARDEN_SUPPLY_STORES("nurseries_lawn_and_garden_supply_stores"), + + @SerializedName("nursing_personal_care") + NURSING_PERSONAL_CARE("nursing_personal_care"), + + @SerializedName("office_and_commercial_furniture") + OFFICE_AND_COMMERCIAL_FURNITURE("office_and_commercial_furniture"), + + @SerializedName("opticians_eyeglasses") + OPTICIANS_EYEGLASSES("opticians_eyeglasses"), + + @SerializedName("optometrists_ophthalmologist") + OPTOMETRISTS_OPHTHALMOLOGIST("optometrists_ophthalmologist"), + + @SerializedName("orthopedic_goods_prosthetic_devices") + ORTHOPEDIC_GOODS_PROSTHETIC_DEVICES("orthopedic_goods_prosthetic_devices"), + + @SerializedName("osteopaths") + OSTEOPATHS("osteopaths"), + + @SerializedName("package_stores_beer_wine_and_liquor") + PACKAGE_STORES_BEER_WINE_AND_LIQUOR("package_stores_beer_wine_and_liquor"), + + @SerializedName("paints_varnishes_and_supplies") + PAINTS_VARNISHES_AND_SUPPLIES("paints_varnishes_and_supplies"), + + @SerializedName("parking_lots_garages") + PARKING_LOTS_GARAGES("parking_lots_garages"), + + @SerializedName("passenger_railways") + PASSENGER_RAILWAYS("passenger_railways"), + + @SerializedName("pawn_shops") + PAWN_SHOPS("pawn_shops"), + + @SerializedName("pet_shops_pet_food_and_supplies") + PET_SHOPS_PET_FOOD_AND_SUPPLIES("pet_shops_pet_food_and_supplies"), + + @SerializedName("petroleum_and_petroleum_products") + PETROLEUM_AND_PETROLEUM_PRODUCTS("petroleum_and_petroleum_products"), + + @SerializedName("photo_developing") + PHOTO_DEVELOPING("photo_developing"), + + @SerializedName("photographic_photocopy_microfilm_equipment_and_supplies") + PHOTOGRAPHIC_PHOTOCOPY_MICROFILM_EQUIPMENT_AND_SUPPLIES( + "photographic_photocopy_microfilm_equipment_and_supplies"), + + @SerializedName("photographic_studios") + PHOTOGRAPHIC_STUDIOS("photographic_studios"), + + @SerializedName("picture_video_production") + PICTURE_VIDEO_PRODUCTION("picture_video_production"), + + @SerializedName("piece_goods_notions_and_other_dry_goods") + PIECE_GOODS_NOTIONS_AND_OTHER_DRY_GOODS("piece_goods_notions_and_other_dry_goods"), + + @SerializedName("plumbing_heating_equipment_and_supplies") + PLUMBING_HEATING_EQUIPMENT_AND_SUPPLIES("plumbing_heating_equipment_and_supplies"), + + @SerializedName("political_organizations") + POLITICAL_ORGANIZATIONS("political_organizations"), + + @SerializedName("postal_services_government_only") + POSTAL_SERVICES_GOVERNMENT_ONLY("postal_services_government_only"), + + @SerializedName("precious_stones_and_metals_watches_and_jewelry") + PRECIOUS_STONES_AND_METALS_WATCHES_AND_JEWELRY( + "precious_stones_and_metals_watches_and_jewelry"), + + @SerializedName("professional_services") + PROFESSIONAL_SERVICES("professional_services"), + + @SerializedName("public_warehousing_and_storage") + PUBLIC_WAREHOUSING_AND_STORAGE("public_warehousing_and_storage"), + + @SerializedName("quick_copy_repro_and_blueprint") + QUICK_COPY_REPRO_AND_BLUEPRINT("quick_copy_repro_and_blueprint"), + + @SerializedName("railroads") + RAILROADS("railroads"), + + @SerializedName("real_estate_agents_and_managers_rentals") + REAL_ESTATE_AGENTS_AND_MANAGERS_RENTALS("real_estate_agents_and_managers_rentals"), + + @SerializedName("record_stores") + RECORD_STORES("record_stores"), + + @SerializedName("recreational_vehicle_rentals") + RECREATIONAL_VEHICLE_RENTALS("recreational_vehicle_rentals"), + + @SerializedName("religious_goods_stores") + RELIGIOUS_GOODS_STORES("religious_goods_stores"), + + @SerializedName("religious_organizations") + RELIGIOUS_ORGANIZATIONS("religious_organizations"), + + @SerializedName("roofing_siding_sheet_metal") + ROOFING_SIDING_SHEET_METAL("roofing_siding_sheet_metal"), + + @SerializedName("secretarial_support_services") + SECRETARIAL_SUPPORT_SERVICES("secretarial_support_services"), + + @SerializedName("security_brokers_dealers") + SECURITY_BROKERS_DEALERS("security_brokers_dealers"), + + @SerializedName("service_stations") + SERVICE_STATIONS("service_stations"), + + @SerializedName("sewing_needlework_fabric_and_piece_goods_stores") + SEWING_NEEDLEWORK_FABRIC_AND_PIECE_GOODS_STORES( + "sewing_needlework_fabric_and_piece_goods_stores"), + + @SerializedName("shoe_repair_hat_cleaning") + SHOE_REPAIR_HAT_CLEANING("shoe_repair_hat_cleaning"), + + @SerializedName("shoe_stores") + SHOE_STORES("shoe_stores"), + + @SerializedName("small_appliance_repair") + SMALL_APPLIANCE_REPAIR("small_appliance_repair"), + + @SerializedName("snowmobile_dealers") + SNOWMOBILE_DEALERS("snowmobile_dealers"), + + @SerializedName("special_trade_services") + SPECIAL_TRADE_SERVICES("special_trade_services"), + + @SerializedName("specialty_cleaning") + SPECIALTY_CLEANING("specialty_cleaning"), + + @SerializedName("sporting_goods_stores") + SPORTING_GOODS_STORES("sporting_goods_stores"), + + @SerializedName("sporting_recreation_camps") + SPORTING_RECREATION_CAMPS("sporting_recreation_camps"), + + @SerializedName("sports_and_riding_apparel_stores") + SPORTS_AND_RIDING_APPAREL_STORES("sports_and_riding_apparel_stores"), + + @SerializedName("sports_clubs_fields") + SPORTS_CLUBS_FIELDS("sports_clubs_fields"), + + @SerializedName("stamp_and_coin_stores") + STAMP_AND_COIN_STORES("stamp_and_coin_stores"), + + @SerializedName("stationary_office_supplies_printing_and_writing_paper") + STATIONARY_OFFICE_SUPPLIES_PRINTING_AND_WRITING_PAPER( + "stationary_office_supplies_printing_and_writing_paper"), + + @SerializedName("stationery_stores_office_and_school_supply_stores") + STATIONERY_STORES_OFFICE_AND_SCHOOL_SUPPLY_STORES( + "stationery_stores_office_and_school_supply_stores"), + + @SerializedName("swimming_pools_sales") + SWIMMING_POOLS_SALES("swimming_pools_sales"), + + @SerializedName("t_ui_travel_germany") + T_UI_TRAVEL_GERMANY("t_ui_travel_germany"), + + @SerializedName("tailors_alterations") + TAILORS_ALTERATIONS("tailors_alterations"), + + @SerializedName("tax_payments_government_agencies") + TAX_PAYMENTS_GOVERNMENT_AGENCIES("tax_payments_government_agencies"), + + @SerializedName("tax_preparation_services") + TAX_PREPARATION_SERVICES("tax_preparation_services"), + + @SerializedName("taxicabs_limousines") + TAXICABS_LIMOUSINES("taxicabs_limousines"), + + @SerializedName("telecommunication_equipment_and_telephone_sales") + TELECOMMUNICATION_EQUIPMENT_AND_TELEPHONE_SALES( + "telecommunication_equipment_and_telephone_sales"), + + @SerializedName("telecommunication_services") + TELECOMMUNICATION_SERVICES("telecommunication_services"), + + @SerializedName("telegraph_services") + TELEGRAPH_SERVICES("telegraph_services"), + + @SerializedName("tent_and_awning_shops") + TENT_AND_AWNING_SHOPS("tent_and_awning_shops"), + + @SerializedName("testing_laboratories") + TESTING_LABORATORIES("testing_laboratories"), + + @SerializedName("theatrical_ticket_agencies") + THEATRICAL_TICKET_AGENCIES("theatrical_ticket_agencies"), + + @SerializedName("timeshares") + TIMESHARES("timeshares"), + + @SerializedName("tire_retreading_and_repair") + TIRE_RETREADING_AND_REPAIR("tire_retreading_and_repair"), + + @SerializedName("tolls_bridge_fees") + TOLLS_BRIDGE_FEES("tolls_bridge_fees"), + + @SerializedName("tourist_attractions_and_exhibits") + TOURIST_ATTRACTIONS_AND_EXHIBITS("tourist_attractions_and_exhibits"), + + @SerializedName("towing_services") + TOWING_SERVICES("towing_services"), + + @SerializedName("trailer_parks_campgrounds") + TRAILER_PARKS_CAMPGROUNDS("trailer_parks_campgrounds"), + + @SerializedName("transportation_services") + TRANSPORTATION_SERVICES("transportation_services"), + + @SerializedName("travel_agencies_tour_operators") + TRAVEL_AGENCIES_TOUR_OPERATORS("travel_agencies_tour_operators"), + + @SerializedName("truck_stop_iteration") + TRUCK_STOP_ITERATION("truck_stop_iteration"), + + @SerializedName("truck_utility_trailer_rentals") + TRUCK_UTILITY_TRAILER_RENTALS("truck_utility_trailer_rentals"), + + @SerializedName("typesetting_plate_making_and_related_services") + TYPESETTING_PLATE_MAKING_AND_RELATED_SERVICES( + "typesetting_plate_making_and_related_services"), + + @SerializedName("typewriter_stores") + TYPEWRITER_STORES("typewriter_stores"), + + @SerializedName("u_s_federal_government_agencies_or_departments") + U_S_FEDERAL_GOVERNMENT_AGENCIES_OR_DEPARTMENTS( + "u_s_federal_government_agencies_or_departments"), + + @SerializedName("uniforms_commercial_clothing") + UNIFORMS_COMMERCIAL_CLOTHING("uniforms_commercial_clothing"), + + @SerializedName("used_merchandise_and_secondhand_stores") + USED_MERCHANDISE_AND_SECONDHAND_STORES("used_merchandise_and_secondhand_stores"), + + @SerializedName("utilities") + UTILITIES("utilities"), + + @SerializedName("variety_stores") + VARIETY_STORES("variety_stores"), + + @SerializedName("veterinary_services") + VETERINARY_SERVICES("veterinary_services"), + + @SerializedName("video_amusement_game_supplies") + VIDEO_AMUSEMENT_GAME_SUPPLIES("video_amusement_game_supplies"), + + @SerializedName("video_game_arcades") + VIDEO_GAME_ARCADES("video_game_arcades"), + + @SerializedName("video_tape_rental_stores") + VIDEO_TAPE_RENTAL_STORES("video_tape_rental_stores"), + + @SerializedName("vocational_trade_schools") + VOCATIONAL_TRADE_SCHOOLS("vocational_trade_schools"), + + @SerializedName("watch_jewelry_repair") + WATCH_JEWELRY_REPAIR("watch_jewelry_repair"), + + @SerializedName("welding_repair") + WELDING_REPAIR("welding_repair"), + + @SerializedName("wholesale_clubs") + WHOLESALE_CLUBS("wholesale_clubs"), + + @SerializedName("wig_and_toupee_stores") + WIG_AND_TOUPEE_STORES("wig_and_toupee_stores"), + + @SerializedName("wires_money_orders") + WIRES_MONEY_ORDERS("wires_money_orders"), + + @SerializedName("womens_accessory_and_specialty_shops") + WOMENS_ACCESSORY_AND_SPECIALTY_SHOPS("womens_accessory_and_specialty_shops"), + + @SerializedName("womens_ready_to_wear_stores") + WOMENS_READY_TO_WEAR_STORES("womens_ready_to_wear_stores"), + + @SerializedName("wrecking_and_salvage_yards") + WRECKING_AND_SALVAGE_YARDS("wrecking_and_salvage_yards"); + + @Getter(onMethod = @__({@Override})) + private final String value; + + Category(String value) { + this.value = value; + } + } + + public enum Interval implements ApiRequestParams.EnumParam { + @SerializedName("all_time") + ALL_TIME("all_time"), + + @SerializedName("daily") + DAILY("daily"), + + @SerializedName("monthly") + MONTHLY("monthly"), + + @SerializedName("per_authorization") + PER_AUTHORIZATION("per_authorization"), + + @SerializedName("weekly") + WEEKLY("weekly"), + + @SerializedName("yearly") + YEARLY("yearly"); + + @Getter(onMethod = @__({@Override})) + private final String value; + + Interval(String value) { + this.value = value; + } + } + } + public enum AllowedCategory implements ApiRequestParams.EnumParam { @SerializedName("ac_refrigeration_repair") AC_REFRIGERATION_REPAIR("ac_refrigeration_repair"),