1use stripe_client_core::{
2 RequestBuilder, StripeBlockingClient, StripeClient, StripeMethod, StripeRequest,
3};
4
5#[derive(Clone, Eq, PartialEq)]
6#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
7#[derive(serde::Serialize)]
8struct ListIssuingCardholderBuilder {
9 #[serde(skip_serializing_if = "Option::is_none")]
10 created: Option<stripe_types::RangeQueryTs>,
11 #[serde(skip_serializing_if = "Option::is_none")]
12 email: Option<String>,
13 #[serde(skip_serializing_if = "Option::is_none")]
14 ending_before: Option<String>,
15 #[serde(skip_serializing_if = "Option::is_none")]
16 expand: Option<Vec<String>>,
17 #[serde(skip_serializing_if = "Option::is_none")]
18 limit: Option<i64>,
19 #[serde(skip_serializing_if = "Option::is_none")]
20 phone_number: Option<String>,
21 #[serde(skip_serializing_if = "Option::is_none")]
22 starting_after: Option<String>,
23 #[serde(skip_serializing_if = "Option::is_none")]
24 status: Option<stripe_shared::IssuingCardholderStatus>,
25 #[serde(rename = "type")]
26 #[serde(skip_serializing_if = "Option::is_none")]
27 type_: Option<stripe_shared::IssuingCardholderType>,
28}
29#[cfg(feature = "redact-generated-debug")]
30impl std::fmt::Debug for ListIssuingCardholderBuilder {
31 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
32 f.debug_struct("ListIssuingCardholderBuilder").finish_non_exhaustive()
33 }
34}
35impl ListIssuingCardholderBuilder {
36 fn new() -> Self {
37 Self {
38 created: None,
39 email: None,
40 ending_before: None,
41 expand: None,
42 limit: None,
43 phone_number: None,
44 starting_after: None,
45 status: None,
46 type_: None,
47 }
48 }
49}
50#[derive(Clone)]
53#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
54#[derive(serde::Serialize)]
55pub struct ListIssuingCardholder {
56 inner: ListIssuingCardholderBuilder,
57}
58#[cfg(feature = "redact-generated-debug")]
59impl std::fmt::Debug for ListIssuingCardholder {
60 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
61 f.debug_struct("ListIssuingCardholder").finish_non_exhaustive()
62 }
63}
64impl ListIssuingCardholder {
65 pub fn new() -> Self {
67 Self { inner: ListIssuingCardholderBuilder::new() }
68 }
69 pub fn created(mut self, created: impl Into<stripe_types::RangeQueryTs>) -> Self {
71 self.inner.created = Some(created.into());
72 self
73 }
74 pub fn email(mut self, email: impl Into<String>) -> Self {
76 self.inner.email = Some(email.into());
77 self
78 }
79 pub fn ending_before(mut self, ending_before: impl Into<String>) -> Self {
83 self.inner.ending_before = Some(ending_before.into());
84 self
85 }
86 pub fn expand(mut self, expand: impl Into<Vec<String>>) -> Self {
88 self.inner.expand = Some(expand.into());
89 self
90 }
91 pub fn limit(mut self, limit: impl Into<i64>) -> Self {
94 self.inner.limit = Some(limit.into());
95 self
96 }
97 pub fn phone_number(mut self, phone_number: impl Into<String>) -> Self {
99 self.inner.phone_number = Some(phone_number.into());
100 self
101 }
102 pub fn starting_after(mut self, starting_after: impl Into<String>) -> Self {
106 self.inner.starting_after = Some(starting_after.into());
107 self
108 }
109 pub fn status(mut self, status: impl Into<stripe_shared::IssuingCardholderStatus>) -> Self {
111 self.inner.status = Some(status.into());
112 self
113 }
114 pub fn type_(mut self, type_: impl Into<stripe_shared::IssuingCardholderType>) -> Self {
116 self.inner.type_ = Some(type_.into());
117 self
118 }
119}
120impl Default for ListIssuingCardholder {
121 fn default() -> Self {
122 Self::new()
123 }
124}
125impl ListIssuingCardholder {
126 pub async fn send<C: StripeClient>(
128 &self,
129 client: &C,
130 ) -> Result<<Self as StripeRequest>::Output, C::Err> {
131 self.customize().send(client).await
132 }
133
134 pub fn send_blocking<C: StripeBlockingClient>(
136 &self,
137 client: &C,
138 ) -> Result<<Self as StripeRequest>::Output, C::Err> {
139 self.customize().send_blocking(client)
140 }
141
142 pub fn paginate(
143 &self,
144 ) -> stripe_client_core::ListPaginator<stripe_types::List<stripe_shared::IssuingCardholder>>
145 {
146 stripe_client_core::ListPaginator::new_list("/issuing/cardholders", &self.inner)
147 }
148}
149
150impl StripeRequest for ListIssuingCardholder {
151 type Output = stripe_types::List<stripe_shared::IssuingCardholder>;
152
153 fn build(&self) -> RequestBuilder {
154 RequestBuilder::new(StripeMethod::Get, "/issuing/cardholders").query(&self.inner)
155 }
156}
157#[derive(Clone, Eq, PartialEq)]
158#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
159#[derive(serde::Serialize)]
160struct RetrieveIssuingCardholderBuilder {
161 #[serde(skip_serializing_if = "Option::is_none")]
162 expand: Option<Vec<String>>,
163}
164#[cfg(feature = "redact-generated-debug")]
165impl std::fmt::Debug for RetrieveIssuingCardholderBuilder {
166 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
167 f.debug_struct("RetrieveIssuingCardholderBuilder").finish_non_exhaustive()
168 }
169}
170impl RetrieveIssuingCardholderBuilder {
171 fn new() -> Self {
172 Self { expand: None }
173 }
174}
175#[derive(Clone)]
177#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
178#[derive(serde::Serialize)]
179pub struct RetrieveIssuingCardholder {
180 inner: RetrieveIssuingCardholderBuilder,
181 cardholder: stripe_shared::IssuingCardholderId,
182}
183#[cfg(feature = "redact-generated-debug")]
184impl std::fmt::Debug for RetrieveIssuingCardholder {
185 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
186 f.debug_struct("RetrieveIssuingCardholder").finish_non_exhaustive()
187 }
188}
189impl RetrieveIssuingCardholder {
190 pub fn new(cardholder: impl Into<stripe_shared::IssuingCardholderId>) -> Self {
192 Self { cardholder: cardholder.into(), inner: RetrieveIssuingCardholderBuilder::new() }
193 }
194 pub fn expand(mut self, expand: impl Into<Vec<String>>) -> Self {
196 self.inner.expand = Some(expand.into());
197 self
198 }
199}
200impl RetrieveIssuingCardholder {
201 pub async fn send<C: StripeClient>(
203 &self,
204 client: &C,
205 ) -> Result<<Self as StripeRequest>::Output, C::Err> {
206 self.customize().send(client).await
207 }
208
209 pub fn send_blocking<C: StripeBlockingClient>(
211 &self,
212 client: &C,
213 ) -> Result<<Self as StripeRequest>::Output, C::Err> {
214 self.customize().send_blocking(client)
215 }
216}
217
218impl StripeRequest for RetrieveIssuingCardholder {
219 type Output = stripe_shared::IssuingCardholder;
220
221 fn build(&self) -> RequestBuilder {
222 let cardholder = &self.cardholder;
223 RequestBuilder::new(StripeMethod::Get, format!("/issuing/cardholders/{cardholder}"))
224 .query(&self.inner)
225 }
226}
227#[derive(Clone)]
228#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
229#[derive(serde::Serialize)]
230struct CreateIssuingCardholderBuilder {
231 billing: BillingSpecs,
232 #[serde(skip_serializing_if = "Option::is_none")]
233 company: Option<CompanyParam>,
234 #[serde(skip_serializing_if = "Option::is_none")]
235 email: Option<String>,
236 #[serde(skip_serializing_if = "Option::is_none")]
237 expand: Option<Vec<String>>,
238 #[serde(skip_serializing_if = "Option::is_none")]
239 individual: Option<IndividualParam>,
240 #[serde(skip_serializing_if = "Option::is_none")]
241 metadata: Option<std::collections::HashMap<String, String>>,
242 name: String,
243 #[serde(skip_serializing_if = "Option::is_none")]
244 phone_number: Option<String>,
245 #[serde(skip_serializing_if = "Option::is_none")]
246 preferred_locales: Option<Vec<stripe_shared::IssuingCardholderPreferredLocales>>,
247 #[serde(skip_serializing_if = "Option::is_none")]
248 spending_controls: Option<CreateIssuingCardholderSpendingControls>,
249 #[serde(skip_serializing_if = "Option::is_none")]
250 status: Option<CreateIssuingCardholderStatus>,
251 #[serde(rename = "type")]
252 #[serde(skip_serializing_if = "Option::is_none")]
253 type_: Option<stripe_shared::IssuingCardholderType>,
254}
255#[cfg(feature = "redact-generated-debug")]
256impl std::fmt::Debug for CreateIssuingCardholderBuilder {
257 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
258 f.debug_struct("CreateIssuingCardholderBuilder").finish_non_exhaustive()
259 }
260}
261impl CreateIssuingCardholderBuilder {
262 fn new(billing: impl Into<BillingSpecs>, name: impl Into<String>) -> Self {
263 Self {
264 billing: billing.into(),
265 company: None,
266 email: None,
267 expand: None,
268 individual: None,
269 metadata: None,
270 name: name.into(),
271 phone_number: None,
272 preferred_locales: None,
273 spending_controls: None,
274 status: None,
275 type_: None,
276 }
277 }
278}
279#[derive(Clone, Eq, PartialEq)]
282#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
283#[derive(serde::Serialize)]
284pub struct CreateIssuingCardholderSpendingControls {
285 #[serde(skip_serializing_if = "Option::is_none")]
291 pub allowed_card_presences:
292 Option<Vec<CreateIssuingCardholderSpendingControlsAllowedCardPresences>>,
293 #[serde(skip_serializing_if = "Option::is_none")]
297 pub allowed_categories: Option<Vec<CreateIssuingCardholderSpendingControlsAllowedCategories>>,
298 #[serde(skip_serializing_if = "Option::is_none")]
305 pub allowed_merchant_countries: Option<Vec<String>>,
306 #[serde(skip_serializing_if = "Option::is_none")]
311 pub blocked_card_presences:
312 Option<Vec<CreateIssuingCardholderSpendingControlsBlockedCardPresences>>,
313 #[serde(skip_serializing_if = "Option::is_none")]
317 pub blocked_categories: Option<Vec<CreateIssuingCardholderSpendingControlsBlockedCategories>>,
318 #[serde(skip_serializing_if = "Option::is_none")]
324 pub blocked_merchant_countries: Option<Vec<String>>,
325 #[serde(skip_serializing_if = "Option::is_none")]
327 pub spending_limits: Option<Vec<CreateIssuingCardholderSpendingControlsSpendingLimits>>,
328 #[serde(skip_serializing_if = "Option::is_none")]
330 pub spending_limits_currency: Option<stripe_types::Currency>,
331}
332#[cfg(feature = "redact-generated-debug")]
333impl std::fmt::Debug for CreateIssuingCardholderSpendingControls {
334 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
335 f.debug_struct("CreateIssuingCardholderSpendingControls").finish_non_exhaustive()
336 }
337}
338impl CreateIssuingCardholderSpendingControls {
339 pub fn new() -> Self {
340 Self {
341 allowed_card_presences: None,
342 allowed_categories: None,
343 allowed_merchant_countries: None,
344 blocked_card_presences: None,
345 blocked_categories: None,
346 blocked_merchant_countries: None,
347 spending_limits: None,
348 spending_limits_currency: None,
349 }
350 }
351}
352impl Default for CreateIssuingCardholderSpendingControls {
353 fn default() -> Self {
354 Self::new()
355 }
356}
357#[derive(Clone, Eq, PartialEq)]
363#[non_exhaustive]
364pub enum CreateIssuingCardholderSpendingControlsAllowedCardPresences {
365 NotPresent,
366 Present,
367 Unknown(String),
369}
370impl CreateIssuingCardholderSpendingControlsAllowedCardPresences {
371 pub fn as_str(&self) -> &str {
372 use CreateIssuingCardholderSpendingControlsAllowedCardPresences::*;
373 match self {
374 NotPresent => "not_present",
375 Present => "present",
376 Unknown(v) => v,
377 }
378 }
379}
380
381impl std::str::FromStr for CreateIssuingCardholderSpendingControlsAllowedCardPresences {
382 type Err = std::convert::Infallible;
383 fn from_str(s: &str) -> Result<Self, Self::Err> {
384 use CreateIssuingCardholderSpendingControlsAllowedCardPresences::*;
385 match s {
386 "not_present" => Ok(NotPresent),
387 "present" => Ok(Present),
388 v => {
389 tracing::warn!(
390 "Unknown value '{}' for enum '{}'",
391 v,
392 "CreateIssuingCardholderSpendingControlsAllowedCardPresences"
393 );
394 Ok(Unknown(v.to_owned()))
395 }
396 }
397 }
398}
399impl std::fmt::Display for CreateIssuingCardholderSpendingControlsAllowedCardPresences {
400 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
401 f.write_str(self.as_str())
402 }
403}
404
405#[cfg(not(feature = "redact-generated-debug"))]
406impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsAllowedCardPresences {
407 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
408 f.write_str(self.as_str())
409 }
410}
411#[cfg(feature = "redact-generated-debug")]
412impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsAllowedCardPresences {
413 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
414 f.debug_struct(stringify!(CreateIssuingCardholderSpendingControlsAllowedCardPresences))
415 .finish_non_exhaustive()
416 }
417}
418impl serde::Serialize for CreateIssuingCardholderSpendingControlsAllowedCardPresences {
419 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
420 where
421 S: serde::Serializer,
422 {
423 serializer.serialize_str(self.as_str())
424 }
425}
426#[cfg(feature = "deserialize")]
427impl<'de> serde::Deserialize<'de> for CreateIssuingCardholderSpendingControlsAllowedCardPresences {
428 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
429 use std::str::FromStr;
430 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
431 Ok(Self::from_str(&s).expect("infallible"))
432 }
433}
434#[derive(Clone, Eq, PartialEq)]
438#[non_exhaustive]
439pub enum CreateIssuingCardholderSpendingControlsAllowedCategories {
440 AcRefrigerationRepair,
441 AccountingBookkeepingServices,
442 AdvertisingServices,
443 AgriculturalCooperative,
444 AirlinesAirCarriers,
445 AirportsFlyingFields,
446 AmbulanceServices,
447 AmusementParksCarnivals,
448 AntiqueReproductions,
449 AntiqueShops,
450 Aquariums,
451 ArchitecturalSurveyingServices,
452 ArtDealersAndGalleries,
453 ArtistsSupplyAndCraftShops,
454 AutoAndHomeSupplyStores,
455 AutoBodyRepairShops,
456 AutoPaintShops,
457 AutoServiceShops,
458 AutomatedCashDisburse,
459 AutomatedFuelDispensers,
460 AutomobileAssociations,
461 AutomotivePartsAndAccessoriesStores,
462 AutomotiveTireStores,
463 BailAndBondPayments,
464 Bakeries,
465 BandsOrchestras,
466 BarberAndBeautyShops,
467 BettingCasinoGambling,
468 BicycleShops,
469 BilliardPoolEstablishments,
470 BoatDealers,
471 BoatRentalsAndLeases,
472 BookStores,
473 BooksPeriodicalsAndNewspapers,
474 BowlingAlleys,
475 BusLines,
476 BusinessSecretarialSchools,
477 BuyingShoppingServices,
478 CableSatelliteAndOtherPayTelevisionAndRadio,
479 CameraAndPhotographicSupplyStores,
480 CandyNutAndConfectioneryStores,
481 CarAndTruckDealersNewUsed,
482 CarAndTruckDealersUsedOnly,
483 CarRentalAgencies,
484 CarWashes,
485 CarpentryServices,
486 CarpetUpholsteryCleaning,
487 Caterers,
488 CharitableAndSocialServiceOrganizationsFundraising,
489 ChemicalsAndAlliedProducts,
490 ChildCareServices,
491 ChildrensAndInfantsWearStores,
492 ChiropodistsPodiatrists,
493 Chiropractors,
494 CigarStoresAndStands,
495 CivicSocialFraternalAssociations,
496 CleaningAndMaintenance,
497 ClothingRental,
498 CollegesUniversities,
499 CommercialEquipment,
500 CommercialFootwear,
501 CommercialPhotographyArtAndGraphics,
502 CommuterTransportAndFerries,
503 ComputerNetworkServices,
504 ComputerProgramming,
505 ComputerRepair,
506 ComputerSoftwareStores,
507 ComputersPeripheralsAndSoftware,
508 ConcreteWorkServices,
509 ConstructionMaterials,
510 ConsultingPublicRelations,
511 CorrespondenceSchools,
512 CosmeticStores,
513 CounselingServices,
514 CountryClubs,
515 CourierServices,
516 CourtCosts,
517 CreditReportingAgencies,
518 CruiseLines,
519 DairyProductsStores,
520 DanceHallStudiosSchools,
521 DatingEscortServices,
522 DentistsOrthodontists,
523 DepartmentStores,
524 DetectiveAgencies,
525 DigitalGoodsApplications,
526 DigitalGoodsGames,
527 DigitalGoodsLargeVolume,
528 DigitalGoodsMedia,
529 DirectMarketingCatalogMerchant,
530 DirectMarketingCombinationCatalogAndRetailMerchant,
531 DirectMarketingInboundTelemarketing,
532 DirectMarketingInsuranceServices,
533 DirectMarketingOther,
534 DirectMarketingOutboundTelemarketing,
535 DirectMarketingSubscription,
536 DirectMarketingTravel,
537 DiscountStores,
538 Doctors,
539 DoorToDoorSales,
540 DraperyWindowCoveringAndUpholsteryStores,
541 DrinkingPlaces,
542 DrugStoresAndPharmacies,
543 DrugsDrugProprietariesAndDruggistSundries,
544 DryCleaners,
545 DurableGoods,
546 DutyFreeStores,
547 EatingPlacesRestaurants,
548 EducationalServices,
549 ElectricRazorStores,
550 ElectricVehicleCharging,
551 ElectricalPartsAndEquipment,
552 ElectricalServices,
553 ElectronicsRepairShops,
554 ElectronicsStores,
555 ElementarySecondarySchools,
556 EmergencyServicesGcasVisaUseOnly,
557 EmploymentTempAgencies,
558 EquipmentRental,
559 ExterminatingServices,
560 FamilyClothingStores,
561 FastFoodRestaurants,
562 FinancialInstitutions,
563 FinesGovernmentAdministrativeEntities,
564 FireplaceFireplaceScreensAndAccessoriesStores,
565 FloorCoveringStores,
566 Florists,
567 FloristsSuppliesNurseryStockAndFlowers,
568 FreezerAndLockerMeatProvisioners,
569 FuelDealersNonAutomotive,
570 FuneralServicesCrematories,
571 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances,
572 FurnitureRepairRefinishing,
573 FurriersAndFurShops,
574 GeneralServices,
575 GiftCardNoveltyAndSouvenirShops,
576 GlassPaintAndWallpaperStores,
577 GlasswareCrystalStores,
578 GolfCoursesPublic,
579 GovernmentLicensedHorseDogRacingUsRegionOnly,
580 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly,
581 GovernmentOwnedLotteriesNonUsRegion,
582 GovernmentOwnedLotteriesUsRegionOnly,
583 GovernmentServices,
584 GroceryStoresSupermarkets,
585 HardwareEquipmentAndSupplies,
586 HardwareStores,
587 HealthAndBeautySpas,
588 HearingAidsSalesAndSupplies,
589 HeatingPlumbingAC,
590 HobbyToyAndGameShops,
591 HomeSupplyWarehouseStores,
592 Hospitals,
593 HotelsMotelsAndResorts,
594 HouseholdApplianceStores,
595 IndustrialSupplies,
596 InformationRetrievalServices,
597 InsuranceDefault,
598 InsuranceUnderwritingPremiums,
599 IntraCompanyPurchases,
600 JewelryStoresWatchesClocksAndSilverwareStores,
601 LandscapingServices,
602 Laundries,
603 LaundryCleaningServices,
604 LegalServicesAttorneys,
605 LuggageAndLeatherGoodsStores,
606 LumberBuildingMaterialsStores,
607 ManualCashDisburse,
608 MarinasServiceAndSupplies,
609 Marketplaces,
610 MasonryStoneworkAndPlaster,
611 MassageParlors,
612 MedicalAndDentalLabs,
613 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies,
614 MedicalServices,
615 MembershipOrganizations,
616 MensAndBoysClothingAndAccessoriesStores,
617 MensWomensClothingStores,
618 MetalServiceCenters,
619 Miscellaneous,
620 MiscellaneousApparelAndAccessoryShops,
621 MiscellaneousAutoDealers,
622 MiscellaneousBusinessServices,
623 MiscellaneousFoodStores,
624 MiscellaneousGeneralMerchandise,
625 MiscellaneousGeneralServices,
626 MiscellaneousHomeFurnishingSpecialtyStores,
627 MiscellaneousPublishingAndPrinting,
628 MiscellaneousRecreationServices,
629 MiscellaneousRepairShops,
630 MiscellaneousSpecialtyRetail,
631 MobileHomeDealers,
632 MotionPictureTheaters,
633 MotorFreightCarriersAndTrucking,
634 MotorHomesDealers,
635 MotorVehicleSuppliesAndNewParts,
636 MotorcycleShopsAndDealers,
637 MotorcycleShopsDealers,
638 MusicStoresMusicalInstrumentsPianosAndSheetMusic,
639 NewsDealersAndNewsstands,
640 NonFiMoneyOrders,
641 NonFiStoredValueCardPurchaseLoad,
642 NondurableGoods,
643 NurseriesLawnAndGardenSupplyStores,
644 NursingPersonalCare,
645 OfficeAndCommercialFurniture,
646 OpticiansEyeglasses,
647 OptometristsOphthalmologist,
648 OrthopedicGoodsProstheticDevices,
649 Osteopaths,
650 PackageStoresBeerWineAndLiquor,
651 PaintsVarnishesAndSupplies,
652 ParkingLotsGarages,
653 PassengerRailways,
654 PawnShops,
655 PetShopsPetFoodAndSupplies,
656 PetroleumAndPetroleumProducts,
657 PhotoDeveloping,
658 PhotographicPhotocopyMicrofilmEquipmentAndSupplies,
659 PhotographicStudios,
660 PictureVideoProduction,
661 PieceGoodsNotionsAndOtherDryGoods,
662 PlumbingHeatingEquipmentAndSupplies,
663 PoliticalOrganizations,
664 PostalServicesGovernmentOnly,
665 PreciousStonesAndMetalsWatchesAndJewelry,
666 ProfessionalServices,
667 PublicWarehousingAndStorage,
668 QuickCopyReproAndBlueprint,
669 Railroads,
670 RealEstateAgentsAndManagersRentals,
671 RecordStores,
672 RecreationalVehicleRentals,
673 ReligiousGoodsStores,
674 ReligiousOrganizations,
675 RoofingSidingSheetMetal,
676 SecretarialSupportServices,
677 SecurityBrokersDealers,
678 ServiceStations,
679 SewingNeedleworkFabricAndPieceGoodsStores,
680 ShoeRepairHatCleaning,
681 ShoeStores,
682 SmallApplianceRepair,
683 SnowmobileDealers,
684 SpecialTradeServices,
685 SpecialtyCleaning,
686 SportingGoodsStores,
687 SportingRecreationCamps,
688 SportsAndRidingApparelStores,
689 SportsClubsFields,
690 StampAndCoinStores,
691 StationaryOfficeSuppliesPrintingAndWritingPaper,
692 StationeryStoresOfficeAndSchoolSupplyStores,
693 SwimmingPoolsSales,
694 TUiTravelGermany,
695 TailorsAlterations,
696 TaxPaymentsGovernmentAgencies,
697 TaxPreparationServices,
698 TaxicabsLimousines,
699 TelecommunicationEquipmentAndTelephoneSales,
700 TelecommunicationServices,
701 TelegraphServices,
702 TentAndAwningShops,
703 TestingLaboratories,
704 TheatricalTicketAgencies,
705 Timeshares,
706 TireRetreadingAndRepair,
707 TollsBridgeFees,
708 TouristAttractionsAndExhibits,
709 TowingServices,
710 TrailerParksCampgrounds,
711 TransportationServices,
712 TravelAgenciesTourOperators,
713 TruckStopIteration,
714 TruckUtilityTrailerRentals,
715 TypesettingPlateMakingAndRelatedServices,
716 TypewriterStores,
717 USFederalGovernmentAgenciesOrDepartments,
718 UniformsCommercialClothing,
719 UsedMerchandiseAndSecondhandStores,
720 Utilities,
721 VarietyStores,
722 VeterinaryServices,
723 VideoAmusementGameSupplies,
724 VideoGameArcades,
725 VideoTapeRentalStores,
726 VocationalTradeSchools,
727 WatchJewelryRepair,
728 WeldingRepair,
729 WholesaleClubs,
730 WigAndToupeeStores,
731 WiresMoneyOrders,
732 WomensAccessoryAndSpecialtyShops,
733 WomensReadyToWearStores,
734 WreckingAndSalvageYards,
735 Unknown(String),
737}
738impl CreateIssuingCardholderSpendingControlsAllowedCategories {
739 pub fn as_str(&self) -> &str {
740 use CreateIssuingCardholderSpendingControlsAllowedCategories::*;
741 match self {
742 AcRefrigerationRepair => "ac_refrigeration_repair",
743 AccountingBookkeepingServices => "accounting_bookkeeping_services",
744 AdvertisingServices => "advertising_services",
745 AgriculturalCooperative => "agricultural_cooperative",
746 AirlinesAirCarriers => "airlines_air_carriers",
747 AirportsFlyingFields => "airports_flying_fields",
748 AmbulanceServices => "ambulance_services",
749 AmusementParksCarnivals => "amusement_parks_carnivals",
750 AntiqueReproductions => "antique_reproductions",
751 AntiqueShops => "antique_shops",
752 Aquariums => "aquariums",
753 ArchitecturalSurveyingServices => "architectural_surveying_services",
754 ArtDealersAndGalleries => "art_dealers_and_galleries",
755 ArtistsSupplyAndCraftShops => "artists_supply_and_craft_shops",
756 AutoAndHomeSupplyStores => "auto_and_home_supply_stores",
757 AutoBodyRepairShops => "auto_body_repair_shops",
758 AutoPaintShops => "auto_paint_shops",
759 AutoServiceShops => "auto_service_shops",
760 AutomatedCashDisburse => "automated_cash_disburse",
761 AutomatedFuelDispensers => "automated_fuel_dispensers",
762 AutomobileAssociations => "automobile_associations",
763 AutomotivePartsAndAccessoriesStores => "automotive_parts_and_accessories_stores",
764 AutomotiveTireStores => "automotive_tire_stores",
765 BailAndBondPayments => "bail_and_bond_payments",
766 Bakeries => "bakeries",
767 BandsOrchestras => "bands_orchestras",
768 BarberAndBeautyShops => "barber_and_beauty_shops",
769 BettingCasinoGambling => "betting_casino_gambling",
770 BicycleShops => "bicycle_shops",
771 BilliardPoolEstablishments => "billiard_pool_establishments",
772 BoatDealers => "boat_dealers",
773 BoatRentalsAndLeases => "boat_rentals_and_leases",
774 BookStores => "book_stores",
775 BooksPeriodicalsAndNewspapers => "books_periodicals_and_newspapers",
776 BowlingAlleys => "bowling_alleys",
777 BusLines => "bus_lines",
778 BusinessSecretarialSchools => "business_secretarial_schools",
779 BuyingShoppingServices => "buying_shopping_services",
780 CableSatelliteAndOtherPayTelevisionAndRadio => {
781 "cable_satellite_and_other_pay_television_and_radio"
782 }
783 CameraAndPhotographicSupplyStores => "camera_and_photographic_supply_stores",
784 CandyNutAndConfectioneryStores => "candy_nut_and_confectionery_stores",
785 CarAndTruckDealersNewUsed => "car_and_truck_dealers_new_used",
786 CarAndTruckDealersUsedOnly => "car_and_truck_dealers_used_only",
787 CarRentalAgencies => "car_rental_agencies",
788 CarWashes => "car_washes",
789 CarpentryServices => "carpentry_services",
790 CarpetUpholsteryCleaning => "carpet_upholstery_cleaning",
791 Caterers => "caterers",
792 CharitableAndSocialServiceOrganizationsFundraising => {
793 "charitable_and_social_service_organizations_fundraising"
794 }
795 ChemicalsAndAlliedProducts => "chemicals_and_allied_products",
796 ChildCareServices => "child_care_services",
797 ChildrensAndInfantsWearStores => "childrens_and_infants_wear_stores",
798 ChiropodistsPodiatrists => "chiropodists_podiatrists",
799 Chiropractors => "chiropractors",
800 CigarStoresAndStands => "cigar_stores_and_stands",
801 CivicSocialFraternalAssociations => "civic_social_fraternal_associations",
802 CleaningAndMaintenance => "cleaning_and_maintenance",
803 ClothingRental => "clothing_rental",
804 CollegesUniversities => "colleges_universities",
805 CommercialEquipment => "commercial_equipment",
806 CommercialFootwear => "commercial_footwear",
807 CommercialPhotographyArtAndGraphics => "commercial_photography_art_and_graphics",
808 CommuterTransportAndFerries => "commuter_transport_and_ferries",
809 ComputerNetworkServices => "computer_network_services",
810 ComputerProgramming => "computer_programming",
811 ComputerRepair => "computer_repair",
812 ComputerSoftwareStores => "computer_software_stores",
813 ComputersPeripheralsAndSoftware => "computers_peripherals_and_software",
814 ConcreteWorkServices => "concrete_work_services",
815 ConstructionMaterials => "construction_materials",
816 ConsultingPublicRelations => "consulting_public_relations",
817 CorrespondenceSchools => "correspondence_schools",
818 CosmeticStores => "cosmetic_stores",
819 CounselingServices => "counseling_services",
820 CountryClubs => "country_clubs",
821 CourierServices => "courier_services",
822 CourtCosts => "court_costs",
823 CreditReportingAgencies => "credit_reporting_agencies",
824 CruiseLines => "cruise_lines",
825 DairyProductsStores => "dairy_products_stores",
826 DanceHallStudiosSchools => "dance_hall_studios_schools",
827 DatingEscortServices => "dating_escort_services",
828 DentistsOrthodontists => "dentists_orthodontists",
829 DepartmentStores => "department_stores",
830 DetectiveAgencies => "detective_agencies",
831 DigitalGoodsApplications => "digital_goods_applications",
832 DigitalGoodsGames => "digital_goods_games",
833 DigitalGoodsLargeVolume => "digital_goods_large_volume",
834 DigitalGoodsMedia => "digital_goods_media",
835 DirectMarketingCatalogMerchant => "direct_marketing_catalog_merchant",
836 DirectMarketingCombinationCatalogAndRetailMerchant => {
837 "direct_marketing_combination_catalog_and_retail_merchant"
838 }
839 DirectMarketingInboundTelemarketing => "direct_marketing_inbound_telemarketing",
840 DirectMarketingInsuranceServices => "direct_marketing_insurance_services",
841 DirectMarketingOther => "direct_marketing_other",
842 DirectMarketingOutboundTelemarketing => "direct_marketing_outbound_telemarketing",
843 DirectMarketingSubscription => "direct_marketing_subscription",
844 DirectMarketingTravel => "direct_marketing_travel",
845 DiscountStores => "discount_stores",
846 Doctors => "doctors",
847 DoorToDoorSales => "door_to_door_sales",
848 DraperyWindowCoveringAndUpholsteryStores => {
849 "drapery_window_covering_and_upholstery_stores"
850 }
851 DrinkingPlaces => "drinking_places",
852 DrugStoresAndPharmacies => "drug_stores_and_pharmacies",
853 DrugsDrugProprietariesAndDruggistSundries => {
854 "drugs_drug_proprietaries_and_druggist_sundries"
855 }
856 DryCleaners => "dry_cleaners",
857 DurableGoods => "durable_goods",
858 DutyFreeStores => "duty_free_stores",
859 EatingPlacesRestaurants => "eating_places_restaurants",
860 EducationalServices => "educational_services",
861 ElectricRazorStores => "electric_razor_stores",
862 ElectricVehicleCharging => "electric_vehicle_charging",
863 ElectricalPartsAndEquipment => "electrical_parts_and_equipment",
864 ElectricalServices => "electrical_services",
865 ElectronicsRepairShops => "electronics_repair_shops",
866 ElectronicsStores => "electronics_stores",
867 ElementarySecondarySchools => "elementary_secondary_schools",
868 EmergencyServicesGcasVisaUseOnly => "emergency_services_gcas_visa_use_only",
869 EmploymentTempAgencies => "employment_temp_agencies",
870 EquipmentRental => "equipment_rental",
871 ExterminatingServices => "exterminating_services",
872 FamilyClothingStores => "family_clothing_stores",
873 FastFoodRestaurants => "fast_food_restaurants",
874 FinancialInstitutions => "financial_institutions",
875 FinesGovernmentAdministrativeEntities => "fines_government_administrative_entities",
876 FireplaceFireplaceScreensAndAccessoriesStores => {
877 "fireplace_fireplace_screens_and_accessories_stores"
878 }
879 FloorCoveringStores => "floor_covering_stores",
880 Florists => "florists",
881 FloristsSuppliesNurseryStockAndFlowers => "florists_supplies_nursery_stock_and_flowers",
882 FreezerAndLockerMeatProvisioners => "freezer_and_locker_meat_provisioners",
883 FuelDealersNonAutomotive => "fuel_dealers_non_automotive",
884 FuneralServicesCrematories => "funeral_services_crematories",
885 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances => {
886 "furniture_home_furnishings_and_equipment_stores_except_appliances"
887 }
888 FurnitureRepairRefinishing => "furniture_repair_refinishing",
889 FurriersAndFurShops => "furriers_and_fur_shops",
890 GeneralServices => "general_services",
891 GiftCardNoveltyAndSouvenirShops => "gift_card_novelty_and_souvenir_shops",
892 GlassPaintAndWallpaperStores => "glass_paint_and_wallpaper_stores",
893 GlasswareCrystalStores => "glassware_crystal_stores",
894 GolfCoursesPublic => "golf_courses_public",
895 GovernmentLicensedHorseDogRacingUsRegionOnly => {
896 "government_licensed_horse_dog_racing_us_region_only"
897 }
898 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly => {
899 "government_licensed_online_casions_online_gambling_us_region_only"
900 }
901 GovernmentOwnedLotteriesNonUsRegion => "government_owned_lotteries_non_us_region",
902 GovernmentOwnedLotteriesUsRegionOnly => "government_owned_lotteries_us_region_only",
903 GovernmentServices => "government_services",
904 GroceryStoresSupermarkets => "grocery_stores_supermarkets",
905 HardwareEquipmentAndSupplies => "hardware_equipment_and_supplies",
906 HardwareStores => "hardware_stores",
907 HealthAndBeautySpas => "health_and_beauty_spas",
908 HearingAidsSalesAndSupplies => "hearing_aids_sales_and_supplies",
909 HeatingPlumbingAC => "heating_plumbing_a_c",
910 HobbyToyAndGameShops => "hobby_toy_and_game_shops",
911 HomeSupplyWarehouseStores => "home_supply_warehouse_stores",
912 Hospitals => "hospitals",
913 HotelsMotelsAndResorts => "hotels_motels_and_resorts",
914 HouseholdApplianceStores => "household_appliance_stores",
915 IndustrialSupplies => "industrial_supplies",
916 InformationRetrievalServices => "information_retrieval_services",
917 InsuranceDefault => "insurance_default",
918 InsuranceUnderwritingPremiums => "insurance_underwriting_premiums",
919 IntraCompanyPurchases => "intra_company_purchases",
920 JewelryStoresWatchesClocksAndSilverwareStores => {
921 "jewelry_stores_watches_clocks_and_silverware_stores"
922 }
923 LandscapingServices => "landscaping_services",
924 Laundries => "laundries",
925 LaundryCleaningServices => "laundry_cleaning_services",
926 LegalServicesAttorneys => "legal_services_attorneys",
927 LuggageAndLeatherGoodsStores => "luggage_and_leather_goods_stores",
928 LumberBuildingMaterialsStores => "lumber_building_materials_stores",
929 ManualCashDisburse => "manual_cash_disburse",
930 MarinasServiceAndSupplies => "marinas_service_and_supplies",
931 Marketplaces => "marketplaces",
932 MasonryStoneworkAndPlaster => "masonry_stonework_and_plaster",
933 MassageParlors => "massage_parlors",
934 MedicalAndDentalLabs => "medical_and_dental_labs",
935 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies => {
936 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
937 }
938 MedicalServices => "medical_services",
939 MembershipOrganizations => "membership_organizations",
940 MensAndBoysClothingAndAccessoriesStores => {
941 "mens_and_boys_clothing_and_accessories_stores"
942 }
943 MensWomensClothingStores => "mens_womens_clothing_stores",
944 MetalServiceCenters => "metal_service_centers",
945 Miscellaneous => "miscellaneous",
946 MiscellaneousApparelAndAccessoryShops => "miscellaneous_apparel_and_accessory_shops",
947 MiscellaneousAutoDealers => "miscellaneous_auto_dealers",
948 MiscellaneousBusinessServices => "miscellaneous_business_services",
949 MiscellaneousFoodStores => "miscellaneous_food_stores",
950 MiscellaneousGeneralMerchandise => "miscellaneous_general_merchandise",
951 MiscellaneousGeneralServices => "miscellaneous_general_services",
952 MiscellaneousHomeFurnishingSpecialtyStores => {
953 "miscellaneous_home_furnishing_specialty_stores"
954 }
955 MiscellaneousPublishingAndPrinting => "miscellaneous_publishing_and_printing",
956 MiscellaneousRecreationServices => "miscellaneous_recreation_services",
957 MiscellaneousRepairShops => "miscellaneous_repair_shops",
958 MiscellaneousSpecialtyRetail => "miscellaneous_specialty_retail",
959 MobileHomeDealers => "mobile_home_dealers",
960 MotionPictureTheaters => "motion_picture_theaters",
961 MotorFreightCarriersAndTrucking => "motor_freight_carriers_and_trucking",
962 MotorHomesDealers => "motor_homes_dealers",
963 MotorVehicleSuppliesAndNewParts => "motor_vehicle_supplies_and_new_parts",
964 MotorcycleShopsAndDealers => "motorcycle_shops_and_dealers",
965 MotorcycleShopsDealers => "motorcycle_shops_dealers",
966 MusicStoresMusicalInstrumentsPianosAndSheetMusic => {
967 "music_stores_musical_instruments_pianos_and_sheet_music"
968 }
969 NewsDealersAndNewsstands => "news_dealers_and_newsstands",
970 NonFiMoneyOrders => "non_fi_money_orders",
971 NonFiStoredValueCardPurchaseLoad => "non_fi_stored_value_card_purchase_load",
972 NondurableGoods => "nondurable_goods",
973 NurseriesLawnAndGardenSupplyStores => "nurseries_lawn_and_garden_supply_stores",
974 NursingPersonalCare => "nursing_personal_care",
975 OfficeAndCommercialFurniture => "office_and_commercial_furniture",
976 OpticiansEyeglasses => "opticians_eyeglasses",
977 OptometristsOphthalmologist => "optometrists_ophthalmologist",
978 OrthopedicGoodsProstheticDevices => "orthopedic_goods_prosthetic_devices",
979 Osteopaths => "osteopaths",
980 PackageStoresBeerWineAndLiquor => "package_stores_beer_wine_and_liquor",
981 PaintsVarnishesAndSupplies => "paints_varnishes_and_supplies",
982 ParkingLotsGarages => "parking_lots_garages",
983 PassengerRailways => "passenger_railways",
984 PawnShops => "pawn_shops",
985 PetShopsPetFoodAndSupplies => "pet_shops_pet_food_and_supplies",
986 PetroleumAndPetroleumProducts => "petroleum_and_petroleum_products",
987 PhotoDeveloping => "photo_developing",
988 PhotographicPhotocopyMicrofilmEquipmentAndSupplies => {
989 "photographic_photocopy_microfilm_equipment_and_supplies"
990 }
991 PhotographicStudios => "photographic_studios",
992 PictureVideoProduction => "picture_video_production",
993 PieceGoodsNotionsAndOtherDryGoods => "piece_goods_notions_and_other_dry_goods",
994 PlumbingHeatingEquipmentAndSupplies => "plumbing_heating_equipment_and_supplies",
995 PoliticalOrganizations => "political_organizations",
996 PostalServicesGovernmentOnly => "postal_services_government_only",
997 PreciousStonesAndMetalsWatchesAndJewelry => {
998 "precious_stones_and_metals_watches_and_jewelry"
999 }
1000 ProfessionalServices => "professional_services",
1001 PublicWarehousingAndStorage => "public_warehousing_and_storage",
1002 QuickCopyReproAndBlueprint => "quick_copy_repro_and_blueprint",
1003 Railroads => "railroads",
1004 RealEstateAgentsAndManagersRentals => "real_estate_agents_and_managers_rentals",
1005 RecordStores => "record_stores",
1006 RecreationalVehicleRentals => "recreational_vehicle_rentals",
1007 ReligiousGoodsStores => "religious_goods_stores",
1008 ReligiousOrganizations => "religious_organizations",
1009 RoofingSidingSheetMetal => "roofing_siding_sheet_metal",
1010 SecretarialSupportServices => "secretarial_support_services",
1011 SecurityBrokersDealers => "security_brokers_dealers",
1012 ServiceStations => "service_stations",
1013 SewingNeedleworkFabricAndPieceGoodsStores => {
1014 "sewing_needlework_fabric_and_piece_goods_stores"
1015 }
1016 ShoeRepairHatCleaning => "shoe_repair_hat_cleaning",
1017 ShoeStores => "shoe_stores",
1018 SmallApplianceRepair => "small_appliance_repair",
1019 SnowmobileDealers => "snowmobile_dealers",
1020 SpecialTradeServices => "special_trade_services",
1021 SpecialtyCleaning => "specialty_cleaning",
1022 SportingGoodsStores => "sporting_goods_stores",
1023 SportingRecreationCamps => "sporting_recreation_camps",
1024 SportsAndRidingApparelStores => "sports_and_riding_apparel_stores",
1025 SportsClubsFields => "sports_clubs_fields",
1026 StampAndCoinStores => "stamp_and_coin_stores",
1027 StationaryOfficeSuppliesPrintingAndWritingPaper => {
1028 "stationary_office_supplies_printing_and_writing_paper"
1029 }
1030 StationeryStoresOfficeAndSchoolSupplyStores => {
1031 "stationery_stores_office_and_school_supply_stores"
1032 }
1033 SwimmingPoolsSales => "swimming_pools_sales",
1034 TUiTravelGermany => "t_ui_travel_germany",
1035 TailorsAlterations => "tailors_alterations",
1036 TaxPaymentsGovernmentAgencies => "tax_payments_government_agencies",
1037 TaxPreparationServices => "tax_preparation_services",
1038 TaxicabsLimousines => "taxicabs_limousines",
1039 TelecommunicationEquipmentAndTelephoneSales => {
1040 "telecommunication_equipment_and_telephone_sales"
1041 }
1042 TelecommunicationServices => "telecommunication_services",
1043 TelegraphServices => "telegraph_services",
1044 TentAndAwningShops => "tent_and_awning_shops",
1045 TestingLaboratories => "testing_laboratories",
1046 TheatricalTicketAgencies => "theatrical_ticket_agencies",
1047 Timeshares => "timeshares",
1048 TireRetreadingAndRepair => "tire_retreading_and_repair",
1049 TollsBridgeFees => "tolls_bridge_fees",
1050 TouristAttractionsAndExhibits => "tourist_attractions_and_exhibits",
1051 TowingServices => "towing_services",
1052 TrailerParksCampgrounds => "trailer_parks_campgrounds",
1053 TransportationServices => "transportation_services",
1054 TravelAgenciesTourOperators => "travel_agencies_tour_operators",
1055 TruckStopIteration => "truck_stop_iteration",
1056 TruckUtilityTrailerRentals => "truck_utility_trailer_rentals",
1057 TypesettingPlateMakingAndRelatedServices => {
1058 "typesetting_plate_making_and_related_services"
1059 }
1060 TypewriterStores => "typewriter_stores",
1061 USFederalGovernmentAgenciesOrDepartments => {
1062 "u_s_federal_government_agencies_or_departments"
1063 }
1064 UniformsCommercialClothing => "uniforms_commercial_clothing",
1065 UsedMerchandiseAndSecondhandStores => "used_merchandise_and_secondhand_stores",
1066 Utilities => "utilities",
1067 VarietyStores => "variety_stores",
1068 VeterinaryServices => "veterinary_services",
1069 VideoAmusementGameSupplies => "video_amusement_game_supplies",
1070 VideoGameArcades => "video_game_arcades",
1071 VideoTapeRentalStores => "video_tape_rental_stores",
1072 VocationalTradeSchools => "vocational_trade_schools",
1073 WatchJewelryRepair => "watch_jewelry_repair",
1074 WeldingRepair => "welding_repair",
1075 WholesaleClubs => "wholesale_clubs",
1076 WigAndToupeeStores => "wig_and_toupee_stores",
1077 WiresMoneyOrders => "wires_money_orders",
1078 WomensAccessoryAndSpecialtyShops => "womens_accessory_and_specialty_shops",
1079 WomensReadyToWearStores => "womens_ready_to_wear_stores",
1080 WreckingAndSalvageYards => "wrecking_and_salvage_yards",
1081 Unknown(v) => v,
1082 }
1083 }
1084}
1085
1086impl std::str::FromStr for CreateIssuingCardholderSpendingControlsAllowedCategories {
1087 type Err = std::convert::Infallible;
1088 fn from_str(s: &str) -> Result<Self, Self::Err> {
1089 use CreateIssuingCardholderSpendingControlsAllowedCategories::*;
1090 match s {
1091 "ac_refrigeration_repair" => Ok(AcRefrigerationRepair),
1092 "accounting_bookkeeping_services" => Ok(AccountingBookkeepingServices),
1093 "advertising_services" => Ok(AdvertisingServices),
1094 "agricultural_cooperative" => Ok(AgriculturalCooperative),
1095 "airlines_air_carriers" => Ok(AirlinesAirCarriers),
1096 "airports_flying_fields" => Ok(AirportsFlyingFields),
1097 "ambulance_services" => Ok(AmbulanceServices),
1098 "amusement_parks_carnivals" => Ok(AmusementParksCarnivals),
1099 "antique_reproductions" => Ok(AntiqueReproductions),
1100 "antique_shops" => Ok(AntiqueShops),
1101 "aquariums" => Ok(Aquariums),
1102 "architectural_surveying_services" => Ok(ArchitecturalSurveyingServices),
1103 "art_dealers_and_galleries" => Ok(ArtDealersAndGalleries),
1104 "artists_supply_and_craft_shops" => Ok(ArtistsSupplyAndCraftShops),
1105 "auto_and_home_supply_stores" => Ok(AutoAndHomeSupplyStores),
1106 "auto_body_repair_shops" => Ok(AutoBodyRepairShops),
1107 "auto_paint_shops" => Ok(AutoPaintShops),
1108 "auto_service_shops" => Ok(AutoServiceShops),
1109 "automated_cash_disburse" => Ok(AutomatedCashDisburse),
1110 "automated_fuel_dispensers" => Ok(AutomatedFuelDispensers),
1111 "automobile_associations" => Ok(AutomobileAssociations),
1112 "automotive_parts_and_accessories_stores" => Ok(AutomotivePartsAndAccessoriesStores),
1113 "automotive_tire_stores" => Ok(AutomotiveTireStores),
1114 "bail_and_bond_payments" => Ok(BailAndBondPayments),
1115 "bakeries" => Ok(Bakeries),
1116 "bands_orchestras" => Ok(BandsOrchestras),
1117 "barber_and_beauty_shops" => Ok(BarberAndBeautyShops),
1118 "betting_casino_gambling" => Ok(BettingCasinoGambling),
1119 "bicycle_shops" => Ok(BicycleShops),
1120 "billiard_pool_establishments" => Ok(BilliardPoolEstablishments),
1121 "boat_dealers" => Ok(BoatDealers),
1122 "boat_rentals_and_leases" => Ok(BoatRentalsAndLeases),
1123 "book_stores" => Ok(BookStores),
1124 "books_periodicals_and_newspapers" => Ok(BooksPeriodicalsAndNewspapers),
1125 "bowling_alleys" => Ok(BowlingAlleys),
1126 "bus_lines" => Ok(BusLines),
1127 "business_secretarial_schools" => Ok(BusinessSecretarialSchools),
1128 "buying_shopping_services" => Ok(BuyingShoppingServices),
1129 "cable_satellite_and_other_pay_television_and_radio" => {
1130 Ok(CableSatelliteAndOtherPayTelevisionAndRadio)
1131 }
1132 "camera_and_photographic_supply_stores" => Ok(CameraAndPhotographicSupplyStores),
1133 "candy_nut_and_confectionery_stores" => Ok(CandyNutAndConfectioneryStores),
1134 "car_and_truck_dealers_new_used" => Ok(CarAndTruckDealersNewUsed),
1135 "car_and_truck_dealers_used_only" => Ok(CarAndTruckDealersUsedOnly),
1136 "car_rental_agencies" => Ok(CarRentalAgencies),
1137 "car_washes" => Ok(CarWashes),
1138 "carpentry_services" => Ok(CarpentryServices),
1139 "carpet_upholstery_cleaning" => Ok(CarpetUpholsteryCleaning),
1140 "caterers" => Ok(Caterers),
1141 "charitable_and_social_service_organizations_fundraising" => {
1142 Ok(CharitableAndSocialServiceOrganizationsFundraising)
1143 }
1144 "chemicals_and_allied_products" => Ok(ChemicalsAndAlliedProducts),
1145 "child_care_services" => Ok(ChildCareServices),
1146 "childrens_and_infants_wear_stores" => Ok(ChildrensAndInfantsWearStores),
1147 "chiropodists_podiatrists" => Ok(ChiropodistsPodiatrists),
1148 "chiropractors" => Ok(Chiropractors),
1149 "cigar_stores_and_stands" => Ok(CigarStoresAndStands),
1150 "civic_social_fraternal_associations" => Ok(CivicSocialFraternalAssociations),
1151 "cleaning_and_maintenance" => Ok(CleaningAndMaintenance),
1152 "clothing_rental" => Ok(ClothingRental),
1153 "colleges_universities" => Ok(CollegesUniversities),
1154 "commercial_equipment" => Ok(CommercialEquipment),
1155 "commercial_footwear" => Ok(CommercialFootwear),
1156 "commercial_photography_art_and_graphics" => Ok(CommercialPhotographyArtAndGraphics),
1157 "commuter_transport_and_ferries" => Ok(CommuterTransportAndFerries),
1158 "computer_network_services" => Ok(ComputerNetworkServices),
1159 "computer_programming" => Ok(ComputerProgramming),
1160 "computer_repair" => Ok(ComputerRepair),
1161 "computer_software_stores" => Ok(ComputerSoftwareStores),
1162 "computers_peripherals_and_software" => Ok(ComputersPeripheralsAndSoftware),
1163 "concrete_work_services" => Ok(ConcreteWorkServices),
1164 "construction_materials" => Ok(ConstructionMaterials),
1165 "consulting_public_relations" => Ok(ConsultingPublicRelations),
1166 "correspondence_schools" => Ok(CorrespondenceSchools),
1167 "cosmetic_stores" => Ok(CosmeticStores),
1168 "counseling_services" => Ok(CounselingServices),
1169 "country_clubs" => Ok(CountryClubs),
1170 "courier_services" => Ok(CourierServices),
1171 "court_costs" => Ok(CourtCosts),
1172 "credit_reporting_agencies" => Ok(CreditReportingAgencies),
1173 "cruise_lines" => Ok(CruiseLines),
1174 "dairy_products_stores" => Ok(DairyProductsStores),
1175 "dance_hall_studios_schools" => Ok(DanceHallStudiosSchools),
1176 "dating_escort_services" => Ok(DatingEscortServices),
1177 "dentists_orthodontists" => Ok(DentistsOrthodontists),
1178 "department_stores" => Ok(DepartmentStores),
1179 "detective_agencies" => Ok(DetectiveAgencies),
1180 "digital_goods_applications" => Ok(DigitalGoodsApplications),
1181 "digital_goods_games" => Ok(DigitalGoodsGames),
1182 "digital_goods_large_volume" => Ok(DigitalGoodsLargeVolume),
1183 "digital_goods_media" => Ok(DigitalGoodsMedia),
1184 "direct_marketing_catalog_merchant" => Ok(DirectMarketingCatalogMerchant),
1185 "direct_marketing_combination_catalog_and_retail_merchant" => {
1186 Ok(DirectMarketingCombinationCatalogAndRetailMerchant)
1187 }
1188 "direct_marketing_inbound_telemarketing" => Ok(DirectMarketingInboundTelemarketing),
1189 "direct_marketing_insurance_services" => Ok(DirectMarketingInsuranceServices),
1190 "direct_marketing_other" => Ok(DirectMarketingOther),
1191 "direct_marketing_outbound_telemarketing" => Ok(DirectMarketingOutboundTelemarketing),
1192 "direct_marketing_subscription" => Ok(DirectMarketingSubscription),
1193 "direct_marketing_travel" => Ok(DirectMarketingTravel),
1194 "discount_stores" => Ok(DiscountStores),
1195 "doctors" => Ok(Doctors),
1196 "door_to_door_sales" => Ok(DoorToDoorSales),
1197 "drapery_window_covering_and_upholstery_stores" => {
1198 Ok(DraperyWindowCoveringAndUpholsteryStores)
1199 }
1200 "drinking_places" => Ok(DrinkingPlaces),
1201 "drug_stores_and_pharmacies" => Ok(DrugStoresAndPharmacies),
1202 "drugs_drug_proprietaries_and_druggist_sundries" => {
1203 Ok(DrugsDrugProprietariesAndDruggistSundries)
1204 }
1205 "dry_cleaners" => Ok(DryCleaners),
1206 "durable_goods" => Ok(DurableGoods),
1207 "duty_free_stores" => Ok(DutyFreeStores),
1208 "eating_places_restaurants" => Ok(EatingPlacesRestaurants),
1209 "educational_services" => Ok(EducationalServices),
1210 "electric_razor_stores" => Ok(ElectricRazorStores),
1211 "electric_vehicle_charging" => Ok(ElectricVehicleCharging),
1212 "electrical_parts_and_equipment" => Ok(ElectricalPartsAndEquipment),
1213 "electrical_services" => Ok(ElectricalServices),
1214 "electronics_repair_shops" => Ok(ElectronicsRepairShops),
1215 "electronics_stores" => Ok(ElectronicsStores),
1216 "elementary_secondary_schools" => Ok(ElementarySecondarySchools),
1217 "emergency_services_gcas_visa_use_only" => Ok(EmergencyServicesGcasVisaUseOnly),
1218 "employment_temp_agencies" => Ok(EmploymentTempAgencies),
1219 "equipment_rental" => Ok(EquipmentRental),
1220 "exterminating_services" => Ok(ExterminatingServices),
1221 "family_clothing_stores" => Ok(FamilyClothingStores),
1222 "fast_food_restaurants" => Ok(FastFoodRestaurants),
1223 "financial_institutions" => Ok(FinancialInstitutions),
1224 "fines_government_administrative_entities" => Ok(FinesGovernmentAdministrativeEntities),
1225 "fireplace_fireplace_screens_and_accessories_stores" => {
1226 Ok(FireplaceFireplaceScreensAndAccessoriesStores)
1227 }
1228 "floor_covering_stores" => Ok(FloorCoveringStores),
1229 "florists" => Ok(Florists),
1230 "florists_supplies_nursery_stock_and_flowers" => {
1231 Ok(FloristsSuppliesNurseryStockAndFlowers)
1232 }
1233 "freezer_and_locker_meat_provisioners" => Ok(FreezerAndLockerMeatProvisioners),
1234 "fuel_dealers_non_automotive" => Ok(FuelDealersNonAutomotive),
1235 "funeral_services_crematories" => Ok(FuneralServicesCrematories),
1236 "furniture_home_furnishings_and_equipment_stores_except_appliances" => {
1237 Ok(FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances)
1238 }
1239 "furniture_repair_refinishing" => Ok(FurnitureRepairRefinishing),
1240 "furriers_and_fur_shops" => Ok(FurriersAndFurShops),
1241 "general_services" => Ok(GeneralServices),
1242 "gift_card_novelty_and_souvenir_shops" => Ok(GiftCardNoveltyAndSouvenirShops),
1243 "glass_paint_and_wallpaper_stores" => Ok(GlassPaintAndWallpaperStores),
1244 "glassware_crystal_stores" => Ok(GlasswareCrystalStores),
1245 "golf_courses_public" => Ok(GolfCoursesPublic),
1246 "government_licensed_horse_dog_racing_us_region_only" => {
1247 Ok(GovernmentLicensedHorseDogRacingUsRegionOnly)
1248 }
1249 "government_licensed_online_casions_online_gambling_us_region_only" => {
1250 Ok(GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly)
1251 }
1252 "government_owned_lotteries_non_us_region" => Ok(GovernmentOwnedLotteriesNonUsRegion),
1253 "government_owned_lotteries_us_region_only" => Ok(GovernmentOwnedLotteriesUsRegionOnly),
1254 "government_services" => Ok(GovernmentServices),
1255 "grocery_stores_supermarkets" => Ok(GroceryStoresSupermarkets),
1256 "hardware_equipment_and_supplies" => Ok(HardwareEquipmentAndSupplies),
1257 "hardware_stores" => Ok(HardwareStores),
1258 "health_and_beauty_spas" => Ok(HealthAndBeautySpas),
1259 "hearing_aids_sales_and_supplies" => Ok(HearingAidsSalesAndSupplies),
1260 "heating_plumbing_a_c" => Ok(HeatingPlumbingAC),
1261 "hobby_toy_and_game_shops" => Ok(HobbyToyAndGameShops),
1262 "home_supply_warehouse_stores" => Ok(HomeSupplyWarehouseStores),
1263 "hospitals" => Ok(Hospitals),
1264 "hotels_motels_and_resorts" => Ok(HotelsMotelsAndResorts),
1265 "household_appliance_stores" => Ok(HouseholdApplianceStores),
1266 "industrial_supplies" => Ok(IndustrialSupplies),
1267 "information_retrieval_services" => Ok(InformationRetrievalServices),
1268 "insurance_default" => Ok(InsuranceDefault),
1269 "insurance_underwriting_premiums" => Ok(InsuranceUnderwritingPremiums),
1270 "intra_company_purchases" => Ok(IntraCompanyPurchases),
1271 "jewelry_stores_watches_clocks_and_silverware_stores" => {
1272 Ok(JewelryStoresWatchesClocksAndSilverwareStores)
1273 }
1274 "landscaping_services" => Ok(LandscapingServices),
1275 "laundries" => Ok(Laundries),
1276 "laundry_cleaning_services" => Ok(LaundryCleaningServices),
1277 "legal_services_attorneys" => Ok(LegalServicesAttorneys),
1278 "luggage_and_leather_goods_stores" => Ok(LuggageAndLeatherGoodsStores),
1279 "lumber_building_materials_stores" => Ok(LumberBuildingMaterialsStores),
1280 "manual_cash_disburse" => Ok(ManualCashDisburse),
1281 "marinas_service_and_supplies" => Ok(MarinasServiceAndSupplies),
1282 "marketplaces" => Ok(Marketplaces),
1283 "masonry_stonework_and_plaster" => Ok(MasonryStoneworkAndPlaster),
1284 "massage_parlors" => Ok(MassageParlors),
1285 "medical_and_dental_labs" => Ok(MedicalAndDentalLabs),
1286 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies" => {
1287 Ok(MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies)
1288 }
1289 "medical_services" => Ok(MedicalServices),
1290 "membership_organizations" => Ok(MembershipOrganizations),
1291 "mens_and_boys_clothing_and_accessories_stores" => {
1292 Ok(MensAndBoysClothingAndAccessoriesStores)
1293 }
1294 "mens_womens_clothing_stores" => Ok(MensWomensClothingStores),
1295 "metal_service_centers" => Ok(MetalServiceCenters),
1296 "miscellaneous" => Ok(Miscellaneous),
1297 "miscellaneous_apparel_and_accessory_shops" => {
1298 Ok(MiscellaneousApparelAndAccessoryShops)
1299 }
1300 "miscellaneous_auto_dealers" => Ok(MiscellaneousAutoDealers),
1301 "miscellaneous_business_services" => Ok(MiscellaneousBusinessServices),
1302 "miscellaneous_food_stores" => Ok(MiscellaneousFoodStores),
1303 "miscellaneous_general_merchandise" => Ok(MiscellaneousGeneralMerchandise),
1304 "miscellaneous_general_services" => Ok(MiscellaneousGeneralServices),
1305 "miscellaneous_home_furnishing_specialty_stores" => {
1306 Ok(MiscellaneousHomeFurnishingSpecialtyStores)
1307 }
1308 "miscellaneous_publishing_and_printing" => Ok(MiscellaneousPublishingAndPrinting),
1309 "miscellaneous_recreation_services" => Ok(MiscellaneousRecreationServices),
1310 "miscellaneous_repair_shops" => Ok(MiscellaneousRepairShops),
1311 "miscellaneous_specialty_retail" => Ok(MiscellaneousSpecialtyRetail),
1312 "mobile_home_dealers" => Ok(MobileHomeDealers),
1313 "motion_picture_theaters" => Ok(MotionPictureTheaters),
1314 "motor_freight_carriers_and_trucking" => Ok(MotorFreightCarriersAndTrucking),
1315 "motor_homes_dealers" => Ok(MotorHomesDealers),
1316 "motor_vehicle_supplies_and_new_parts" => Ok(MotorVehicleSuppliesAndNewParts),
1317 "motorcycle_shops_and_dealers" => Ok(MotorcycleShopsAndDealers),
1318 "motorcycle_shops_dealers" => Ok(MotorcycleShopsDealers),
1319 "music_stores_musical_instruments_pianos_and_sheet_music" => {
1320 Ok(MusicStoresMusicalInstrumentsPianosAndSheetMusic)
1321 }
1322 "news_dealers_and_newsstands" => Ok(NewsDealersAndNewsstands),
1323 "non_fi_money_orders" => Ok(NonFiMoneyOrders),
1324 "non_fi_stored_value_card_purchase_load" => Ok(NonFiStoredValueCardPurchaseLoad),
1325 "nondurable_goods" => Ok(NondurableGoods),
1326 "nurseries_lawn_and_garden_supply_stores" => Ok(NurseriesLawnAndGardenSupplyStores),
1327 "nursing_personal_care" => Ok(NursingPersonalCare),
1328 "office_and_commercial_furniture" => Ok(OfficeAndCommercialFurniture),
1329 "opticians_eyeglasses" => Ok(OpticiansEyeglasses),
1330 "optometrists_ophthalmologist" => Ok(OptometristsOphthalmologist),
1331 "orthopedic_goods_prosthetic_devices" => Ok(OrthopedicGoodsProstheticDevices),
1332 "osteopaths" => Ok(Osteopaths),
1333 "package_stores_beer_wine_and_liquor" => Ok(PackageStoresBeerWineAndLiquor),
1334 "paints_varnishes_and_supplies" => Ok(PaintsVarnishesAndSupplies),
1335 "parking_lots_garages" => Ok(ParkingLotsGarages),
1336 "passenger_railways" => Ok(PassengerRailways),
1337 "pawn_shops" => Ok(PawnShops),
1338 "pet_shops_pet_food_and_supplies" => Ok(PetShopsPetFoodAndSupplies),
1339 "petroleum_and_petroleum_products" => Ok(PetroleumAndPetroleumProducts),
1340 "photo_developing" => Ok(PhotoDeveloping),
1341 "photographic_photocopy_microfilm_equipment_and_supplies" => {
1342 Ok(PhotographicPhotocopyMicrofilmEquipmentAndSupplies)
1343 }
1344 "photographic_studios" => Ok(PhotographicStudios),
1345 "picture_video_production" => Ok(PictureVideoProduction),
1346 "piece_goods_notions_and_other_dry_goods" => Ok(PieceGoodsNotionsAndOtherDryGoods),
1347 "plumbing_heating_equipment_and_supplies" => Ok(PlumbingHeatingEquipmentAndSupplies),
1348 "political_organizations" => Ok(PoliticalOrganizations),
1349 "postal_services_government_only" => Ok(PostalServicesGovernmentOnly),
1350 "precious_stones_and_metals_watches_and_jewelry" => {
1351 Ok(PreciousStonesAndMetalsWatchesAndJewelry)
1352 }
1353 "professional_services" => Ok(ProfessionalServices),
1354 "public_warehousing_and_storage" => Ok(PublicWarehousingAndStorage),
1355 "quick_copy_repro_and_blueprint" => Ok(QuickCopyReproAndBlueprint),
1356 "railroads" => Ok(Railroads),
1357 "real_estate_agents_and_managers_rentals" => Ok(RealEstateAgentsAndManagersRentals),
1358 "record_stores" => Ok(RecordStores),
1359 "recreational_vehicle_rentals" => Ok(RecreationalVehicleRentals),
1360 "religious_goods_stores" => Ok(ReligiousGoodsStores),
1361 "religious_organizations" => Ok(ReligiousOrganizations),
1362 "roofing_siding_sheet_metal" => Ok(RoofingSidingSheetMetal),
1363 "secretarial_support_services" => Ok(SecretarialSupportServices),
1364 "security_brokers_dealers" => Ok(SecurityBrokersDealers),
1365 "service_stations" => Ok(ServiceStations),
1366 "sewing_needlework_fabric_and_piece_goods_stores" => {
1367 Ok(SewingNeedleworkFabricAndPieceGoodsStores)
1368 }
1369 "shoe_repair_hat_cleaning" => Ok(ShoeRepairHatCleaning),
1370 "shoe_stores" => Ok(ShoeStores),
1371 "small_appliance_repair" => Ok(SmallApplianceRepair),
1372 "snowmobile_dealers" => Ok(SnowmobileDealers),
1373 "special_trade_services" => Ok(SpecialTradeServices),
1374 "specialty_cleaning" => Ok(SpecialtyCleaning),
1375 "sporting_goods_stores" => Ok(SportingGoodsStores),
1376 "sporting_recreation_camps" => Ok(SportingRecreationCamps),
1377 "sports_and_riding_apparel_stores" => Ok(SportsAndRidingApparelStores),
1378 "sports_clubs_fields" => Ok(SportsClubsFields),
1379 "stamp_and_coin_stores" => Ok(StampAndCoinStores),
1380 "stationary_office_supplies_printing_and_writing_paper" => {
1381 Ok(StationaryOfficeSuppliesPrintingAndWritingPaper)
1382 }
1383 "stationery_stores_office_and_school_supply_stores" => {
1384 Ok(StationeryStoresOfficeAndSchoolSupplyStores)
1385 }
1386 "swimming_pools_sales" => Ok(SwimmingPoolsSales),
1387 "t_ui_travel_germany" => Ok(TUiTravelGermany),
1388 "tailors_alterations" => Ok(TailorsAlterations),
1389 "tax_payments_government_agencies" => Ok(TaxPaymentsGovernmentAgencies),
1390 "tax_preparation_services" => Ok(TaxPreparationServices),
1391 "taxicabs_limousines" => Ok(TaxicabsLimousines),
1392 "telecommunication_equipment_and_telephone_sales" => {
1393 Ok(TelecommunicationEquipmentAndTelephoneSales)
1394 }
1395 "telecommunication_services" => Ok(TelecommunicationServices),
1396 "telegraph_services" => Ok(TelegraphServices),
1397 "tent_and_awning_shops" => Ok(TentAndAwningShops),
1398 "testing_laboratories" => Ok(TestingLaboratories),
1399 "theatrical_ticket_agencies" => Ok(TheatricalTicketAgencies),
1400 "timeshares" => Ok(Timeshares),
1401 "tire_retreading_and_repair" => Ok(TireRetreadingAndRepair),
1402 "tolls_bridge_fees" => Ok(TollsBridgeFees),
1403 "tourist_attractions_and_exhibits" => Ok(TouristAttractionsAndExhibits),
1404 "towing_services" => Ok(TowingServices),
1405 "trailer_parks_campgrounds" => Ok(TrailerParksCampgrounds),
1406 "transportation_services" => Ok(TransportationServices),
1407 "travel_agencies_tour_operators" => Ok(TravelAgenciesTourOperators),
1408 "truck_stop_iteration" => Ok(TruckStopIteration),
1409 "truck_utility_trailer_rentals" => Ok(TruckUtilityTrailerRentals),
1410 "typesetting_plate_making_and_related_services" => {
1411 Ok(TypesettingPlateMakingAndRelatedServices)
1412 }
1413 "typewriter_stores" => Ok(TypewriterStores),
1414 "u_s_federal_government_agencies_or_departments" => {
1415 Ok(USFederalGovernmentAgenciesOrDepartments)
1416 }
1417 "uniforms_commercial_clothing" => Ok(UniformsCommercialClothing),
1418 "used_merchandise_and_secondhand_stores" => Ok(UsedMerchandiseAndSecondhandStores),
1419 "utilities" => Ok(Utilities),
1420 "variety_stores" => Ok(VarietyStores),
1421 "veterinary_services" => Ok(VeterinaryServices),
1422 "video_amusement_game_supplies" => Ok(VideoAmusementGameSupplies),
1423 "video_game_arcades" => Ok(VideoGameArcades),
1424 "video_tape_rental_stores" => Ok(VideoTapeRentalStores),
1425 "vocational_trade_schools" => Ok(VocationalTradeSchools),
1426 "watch_jewelry_repair" => Ok(WatchJewelryRepair),
1427 "welding_repair" => Ok(WeldingRepair),
1428 "wholesale_clubs" => Ok(WholesaleClubs),
1429 "wig_and_toupee_stores" => Ok(WigAndToupeeStores),
1430 "wires_money_orders" => Ok(WiresMoneyOrders),
1431 "womens_accessory_and_specialty_shops" => Ok(WomensAccessoryAndSpecialtyShops),
1432 "womens_ready_to_wear_stores" => Ok(WomensReadyToWearStores),
1433 "wrecking_and_salvage_yards" => Ok(WreckingAndSalvageYards),
1434 v => {
1435 tracing::warn!(
1436 "Unknown value '{}' for enum '{}'",
1437 v,
1438 "CreateIssuingCardholderSpendingControlsAllowedCategories"
1439 );
1440 Ok(Unknown(v.to_owned()))
1441 }
1442 }
1443 }
1444}
1445impl std::fmt::Display for CreateIssuingCardholderSpendingControlsAllowedCategories {
1446 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
1447 f.write_str(self.as_str())
1448 }
1449}
1450
1451#[cfg(not(feature = "redact-generated-debug"))]
1452impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsAllowedCategories {
1453 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
1454 f.write_str(self.as_str())
1455 }
1456}
1457#[cfg(feature = "redact-generated-debug")]
1458impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsAllowedCategories {
1459 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
1460 f.debug_struct(stringify!(CreateIssuingCardholderSpendingControlsAllowedCategories))
1461 .finish_non_exhaustive()
1462 }
1463}
1464impl serde::Serialize for CreateIssuingCardholderSpendingControlsAllowedCategories {
1465 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
1466 where
1467 S: serde::Serializer,
1468 {
1469 serializer.serialize_str(self.as_str())
1470 }
1471}
1472#[cfg(feature = "deserialize")]
1473impl<'de> serde::Deserialize<'de> for CreateIssuingCardholderSpendingControlsAllowedCategories {
1474 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
1475 use std::str::FromStr;
1476 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
1477 Ok(Self::from_str(&s).expect("infallible"))
1478 }
1479}
1480#[derive(Clone, Eq, PartialEq)]
1485#[non_exhaustive]
1486pub enum CreateIssuingCardholderSpendingControlsBlockedCardPresences {
1487 NotPresent,
1488 Present,
1489 Unknown(String),
1491}
1492impl CreateIssuingCardholderSpendingControlsBlockedCardPresences {
1493 pub fn as_str(&self) -> &str {
1494 use CreateIssuingCardholderSpendingControlsBlockedCardPresences::*;
1495 match self {
1496 NotPresent => "not_present",
1497 Present => "present",
1498 Unknown(v) => v,
1499 }
1500 }
1501}
1502
1503impl std::str::FromStr for CreateIssuingCardholderSpendingControlsBlockedCardPresences {
1504 type Err = std::convert::Infallible;
1505 fn from_str(s: &str) -> Result<Self, Self::Err> {
1506 use CreateIssuingCardholderSpendingControlsBlockedCardPresences::*;
1507 match s {
1508 "not_present" => Ok(NotPresent),
1509 "present" => Ok(Present),
1510 v => {
1511 tracing::warn!(
1512 "Unknown value '{}' for enum '{}'",
1513 v,
1514 "CreateIssuingCardholderSpendingControlsBlockedCardPresences"
1515 );
1516 Ok(Unknown(v.to_owned()))
1517 }
1518 }
1519 }
1520}
1521impl std::fmt::Display for CreateIssuingCardholderSpendingControlsBlockedCardPresences {
1522 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
1523 f.write_str(self.as_str())
1524 }
1525}
1526
1527#[cfg(not(feature = "redact-generated-debug"))]
1528impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsBlockedCardPresences {
1529 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
1530 f.write_str(self.as_str())
1531 }
1532}
1533#[cfg(feature = "redact-generated-debug")]
1534impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsBlockedCardPresences {
1535 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
1536 f.debug_struct(stringify!(CreateIssuingCardholderSpendingControlsBlockedCardPresences))
1537 .finish_non_exhaustive()
1538 }
1539}
1540impl serde::Serialize for CreateIssuingCardholderSpendingControlsBlockedCardPresences {
1541 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
1542 where
1543 S: serde::Serializer,
1544 {
1545 serializer.serialize_str(self.as_str())
1546 }
1547}
1548#[cfg(feature = "deserialize")]
1549impl<'de> serde::Deserialize<'de> for CreateIssuingCardholderSpendingControlsBlockedCardPresences {
1550 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
1551 use std::str::FromStr;
1552 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
1553 Ok(Self::from_str(&s).expect("infallible"))
1554 }
1555}
1556#[derive(Clone, Eq, PartialEq)]
1560#[non_exhaustive]
1561pub enum CreateIssuingCardholderSpendingControlsBlockedCategories {
1562 AcRefrigerationRepair,
1563 AccountingBookkeepingServices,
1564 AdvertisingServices,
1565 AgriculturalCooperative,
1566 AirlinesAirCarriers,
1567 AirportsFlyingFields,
1568 AmbulanceServices,
1569 AmusementParksCarnivals,
1570 AntiqueReproductions,
1571 AntiqueShops,
1572 Aquariums,
1573 ArchitecturalSurveyingServices,
1574 ArtDealersAndGalleries,
1575 ArtistsSupplyAndCraftShops,
1576 AutoAndHomeSupplyStores,
1577 AutoBodyRepairShops,
1578 AutoPaintShops,
1579 AutoServiceShops,
1580 AutomatedCashDisburse,
1581 AutomatedFuelDispensers,
1582 AutomobileAssociations,
1583 AutomotivePartsAndAccessoriesStores,
1584 AutomotiveTireStores,
1585 BailAndBondPayments,
1586 Bakeries,
1587 BandsOrchestras,
1588 BarberAndBeautyShops,
1589 BettingCasinoGambling,
1590 BicycleShops,
1591 BilliardPoolEstablishments,
1592 BoatDealers,
1593 BoatRentalsAndLeases,
1594 BookStores,
1595 BooksPeriodicalsAndNewspapers,
1596 BowlingAlleys,
1597 BusLines,
1598 BusinessSecretarialSchools,
1599 BuyingShoppingServices,
1600 CableSatelliteAndOtherPayTelevisionAndRadio,
1601 CameraAndPhotographicSupplyStores,
1602 CandyNutAndConfectioneryStores,
1603 CarAndTruckDealersNewUsed,
1604 CarAndTruckDealersUsedOnly,
1605 CarRentalAgencies,
1606 CarWashes,
1607 CarpentryServices,
1608 CarpetUpholsteryCleaning,
1609 Caterers,
1610 CharitableAndSocialServiceOrganizationsFundraising,
1611 ChemicalsAndAlliedProducts,
1612 ChildCareServices,
1613 ChildrensAndInfantsWearStores,
1614 ChiropodistsPodiatrists,
1615 Chiropractors,
1616 CigarStoresAndStands,
1617 CivicSocialFraternalAssociations,
1618 CleaningAndMaintenance,
1619 ClothingRental,
1620 CollegesUniversities,
1621 CommercialEquipment,
1622 CommercialFootwear,
1623 CommercialPhotographyArtAndGraphics,
1624 CommuterTransportAndFerries,
1625 ComputerNetworkServices,
1626 ComputerProgramming,
1627 ComputerRepair,
1628 ComputerSoftwareStores,
1629 ComputersPeripheralsAndSoftware,
1630 ConcreteWorkServices,
1631 ConstructionMaterials,
1632 ConsultingPublicRelations,
1633 CorrespondenceSchools,
1634 CosmeticStores,
1635 CounselingServices,
1636 CountryClubs,
1637 CourierServices,
1638 CourtCosts,
1639 CreditReportingAgencies,
1640 CruiseLines,
1641 DairyProductsStores,
1642 DanceHallStudiosSchools,
1643 DatingEscortServices,
1644 DentistsOrthodontists,
1645 DepartmentStores,
1646 DetectiveAgencies,
1647 DigitalGoodsApplications,
1648 DigitalGoodsGames,
1649 DigitalGoodsLargeVolume,
1650 DigitalGoodsMedia,
1651 DirectMarketingCatalogMerchant,
1652 DirectMarketingCombinationCatalogAndRetailMerchant,
1653 DirectMarketingInboundTelemarketing,
1654 DirectMarketingInsuranceServices,
1655 DirectMarketingOther,
1656 DirectMarketingOutboundTelemarketing,
1657 DirectMarketingSubscription,
1658 DirectMarketingTravel,
1659 DiscountStores,
1660 Doctors,
1661 DoorToDoorSales,
1662 DraperyWindowCoveringAndUpholsteryStores,
1663 DrinkingPlaces,
1664 DrugStoresAndPharmacies,
1665 DrugsDrugProprietariesAndDruggistSundries,
1666 DryCleaners,
1667 DurableGoods,
1668 DutyFreeStores,
1669 EatingPlacesRestaurants,
1670 EducationalServices,
1671 ElectricRazorStores,
1672 ElectricVehicleCharging,
1673 ElectricalPartsAndEquipment,
1674 ElectricalServices,
1675 ElectronicsRepairShops,
1676 ElectronicsStores,
1677 ElementarySecondarySchools,
1678 EmergencyServicesGcasVisaUseOnly,
1679 EmploymentTempAgencies,
1680 EquipmentRental,
1681 ExterminatingServices,
1682 FamilyClothingStores,
1683 FastFoodRestaurants,
1684 FinancialInstitutions,
1685 FinesGovernmentAdministrativeEntities,
1686 FireplaceFireplaceScreensAndAccessoriesStores,
1687 FloorCoveringStores,
1688 Florists,
1689 FloristsSuppliesNurseryStockAndFlowers,
1690 FreezerAndLockerMeatProvisioners,
1691 FuelDealersNonAutomotive,
1692 FuneralServicesCrematories,
1693 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances,
1694 FurnitureRepairRefinishing,
1695 FurriersAndFurShops,
1696 GeneralServices,
1697 GiftCardNoveltyAndSouvenirShops,
1698 GlassPaintAndWallpaperStores,
1699 GlasswareCrystalStores,
1700 GolfCoursesPublic,
1701 GovernmentLicensedHorseDogRacingUsRegionOnly,
1702 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly,
1703 GovernmentOwnedLotteriesNonUsRegion,
1704 GovernmentOwnedLotteriesUsRegionOnly,
1705 GovernmentServices,
1706 GroceryStoresSupermarkets,
1707 HardwareEquipmentAndSupplies,
1708 HardwareStores,
1709 HealthAndBeautySpas,
1710 HearingAidsSalesAndSupplies,
1711 HeatingPlumbingAC,
1712 HobbyToyAndGameShops,
1713 HomeSupplyWarehouseStores,
1714 Hospitals,
1715 HotelsMotelsAndResorts,
1716 HouseholdApplianceStores,
1717 IndustrialSupplies,
1718 InformationRetrievalServices,
1719 InsuranceDefault,
1720 InsuranceUnderwritingPremiums,
1721 IntraCompanyPurchases,
1722 JewelryStoresWatchesClocksAndSilverwareStores,
1723 LandscapingServices,
1724 Laundries,
1725 LaundryCleaningServices,
1726 LegalServicesAttorneys,
1727 LuggageAndLeatherGoodsStores,
1728 LumberBuildingMaterialsStores,
1729 ManualCashDisburse,
1730 MarinasServiceAndSupplies,
1731 Marketplaces,
1732 MasonryStoneworkAndPlaster,
1733 MassageParlors,
1734 MedicalAndDentalLabs,
1735 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies,
1736 MedicalServices,
1737 MembershipOrganizations,
1738 MensAndBoysClothingAndAccessoriesStores,
1739 MensWomensClothingStores,
1740 MetalServiceCenters,
1741 Miscellaneous,
1742 MiscellaneousApparelAndAccessoryShops,
1743 MiscellaneousAutoDealers,
1744 MiscellaneousBusinessServices,
1745 MiscellaneousFoodStores,
1746 MiscellaneousGeneralMerchandise,
1747 MiscellaneousGeneralServices,
1748 MiscellaneousHomeFurnishingSpecialtyStores,
1749 MiscellaneousPublishingAndPrinting,
1750 MiscellaneousRecreationServices,
1751 MiscellaneousRepairShops,
1752 MiscellaneousSpecialtyRetail,
1753 MobileHomeDealers,
1754 MotionPictureTheaters,
1755 MotorFreightCarriersAndTrucking,
1756 MotorHomesDealers,
1757 MotorVehicleSuppliesAndNewParts,
1758 MotorcycleShopsAndDealers,
1759 MotorcycleShopsDealers,
1760 MusicStoresMusicalInstrumentsPianosAndSheetMusic,
1761 NewsDealersAndNewsstands,
1762 NonFiMoneyOrders,
1763 NonFiStoredValueCardPurchaseLoad,
1764 NondurableGoods,
1765 NurseriesLawnAndGardenSupplyStores,
1766 NursingPersonalCare,
1767 OfficeAndCommercialFurniture,
1768 OpticiansEyeglasses,
1769 OptometristsOphthalmologist,
1770 OrthopedicGoodsProstheticDevices,
1771 Osteopaths,
1772 PackageStoresBeerWineAndLiquor,
1773 PaintsVarnishesAndSupplies,
1774 ParkingLotsGarages,
1775 PassengerRailways,
1776 PawnShops,
1777 PetShopsPetFoodAndSupplies,
1778 PetroleumAndPetroleumProducts,
1779 PhotoDeveloping,
1780 PhotographicPhotocopyMicrofilmEquipmentAndSupplies,
1781 PhotographicStudios,
1782 PictureVideoProduction,
1783 PieceGoodsNotionsAndOtherDryGoods,
1784 PlumbingHeatingEquipmentAndSupplies,
1785 PoliticalOrganizations,
1786 PostalServicesGovernmentOnly,
1787 PreciousStonesAndMetalsWatchesAndJewelry,
1788 ProfessionalServices,
1789 PublicWarehousingAndStorage,
1790 QuickCopyReproAndBlueprint,
1791 Railroads,
1792 RealEstateAgentsAndManagersRentals,
1793 RecordStores,
1794 RecreationalVehicleRentals,
1795 ReligiousGoodsStores,
1796 ReligiousOrganizations,
1797 RoofingSidingSheetMetal,
1798 SecretarialSupportServices,
1799 SecurityBrokersDealers,
1800 ServiceStations,
1801 SewingNeedleworkFabricAndPieceGoodsStores,
1802 ShoeRepairHatCleaning,
1803 ShoeStores,
1804 SmallApplianceRepair,
1805 SnowmobileDealers,
1806 SpecialTradeServices,
1807 SpecialtyCleaning,
1808 SportingGoodsStores,
1809 SportingRecreationCamps,
1810 SportsAndRidingApparelStores,
1811 SportsClubsFields,
1812 StampAndCoinStores,
1813 StationaryOfficeSuppliesPrintingAndWritingPaper,
1814 StationeryStoresOfficeAndSchoolSupplyStores,
1815 SwimmingPoolsSales,
1816 TUiTravelGermany,
1817 TailorsAlterations,
1818 TaxPaymentsGovernmentAgencies,
1819 TaxPreparationServices,
1820 TaxicabsLimousines,
1821 TelecommunicationEquipmentAndTelephoneSales,
1822 TelecommunicationServices,
1823 TelegraphServices,
1824 TentAndAwningShops,
1825 TestingLaboratories,
1826 TheatricalTicketAgencies,
1827 Timeshares,
1828 TireRetreadingAndRepair,
1829 TollsBridgeFees,
1830 TouristAttractionsAndExhibits,
1831 TowingServices,
1832 TrailerParksCampgrounds,
1833 TransportationServices,
1834 TravelAgenciesTourOperators,
1835 TruckStopIteration,
1836 TruckUtilityTrailerRentals,
1837 TypesettingPlateMakingAndRelatedServices,
1838 TypewriterStores,
1839 USFederalGovernmentAgenciesOrDepartments,
1840 UniformsCommercialClothing,
1841 UsedMerchandiseAndSecondhandStores,
1842 Utilities,
1843 VarietyStores,
1844 VeterinaryServices,
1845 VideoAmusementGameSupplies,
1846 VideoGameArcades,
1847 VideoTapeRentalStores,
1848 VocationalTradeSchools,
1849 WatchJewelryRepair,
1850 WeldingRepair,
1851 WholesaleClubs,
1852 WigAndToupeeStores,
1853 WiresMoneyOrders,
1854 WomensAccessoryAndSpecialtyShops,
1855 WomensReadyToWearStores,
1856 WreckingAndSalvageYards,
1857 Unknown(String),
1859}
1860impl CreateIssuingCardholderSpendingControlsBlockedCategories {
1861 pub fn as_str(&self) -> &str {
1862 use CreateIssuingCardholderSpendingControlsBlockedCategories::*;
1863 match self {
1864 AcRefrigerationRepair => "ac_refrigeration_repair",
1865 AccountingBookkeepingServices => "accounting_bookkeeping_services",
1866 AdvertisingServices => "advertising_services",
1867 AgriculturalCooperative => "agricultural_cooperative",
1868 AirlinesAirCarriers => "airlines_air_carriers",
1869 AirportsFlyingFields => "airports_flying_fields",
1870 AmbulanceServices => "ambulance_services",
1871 AmusementParksCarnivals => "amusement_parks_carnivals",
1872 AntiqueReproductions => "antique_reproductions",
1873 AntiqueShops => "antique_shops",
1874 Aquariums => "aquariums",
1875 ArchitecturalSurveyingServices => "architectural_surveying_services",
1876 ArtDealersAndGalleries => "art_dealers_and_galleries",
1877 ArtistsSupplyAndCraftShops => "artists_supply_and_craft_shops",
1878 AutoAndHomeSupplyStores => "auto_and_home_supply_stores",
1879 AutoBodyRepairShops => "auto_body_repair_shops",
1880 AutoPaintShops => "auto_paint_shops",
1881 AutoServiceShops => "auto_service_shops",
1882 AutomatedCashDisburse => "automated_cash_disburse",
1883 AutomatedFuelDispensers => "automated_fuel_dispensers",
1884 AutomobileAssociations => "automobile_associations",
1885 AutomotivePartsAndAccessoriesStores => "automotive_parts_and_accessories_stores",
1886 AutomotiveTireStores => "automotive_tire_stores",
1887 BailAndBondPayments => "bail_and_bond_payments",
1888 Bakeries => "bakeries",
1889 BandsOrchestras => "bands_orchestras",
1890 BarberAndBeautyShops => "barber_and_beauty_shops",
1891 BettingCasinoGambling => "betting_casino_gambling",
1892 BicycleShops => "bicycle_shops",
1893 BilliardPoolEstablishments => "billiard_pool_establishments",
1894 BoatDealers => "boat_dealers",
1895 BoatRentalsAndLeases => "boat_rentals_and_leases",
1896 BookStores => "book_stores",
1897 BooksPeriodicalsAndNewspapers => "books_periodicals_and_newspapers",
1898 BowlingAlleys => "bowling_alleys",
1899 BusLines => "bus_lines",
1900 BusinessSecretarialSchools => "business_secretarial_schools",
1901 BuyingShoppingServices => "buying_shopping_services",
1902 CableSatelliteAndOtherPayTelevisionAndRadio => {
1903 "cable_satellite_and_other_pay_television_and_radio"
1904 }
1905 CameraAndPhotographicSupplyStores => "camera_and_photographic_supply_stores",
1906 CandyNutAndConfectioneryStores => "candy_nut_and_confectionery_stores",
1907 CarAndTruckDealersNewUsed => "car_and_truck_dealers_new_used",
1908 CarAndTruckDealersUsedOnly => "car_and_truck_dealers_used_only",
1909 CarRentalAgencies => "car_rental_agencies",
1910 CarWashes => "car_washes",
1911 CarpentryServices => "carpentry_services",
1912 CarpetUpholsteryCleaning => "carpet_upholstery_cleaning",
1913 Caterers => "caterers",
1914 CharitableAndSocialServiceOrganizationsFundraising => {
1915 "charitable_and_social_service_organizations_fundraising"
1916 }
1917 ChemicalsAndAlliedProducts => "chemicals_and_allied_products",
1918 ChildCareServices => "child_care_services",
1919 ChildrensAndInfantsWearStores => "childrens_and_infants_wear_stores",
1920 ChiropodistsPodiatrists => "chiropodists_podiatrists",
1921 Chiropractors => "chiropractors",
1922 CigarStoresAndStands => "cigar_stores_and_stands",
1923 CivicSocialFraternalAssociations => "civic_social_fraternal_associations",
1924 CleaningAndMaintenance => "cleaning_and_maintenance",
1925 ClothingRental => "clothing_rental",
1926 CollegesUniversities => "colleges_universities",
1927 CommercialEquipment => "commercial_equipment",
1928 CommercialFootwear => "commercial_footwear",
1929 CommercialPhotographyArtAndGraphics => "commercial_photography_art_and_graphics",
1930 CommuterTransportAndFerries => "commuter_transport_and_ferries",
1931 ComputerNetworkServices => "computer_network_services",
1932 ComputerProgramming => "computer_programming",
1933 ComputerRepair => "computer_repair",
1934 ComputerSoftwareStores => "computer_software_stores",
1935 ComputersPeripheralsAndSoftware => "computers_peripherals_and_software",
1936 ConcreteWorkServices => "concrete_work_services",
1937 ConstructionMaterials => "construction_materials",
1938 ConsultingPublicRelations => "consulting_public_relations",
1939 CorrespondenceSchools => "correspondence_schools",
1940 CosmeticStores => "cosmetic_stores",
1941 CounselingServices => "counseling_services",
1942 CountryClubs => "country_clubs",
1943 CourierServices => "courier_services",
1944 CourtCosts => "court_costs",
1945 CreditReportingAgencies => "credit_reporting_agencies",
1946 CruiseLines => "cruise_lines",
1947 DairyProductsStores => "dairy_products_stores",
1948 DanceHallStudiosSchools => "dance_hall_studios_schools",
1949 DatingEscortServices => "dating_escort_services",
1950 DentistsOrthodontists => "dentists_orthodontists",
1951 DepartmentStores => "department_stores",
1952 DetectiveAgencies => "detective_agencies",
1953 DigitalGoodsApplications => "digital_goods_applications",
1954 DigitalGoodsGames => "digital_goods_games",
1955 DigitalGoodsLargeVolume => "digital_goods_large_volume",
1956 DigitalGoodsMedia => "digital_goods_media",
1957 DirectMarketingCatalogMerchant => "direct_marketing_catalog_merchant",
1958 DirectMarketingCombinationCatalogAndRetailMerchant => {
1959 "direct_marketing_combination_catalog_and_retail_merchant"
1960 }
1961 DirectMarketingInboundTelemarketing => "direct_marketing_inbound_telemarketing",
1962 DirectMarketingInsuranceServices => "direct_marketing_insurance_services",
1963 DirectMarketingOther => "direct_marketing_other",
1964 DirectMarketingOutboundTelemarketing => "direct_marketing_outbound_telemarketing",
1965 DirectMarketingSubscription => "direct_marketing_subscription",
1966 DirectMarketingTravel => "direct_marketing_travel",
1967 DiscountStores => "discount_stores",
1968 Doctors => "doctors",
1969 DoorToDoorSales => "door_to_door_sales",
1970 DraperyWindowCoveringAndUpholsteryStores => {
1971 "drapery_window_covering_and_upholstery_stores"
1972 }
1973 DrinkingPlaces => "drinking_places",
1974 DrugStoresAndPharmacies => "drug_stores_and_pharmacies",
1975 DrugsDrugProprietariesAndDruggistSundries => {
1976 "drugs_drug_proprietaries_and_druggist_sundries"
1977 }
1978 DryCleaners => "dry_cleaners",
1979 DurableGoods => "durable_goods",
1980 DutyFreeStores => "duty_free_stores",
1981 EatingPlacesRestaurants => "eating_places_restaurants",
1982 EducationalServices => "educational_services",
1983 ElectricRazorStores => "electric_razor_stores",
1984 ElectricVehicleCharging => "electric_vehicle_charging",
1985 ElectricalPartsAndEquipment => "electrical_parts_and_equipment",
1986 ElectricalServices => "electrical_services",
1987 ElectronicsRepairShops => "electronics_repair_shops",
1988 ElectronicsStores => "electronics_stores",
1989 ElementarySecondarySchools => "elementary_secondary_schools",
1990 EmergencyServicesGcasVisaUseOnly => "emergency_services_gcas_visa_use_only",
1991 EmploymentTempAgencies => "employment_temp_agencies",
1992 EquipmentRental => "equipment_rental",
1993 ExterminatingServices => "exterminating_services",
1994 FamilyClothingStores => "family_clothing_stores",
1995 FastFoodRestaurants => "fast_food_restaurants",
1996 FinancialInstitutions => "financial_institutions",
1997 FinesGovernmentAdministrativeEntities => "fines_government_administrative_entities",
1998 FireplaceFireplaceScreensAndAccessoriesStores => {
1999 "fireplace_fireplace_screens_and_accessories_stores"
2000 }
2001 FloorCoveringStores => "floor_covering_stores",
2002 Florists => "florists",
2003 FloristsSuppliesNurseryStockAndFlowers => "florists_supplies_nursery_stock_and_flowers",
2004 FreezerAndLockerMeatProvisioners => "freezer_and_locker_meat_provisioners",
2005 FuelDealersNonAutomotive => "fuel_dealers_non_automotive",
2006 FuneralServicesCrematories => "funeral_services_crematories",
2007 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances => {
2008 "furniture_home_furnishings_and_equipment_stores_except_appliances"
2009 }
2010 FurnitureRepairRefinishing => "furniture_repair_refinishing",
2011 FurriersAndFurShops => "furriers_and_fur_shops",
2012 GeneralServices => "general_services",
2013 GiftCardNoveltyAndSouvenirShops => "gift_card_novelty_and_souvenir_shops",
2014 GlassPaintAndWallpaperStores => "glass_paint_and_wallpaper_stores",
2015 GlasswareCrystalStores => "glassware_crystal_stores",
2016 GolfCoursesPublic => "golf_courses_public",
2017 GovernmentLicensedHorseDogRacingUsRegionOnly => {
2018 "government_licensed_horse_dog_racing_us_region_only"
2019 }
2020 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly => {
2021 "government_licensed_online_casions_online_gambling_us_region_only"
2022 }
2023 GovernmentOwnedLotteriesNonUsRegion => "government_owned_lotteries_non_us_region",
2024 GovernmentOwnedLotteriesUsRegionOnly => "government_owned_lotteries_us_region_only",
2025 GovernmentServices => "government_services",
2026 GroceryStoresSupermarkets => "grocery_stores_supermarkets",
2027 HardwareEquipmentAndSupplies => "hardware_equipment_and_supplies",
2028 HardwareStores => "hardware_stores",
2029 HealthAndBeautySpas => "health_and_beauty_spas",
2030 HearingAidsSalesAndSupplies => "hearing_aids_sales_and_supplies",
2031 HeatingPlumbingAC => "heating_plumbing_a_c",
2032 HobbyToyAndGameShops => "hobby_toy_and_game_shops",
2033 HomeSupplyWarehouseStores => "home_supply_warehouse_stores",
2034 Hospitals => "hospitals",
2035 HotelsMotelsAndResorts => "hotels_motels_and_resorts",
2036 HouseholdApplianceStores => "household_appliance_stores",
2037 IndustrialSupplies => "industrial_supplies",
2038 InformationRetrievalServices => "information_retrieval_services",
2039 InsuranceDefault => "insurance_default",
2040 InsuranceUnderwritingPremiums => "insurance_underwriting_premiums",
2041 IntraCompanyPurchases => "intra_company_purchases",
2042 JewelryStoresWatchesClocksAndSilverwareStores => {
2043 "jewelry_stores_watches_clocks_and_silverware_stores"
2044 }
2045 LandscapingServices => "landscaping_services",
2046 Laundries => "laundries",
2047 LaundryCleaningServices => "laundry_cleaning_services",
2048 LegalServicesAttorneys => "legal_services_attorneys",
2049 LuggageAndLeatherGoodsStores => "luggage_and_leather_goods_stores",
2050 LumberBuildingMaterialsStores => "lumber_building_materials_stores",
2051 ManualCashDisburse => "manual_cash_disburse",
2052 MarinasServiceAndSupplies => "marinas_service_and_supplies",
2053 Marketplaces => "marketplaces",
2054 MasonryStoneworkAndPlaster => "masonry_stonework_and_plaster",
2055 MassageParlors => "massage_parlors",
2056 MedicalAndDentalLabs => "medical_and_dental_labs",
2057 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies => {
2058 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
2059 }
2060 MedicalServices => "medical_services",
2061 MembershipOrganizations => "membership_organizations",
2062 MensAndBoysClothingAndAccessoriesStores => {
2063 "mens_and_boys_clothing_and_accessories_stores"
2064 }
2065 MensWomensClothingStores => "mens_womens_clothing_stores",
2066 MetalServiceCenters => "metal_service_centers",
2067 Miscellaneous => "miscellaneous",
2068 MiscellaneousApparelAndAccessoryShops => "miscellaneous_apparel_and_accessory_shops",
2069 MiscellaneousAutoDealers => "miscellaneous_auto_dealers",
2070 MiscellaneousBusinessServices => "miscellaneous_business_services",
2071 MiscellaneousFoodStores => "miscellaneous_food_stores",
2072 MiscellaneousGeneralMerchandise => "miscellaneous_general_merchandise",
2073 MiscellaneousGeneralServices => "miscellaneous_general_services",
2074 MiscellaneousHomeFurnishingSpecialtyStores => {
2075 "miscellaneous_home_furnishing_specialty_stores"
2076 }
2077 MiscellaneousPublishingAndPrinting => "miscellaneous_publishing_and_printing",
2078 MiscellaneousRecreationServices => "miscellaneous_recreation_services",
2079 MiscellaneousRepairShops => "miscellaneous_repair_shops",
2080 MiscellaneousSpecialtyRetail => "miscellaneous_specialty_retail",
2081 MobileHomeDealers => "mobile_home_dealers",
2082 MotionPictureTheaters => "motion_picture_theaters",
2083 MotorFreightCarriersAndTrucking => "motor_freight_carriers_and_trucking",
2084 MotorHomesDealers => "motor_homes_dealers",
2085 MotorVehicleSuppliesAndNewParts => "motor_vehicle_supplies_and_new_parts",
2086 MotorcycleShopsAndDealers => "motorcycle_shops_and_dealers",
2087 MotorcycleShopsDealers => "motorcycle_shops_dealers",
2088 MusicStoresMusicalInstrumentsPianosAndSheetMusic => {
2089 "music_stores_musical_instruments_pianos_and_sheet_music"
2090 }
2091 NewsDealersAndNewsstands => "news_dealers_and_newsstands",
2092 NonFiMoneyOrders => "non_fi_money_orders",
2093 NonFiStoredValueCardPurchaseLoad => "non_fi_stored_value_card_purchase_load",
2094 NondurableGoods => "nondurable_goods",
2095 NurseriesLawnAndGardenSupplyStores => "nurseries_lawn_and_garden_supply_stores",
2096 NursingPersonalCare => "nursing_personal_care",
2097 OfficeAndCommercialFurniture => "office_and_commercial_furniture",
2098 OpticiansEyeglasses => "opticians_eyeglasses",
2099 OptometristsOphthalmologist => "optometrists_ophthalmologist",
2100 OrthopedicGoodsProstheticDevices => "orthopedic_goods_prosthetic_devices",
2101 Osteopaths => "osteopaths",
2102 PackageStoresBeerWineAndLiquor => "package_stores_beer_wine_and_liquor",
2103 PaintsVarnishesAndSupplies => "paints_varnishes_and_supplies",
2104 ParkingLotsGarages => "parking_lots_garages",
2105 PassengerRailways => "passenger_railways",
2106 PawnShops => "pawn_shops",
2107 PetShopsPetFoodAndSupplies => "pet_shops_pet_food_and_supplies",
2108 PetroleumAndPetroleumProducts => "petroleum_and_petroleum_products",
2109 PhotoDeveloping => "photo_developing",
2110 PhotographicPhotocopyMicrofilmEquipmentAndSupplies => {
2111 "photographic_photocopy_microfilm_equipment_and_supplies"
2112 }
2113 PhotographicStudios => "photographic_studios",
2114 PictureVideoProduction => "picture_video_production",
2115 PieceGoodsNotionsAndOtherDryGoods => "piece_goods_notions_and_other_dry_goods",
2116 PlumbingHeatingEquipmentAndSupplies => "plumbing_heating_equipment_and_supplies",
2117 PoliticalOrganizations => "political_organizations",
2118 PostalServicesGovernmentOnly => "postal_services_government_only",
2119 PreciousStonesAndMetalsWatchesAndJewelry => {
2120 "precious_stones_and_metals_watches_and_jewelry"
2121 }
2122 ProfessionalServices => "professional_services",
2123 PublicWarehousingAndStorage => "public_warehousing_and_storage",
2124 QuickCopyReproAndBlueprint => "quick_copy_repro_and_blueprint",
2125 Railroads => "railroads",
2126 RealEstateAgentsAndManagersRentals => "real_estate_agents_and_managers_rentals",
2127 RecordStores => "record_stores",
2128 RecreationalVehicleRentals => "recreational_vehicle_rentals",
2129 ReligiousGoodsStores => "religious_goods_stores",
2130 ReligiousOrganizations => "religious_organizations",
2131 RoofingSidingSheetMetal => "roofing_siding_sheet_metal",
2132 SecretarialSupportServices => "secretarial_support_services",
2133 SecurityBrokersDealers => "security_brokers_dealers",
2134 ServiceStations => "service_stations",
2135 SewingNeedleworkFabricAndPieceGoodsStores => {
2136 "sewing_needlework_fabric_and_piece_goods_stores"
2137 }
2138 ShoeRepairHatCleaning => "shoe_repair_hat_cleaning",
2139 ShoeStores => "shoe_stores",
2140 SmallApplianceRepair => "small_appliance_repair",
2141 SnowmobileDealers => "snowmobile_dealers",
2142 SpecialTradeServices => "special_trade_services",
2143 SpecialtyCleaning => "specialty_cleaning",
2144 SportingGoodsStores => "sporting_goods_stores",
2145 SportingRecreationCamps => "sporting_recreation_camps",
2146 SportsAndRidingApparelStores => "sports_and_riding_apparel_stores",
2147 SportsClubsFields => "sports_clubs_fields",
2148 StampAndCoinStores => "stamp_and_coin_stores",
2149 StationaryOfficeSuppliesPrintingAndWritingPaper => {
2150 "stationary_office_supplies_printing_and_writing_paper"
2151 }
2152 StationeryStoresOfficeAndSchoolSupplyStores => {
2153 "stationery_stores_office_and_school_supply_stores"
2154 }
2155 SwimmingPoolsSales => "swimming_pools_sales",
2156 TUiTravelGermany => "t_ui_travel_germany",
2157 TailorsAlterations => "tailors_alterations",
2158 TaxPaymentsGovernmentAgencies => "tax_payments_government_agencies",
2159 TaxPreparationServices => "tax_preparation_services",
2160 TaxicabsLimousines => "taxicabs_limousines",
2161 TelecommunicationEquipmentAndTelephoneSales => {
2162 "telecommunication_equipment_and_telephone_sales"
2163 }
2164 TelecommunicationServices => "telecommunication_services",
2165 TelegraphServices => "telegraph_services",
2166 TentAndAwningShops => "tent_and_awning_shops",
2167 TestingLaboratories => "testing_laboratories",
2168 TheatricalTicketAgencies => "theatrical_ticket_agencies",
2169 Timeshares => "timeshares",
2170 TireRetreadingAndRepair => "tire_retreading_and_repair",
2171 TollsBridgeFees => "tolls_bridge_fees",
2172 TouristAttractionsAndExhibits => "tourist_attractions_and_exhibits",
2173 TowingServices => "towing_services",
2174 TrailerParksCampgrounds => "trailer_parks_campgrounds",
2175 TransportationServices => "transportation_services",
2176 TravelAgenciesTourOperators => "travel_agencies_tour_operators",
2177 TruckStopIteration => "truck_stop_iteration",
2178 TruckUtilityTrailerRentals => "truck_utility_trailer_rentals",
2179 TypesettingPlateMakingAndRelatedServices => {
2180 "typesetting_plate_making_and_related_services"
2181 }
2182 TypewriterStores => "typewriter_stores",
2183 USFederalGovernmentAgenciesOrDepartments => {
2184 "u_s_federal_government_agencies_or_departments"
2185 }
2186 UniformsCommercialClothing => "uniforms_commercial_clothing",
2187 UsedMerchandiseAndSecondhandStores => "used_merchandise_and_secondhand_stores",
2188 Utilities => "utilities",
2189 VarietyStores => "variety_stores",
2190 VeterinaryServices => "veterinary_services",
2191 VideoAmusementGameSupplies => "video_amusement_game_supplies",
2192 VideoGameArcades => "video_game_arcades",
2193 VideoTapeRentalStores => "video_tape_rental_stores",
2194 VocationalTradeSchools => "vocational_trade_schools",
2195 WatchJewelryRepair => "watch_jewelry_repair",
2196 WeldingRepair => "welding_repair",
2197 WholesaleClubs => "wholesale_clubs",
2198 WigAndToupeeStores => "wig_and_toupee_stores",
2199 WiresMoneyOrders => "wires_money_orders",
2200 WomensAccessoryAndSpecialtyShops => "womens_accessory_and_specialty_shops",
2201 WomensReadyToWearStores => "womens_ready_to_wear_stores",
2202 WreckingAndSalvageYards => "wrecking_and_salvage_yards",
2203 Unknown(v) => v,
2204 }
2205 }
2206}
2207
2208impl std::str::FromStr for CreateIssuingCardholderSpendingControlsBlockedCategories {
2209 type Err = std::convert::Infallible;
2210 fn from_str(s: &str) -> Result<Self, Self::Err> {
2211 use CreateIssuingCardholderSpendingControlsBlockedCategories::*;
2212 match s {
2213 "ac_refrigeration_repair" => Ok(AcRefrigerationRepair),
2214 "accounting_bookkeeping_services" => Ok(AccountingBookkeepingServices),
2215 "advertising_services" => Ok(AdvertisingServices),
2216 "agricultural_cooperative" => Ok(AgriculturalCooperative),
2217 "airlines_air_carriers" => Ok(AirlinesAirCarriers),
2218 "airports_flying_fields" => Ok(AirportsFlyingFields),
2219 "ambulance_services" => Ok(AmbulanceServices),
2220 "amusement_parks_carnivals" => Ok(AmusementParksCarnivals),
2221 "antique_reproductions" => Ok(AntiqueReproductions),
2222 "antique_shops" => Ok(AntiqueShops),
2223 "aquariums" => Ok(Aquariums),
2224 "architectural_surveying_services" => Ok(ArchitecturalSurveyingServices),
2225 "art_dealers_and_galleries" => Ok(ArtDealersAndGalleries),
2226 "artists_supply_and_craft_shops" => Ok(ArtistsSupplyAndCraftShops),
2227 "auto_and_home_supply_stores" => Ok(AutoAndHomeSupplyStores),
2228 "auto_body_repair_shops" => Ok(AutoBodyRepairShops),
2229 "auto_paint_shops" => Ok(AutoPaintShops),
2230 "auto_service_shops" => Ok(AutoServiceShops),
2231 "automated_cash_disburse" => Ok(AutomatedCashDisburse),
2232 "automated_fuel_dispensers" => Ok(AutomatedFuelDispensers),
2233 "automobile_associations" => Ok(AutomobileAssociations),
2234 "automotive_parts_and_accessories_stores" => Ok(AutomotivePartsAndAccessoriesStores),
2235 "automotive_tire_stores" => Ok(AutomotiveTireStores),
2236 "bail_and_bond_payments" => Ok(BailAndBondPayments),
2237 "bakeries" => Ok(Bakeries),
2238 "bands_orchestras" => Ok(BandsOrchestras),
2239 "barber_and_beauty_shops" => Ok(BarberAndBeautyShops),
2240 "betting_casino_gambling" => Ok(BettingCasinoGambling),
2241 "bicycle_shops" => Ok(BicycleShops),
2242 "billiard_pool_establishments" => Ok(BilliardPoolEstablishments),
2243 "boat_dealers" => Ok(BoatDealers),
2244 "boat_rentals_and_leases" => Ok(BoatRentalsAndLeases),
2245 "book_stores" => Ok(BookStores),
2246 "books_periodicals_and_newspapers" => Ok(BooksPeriodicalsAndNewspapers),
2247 "bowling_alleys" => Ok(BowlingAlleys),
2248 "bus_lines" => Ok(BusLines),
2249 "business_secretarial_schools" => Ok(BusinessSecretarialSchools),
2250 "buying_shopping_services" => Ok(BuyingShoppingServices),
2251 "cable_satellite_and_other_pay_television_and_radio" => {
2252 Ok(CableSatelliteAndOtherPayTelevisionAndRadio)
2253 }
2254 "camera_and_photographic_supply_stores" => Ok(CameraAndPhotographicSupplyStores),
2255 "candy_nut_and_confectionery_stores" => Ok(CandyNutAndConfectioneryStores),
2256 "car_and_truck_dealers_new_used" => Ok(CarAndTruckDealersNewUsed),
2257 "car_and_truck_dealers_used_only" => Ok(CarAndTruckDealersUsedOnly),
2258 "car_rental_agencies" => Ok(CarRentalAgencies),
2259 "car_washes" => Ok(CarWashes),
2260 "carpentry_services" => Ok(CarpentryServices),
2261 "carpet_upholstery_cleaning" => Ok(CarpetUpholsteryCleaning),
2262 "caterers" => Ok(Caterers),
2263 "charitable_and_social_service_organizations_fundraising" => {
2264 Ok(CharitableAndSocialServiceOrganizationsFundraising)
2265 }
2266 "chemicals_and_allied_products" => Ok(ChemicalsAndAlliedProducts),
2267 "child_care_services" => Ok(ChildCareServices),
2268 "childrens_and_infants_wear_stores" => Ok(ChildrensAndInfantsWearStores),
2269 "chiropodists_podiatrists" => Ok(ChiropodistsPodiatrists),
2270 "chiropractors" => Ok(Chiropractors),
2271 "cigar_stores_and_stands" => Ok(CigarStoresAndStands),
2272 "civic_social_fraternal_associations" => Ok(CivicSocialFraternalAssociations),
2273 "cleaning_and_maintenance" => Ok(CleaningAndMaintenance),
2274 "clothing_rental" => Ok(ClothingRental),
2275 "colleges_universities" => Ok(CollegesUniversities),
2276 "commercial_equipment" => Ok(CommercialEquipment),
2277 "commercial_footwear" => Ok(CommercialFootwear),
2278 "commercial_photography_art_and_graphics" => Ok(CommercialPhotographyArtAndGraphics),
2279 "commuter_transport_and_ferries" => Ok(CommuterTransportAndFerries),
2280 "computer_network_services" => Ok(ComputerNetworkServices),
2281 "computer_programming" => Ok(ComputerProgramming),
2282 "computer_repair" => Ok(ComputerRepair),
2283 "computer_software_stores" => Ok(ComputerSoftwareStores),
2284 "computers_peripherals_and_software" => Ok(ComputersPeripheralsAndSoftware),
2285 "concrete_work_services" => Ok(ConcreteWorkServices),
2286 "construction_materials" => Ok(ConstructionMaterials),
2287 "consulting_public_relations" => Ok(ConsultingPublicRelations),
2288 "correspondence_schools" => Ok(CorrespondenceSchools),
2289 "cosmetic_stores" => Ok(CosmeticStores),
2290 "counseling_services" => Ok(CounselingServices),
2291 "country_clubs" => Ok(CountryClubs),
2292 "courier_services" => Ok(CourierServices),
2293 "court_costs" => Ok(CourtCosts),
2294 "credit_reporting_agencies" => Ok(CreditReportingAgencies),
2295 "cruise_lines" => Ok(CruiseLines),
2296 "dairy_products_stores" => Ok(DairyProductsStores),
2297 "dance_hall_studios_schools" => Ok(DanceHallStudiosSchools),
2298 "dating_escort_services" => Ok(DatingEscortServices),
2299 "dentists_orthodontists" => Ok(DentistsOrthodontists),
2300 "department_stores" => Ok(DepartmentStores),
2301 "detective_agencies" => Ok(DetectiveAgencies),
2302 "digital_goods_applications" => Ok(DigitalGoodsApplications),
2303 "digital_goods_games" => Ok(DigitalGoodsGames),
2304 "digital_goods_large_volume" => Ok(DigitalGoodsLargeVolume),
2305 "digital_goods_media" => Ok(DigitalGoodsMedia),
2306 "direct_marketing_catalog_merchant" => Ok(DirectMarketingCatalogMerchant),
2307 "direct_marketing_combination_catalog_and_retail_merchant" => {
2308 Ok(DirectMarketingCombinationCatalogAndRetailMerchant)
2309 }
2310 "direct_marketing_inbound_telemarketing" => Ok(DirectMarketingInboundTelemarketing),
2311 "direct_marketing_insurance_services" => Ok(DirectMarketingInsuranceServices),
2312 "direct_marketing_other" => Ok(DirectMarketingOther),
2313 "direct_marketing_outbound_telemarketing" => Ok(DirectMarketingOutboundTelemarketing),
2314 "direct_marketing_subscription" => Ok(DirectMarketingSubscription),
2315 "direct_marketing_travel" => Ok(DirectMarketingTravel),
2316 "discount_stores" => Ok(DiscountStores),
2317 "doctors" => Ok(Doctors),
2318 "door_to_door_sales" => Ok(DoorToDoorSales),
2319 "drapery_window_covering_and_upholstery_stores" => {
2320 Ok(DraperyWindowCoveringAndUpholsteryStores)
2321 }
2322 "drinking_places" => Ok(DrinkingPlaces),
2323 "drug_stores_and_pharmacies" => Ok(DrugStoresAndPharmacies),
2324 "drugs_drug_proprietaries_and_druggist_sundries" => {
2325 Ok(DrugsDrugProprietariesAndDruggistSundries)
2326 }
2327 "dry_cleaners" => Ok(DryCleaners),
2328 "durable_goods" => Ok(DurableGoods),
2329 "duty_free_stores" => Ok(DutyFreeStores),
2330 "eating_places_restaurants" => Ok(EatingPlacesRestaurants),
2331 "educational_services" => Ok(EducationalServices),
2332 "electric_razor_stores" => Ok(ElectricRazorStores),
2333 "electric_vehicle_charging" => Ok(ElectricVehicleCharging),
2334 "electrical_parts_and_equipment" => Ok(ElectricalPartsAndEquipment),
2335 "electrical_services" => Ok(ElectricalServices),
2336 "electronics_repair_shops" => Ok(ElectronicsRepairShops),
2337 "electronics_stores" => Ok(ElectronicsStores),
2338 "elementary_secondary_schools" => Ok(ElementarySecondarySchools),
2339 "emergency_services_gcas_visa_use_only" => Ok(EmergencyServicesGcasVisaUseOnly),
2340 "employment_temp_agencies" => Ok(EmploymentTempAgencies),
2341 "equipment_rental" => Ok(EquipmentRental),
2342 "exterminating_services" => Ok(ExterminatingServices),
2343 "family_clothing_stores" => Ok(FamilyClothingStores),
2344 "fast_food_restaurants" => Ok(FastFoodRestaurants),
2345 "financial_institutions" => Ok(FinancialInstitutions),
2346 "fines_government_administrative_entities" => Ok(FinesGovernmentAdministrativeEntities),
2347 "fireplace_fireplace_screens_and_accessories_stores" => {
2348 Ok(FireplaceFireplaceScreensAndAccessoriesStores)
2349 }
2350 "floor_covering_stores" => Ok(FloorCoveringStores),
2351 "florists" => Ok(Florists),
2352 "florists_supplies_nursery_stock_and_flowers" => {
2353 Ok(FloristsSuppliesNurseryStockAndFlowers)
2354 }
2355 "freezer_and_locker_meat_provisioners" => Ok(FreezerAndLockerMeatProvisioners),
2356 "fuel_dealers_non_automotive" => Ok(FuelDealersNonAutomotive),
2357 "funeral_services_crematories" => Ok(FuneralServicesCrematories),
2358 "furniture_home_furnishings_and_equipment_stores_except_appliances" => {
2359 Ok(FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances)
2360 }
2361 "furniture_repair_refinishing" => Ok(FurnitureRepairRefinishing),
2362 "furriers_and_fur_shops" => Ok(FurriersAndFurShops),
2363 "general_services" => Ok(GeneralServices),
2364 "gift_card_novelty_and_souvenir_shops" => Ok(GiftCardNoveltyAndSouvenirShops),
2365 "glass_paint_and_wallpaper_stores" => Ok(GlassPaintAndWallpaperStores),
2366 "glassware_crystal_stores" => Ok(GlasswareCrystalStores),
2367 "golf_courses_public" => Ok(GolfCoursesPublic),
2368 "government_licensed_horse_dog_racing_us_region_only" => {
2369 Ok(GovernmentLicensedHorseDogRacingUsRegionOnly)
2370 }
2371 "government_licensed_online_casions_online_gambling_us_region_only" => {
2372 Ok(GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly)
2373 }
2374 "government_owned_lotteries_non_us_region" => Ok(GovernmentOwnedLotteriesNonUsRegion),
2375 "government_owned_lotteries_us_region_only" => Ok(GovernmentOwnedLotteriesUsRegionOnly),
2376 "government_services" => Ok(GovernmentServices),
2377 "grocery_stores_supermarkets" => Ok(GroceryStoresSupermarkets),
2378 "hardware_equipment_and_supplies" => Ok(HardwareEquipmentAndSupplies),
2379 "hardware_stores" => Ok(HardwareStores),
2380 "health_and_beauty_spas" => Ok(HealthAndBeautySpas),
2381 "hearing_aids_sales_and_supplies" => Ok(HearingAidsSalesAndSupplies),
2382 "heating_plumbing_a_c" => Ok(HeatingPlumbingAC),
2383 "hobby_toy_and_game_shops" => Ok(HobbyToyAndGameShops),
2384 "home_supply_warehouse_stores" => Ok(HomeSupplyWarehouseStores),
2385 "hospitals" => Ok(Hospitals),
2386 "hotels_motels_and_resorts" => Ok(HotelsMotelsAndResorts),
2387 "household_appliance_stores" => Ok(HouseholdApplianceStores),
2388 "industrial_supplies" => Ok(IndustrialSupplies),
2389 "information_retrieval_services" => Ok(InformationRetrievalServices),
2390 "insurance_default" => Ok(InsuranceDefault),
2391 "insurance_underwriting_premiums" => Ok(InsuranceUnderwritingPremiums),
2392 "intra_company_purchases" => Ok(IntraCompanyPurchases),
2393 "jewelry_stores_watches_clocks_and_silverware_stores" => {
2394 Ok(JewelryStoresWatchesClocksAndSilverwareStores)
2395 }
2396 "landscaping_services" => Ok(LandscapingServices),
2397 "laundries" => Ok(Laundries),
2398 "laundry_cleaning_services" => Ok(LaundryCleaningServices),
2399 "legal_services_attorneys" => Ok(LegalServicesAttorneys),
2400 "luggage_and_leather_goods_stores" => Ok(LuggageAndLeatherGoodsStores),
2401 "lumber_building_materials_stores" => Ok(LumberBuildingMaterialsStores),
2402 "manual_cash_disburse" => Ok(ManualCashDisburse),
2403 "marinas_service_and_supplies" => Ok(MarinasServiceAndSupplies),
2404 "marketplaces" => Ok(Marketplaces),
2405 "masonry_stonework_and_plaster" => Ok(MasonryStoneworkAndPlaster),
2406 "massage_parlors" => Ok(MassageParlors),
2407 "medical_and_dental_labs" => Ok(MedicalAndDentalLabs),
2408 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies" => {
2409 Ok(MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies)
2410 }
2411 "medical_services" => Ok(MedicalServices),
2412 "membership_organizations" => Ok(MembershipOrganizations),
2413 "mens_and_boys_clothing_and_accessories_stores" => {
2414 Ok(MensAndBoysClothingAndAccessoriesStores)
2415 }
2416 "mens_womens_clothing_stores" => Ok(MensWomensClothingStores),
2417 "metal_service_centers" => Ok(MetalServiceCenters),
2418 "miscellaneous" => Ok(Miscellaneous),
2419 "miscellaneous_apparel_and_accessory_shops" => {
2420 Ok(MiscellaneousApparelAndAccessoryShops)
2421 }
2422 "miscellaneous_auto_dealers" => Ok(MiscellaneousAutoDealers),
2423 "miscellaneous_business_services" => Ok(MiscellaneousBusinessServices),
2424 "miscellaneous_food_stores" => Ok(MiscellaneousFoodStores),
2425 "miscellaneous_general_merchandise" => Ok(MiscellaneousGeneralMerchandise),
2426 "miscellaneous_general_services" => Ok(MiscellaneousGeneralServices),
2427 "miscellaneous_home_furnishing_specialty_stores" => {
2428 Ok(MiscellaneousHomeFurnishingSpecialtyStores)
2429 }
2430 "miscellaneous_publishing_and_printing" => Ok(MiscellaneousPublishingAndPrinting),
2431 "miscellaneous_recreation_services" => Ok(MiscellaneousRecreationServices),
2432 "miscellaneous_repair_shops" => Ok(MiscellaneousRepairShops),
2433 "miscellaneous_specialty_retail" => Ok(MiscellaneousSpecialtyRetail),
2434 "mobile_home_dealers" => Ok(MobileHomeDealers),
2435 "motion_picture_theaters" => Ok(MotionPictureTheaters),
2436 "motor_freight_carriers_and_trucking" => Ok(MotorFreightCarriersAndTrucking),
2437 "motor_homes_dealers" => Ok(MotorHomesDealers),
2438 "motor_vehicle_supplies_and_new_parts" => Ok(MotorVehicleSuppliesAndNewParts),
2439 "motorcycle_shops_and_dealers" => Ok(MotorcycleShopsAndDealers),
2440 "motorcycle_shops_dealers" => Ok(MotorcycleShopsDealers),
2441 "music_stores_musical_instruments_pianos_and_sheet_music" => {
2442 Ok(MusicStoresMusicalInstrumentsPianosAndSheetMusic)
2443 }
2444 "news_dealers_and_newsstands" => Ok(NewsDealersAndNewsstands),
2445 "non_fi_money_orders" => Ok(NonFiMoneyOrders),
2446 "non_fi_stored_value_card_purchase_load" => Ok(NonFiStoredValueCardPurchaseLoad),
2447 "nondurable_goods" => Ok(NondurableGoods),
2448 "nurseries_lawn_and_garden_supply_stores" => Ok(NurseriesLawnAndGardenSupplyStores),
2449 "nursing_personal_care" => Ok(NursingPersonalCare),
2450 "office_and_commercial_furniture" => Ok(OfficeAndCommercialFurniture),
2451 "opticians_eyeglasses" => Ok(OpticiansEyeglasses),
2452 "optometrists_ophthalmologist" => Ok(OptometristsOphthalmologist),
2453 "orthopedic_goods_prosthetic_devices" => Ok(OrthopedicGoodsProstheticDevices),
2454 "osteopaths" => Ok(Osteopaths),
2455 "package_stores_beer_wine_and_liquor" => Ok(PackageStoresBeerWineAndLiquor),
2456 "paints_varnishes_and_supplies" => Ok(PaintsVarnishesAndSupplies),
2457 "parking_lots_garages" => Ok(ParkingLotsGarages),
2458 "passenger_railways" => Ok(PassengerRailways),
2459 "pawn_shops" => Ok(PawnShops),
2460 "pet_shops_pet_food_and_supplies" => Ok(PetShopsPetFoodAndSupplies),
2461 "petroleum_and_petroleum_products" => Ok(PetroleumAndPetroleumProducts),
2462 "photo_developing" => Ok(PhotoDeveloping),
2463 "photographic_photocopy_microfilm_equipment_and_supplies" => {
2464 Ok(PhotographicPhotocopyMicrofilmEquipmentAndSupplies)
2465 }
2466 "photographic_studios" => Ok(PhotographicStudios),
2467 "picture_video_production" => Ok(PictureVideoProduction),
2468 "piece_goods_notions_and_other_dry_goods" => Ok(PieceGoodsNotionsAndOtherDryGoods),
2469 "plumbing_heating_equipment_and_supplies" => Ok(PlumbingHeatingEquipmentAndSupplies),
2470 "political_organizations" => Ok(PoliticalOrganizations),
2471 "postal_services_government_only" => Ok(PostalServicesGovernmentOnly),
2472 "precious_stones_and_metals_watches_and_jewelry" => {
2473 Ok(PreciousStonesAndMetalsWatchesAndJewelry)
2474 }
2475 "professional_services" => Ok(ProfessionalServices),
2476 "public_warehousing_and_storage" => Ok(PublicWarehousingAndStorage),
2477 "quick_copy_repro_and_blueprint" => Ok(QuickCopyReproAndBlueprint),
2478 "railroads" => Ok(Railroads),
2479 "real_estate_agents_and_managers_rentals" => Ok(RealEstateAgentsAndManagersRentals),
2480 "record_stores" => Ok(RecordStores),
2481 "recreational_vehicle_rentals" => Ok(RecreationalVehicleRentals),
2482 "religious_goods_stores" => Ok(ReligiousGoodsStores),
2483 "religious_organizations" => Ok(ReligiousOrganizations),
2484 "roofing_siding_sheet_metal" => Ok(RoofingSidingSheetMetal),
2485 "secretarial_support_services" => Ok(SecretarialSupportServices),
2486 "security_brokers_dealers" => Ok(SecurityBrokersDealers),
2487 "service_stations" => Ok(ServiceStations),
2488 "sewing_needlework_fabric_and_piece_goods_stores" => {
2489 Ok(SewingNeedleworkFabricAndPieceGoodsStores)
2490 }
2491 "shoe_repair_hat_cleaning" => Ok(ShoeRepairHatCleaning),
2492 "shoe_stores" => Ok(ShoeStores),
2493 "small_appliance_repair" => Ok(SmallApplianceRepair),
2494 "snowmobile_dealers" => Ok(SnowmobileDealers),
2495 "special_trade_services" => Ok(SpecialTradeServices),
2496 "specialty_cleaning" => Ok(SpecialtyCleaning),
2497 "sporting_goods_stores" => Ok(SportingGoodsStores),
2498 "sporting_recreation_camps" => Ok(SportingRecreationCamps),
2499 "sports_and_riding_apparel_stores" => Ok(SportsAndRidingApparelStores),
2500 "sports_clubs_fields" => Ok(SportsClubsFields),
2501 "stamp_and_coin_stores" => Ok(StampAndCoinStores),
2502 "stationary_office_supplies_printing_and_writing_paper" => {
2503 Ok(StationaryOfficeSuppliesPrintingAndWritingPaper)
2504 }
2505 "stationery_stores_office_and_school_supply_stores" => {
2506 Ok(StationeryStoresOfficeAndSchoolSupplyStores)
2507 }
2508 "swimming_pools_sales" => Ok(SwimmingPoolsSales),
2509 "t_ui_travel_germany" => Ok(TUiTravelGermany),
2510 "tailors_alterations" => Ok(TailorsAlterations),
2511 "tax_payments_government_agencies" => Ok(TaxPaymentsGovernmentAgencies),
2512 "tax_preparation_services" => Ok(TaxPreparationServices),
2513 "taxicabs_limousines" => Ok(TaxicabsLimousines),
2514 "telecommunication_equipment_and_telephone_sales" => {
2515 Ok(TelecommunicationEquipmentAndTelephoneSales)
2516 }
2517 "telecommunication_services" => Ok(TelecommunicationServices),
2518 "telegraph_services" => Ok(TelegraphServices),
2519 "tent_and_awning_shops" => Ok(TentAndAwningShops),
2520 "testing_laboratories" => Ok(TestingLaboratories),
2521 "theatrical_ticket_agencies" => Ok(TheatricalTicketAgencies),
2522 "timeshares" => Ok(Timeshares),
2523 "tire_retreading_and_repair" => Ok(TireRetreadingAndRepair),
2524 "tolls_bridge_fees" => Ok(TollsBridgeFees),
2525 "tourist_attractions_and_exhibits" => Ok(TouristAttractionsAndExhibits),
2526 "towing_services" => Ok(TowingServices),
2527 "trailer_parks_campgrounds" => Ok(TrailerParksCampgrounds),
2528 "transportation_services" => Ok(TransportationServices),
2529 "travel_agencies_tour_operators" => Ok(TravelAgenciesTourOperators),
2530 "truck_stop_iteration" => Ok(TruckStopIteration),
2531 "truck_utility_trailer_rentals" => Ok(TruckUtilityTrailerRentals),
2532 "typesetting_plate_making_and_related_services" => {
2533 Ok(TypesettingPlateMakingAndRelatedServices)
2534 }
2535 "typewriter_stores" => Ok(TypewriterStores),
2536 "u_s_federal_government_agencies_or_departments" => {
2537 Ok(USFederalGovernmentAgenciesOrDepartments)
2538 }
2539 "uniforms_commercial_clothing" => Ok(UniformsCommercialClothing),
2540 "used_merchandise_and_secondhand_stores" => Ok(UsedMerchandiseAndSecondhandStores),
2541 "utilities" => Ok(Utilities),
2542 "variety_stores" => Ok(VarietyStores),
2543 "veterinary_services" => Ok(VeterinaryServices),
2544 "video_amusement_game_supplies" => Ok(VideoAmusementGameSupplies),
2545 "video_game_arcades" => Ok(VideoGameArcades),
2546 "video_tape_rental_stores" => Ok(VideoTapeRentalStores),
2547 "vocational_trade_schools" => Ok(VocationalTradeSchools),
2548 "watch_jewelry_repair" => Ok(WatchJewelryRepair),
2549 "welding_repair" => Ok(WeldingRepair),
2550 "wholesale_clubs" => Ok(WholesaleClubs),
2551 "wig_and_toupee_stores" => Ok(WigAndToupeeStores),
2552 "wires_money_orders" => Ok(WiresMoneyOrders),
2553 "womens_accessory_and_specialty_shops" => Ok(WomensAccessoryAndSpecialtyShops),
2554 "womens_ready_to_wear_stores" => Ok(WomensReadyToWearStores),
2555 "wrecking_and_salvage_yards" => Ok(WreckingAndSalvageYards),
2556 v => {
2557 tracing::warn!(
2558 "Unknown value '{}' for enum '{}'",
2559 v,
2560 "CreateIssuingCardholderSpendingControlsBlockedCategories"
2561 );
2562 Ok(Unknown(v.to_owned()))
2563 }
2564 }
2565 }
2566}
2567impl std::fmt::Display for CreateIssuingCardholderSpendingControlsBlockedCategories {
2568 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
2569 f.write_str(self.as_str())
2570 }
2571}
2572
2573#[cfg(not(feature = "redact-generated-debug"))]
2574impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsBlockedCategories {
2575 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
2576 f.write_str(self.as_str())
2577 }
2578}
2579#[cfg(feature = "redact-generated-debug")]
2580impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsBlockedCategories {
2581 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
2582 f.debug_struct(stringify!(CreateIssuingCardholderSpendingControlsBlockedCategories))
2583 .finish_non_exhaustive()
2584 }
2585}
2586impl serde::Serialize for CreateIssuingCardholderSpendingControlsBlockedCategories {
2587 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
2588 where
2589 S: serde::Serializer,
2590 {
2591 serializer.serialize_str(self.as_str())
2592 }
2593}
2594#[cfg(feature = "deserialize")]
2595impl<'de> serde::Deserialize<'de> for CreateIssuingCardholderSpendingControlsBlockedCategories {
2596 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
2597 use std::str::FromStr;
2598 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
2599 Ok(Self::from_str(&s).expect("infallible"))
2600 }
2601}
2602#[derive(Clone, Eq, PartialEq)]
2604#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
2605#[derive(serde::Serialize)]
2606pub struct CreateIssuingCardholderSpendingControlsSpendingLimits {
2607 pub amount: i64,
2609 #[serde(skip_serializing_if = "Option::is_none")]
2612 pub categories: Option<Vec<CreateIssuingCardholderSpendingControlsSpendingLimitsCategories>>,
2613 pub interval: CreateIssuingCardholderSpendingControlsSpendingLimitsInterval,
2615}
2616#[cfg(feature = "redact-generated-debug")]
2617impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsSpendingLimits {
2618 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
2619 f.debug_struct("CreateIssuingCardholderSpendingControlsSpendingLimits")
2620 .finish_non_exhaustive()
2621 }
2622}
2623impl CreateIssuingCardholderSpendingControlsSpendingLimits {
2624 pub fn new(
2625 amount: impl Into<i64>,
2626 interval: impl Into<CreateIssuingCardholderSpendingControlsSpendingLimitsInterval>,
2627 ) -> Self {
2628 Self { amount: amount.into(), categories: None, interval: interval.into() }
2629 }
2630}
2631#[derive(Clone, Eq, PartialEq)]
2634#[non_exhaustive]
2635pub enum CreateIssuingCardholderSpendingControlsSpendingLimitsCategories {
2636 AcRefrigerationRepair,
2637 AccountingBookkeepingServices,
2638 AdvertisingServices,
2639 AgriculturalCooperative,
2640 AirlinesAirCarriers,
2641 AirportsFlyingFields,
2642 AmbulanceServices,
2643 AmusementParksCarnivals,
2644 AntiqueReproductions,
2645 AntiqueShops,
2646 Aquariums,
2647 ArchitecturalSurveyingServices,
2648 ArtDealersAndGalleries,
2649 ArtistsSupplyAndCraftShops,
2650 AutoAndHomeSupplyStores,
2651 AutoBodyRepairShops,
2652 AutoPaintShops,
2653 AutoServiceShops,
2654 AutomatedCashDisburse,
2655 AutomatedFuelDispensers,
2656 AutomobileAssociations,
2657 AutomotivePartsAndAccessoriesStores,
2658 AutomotiveTireStores,
2659 BailAndBondPayments,
2660 Bakeries,
2661 BandsOrchestras,
2662 BarberAndBeautyShops,
2663 BettingCasinoGambling,
2664 BicycleShops,
2665 BilliardPoolEstablishments,
2666 BoatDealers,
2667 BoatRentalsAndLeases,
2668 BookStores,
2669 BooksPeriodicalsAndNewspapers,
2670 BowlingAlleys,
2671 BusLines,
2672 BusinessSecretarialSchools,
2673 BuyingShoppingServices,
2674 CableSatelliteAndOtherPayTelevisionAndRadio,
2675 CameraAndPhotographicSupplyStores,
2676 CandyNutAndConfectioneryStores,
2677 CarAndTruckDealersNewUsed,
2678 CarAndTruckDealersUsedOnly,
2679 CarRentalAgencies,
2680 CarWashes,
2681 CarpentryServices,
2682 CarpetUpholsteryCleaning,
2683 Caterers,
2684 CharitableAndSocialServiceOrganizationsFundraising,
2685 ChemicalsAndAlliedProducts,
2686 ChildCareServices,
2687 ChildrensAndInfantsWearStores,
2688 ChiropodistsPodiatrists,
2689 Chiropractors,
2690 CigarStoresAndStands,
2691 CivicSocialFraternalAssociations,
2692 CleaningAndMaintenance,
2693 ClothingRental,
2694 CollegesUniversities,
2695 CommercialEquipment,
2696 CommercialFootwear,
2697 CommercialPhotographyArtAndGraphics,
2698 CommuterTransportAndFerries,
2699 ComputerNetworkServices,
2700 ComputerProgramming,
2701 ComputerRepair,
2702 ComputerSoftwareStores,
2703 ComputersPeripheralsAndSoftware,
2704 ConcreteWorkServices,
2705 ConstructionMaterials,
2706 ConsultingPublicRelations,
2707 CorrespondenceSchools,
2708 CosmeticStores,
2709 CounselingServices,
2710 CountryClubs,
2711 CourierServices,
2712 CourtCosts,
2713 CreditReportingAgencies,
2714 CruiseLines,
2715 DairyProductsStores,
2716 DanceHallStudiosSchools,
2717 DatingEscortServices,
2718 DentistsOrthodontists,
2719 DepartmentStores,
2720 DetectiveAgencies,
2721 DigitalGoodsApplications,
2722 DigitalGoodsGames,
2723 DigitalGoodsLargeVolume,
2724 DigitalGoodsMedia,
2725 DirectMarketingCatalogMerchant,
2726 DirectMarketingCombinationCatalogAndRetailMerchant,
2727 DirectMarketingInboundTelemarketing,
2728 DirectMarketingInsuranceServices,
2729 DirectMarketingOther,
2730 DirectMarketingOutboundTelemarketing,
2731 DirectMarketingSubscription,
2732 DirectMarketingTravel,
2733 DiscountStores,
2734 Doctors,
2735 DoorToDoorSales,
2736 DraperyWindowCoveringAndUpholsteryStores,
2737 DrinkingPlaces,
2738 DrugStoresAndPharmacies,
2739 DrugsDrugProprietariesAndDruggistSundries,
2740 DryCleaners,
2741 DurableGoods,
2742 DutyFreeStores,
2743 EatingPlacesRestaurants,
2744 EducationalServices,
2745 ElectricRazorStores,
2746 ElectricVehicleCharging,
2747 ElectricalPartsAndEquipment,
2748 ElectricalServices,
2749 ElectronicsRepairShops,
2750 ElectronicsStores,
2751 ElementarySecondarySchools,
2752 EmergencyServicesGcasVisaUseOnly,
2753 EmploymentTempAgencies,
2754 EquipmentRental,
2755 ExterminatingServices,
2756 FamilyClothingStores,
2757 FastFoodRestaurants,
2758 FinancialInstitutions,
2759 FinesGovernmentAdministrativeEntities,
2760 FireplaceFireplaceScreensAndAccessoriesStores,
2761 FloorCoveringStores,
2762 Florists,
2763 FloristsSuppliesNurseryStockAndFlowers,
2764 FreezerAndLockerMeatProvisioners,
2765 FuelDealersNonAutomotive,
2766 FuneralServicesCrematories,
2767 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances,
2768 FurnitureRepairRefinishing,
2769 FurriersAndFurShops,
2770 GeneralServices,
2771 GiftCardNoveltyAndSouvenirShops,
2772 GlassPaintAndWallpaperStores,
2773 GlasswareCrystalStores,
2774 GolfCoursesPublic,
2775 GovernmentLicensedHorseDogRacingUsRegionOnly,
2776 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly,
2777 GovernmentOwnedLotteriesNonUsRegion,
2778 GovernmentOwnedLotteriesUsRegionOnly,
2779 GovernmentServices,
2780 GroceryStoresSupermarkets,
2781 HardwareEquipmentAndSupplies,
2782 HardwareStores,
2783 HealthAndBeautySpas,
2784 HearingAidsSalesAndSupplies,
2785 HeatingPlumbingAC,
2786 HobbyToyAndGameShops,
2787 HomeSupplyWarehouseStores,
2788 Hospitals,
2789 HotelsMotelsAndResorts,
2790 HouseholdApplianceStores,
2791 IndustrialSupplies,
2792 InformationRetrievalServices,
2793 InsuranceDefault,
2794 InsuranceUnderwritingPremiums,
2795 IntraCompanyPurchases,
2796 JewelryStoresWatchesClocksAndSilverwareStores,
2797 LandscapingServices,
2798 Laundries,
2799 LaundryCleaningServices,
2800 LegalServicesAttorneys,
2801 LuggageAndLeatherGoodsStores,
2802 LumberBuildingMaterialsStores,
2803 ManualCashDisburse,
2804 MarinasServiceAndSupplies,
2805 Marketplaces,
2806 MasonryStoneworkAndPlaster,
2807 MassageParlors,
2808 MedicalAndDentalLabs,
2809 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies,
2810 MedicalServices,
2811 MembershipOrganizations,
2812 MensAndBoysClothingAndAccessoriesStores,
2813 MensWomensClothingStores,
2814 MetalServiceCenters,
2815 Miscellaneous,
2816 MiscellaneousApparelAndAccessoryShops,
2817 MiscellaneousAutoDealers,
2818 MiscellaneousBusinessServices,
2819 MiscellaneousFoodStores,
2820 MiscellaneousGeneralMerchandise,
2821 MiscellaneousGeneralServices,
2822 MiscellaneousHomeFurnishingSpecialtyStores,
2823 MiscellaneousPublishingAndPrinting,
2824 MiscellaneousRecreationServices,
2825 MiscellaneousRepairShops,
2826 MiscellaneousSpecialtyRetail,
2827 MobileHomeDealers,
2828 MotionPictureTheaters,
2829 MotorFreightCarriersAndTrucking,
2830 MotorHomesDealers,
2831 MotorVehicleSuppliesAndNewParts,
2832 MotorcycleShopsAndDealers,
2833 MotorcycleShopsDealers,
2834 MusicStoresMusicalInstrumentsPianosAndSheetMusic,
2835 NewsDealersAndNewsstands,
2836 NonFiMoneyOrders,
2837 NonFiStoredValueCardPurchaseLoad,
2838 NondurableGoods,
2839 NurseriesLawnAndGardenSupplyStores,
2840 NursingPersonalCare,
2841 OfficeAndCommercialFurniture,
2842 OpticiansEyeglasses,
2843 OptometristsOphthalmologist,
2844 OrthopedicGoodsProstheticDevices,
2845 Osteopaths,
2846 PackageStoresBeerWineAndLiquor,
2847 PaintsVarnishesAndSupplies,
2848 ParkingLotsGarages,
2849 PassengerRailways,
2850 PawnShops,
2851 PetShopsPetFoodAndSupplies,
2852 PetroleumAndPetroleumProducts,
2853 PhotoDeveloping,
2854 PhotographicPhotocopyMicrofilmEquipmentAndSupplies,
2855 PhotographicStudios,
2856 PictureVideoProduction,
2857 PieceGoodsNotionsAndOtherDryGoods,
2858 PlumbingHeatingEquipmentAndSupplies,
2859 PoliticalOrganizations,
2860 PostalServicesGovernmentOnly,
2861 PreciousStonesAndMetalsWatchesAndJewelry,
2862 ProfessionalServices,
2863 PublicWarehousingAndStorage,
2864 QuickCopyReproAndBlueprint,
2865 Railroads,
2866 RealEstateAgentsAndManagersRentals,
2867 RecordStores,
2868 RecreationalVehicleRentals,
2869 ReligiousGoodsStores,
2870 ReligiousOrganizations,
2871 RoofingSidingSheetMetal,
2872 SecretarialSupportServices,
2873 SecurityBrokersDealers,
2874 ServiceStations,
2875 SewingNeedleworkFabricAndPieceGoodsStores,
2876 ShoeRepairHatCleaning,
2877 ShoeStores,
2878 SmallApplianceRepair,
2879 SnowmobileDealers,
2880 SpecialTradeServices,
2881 SpecialtyCleaning,
2882 SportingGoodsStores,
2883 SportingRecreationCamps,
2884 SportsAndRidingApparelStores,
2885 SportsClubsFields,
2886 StampAndCoinStores,
2887 StationaryOfficeSuppliesPrintingAndWritingPaper,
2888 StationeryStoresOfficeAndSchoolSupplyStores,
2889 SwimmingPoolsSales,
2890 TUiTravelGermany,
2891 TailorsAlterations,
2892 TaxPaymentsGovernmentAgencies,
2893 TaxPreparationServices,
2894 TaxicabsLimousines,
2895 TelecommunicationEquipmentAndTelephoneSales,
2896 TelecommunicationServices,
2897 TelegraphServices,
2898 TentAndAwningShops,
2899 TestingLaboratories,
2900 TheatricalTicketAgencies,
2901 Timeshares,
2902 TireRetreadingAndRepair,
2903 TollsBridgeFees,
2904 TouristAttractionsAndExhibits,
2905 TowingServices,
2906 TrailerParksCampgrounds,
2907 TransportationServices,
2908 TravelAgenciesTourOperators,
2909 TruckStopIteration,
2910 TruckUtilityTrailerRentals,
2911 TypesettingPlateMakingAndRelatedServices,
2912 TypewriterStores,
2913 USFederalGovernmentAgenciesOrDepartments,
2914 UniformsCommercialClothing,
2915 UsedMerchandiseAndSecondhandStores,
2916 Utilities,
2917 VarietyStores,
2918 VeterinaryServices,
2919 VideoAmusementGameSupplies,
2920 VideoGameArcades,
2921 VideoTapeRentalStores,
2922 VocationalTradeSchools,
2923 WatchJewelryRepair,
2924 WeldingRepair,
2925 WholesaleClubs,
2926 WigAndToupeeStores,
2927 WiresMoneyOrders,
2928 WomensAccessoryAndSpecialtyShops,
2929 WomensReadyToWearStores,
2930 WreckingAndSalvageYards,
2931 Unknown(String),
2933}
2934impl CreateIssuingCardholderSpendingControlsSpendingLimitsCategories {
2935 pub fn as_str(&self) -> &str {
2936 use CreateIssuingCardholderSpendingControlsSpendingLimitsCategories::*;
2937 match self {
2938 AcRefrigerationRepair => "ac_refrigeration_repair",
2939 AccountingBookkeepingServices => "accounting_bookkeeping_services",
2940 AdvertisingServices => "advertising_services",
2941 AgriculturalCooperative => "agricultural_cooperative",
2942 AirlinesAirCarriers => "airlines_air_carriers",
2943 AirportsFlyingFields => "airports_flying_fields",
2944 AmbulanceServices => "ambulance_services",
2945 AmusementParksCarnivals => "amusement_parks_carnivals",
2946 AntiqueReproductions => "antique_reproductions",
2947 AntiqueShops => "antique_shops",
2948 Aquariums => "aquariums",
2949 ArchitecturalSurveyingServices => "architectural_surveying_services",
2950 ArtDealersAndGalleries => "art_dealers_and_galleries",
2951 ArtistsSupplyAndCraftShops => "artists_supply_and_craft_shops",
2952 AutoAndHomeSupplyStores => "auto_and_home_supply_stores",
2953 AutoBodyRepairShops => "auto_body_repair_shops",
2954 AutoPaintShops => "auto_paint_shops",
2955 AutoServiceShops => "auto_service_shops",
2956 AutomatedCashDisburse => "automated_cash_disburse",
2957 AutomatedFuelDispensers => "automated_fuel_dispensers",
2958 AutomobileAssociations => "automobile_associations",
2959 AutomotivePartsAndAccessoriesStores => "automotive_parts_and_accessories_stores",
2960 AutomotiveTireStores => "automotive_tire_stores",
2961 BailAndBondPayments => "bail_and_bond_payments",
2962 Bakeries => "bakeries",
2963 BandsOrchestras => "bands_orchestras",
2964 BarberAndBeautyShops => "barber_and_beauty_shops",
2965 BettingCasinoGambling => "betting_casino_gambling",
2966 BicycleShops => "bicycle_shops",
2967 BilliardPoolEstablishments => "billiard_pool_establishments",
2968 BoatDealers => "boat_dealers",
2969 BoatRentalsAndLeases => "boat_rentals_and_leases",
2970 BookStores => "book_stores",
2971 BooksPeriodicalsAndNewspapers => "books_periodicals_and_newspapers",
2972 BowlingAlleys => "bowling_alleys",
2973 BusLines => "bus_lines",
2974 BusinessSecretarialSchools => "business_secretarial_schools",
2975 BuyingShoppingServices => "buying_shopping_services",
2976 CableSatelliteAndOtherPayTelevisionAndRadio => {
2977 "cable_satellite_and_other_pay_television_and_radio"
2978 }
2979 CameraAndPhotographicSupplyStores => "camera_and_photographic_supply_stores",
2980 CandyNutAndConfectioneryStores => "candy_nut_and_confectionery_stores",
2981 CarAndTruckDealersNewUsed => "car_and_truck_dealers_new_used",
2982 CarAndTruckDealersUsedOnly => "car_and_truck_dealers_used_only",
2983 CarRentalAgencies => "car_rental_agencies",
2984 CarWashes => "car_washes",
2985 CarpentryServices => "carpentry_services",
2986 CarpetUpholsteryCleaning => "carpet_upholstery_cleaning",
2987 Caterers => "caterers",
2988 CharitableAndSocialServiceOrganizationsFundraising => {
2989 "charitable_and_social_service_organizations_fundraising"
2990 }
2991 ChemicalsAndAlliedProducts => "chemicals_and_allied_products",
2992 ChildCareServices => "child_care_services",
2993 ChildrensAndInfantsWearStores => "childrens_and_infants_wear_stores",
2994 ChiropodistsPodiatrists => "chiropodists_podiatrists",
2995 Chiropractors => "chiropractors",
2996 CigarStoresAndStands => "cigar_stores_and_stands",
2997 CivicSocialFraternalAssociations => "civic_social_fraternal_associations",
2998 CleaningAndMaintenance => "cleaning_and_maintenance",
2999 ClothingRental => "clothing_rental",
3000 CollegesUniversities => "colleges_universities",
3001 CommercialEquipment => "commercial_equipment",
3002 CommercialFootwear => "commercial_footwear",
3003 CommercialPhotographyArtAndGraphics => "commercial_photography_art_and_graphics",
3004 CommuterTransportAndFerries => "commuter_transport_and_ferries",
3005 ComputerNetworkServices => "computer_network_services",
3006 ComputerProgramming => "computer_programming",
3007 ComputerRepair => "computer_repair",
3008 ComputerSoftwareStores => "computer_software_stores",
3009 ComputersPeripheralsAndSoftware => "computers_peripherals_and_software",
3010 ConcreteWorkServices => "concrete_work_services",
3011 ConstructionMaterials => "construction_materials",
3012 ConsultingPublicRelations => "consulting_public_relations",
3013 CorrespondenceSchools => "correspondence_schools",
3014 CosmeticStores => "cosmetic_stores",
3015 CounselingServices => "counseling_services",
3016 CountryClubs => "country_clubs",
3017 CourierServices => "courier_services",
3018 CourtCosts => "court_costs",
3019 CreditReportingAgencies => "credit_reporting_agencies",
3020 CruiseLines => "cruise_lines",
3021 DairyProductsStores => "dairy_products_stores",
3022 DanceHallStudiosSchools => "dance_hall_studios_schools",
3023 DatingEscortServices => "dating_escort_services",
3024 DentistsOrthodontists => "dentists_orthodontists",
3025 DepartmentStores => "department_stores",
3026 DetectiveAgencies => "detective_agencies",
3027 DigitalGoodsApplications => "digital_goods_applications",
3028 DigitalGoodsGames => "digital_goods_games",
3029 DigitalGoodsLargeVolume => "digital_goods_large_volume",
3030 DigitalGoodsMedia => "digital_goods_media",
3031 DirectMarketingCatalogMerchant => "direct_marketing_catalog_merchant",
3032 DirectMarketingCombinationCatalogAndRetailMerchant => {
3033 "direct_marketing_combination_catalog_and_retail_merchant"
3034 }
3035 DirectMarketingInboundTelemarketing => "direct_marketing_inbound_telemarketing",
3036 DirectMarketingInsuranceServices => "direct_marketing_insurance_services",
3037 DirectMarketingOther => "direct_marketing_other",
3038 DirectMarketingOutboundTelemarketing => "direct_marketing_outbound_telemarketing",
3039 DirectMarketingSubscription => "direct_marketing_subscription",
3040 DirectMarketingTravel => "direct_marketing_travel",
3041 DiscountStores => "discount_stores",
3042 Doctors => "doctors",
3043 DoorToDoorSales => "door_to_door_sales",
3044 DraperyWindowCoveringAndUpholsteryStores => {
3045 "drapery_window_covering_and_upholstery_stores"
3046 }
3047 DrinkingPlaces => "drinking_places",
3048 DrugStoresAndPharmacies => "drug_stores_and_pharmacies",
3049 DrugsDrugProprietariesAndDruggistSundries => {
3050 "drugs_drug_proprietaries_and_druggist_sundries"
3051 }
3052 DryCleaners => "dry_cleaners",
3053 DurableGoods => "durable_goods",
3054 DutyFreeStores => "duty_free_stores",
3055 EatingPlacesRestaurants => "eating_places_restaurants",
3056 EducationalServices => "educational_services",
3057 ElectricRazorStores => "electric_razor_stores",
3058 ElectricVehicleCharging => "electric_vehicle_charging",
3059 ElectricalPartsAndEquipment => "electrical_parts_and_equipment",
3060 ElectricalServices => "electrical_services",
3061 ElectronicsRepairShops => "electronics_repair_shops",
3062 ElectronicsStores => "electronics_stores",
3063 ElementarySecondarySchools => "elementary_secondary_schools",
3064 EmergencyServicesGcasVisaUseOnly => "emergency_services_gcas_visa_use_only",
3065 EmploymentTempAgencies => "employment_temp_agencies",
3066 EquipmentRental => "equipment_rental",
3067 ExterminatingServices => "exterminating_services",
3068 FamilyClothingStores => "family_clothing_stores",
3069 FastFoodRestaurants => "fast_food_restaurants",
3070 FinancialInstitutions => "financial_institutions",
3071 FinesGovernmentAdministrativeEntities => "fines_government_administrative_entities",
3072 FireplaceFireplaceScreensAndAccessoriesStores => {
3073 "fireplace_fireplace_screens_and_accessories_stores"
3074 }
3075 FloorCoveringStores => "floor_covering_stores",
3076 Florists => "florists",
3077 FloristsSuppliesNurseryStockAndFlowers => "florists_supplies_nursery_stock_and_flowers",
3078 FreezerAndLockerMeatProvisioners => "freezer_and_locker_meat_provisioners",
3079 FuelDealersNonAutomotive => "fuel_dealers_non_automotive",
3080 FuneralServicesCrematories => "funeral_services_crematories",
3081 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances => {
3082 "furniture_home_furnishings_and_equipment_stores_except_appliances"
3083 }
3084 FurnitureRepairRefinishing => "furniture_repair_refinishing",
3085 FurriersAndFurShops => "furriers_and_fur_shops",
3086 GeneralServices => "general_services",
3087 GiftCardNoveltyAndSouvenirShops => "gift_card_novelty_and_souvenir_shops",
3088 GlassPaintAndWallpaperStores => "glass_paint_and_wallpaper_stores",
3089 GlasswareCrystalStores => "glassware_crystal_stores",
3090 GolfCoursesPublic => "golf_courses_public",
3091 GovernmentLicensedHorseDogRacingUsRegionOnly => {
3092 "government_licensed_horse_dog_racing_us_region_only"
3093 }
3094 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly => {
3095 "government_licensed_online_casions_online_gambling_us_region_only"
3096 }
3097 GovernmentOwnedLotteriesNonUsRegion => "government_owned_lotteries_non_us_region",
3098 GovernmentOwnedLotteriesUsRegionOnly => "government_owned_lotteries_us_region_only",
3099 GovernmentServices => "government_services",
3100 GroceryStoresSupermarkets => "grocery_stores_supermarkets",
3101 HardwareEquipmentAndSupplies => "hardware_equipment_and_supplies",
3102 HardwareStores => "hardware_stores",
3103 HealthAndBeautySpas => "health_and_beauty_spas",
3104 HearingAidsSalesAndSupplies => "hearing_aids_sales_and_supplies",
3105 HeatingPlumbingAC => "heating_plumbing_a_c",
3106 HobbyToyAndGameShops => "hobby_toy_and_game_shops",
3107 HomeSupplyWarehouseStores => "home_supply_warehouse_stores",
3108 Hospitals => "hospitals",
3109 HotelsMotelsAndResorts => "hotels_motels_and_resorts",
3110 HouseholdApplianceStores => "household_appliance_stores",
3111 IndustrialSupplies => "industrial_supplies",
3112 InformationRetrievalServices => "information_retrieval_services",
3113 InsuranceDefault => "insurance_default",
3114 InsuranceUnderwritingPremiums => "insurance_underwriting_premiums",
3115 IntraCompanyPurchases => "intra_company_purchases",
3116 JewelryStoresWatchesClocksAndSilverwareStores => {
3117 "jewelry_stores_watches_clocks_and_silverware_stores"
3118 }
3119 LandscapingServices => "landscaping_services",
3120 Laundries => "laundries",
3121 LaundryCleaningServices => "laundry_cleaning_services",
3122 LegalServicesAttorneys => "legal_services_attorneys",
3123 LuggageAndLeatherGoodsStores => "luggage_and_leather_goods_stores",
3124 LumberBuildingMaterialsStores => "lumber_building_materials_stores",
3125 ManualCashDisburse => "manual_cash_disburse",
3126 MarinasServiceAndSupplies => "marinas_service_and_supplies",
3127 Marketplaces => "marketplaces",
3128 MasonryStoneworkAndPlaster => "masonry_stonework_and_plaster",
3129 MassageParlors => "massage_parlors",
3130 MedicalAndDentalLabs => "medical_and_dental_labs",
3131 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies => {
3132 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
3133 }
3134 MedicalServices => "medical_services",
3135 MembershipOrganizations => "membership_organizations",
3136 MensAndBoysClothingAndAccessoriesStores => {
3137 "mens_and_boys_clothing_and_accessories_stores"
3138 }
3139 MensWomensClothingStores => "mens_womens_clothing_stores",
3140 MetalServiceCenters => "metal_service_centers",
3141 Miscellaneous => "miscellaneous",
3142 MiscellaneousApparelAndAccessoryShops => "miscellaneous_apparel_and_accessory_shops",
3143 MiscellaneousAutoDealers => "miscellaneous_auto_dealers",
3144 MiscellaneousBusinessServices => "miscellaneous_business_services",
3145 MiscellaneousFoodStores => "miscellaneous_food_stores",
3146 MiscellaneousGeneralMerchandise => "miscellaneous_general_merchandise",
3147 MiscellaneousGeneralServices => "miscellaneous_general_services",
3148 MiscellaneousHomeFurnishingSpecialtyStores => {
3149 "miscellaneous_home_furnishing_specialty_stores"
3150 }
3151 MiscellaneousPublishingAndPrinting => "miscellaneous_publishing_and_printing",
3152 MiscellaneousRecreationServices => "miscellaneous_recreation_services",
3153 MiscellaneousRepairShops => "miscellaneous_repair_shops",
3154 MiscellaneousSpecialtyRetail => "miscellaneous_specialty_retail",
3155 MobileHomeDealers => "mobile_home_dealers",
3156 MotionPictureTheaters => "motion_picture_theaters",
3157 MotorFreightCarriersAndTrucking => "motor_freight_carriers_and_trucking",
3158 MotorHomesDealers => "motor_homes_dealers",
3159 MotorVehicleSuppliesAndNewParts => "motor_vehicle_supplies_and_new_parts",
3160 MotorcycleShopsAndDealers => "motorcycle_shops_and_dealers",
3161 MotorcycleShopsDealers => "motorcycle_shops_dealers",
3162 MusicStoresMusicalInstrumentsPianosAndSheetMusic => {
3163 "music_stores_musical_instruments_pianos_and_sheet_music"
3164 }
3165 NewsDealersAndNewsstands => "news_dealers_and_newsstands",
3166 NonFiMoneyOrders => "non_fi_money_orders",
3167 NonFiStoredValueCardPurchaseLoad => "non_fi_stored_value_card_purchase_load",
3168 NondurableGoods => "nondurable_goods",
3169 NurseriesLawnAndGardenSupplyStores => "nurseries_lawn_and_garden_supply_stores",
3170 NursingPersonalCare => "nursing_personal_care",
3171 OfficeAndCommercialFurniture => "office_and_commercial_furniture",
3172 OpticiansEyeglasses => "opticians_eyeglasses",
3173 OptometristsOphthalmologist => "optometrists_ophthalmologist",
3174 OrthopedicGoodsProstheticDevices => "orthopedic_goods_prosthetic_devices",
3175 Osteopaths => "osteopaths",
3176 PackageStoresBeerWineAndLiquor => "package_stores_beer_wine_and_liquor",
3177 PaintsVarnishesAndSupplies => "paints_varnishes_and_supplies",
3178 ParkingLotsGarages => "parking_lots_garages",
3179 PassengerRailways => "passenger_railways",
3180 PawnShops => "pawn_shops",
3181 PetShopsPetFoodAndSupplies => "pet_shops_pet_food_and_supplies",
3182 PetroleumAndPetroleumProducts => "petroleum_and_petroleum_products",
3183 PhotoDeveloping => "photo_developing",
3184 PhotographicPhotocopyMicrofilmEquipmentAndSupplies => {
3185 "photographic_photocopy_microfilm_equipment_and_supplies"
3186 }
3187 PhotographicStudios => "photographic_studios",
3188 PictureVideoProduction => "picture_video_production",
3189 PieceGoodsNotionsAndOtherDryGoods => "piece_goods_notions_and_other_dry_goods",
3190 PlumbingHeatingEquipmentAndSupplies => "plumbing_heating_equipment_and_supplies",
3191 PoliticalOrganizations => "political_organizations",
3192 PostalServicesGovernmentOnly => "postal_services_government_only",
3193 PreciousStonesAndMetalsWatchesAndJewelry => {
3194 "precious_stones_and_metals_watches_and_jewelry"
3195 }
3196 ProfessionalServices => "professional_services",
3197 PublicWarehousingAndStorage => "public_warehousing_and_storage",
3198 QuickCopyReproAndBlueprint => "quick_copy_repro_and_blueprint",
3199 Railroads => "railroads",
3200 RealEstateAgentsAndManagersRentals => "real_estate_agents_and_managers_rentals",
3201 RecordStores => "record_stores",
3202 RecreationalVehicleRentals => "recreational_vehicle_rentals",
3203 ReligiousGoodsStores => "religious_goods_stores",
3204 ReligiousOrganizations => "religious_organizations",
3205 RoofingSidingSheetMetal => "roofing_siding_sheet_metal",
3206 SecretarialSupportServices => "secretarial_support_services",
3207 SecurityBrokersDealers => "security_brokers_dealers",
3208 ServiceStations => "service_stations",
3209 SewingNeedleworkFabricAndPieceGoodsStores => {
3210 "sewing_needlework_fabric_and_piece_goods_stores"
3211 }
3212 ShoeRepairHatCleaning => "shoe_repair_hat_cleaning",
3213 ShoeStores => "shoe_stores",
3214 SmallApplianceRepair => "small_appliance_repair",
3215 SnowmobileDealers => "snowmobile_dealers",
3216 SpecialTradeServices => "special_trade_services",
3217 SpecialtyCleaning => "specialty_cleaning",
3218 SportingGoodsStores => "sporting_goods_stores",
3219 SportingRecreationCamps => "sporting_recreation_camps",
3220 SportsAndRidingApparelStores => "sports_and_riding_apparel_stores",
3221 SportsClubsFields => "sports_clubs_fields",
3222 StampAndCoinStores => "stamp_and_coin_stores",
3223 StationaryOfficeSuppliesPrintingAndWritingPaper => {
3224 "stationary_office_supplies_printing_and_writing_paper"
3225 }
3226 StationeryStoresOfficeAndSchoolSupplyStores => {
3227 "stationery_stores_office_and_school_supply_stores"
3228 }
3229 SwimmingPoolsSales => "swimming_pools_sales",
3230 TUiTravelGermany => "t_ui_travel_germany",
3231 TailorsAlterations => "tailors_alterations",
3232 TaxPaymentsGovernmentAgencies => "tax_payments_government_agencies",
3233 TaxPreparationServices => "tax_preparation_services",
3234 TaxicabsLimousines => "taxicabs_limousines",
3235 TelecommunicationEquipmentAndTelephoneSales => {
3236 "telecommunication_equipment_and_telephone_sales"
3237 }
3238 TelecommunicationServices => "telecommunication_services",
3239 TelegraphServices => "telegraph_services",
3240 TentAndAwningShops => "tent_and_awning_shops",
3241 TestingLaboratories => "testing_laboratories",
3242 TheatricalTicketAgencies => "theatrical_ticket_agencies",
3243 Timeshares => "timeshares",
3244 TireRetreadingAndRepair => "tire_retreading_and_repair",
3245 TollsBridgeFees => "tolls_bridge_fees",
3246 TouristAttractionsAndExhibits => "tourist_attractions_and_exhibits",
3247 TowingServices => "towing_services",
3248 TrailerParksCampgrounds => "trailer_parks_campgrounds",
3249 TransportationServices => "transportation_services",
3250 TravelAgenciesTourOperators => "travel_agencies_tour_operators",
3251 TruckStopIteration => "truck_stop_iteration",
3252 TruckUtilityTrailerRentals => "truck_utility_trailer_rentals",
3253 TypesettingPlateMakingAndRelatedServices => {
3254 "typesetting_plate_making_and_related_services"
3255 }
3256 TypewriterStores => "typewriter_stores",
3257 USFederalGovernmentAgenciesOrDepartments => {
3258 "u_s_federal_government_agencies_or_departments"
3259 }
3260 UniformsCommercialClothing => "uniforms_commercial_clothing",
3261 UsedMerchandiseAndSecondhandStores => "used_merchandise_and_secondhand_stores",
3262 Utilities => "utilities",
3263 VarietyStores => "variety_stores",
3264 VeterinaryServices => "veterinary_services",
3265 VideoAmusementGameSupplies => "video_amusement_game_supplies",
3266 VideoGameArcades => "video_game_arcades",
3267 VideoTapeRentalStores => "video_tape_rental_stores",
3268 VocationalTradeSchools => "vocational_trade_schools",
3269 WatchJewelryRepair => "watch_jewelry_repair",
3270 WeldingRepair => "welding_repair",
3271 WholesaleClubs => "wholesale_clubs",
3272 WigAndToupeeStores => "wig_and_toupee_stores",
3273 WiresMoneyOrders => "wires_money_orders",
3274 WomensAccessoryAndSpecialtyShops => "womens_accessory_and_specialty_shops",
3275 WomensReadyToWearStores => "womens_ready_to_wear_stores",
3276 WreckingAndSalvageYards => "wrecking_and_salvage_yards",
3277 Unknown(v) => v,
3278 }
3279 }
3280}
3281
3282impl std::str::FromStr for CreateIssuingCardholderSpendingControlsSpendingLimitsCategories {
3283 type Err = std::convert::Infallible;
3284 fn from_str(s: &str) -> Result<Self, Self::Err> {
3285 use CreateIssuingCardholderSpendingControlsSpendingLimitsCategories::*;
3286 match s {
3287 "ac_refrigeration_repair" => Ok(AcRefrigerationRepair),
3288 "accounting_bookkeeping_services" => Ok(AccountingBookkeepingServices),
3289 "advertising_services" => Ok(AdvertisingServices),
3290 "agricultural_cooperative" => Ok(AgriculturalCooperative),
3291 "airlines_air_carriers" => Ok(AirlinesAirCarriers),
3292 "airports_flying_fields" => Ok(AirportsFlyingFields),
3293 "ambulance_services" => Ok(AmbulanceServices),
3294 "amusement_parks_carnivals" => Ok(AmusementParksCarnivals),
3295 "antique_reproductions" => Ok(AntiqueReproductions),
3296 "antique_shops" => Ok(AntiqueShops),
3297 "aquariums" => Ok(Aquariums),
3298 "architectural_surveying_services" => Ok(ArchitecturalSurveyingServices),
3299 "art_dealers_and_galleries" => Ok(ArtDealersAndGalleries),
3300 "artists_supply_and_craft_shops" => Ok(ArtistsSupplyAndCraftShops),
3301 "auto_and_home_supply_stores" => Ok(AutoAndHomeSupplyStores),
3302 "auto_body_repair_shops" => Ok(AutoBodyRepairShops),
3303 "auto_paint_shops" => Ok(AutoPaintShops),
3304 "auto_service_shops" => Ok(AutoServiceShops),
3305 "automated_cash_disburse" => Ok(AutomatedCashDisburse),
3306 "automated_fuel_dispensers" => Ok(AutomatedFuelDispensers),
3307 "automobile_associations" => Ok(AutomobileAssociations),
3308 "automotive_parts_and_accessories_stores" => Ok(AutomotivePartsAndAccessoriesStores),
3309 "automotive_tire_stores" => Ok(AutomotiveTireStores),
3310 "bail_and_bond_payments" => Ok(BailAndBondPayments),
3311 "bakeries" => Ok(Bakeries),
3312 "bands_orchestras" => Ok(BandsOrchestras),
3313 "barber_and_beauty_shops" => Ok(BarberAndBeautyShops),
3314 "betting_casino_gambling" => Ok(BettingCasinoGambling),
3315 "bicycle_shops" => Ok(BicycleShops),
3316 "billiard_pool_establishments" => Ok(BilliardPoolEstablishments),
3317 "boat_dealers" => Ok(BoatDealers),
3318 "boat_rentals_and_leases" => Ok(BoatRentalsAndLeases),
3319 "book_stores" => Ok(BookStores),
3320 "books_periodicals_and_newspapers" => Ok(BooksPeriodicalsAndNewspapers),
3321 "bowling_alleys" => Ok(BowlingAlleys),
3322 "bus_lines" => Ok(BusLines),
3323 "business_secretarial_schools" => Ok(BusinessSecretarialSchools),
3324 "buying_shopping_services" => Ok(BuyingShoppingServices),
3325 "cable_satellite_and_other_pay_television_and_radio" => {
3326 Ok(CableSatelliteAndOtherPayTelevisionAndRadio)
3327 }
3328 "camera_and_photographic_supply_stores" => Ok(CameraAndPhotographicSupplyStores),
3329 "candy_nut_and_confectionery_stores" => Ok(CandyNutAndConfectioneryStores),
3330 "car_and_truck_dealers_new_used" => Ok(CarAndTruckDealersNewUsed),
3331 "car_and_truck_dealers_used_only" => Ok(CarAndTruckDealersUsedOnly),
3332 "car_rental_agencies" => Ok(CarRentalAgencies),
3333 "car_washes" => Ok(CarWashes),
3334 "carpentry_services" => Ok(CarpentryServices),
3335 "carpet_upholstery_cleaning" => Ok(CarpetUpholsteryCleaning),
3336 "caterers" => Ok(Caterers),
3337 "charitable_and_social_service_organizations_fundraising" => {
3338 Ok(CharitableAndSocialServiceOrganizationsFundraising)
3339 }
3340 "chemicals_and_allied_products" => Ok(ChemicalsAndAlliedProducts),
3341 "child_care_services" => Ok(ChildCareServices),
3342 "childrens_and_infants_wear_stores" => Ok(ChildrensAndInfantsWearStores),
3343 "chiropodists_podiatrists" => Ok(ChiropodistsPodiatrists),
3344 "chiropractors" => Ok(Chiropractors),
3345 "cigar_stores_and_stands" => Ok(CigarStoresAndStands),
3346 "civic_social_fraternal_associations" => Ok(CivicSocialFraternalAssociations),
3347 "cleaning_and_maintenance" => Ok(CleaningAndMaintenance),
3348 "clothing_rental" => Ok(ClothingRental),
3349 "colleges_universities" => Ok(CollegesUniversities),
3350 "commercial_equipment" => Ok(CommercialEquipment),
3351 "commercial_footwear" => Ok(CommercialFootwear),
3352 "commercial_photography_art_and_graphics" => Ok(CommercialPhotographyArtAndGraphics),
3353 "commuter_transport_and_ferries" => Ok(CommuterTransportAndFerries),
3354 "computer_network_services" => Ok(ComputerNetworkServices),
3355 "computer_programming" => Ok(ComputerProgramming),
3356 "computer_repair" => Ok(ComputerRepair),
3357 "computer_software_stores" => Ok(ComputerSoftwareStores),
3358 "computers_peripherals_and_software" => Ok(ComputersPeripheralsAndSoftware),
3359 "concrete_work_services" => Ok(ConcreteWorkServices),
3360 "construction_materials" => Ok(ConstructionMaterials),
3361 "consulting_public_relations" => Ok(ConsultingPublicRelations),
3362 "correspondence_schools" => Ok(CorrespondenceSchools),
3363 "cosmetic_stores" => Ok(CosmeticStores),
3364 "counseling_services" => Ok(CounselingServices),
3365 "country_clubs" => Ok(CountryClubs),
3366 "courier_services" => Ok(CourierServices),
3367 "court_costs" => Ok(CourtCosts),
3368 "credit_reporting_agencies" => Ok(CreditReportingAgencies),
3369 "cruise_lines" => Ok(CruiseLines),
3370 "dairy_products_stores" => Ok(DairyProductsStores),
3371 "dance_hall_studios_schools" => Ok(DanceHallStudiosSchools),
3372 "dating_escort_services" => Ok(DatingEscortServices),
3373 "dentists_orthodontists" => Ok(DentistsOrthodontists),
3374 "department_stores" => Ok(DepartmentStores),
3375 "detective_agencies" => Ok(DetectiveAgencies),
3376 "digital_goods_applications" => Ok(DigitalGoodsApplications),
3377 "digital_goods_games" => Ok(DigitalGoodsGames),
3378 "digital_goods_large_volume" => Ok(DigitalGoodsLargeVolume),
3379 "digital_goods_media" => Ok(DigitalGoodsMedia),
3380 "direct_marketing_catalog_merchant" => Ok(DirectMarketingCatalogMerchant),
3381 "direct_marketing_combination_catalog_and_retail_merchant" => {
3382 Ok(DirectMarketingCombinationCatalogAndRetailMerchant)
3383 }
3384 "direct_marketing_inbound_telemarketing" => Ok(DirectMarketingInboundTelemarketing),
3385 "direct_marketing_insurance_services" => Ok(DirectMarketingInsuranceServices),
3386 "direct_marketing_other" => Ok(DirectMarketingOther),
3387 "direct_marketing_outbound_telemarketing" => Ok(DirectMarketingOutboundTelemarketing),
3388 "direct_marketing_subscription" => Ok(DirectMarketingSubscription),
3389 "direct_marketing_travel" => Ok(DirectMarketingTravel),
3390 "discount_stores" => Ok(DiscountStores),
3391 "doctors" => Ok(Doctors),
3392 "door_to_door_sales" => Ok(DoorToDoorSales),
3393 "drapery_window_covering_and_upholstery_stores" => {
3394 Ok(DraperyWindowCoveringAndUpholsteryStores)
3395 }
3396 "drinking_places" => Ok(DrinkingPlaces),
3397 "drug_stores_and_pharmacies" => Ok(DrugStoresAndPharmacies),
3398 "drugs_drug_proprietaries_and_druggist_sundries" => {
3399 Ok(DrugsDrugProprietariesAndDruggistSundries)
3400 }
3401 "dry_cleaners" => Ok(DryCleaners),
3402 "durable_goods" => Ok(DurableGoods),
3403 "duty_free_stores" => Ok(DutyFreeStores),
3404 "eating_places_restaurants" => Ok(EatingPlacesRestaurants),
3405 "educational_services" => Ok(EducationalServices),
3406 "electric_razor_stores" => Ok(ElectricRazorStores),
3407 "electric_vehicle_charging" => Ok(ElectricVehicleCharging),
3408 "electrical_parts_and_equipment" => Ok(ElectricalPartsAndEquipment),
3409 "electrical_services" => Ok(ElectricalServices),
3410 "electronics_repair_shops" => Ok(ElectronicsRepairShops),
3411 "electronics_stores" => Ok(ElectronicsStores),
3412 "elementary_secondary_schools" => Ok(ElementarySecondarySchools),
3413 "emergency_services_gcas_visa_use_only" => Ok(EmergencyServicesGcasVisaUseOnly),
3414 "employment_temp_agencies" => Ok(EmploymentTempAgencies),
3415 "equipment_rental" => Ok(EquipmentRental),
3416 "exterminating_services" => Ok(ExterminatingServices),
3417 "family_clothing_stores" => Ok(FamilyClothingStores),
3418 "fast_food_restaurants" => Ok(FastFoodRestaurants),
3419 "financial_institutions" => Ok(FinancialInstitutions),
3420 "fines_government_administrative_entities" => Ok(FinesGovernmentAdministrativeEntities),
3421 "fireplace_fireplace_screens_and_accessories_stores" => {
3422 Ok(FireplaceFireplaceScreensAndAccessoriesStores)
3423 }
3424 "floor_covering_stores" => Ok(FloorCoveringStores),
3425 "florists" => Ok(Florists),
3426 "florists_supplies_nursery_stock_and_flowers" => {
3427 Ok(FloristsSuppliesNurseryStockAndFlowers)
3428 }
3429 "freezer_and_locker_meat_provisioners" => Ok(FreezerAndLockerMeatProvisioners),
3430 "fuel_dealers_non_automotive" => Ok(FuelDealersNonAutomotive),
3431 "funeral_services_crematories" => Ok(FuneralServicesCrematories),
3432 "furniture_home_furnishings_and_equipment_stores_except_appliances" => {
3433 Ok(FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances)
3434 }
3435 "furniture_repair_refinishing" => Ok(FurnitureRepairRefinishing),
3436 "furriers_and_fur_shops" => Ok(FurriersAndFurShops),
3437 "general_services" => Ok(GeneralServices),
3438 "gift_card_novelty_and_souvenir_shops" => Ok(GiftCardNoveltyAndSouvenirShops),
3439 "glass_paint_and_wallpaper_stores" => Ok(GlassPaintAndWallpaperStores),
3440 "glassware_crystal_stores" => Ok(GlasswareCrystalStores),
3441 "golf_courses_public" => Ok(GolfCoursesPublic),
3442 "government_licensed_horse_dog_racing_us_region_only" => {
3443 Ok(GovernmentLicensedHorseDogRacingUsRegionOnly)
3444 }
3445 "government_licensed_online_casions_online_gambling_us_region_only" => {
3446 Ok(GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly)
3447 }
3448 "government_owned_lotteries_non_us_region" => Ok(GovernmentOwnedLotteriesNonUsRegion),
3449 "government_owned_lotteries_us_region_only" => Ok(GovernmentOwnedLotteriesUsRegionOnly),
3450 "government_services" => Ok(GovernmentServices),
3451 "grocery_stores_supermarkets" => Ok(GroceryStoresSupermarkets),
3452 "hardware_equipment_and_supplies" => Ok(HardwareEquipmentAndSupplies),
3453 "hardware_stores" => Ok(HardwareStores),
3454 "health_and_beauty_spas" => Ok(HealthAndBeautySpas),
3455 "hearing_aids_sales_and_supplies" => Ok(HearingAidsSalesAndSupplies),
3456 "heating_plumbing_a_c" => Ok(HeatingPlumbingAC),
3457 "hobby_toy_and_game_shops" => Ok(HobbyToyAndGameShops),
3458 "home_supply_warehouse_stores" => Ok(HomeSupplyWarehouseStores),
3459 "hospitals" => Ok(Hospitals),
3460 "hotels_motels_and_resorts" => Ok(HotelsMotelsAndResorts),
3461 "household_appliance_stores" => Ok(HouseholdApplianceStores),
3462 "industrial_supplies" => Ok(IndustrialSupplies),
3463 "information_retrieval_services" => Ok(InformationRetrievalServices),
3464 "insurance_default" => Ok(InsuranceDefault),
3465 "insurance_underwriting_premiums" => Ok(InsuranceUnderwritingPremiums),
3466 "intra_company_purchases" => Ok(IntraCompanyPurchases),
3467 "jewelry_stores_watches_clocks_and_silverware_stores" => {
3468 Ok(JewelryStoresWatchesClocksAndSilverwareStores)
3469 }
3470 "landscaping_services" => Ok(LandscapingServices),
3471 "laundries" => Ok(Laundries),
3472 "laundry_cleaning_services" => Ok(LaundryCleaningServices),
3473 "legal_services_attorneys" => Ok(LegalServicesAttorneys),
3474 "luggage_and_leather_goods_stores" => Ok(LuggageAndLeatherGoodsStores),
3475 "lumber_building_materials_stores" => Ok(LumberBuildingMaterialsStores),
3476 "manual_cash_disburse" => Ok(ManualCashDisburse),
3477 "marinas_service_and_supplies" => Ok(MarinasServiceAndSupplies),
3478 "marketplaces" => Ok(Marketplaces),
3479 "masonry_stonework_and_plaster" => Ok(MasonryStoneworkAndPlaster),
3480 "massage_parlors" => Ok(MassageParlors),
3481 "medical_and_dental_labs" => Ok(MedicalAndDentalLabs),
3482 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies" => {
3483 Ok(MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies)
3484 }
3485 "medical_services" => Ok(MedicalServices),
3486 "membership_organizations" => Ok(MembershipOrganizations),
3487 "mens_and_boys_clothing_and_accessories_stores" => {
3488 Ok(MensAndBoysClothingAndAccessoriesStores)
3489 }
3490 "mens_womens_clothing_stores" => Ok(MensWomensClothingStores),
3491 "metal_service_centers" => Ok(MetalServiceCenters),
3492 "miscellaneous" => Ok(Miscellaneous),
3493 "miscellaneous_apparel_and_accessory_shops" => {
3494 Ok(MiscellaneousApparelAndAccessoryShops)
3495 }
3496 "miscellaneous_auto_dealers" => Ok(MiscellaneousAutoDealers),
3497 "miscellaneous_business_services" => Ok(MiscellaneousBusinessServices),
3498 "miscellaneous_food_stores" => Ok(MiscellaneousFoodStores),
3499 "miscellaneous_general_merchandise" => Ok(MiscellaneousGeneralMerchandise),
3500 "miscellaneous_general_services" => Ok(MiscellaneousGeneralServices),
3501 "miscellaneous_home_furnishing_specialty_stores" => {
3502 Ok(MiscellaneousHomeFurnishingSpecialtyStores)
3503 }
3504 "miscellaneous_publishing_and_printing" => Ok(MiscellaneousPublishingAndPrinting),
3505 "miscellaneous_recreation_services" => Ok(MiscellaneousRecreationServices),
3506 "miscellaneous_repair_shops" => Ok(MiscellaneousRepairShops),
3507 "miscellaneous_specialty_retail" => Ok(MiscellaneousSpecialtyRetail),
3508 "mobile_home_dealers" => Ok(MobileHomeDealers),
3509 "motion_picture_theaters" => Ok(MotionPictureTheaters),
3510 "motor_freight_carriers_and_trucking" => Ok(MotorFreightCarriersAndTrucking),
3511 "motor_homes_dealers" => Ok(MotorHomesDealers),
3512 "motor_vehicle_supplies_and_new_parts" => Ok(MotorVehicleSuppliesAndNewParts),
3513 "motorcycle_shops_and_dealers" => Ok(MotorcycleShopsAndDealers),
3514 "motorcycle_shops_dealers" => Ok(MotorcycleShopsDealers),
3515 "music_stores_musical_instruments_pianos_and_sheet_music" => {
3516 Ok(MusicStoresMusicalInstrumentsPianosAndSheetMusic)
3517 }
3518 "news_dealers_and_newsstands" => Ok(NewsDealersAndNewsstands),
3519 "non_fi_money_orders" => Ok(NonFiMoneyOrders),
3520 "non_fi_stored_value_card_purchase_load" => Ok(NonFiStoredValueCardPurchaseLoad),
3521 "nondurable_goods" => Ok(NondurableGoods),
3522 "nurseries_lawn_and_garden_supply_stores" => Ok(NurseriesLawnAndGardenSupplyStores),
3523 "nursing_personal_care" => Ok(NursingPersonalCare),
3524 "office_and_commercial_furniture" => Ok(OfficeAndCommercialFurniture),
3525 "opticians_eyeglasses" => Ok(OpticiansEyeglasses),
3526 "optometrists_ophthalmologist" => Ok(OptometristsOphthalmologist),
3527 "orthopedic_goods_prosthetic_devices" => Ok(OrthopedicGoodsProstheticDevices),
3528 "osteopaths" => Ok(Osteopaths),
3529 "package_stores_beer_wine_and_liquor" => Ok(PackageStoresBeerWineAndLiquor),
3530 "paints_varnishes_and_supplies" => Ok(PaintsVarnishesAndSupplies),
3531 "parking_lots_garages" => Ok(ParkingLotsGarages),
3532 "passenger_railways" => Ok(PassengerRailways),
3533 "pawn_shops" => Ok(PawnShops),
3534 "pet_shops_pet_food_and_supplies" => Ok(PetShopsPetFoodAndSupplies),
3535 "petroleum_and_petroleum_products" => Ok(PetroleumAndPetroleumProducts),
3536 "photo_developing" => Ok(PhotoDeveloping),
3537 "photographic_photocopy_microfilm_equipment_and_supplies" => {
3538 Ok(PhotographicPhotocopyMicrofilmEquipmentAndSupplies)
3539 }
3540 "photographic_studios" => Ok(PhotographicStudios),
3541 "picture_video_production" => Ok(PictureVideoProduction),
3542 "piece_goods_notions_and_other_dry_goods" => Ok(PieceGoodsNotionsAndOtherDryGoods),
3543 "plumbing_heating_equipment_and_supplies" => Ok(PlumbingHeatingEquipmentAndSupplies),
3544 "political_organizations" => Ok(PoliticalOrganizations),
3545 "postal_services_government_only" => Ok(PostalServicesGovernmentOnly),
3546 "precious_stones_and_metals_watches_and_jewelry" => {
3547 Ok(PreciousStonesAndMetalsWatchesAndJewelry)
3548 }
3549 "professional_services" => Ok(ProfessionalServices),
3550 "public_warehousing_and_storage" => Ok(PublicWarehousingAndStorage),
3551 "quick_copy_repro_and_blueprint" => Ok(QuickCopyReproAndBlueprint),
3552 "railroads" => Ok(Railroads),
3553 "real_estate_agents_and_managers_rentals" => Ok(RealEstateAgentsAndManagersRentals),
3554 "record_stores" => Ok(RecordStores),
3555 "recreational_vehicle_rentals" => Ok(RecreationalVehicleRentals),
3556 "religious_goods_stores" => Ok(ReligiousGoodsStores),
3557 "religious_organizations" => Ok(ReligiousOrganizations),
3558 "roofing_siding_sheet_metal" => Ok(RoofingSidingSheetMetal),
3559 "secretarial_support_services" => Ok(SecretarialSupportServices),
3560 "security_brokers_dealers" => Ok(SecurityBrokersDealers),
3561 "service_stations" => Ok(ServiceStations),
3562 "sewing_needlework_fabric_and_piece_goods_stores" => {
3563 Ok(SewingNeedleworkFabricAndPieceGoodsStores)
3564 }
3565 "shoe_repair_hat_cleaning" => Ok(ShoeRepairHatCleaning),
3566 "shoe_stores" => Ok(ShoeStores),
3567 "small_appliance_repair" => Ok(SmallApplianceRepair),
3568 "snowmobile_dealers" => Ok(SnowmobileDealers),
3569 "special_trade_services" => Ok(SpecialTradeServices),
3570 "specialty_cleaning" => Ok(SpecialtyCleaning),
3571 "sporting_goods_stores" => Ok(SportingGoodsStores),
3572 "sporting_recreation_camps" => Ok(SportingRecreationCamps),
3573 "sports_and_riding_apparel_stores" => Ok(SportsAndRidingApparelStores),
3574 "sports_clubs_fields" => Ok(SportsClubsFields),
3575 "stamp_and_coin_stores" => Ok(StampAndCoinStores),
3576 "stationary_office_supplies_printing_and_writing_paper" => {
3577 Ok(StationaryOfficeSuppliesPrintingAndWritingPaper)
3578 }
3579 "stationery_stores_office_and_school_supply_stores" => {
3580 Ok(StationeryStoresOfficeAndSchoolSupplyStores)
3581 }
3582 "swimming_pools_sales" => Ok(SwimmingPoolsSales),
3583 "t_ui_travel_germany" => Ok(TUiTravelGermany),
3584 "tailors_alterations" => Ok(TailorsAlterations),
3585 "tax_payments_government_agencies" => Ok(TaxPaymentsGovernmentAgencies),
3586 "tax_preparation_services" => Ok(TaxPreparationServices),
3587 "taxicabs_limousines" => Ok(TaxicabsLimousines),
3588 "telecommunication_equipment_and_telephone_sales" => {
3589 Ok(TelecommunicationEquipmentAndTelephoneSales)
3590 }
3591 "telecommunication_services" => Ok(TelecommunicationServices),
3592 "telegraph_services" => Ok(TelegraphServices),
3593 "tent_and_awning_shops" => Ok(TentAndAwningShops),
3594 "testing_laboratories" => Ok(TestingLaboratories),
3595 "theatrical_ticket_agencies" => Ok(TheatricalTicketAgencies),
3596 "timeshares" => Ok(Timeshares),
3597 "tire_retreading_and_repair" => Ok(TireRetreadingAndRepair),
3598 "tolls_bridge_fees" => Ok(TollsBridgeFees),
3599 "tourist_attractions_and_exhibits" => Ok(TouristAttractionsAndExhibits),
3600 "towing_services" => Ok(TowingServices),
3601 "trailer_parks_campgrounds" => Ok(TrailerParksCampgrounds),
3602 "transportation_services" => Ok(TransportationServices),
3603 "travel_agencies_tour_operators" => Ok(TravelAgenciesTourOperators),
3604 "truck_stop_iteration" => Ok(TruckStopIteration),
3605 "truck_utility_trailer_rentals" => Ok(TruckUtilityTrailerRentals),
3606 "typesetting_plate_making_and_related_services" => {
3607 Ok(TypesettingPlateMakingAndRelatedServices)
3608 }
3609 "typewriter_stores" => Ok(TypewriterStores),
3610 "u_s_federal_government_agencies_or_departments" => {
3611 Ok(USFederalGovernmentAgenciesOrDepartments)
3612 }
3613 "uniforms_commercial_clothing" => Ok(UniformsCommercialClothing),
3614 "used_merchandise_and_secondhand_stores" => Ok(UsedMerchandiseAndSecondhandStores),
3615 "utilities" => Ok(Utilities),
3616 "variety_stores" => Ok(VarietyStores),
3617 "veterinary_services" => Ok(VeterinaryServices),
3618 "video_amusement_game_supplies" => Ok(VideoAmusementGameSupplies),
3619 "video_game_arcades" => Ok(VideoGameArcades),
3620 "video_tape_rental_stores" => Ok(VideoTapeRentalStores),
3621 "vocational_trade_schools" => Ok(VocationalTradeSchools),
3622 "watch_jewelry_repair" => Ok(WatchJewelryRepair),
3623 "welding_repair" => Ok(WeldingRepair),
3624 "wholesale_clubs" => Ok(WholesaleClubs),
3625 "wig_and_toupee_stores" => Ok(WigAndToupeeStores),
3626 "wires_money_orders" => Ok(WiresMoneyOrders),
3627 "womens_accessory_and_specialty_shops" => Ok(WomensAccessoryAndSpecialtyShops),
3628 "womens_ready_to_wear_stores" => Ok(WomensReadyToWearStores),
3629 "wrecking_and_salvage_yards" => Ok(WreckingAndSalvageYards),
3630 v => {
3631 tracing::warn!(
3632 "Unknown value '{}' for enum '{}'",
3633 v,
3634 "CreateIssuingCardholderSpendingControlsSpendingLimitsCategories"
3635 );
3636 Ok(Unknown(v.to_owned()))
3637 }
3638 }
3639 }
3640}
3641impl std::fmt::Display for CreateIssuingCardholderSpendingControlsSpendingLimitsCategories {
3642 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3643 f.write_str(self.as_str())
3644 }
3645}
3646
3647#[cfg(not(feature = "redact-generated-debug"))]
3648impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsSpendingLimitsCategories {
3649 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3650 f.write_str(self.as_str())
3651 }
3652}
3653#[cfg(feature = "redact-generated-debug")]
3654impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsSpendingLimitsCategories {
3655 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3656 f.debug_struct(stringify!(CreateIssuingCardholderSpendingControlsSpendingLimitsCategories))
3657 .finish_non_exhaustive()
3658 }
3659}
3660impl serde::Serialize for CreateIssuingCardholderSpendingControlsSpendingLimitsCategories {
3661 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
3662 where
3663 S: serde::Serializer,
3664 {
3665 serializer.serialize_str(self.as_str())
3666 }
3667}
3668#[cfg(feature = "deserialize")]
3669impl<'de> serde::Deserialize<'de>
3670 for CreateIssuingCardholderSpendingControlsSpendingLimitsCategories
3671{
3672 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
3673 use std::str::FromStr;
3674 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
3675 Ok(Self::from_str(&s).expect("infallible"))
3676 }
3677}
3678#[derive(Clone, Eq, PartialEq)]
3680#[non_exhaustive]
3681pub enum CreateIssuingCardholderSpendingControlsSpendingLimitsInterval {
3682 AllTime,
3683 Daily,
3684 Monthly,
3685 PerAuthorization,
3686 Weekly,
3687 Yearly,
3688 Unknown(String),
3690}
3691impl CreateIssuingCardholderSpendingControlsSpendingLimitsInterval {
3692 pub fn as_str(&self) -> &str {
3693 use CreateIssuingCardholderSpendingControlsSpendingLimitsInterval::*;
3694 match self {
3695 AllTime => "all_time",
3696 Daily => "daily",
3697 Monthly => "monthly",
3698 PerAuthorization => "per_authorization",
3699 Weekly => "weekly",
3700 Yearly => "yearly",
3701 Unknown(v) => v,
3702 }
3703 }
3704}
3705
3706impl std::str::FromStr for CreateIssuingCardholderSpendingControlsSpendingLimitsInterval {
3707 type Err = std::convert::Infallible;
3708 fn from_str(s: &str) -> Result<Self, Self::Err> {
3709 use CreateIssuingCardholderSpendingControlsSpendingLimitsInterval::*;
3710 match s {
3711 "all_time" => Ok(AllTime),
3712 "daily" => Ok(Daily),
3713 "monthly" => Ok(Monthly),
3714 "per_authorization" => Ok(PerAuthorization),
3715 "weekly" => Ok(Weekly),
3716 "yearly" => Ok(Yearly),
3717 v => {
3718 tracing::warn!(
3719 "Unknown value '{}' for enum '{}'",
3720 v,
3721 "CreateIssuingCardholderSpendingControlsSpendingLimitsInterval"
3722 );
3723 Ok(Unknown(v.to_owned()))
3724 }
3725 }
3726 }
3727}
3728impl std::fmt::Display for CreateIssuingCardholderSpendingControlsSpendingLimitsInterval {
3729 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3730 f.write_str(self.as_str())
3731 }
3732}
3733
3734#[cfg(not(feature = "redact-generated-debug"))]
3735impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsSpendingLimitsInterval {
3736 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3737 f.write_str(self.as_str())
3738 }
3739}
3740#[cfg(feature = "redact-generated-debug")]
3741impl std::fmt::Debug for CreateIssuingCardholderSpendingControlsSpendingLimitsInterval {
3742 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3743 f.debug_struct(stringify!(CreateIssuingCardholderSpendingControlsSpendingLimitsInterval))
3744 .finish_non_exhaustive()
3745 }
3746}
3747impl serde::Serialize for CreateIssuingCardholderSpendingControlsSpendingLimitsInterval {
3748 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
3749 where
3750 S: serde::Serializer,
3751 {
3752 serializer.serialize_str(self.as_str())
3753 }
3754}
3755#[cfg(feature = "deserialize")]
3756impl<'de> serde::Deserialize<'de>
3757 for CreateIssuingCardholderSpendingControlsSpendingLimitsInterval
3758{
3759 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
3760 use std::str::FromStr;
3761 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
3762 Ok(Self::from_str(&s).expect("infallible"))
3763 }
3764}
3765#[derive(Clone, Eq, PartialEq)]
3767#[non_exhaustive]
3768pub enum CreateIssuingCardholderStatus {
3769 Active,
3770 Inactive,
3771 Unknown(String),
3773}
3774impl CreateIssuingCardholderStatus {
3775 pub fn as_str(&self) -> &str {
3776 use CreateIssuingCardholderStatus::*;
3777 match self {
3778 Active => "active",
3779 Inactive => "inactive",
3780 Unknown(v) => v,
3781 }
3782 }
3783}
3784
3785impl std::str::FromStr for CreateIssuingCardholderStatus {
3786 type Err = std::convert::Infallible;
3787 fn from_str(s: &str) -> Result<Self, Self::Err> {
3788 use CreateIssuingCardholderStatus::*;
3789 match s {
3790 "active" => Ok(Active),
3791 "inactive" => Ok(Inactive),
3792 v => {
3793 tracing::warn!(
3794 "Unknown value '{}' for enum '{}'",
3795 v,
3796 "CreateIssuingCardholderStatus"
3797 );
3798 Ok(Unknown(v.to_owned()))
3799 }
3800 }
3801 }
3802}
3803impl std::fmt::Display for CreateIssuingCardholderStatus {
3804 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3805 f.write_str(self.as_str())
3806 }
3807}
3808
3809#[cfg(not(feature = "redact-generated-debug"))]
3810impl std::fmt::Debug for CreateIssuingCardholderStatus {
3811 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3812 f.write_str(self.as_str())
3813 }
3814}
3815#[cfg(feature = "redact-generated-debug")]
3816impl std::fmt::Debug for CreateIssuingCardholderStatus {
3817 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3818 f.debug_struct(stringify!(CreateIssuingCardholderStatus)).finish_non_exhaustive()
3819 }
3820}
3821impl serde::Serialize for CreateIssuingCardholderStatus {
3822 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
3823 where
3824 S: serde::Serializer,
3825 {
3826 serializer.serialize_str(self.as_str())
3827 }
3828}
3829#[cfg(feature = "deserialize")]
3830impl<'de> serde::Deserialize<'de> for CreateIssuingCardholderStatus {
3831 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
3832 use std::str::FromStr;
3833 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
3834 Ok(Self::from_str(&s).expect("infallible"))
3835 }
3836}
3837#[derive(Clone)]
3839#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
3840#[derive(serde::Serialize)]
3841pub struct CreateIssuingCardholder {
3842 inner: CreateIssuingCardholderBuilder,
3843}
3844#[cfg(feature = "redact-generated-debug")]
3845impl std::fmt::Debug for CreateIssuingCardholder {
3846 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3847 f.debug_struct("CreateIssuingCardholder").finish_non_exhaustive()
3848 }
3849}
3850impl CreateIssuingCardholder {
3851 pub fn new(billing: impl Into<BillingSpecs>, name: impl Into<String>) -> Self {
3853 Self { inner: CreateIssuingCardholderBuilder::new(billing.into(), name.into()) }
3854 }
3855 pub fn company(mut self, company: impl Into<CompanyParam>) -> Self {
3857 self.inner.company = Some(company.into());
3858 self
3859 }
3860 pub fn email(mut self, email: impl Into<String>) -> Self {
3862 self.inner.email = Some(email.into());
3863 self
3864 }
3865 pub fn expand(mut self, expand: impl Into<Vec<String>>) -> Self {
3867 self.inner.expand = Some(expand.into());
3868 self
3869 }
3870 pub fn individual(mut self, individual: impl Into<IndividualParam>) -> Self {
3872 self.inner.individual = Some(individual.into());
3873 self
3874 }
3875 pub fn metadata(
3880 mut self,
3881 metadata: impl Into<std::collections::HashMap<String, String>>,
3882 ) -> Self {
3883 self.inner.metadata = Some(metadata.into());
3884 self
3885 }
3886 pub fn phone_number(mut self, phone_number: impl Into<String>) -> Self {
3891 self.inner.phone_number = Some(phone_number.into());
3892 self
3893 }
3894 pub fn preferred_locales(
3898 mut self,
3899 preferred_locales: impl Into<Vec<stripe_shared::IssuingCardholderPreferredLocales>>,
3900 ) -> Self {
3901 self.inner.preferred_locales = Some(preferred_locales.into());
3902 self
3903 }
3904 pub fn spending_controls(
3907 mut self,
3908 spending_controls: impl Into<CreateIssuingCardholderSpendingControls>,
3909 ) -> Self {
3910 self.inner.spending_controls = Some(spending_controls.into());
3911 self
3912 }
3913 pub fn status(mut self, status: impl Into<CreateIssuingCardholderStatus>) -> Self {
3915 self.inner.status = Some(status.into());
3916 self
3917 }
3918 pub fn type_(mut self, type_: impl Into<stripe_shared::IssuingCardholderType>) -> Self {
3921 self.inner.type_ = Some(type_.into());
3922 self
3923 }
3924}
3925impl CreateIssuingCardholder {
3926 pub async fn send<C: StripeClient>(
3928 &self,
3929 client: &C,
3930 ) -> Result<<Self as StripeRequest>::Output, C::Err> {
3931 self.customize().send(client).await
3932 }
3933
3934 pub fn send_blocking<C: StripeBlockingClient>(
3936 &self,
3937 client: &C,
3938 ) -> Result<<Self as StripeRequest>::Output, C::Err> {
3939 self.customize().send_blocking(client)
3940 }
3941}
3942
3943impl StripeRequest for CreateIssuingCardholder {
3944 type Output = stripe_shared::IssuingCardholder;
3945
3946 fn build(&self) -> RequestBuilder {
3947 RequestBuilder::new(StripeMethod::Post, "/issuing/cardholders").form(&self.inner)
3948 }
3949}
3950#[derive(Clone)]
3951#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
3952#[derive(serde::Serialize)]
3953struct UpdateIssuingCardholderBuilder {
3954 #[serde(skip_serializing_if = "Option::is_none")]
3955 billing: Option<BillingSpecs>,
3956 #[serde(skip_serializing_if = "Option::is_none")]
3957 company: Option<CompanyParam>,
3958 #[serde(skip_serializing_if = "Option::is_none")]
3959 email: Option<String>,
3960 #[serde(skip_serializing_if = "Option::is_none")]
3961 expand: Option<Vec<String>>,
3962 #[serde(skip_serializing_if = "Option::is_none")]
3963 individual: Option<IndividualParam>,
3964 #[serde(skip_serializing_if = "Option::is_none")]
3965 metadata: Option<std::collections::HashMap<String, String>>,
3966 #[serde(skip_serializing_if = "Option::is_none")]
3967 phone_number: Option<String>,
3968 #[serde(skip_serializing_if = "Option::is_none")]
3969 preferred_locales: Option<Vec<stripe_shared::IssuingCardholderPreferredLocales>>,
3970 #[serde(skip_serializing_if = "Option::is_none")]
3971 spending_controls: Option<UpdateIssuingCardholderSpendingControls>,
3972 #[serde(skip_serializing_if = "Option::is_none")]
3973 status: Option<UpdateIssuingCardholderStatus>,
3974}
3975#[cfg(feature = "redact-generated-debug")]
3976impl std::fmt::Debug for UpdateIssuingCardholderBuilder {
3977 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3978 f.debug_struct("UpdateIssuingCardholderBuilder").finish_non_exhaustive()
3979 }
3980}
3981impl UpdateIssuingCardholderBuilder {
3982 fn new() -> Self {
3983 Self {
3984 billing: None,
3985 company: None,
3986 email: None,
3987 expand: None,
3988 individual: None,
3989 metadata: None,
3990 phone_number: None,
3991 preferred_locales: None,
3992 spending_controls: None,
3993 status: None,
3994 }
3995 }
3996}
3997#[derive(Clone, Eq, PartialEq)]
4000#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
4001#[derive(serde::Serialize)]
4002pub struct UpdateIssuingCardholderSpendingControls {
4003 #[serde(skip_serializing_if = "Option::is_none")]
4009 pub allowed_card_presences:
4010 Option<Vec<UpdateIssuingCardholderSpendingControlsAllowedCardPresences>>,
4011 #[serde(skip_serializing_if = "Option::is_none")]
4015 pub allowed_categories: Option<Vec<UpdateIssuingCardholderSpendingControlsAllowedCategories>>,
4016 #[serde(skip_serializing_if = "Option::is_none")]
4023 pub allowed_merchant_countries: Option<Vec<String>>,
4024 #[serde(skip_serializing_if = "Option::is_none")]
4029 pub blocked_card_presences:
4030 Option<Vec<UpdateIssuingCardholderSpendingControlsBlockedCardPresences>>,
4031 #[serde(skip_serializing_if = "Option::is_none")]
4035 pub blocked_categories: Option<Vec<UpdateIssuingCardholderSpendingControlsBlockedCategories>>,
4036 #[serde(skip_serializing_if = "Option::is_none")]
4042 pub blocked_merchant_countries: Option<Vec<String>>,
4043 #[serde(skip_serializing_if = "Option::is_none")]
4045 pub spending_limits: Option<Vec<UpdateIssuingCardholderSpendingControlsSpendingLimits>>,
4046 #[serde(skip_serializing_if = "Option::is_none")]
4048 pub spending_limits_currency: Option<stripe_types::Currency>,
4049}
4050#[cfg(feature = "redact-generated-debug")]
4051impl std::fmt::Debug for UpdateIssuingCardholderSpendingControls {
4052 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
4053 f.debug_struct("UpdateIssuingCardholderSpendingControls").finish_non_exhaustive()
4054 }
4055}
4056impl UpdateIssuingCardholderSpendingControls {
4057 pub fn new() -> Self {
4058 Self {
4059 allowed_card_presences: None,
4060 allowed_categories: None,
4061 allowed_merchant_countries: None,
4062 blocked_card_presences: None,
4063 blocked_categories: None,
4064 blocked_merchant_countries: None,
4065 spending_limits: None,
4066 spending_limits_currency: None,
4067 }
4068 }
4069}
4070impl Default for UpdateIssuingCardholderSpendingControls {
4071 fn default() -> Self {
4072 Self::new()
4073 }
4074}
4075#[derive(Clone, Eq, PartialEq)]
4081#[non_exhaustive]
4082pub enum UpdateIssuingCardholderSpendingControlsAllowedCardPresences {
4083 NotPresent,
4084 Present,
4085 Unknown(String),
4087}
4088impl UpdateIssuingCardholderSpendingControlsAllowedCardPresences {
4089 pub fn as_str(&self) -> &str {
4090 use UpdateIssuingCardholderSpendingControlsAllowedCardPresences::*;
4091 match self {
4092 NotPresent => "not_present",
4093 Present => "present",
4094 Unknown(v) => v,
4095 }
4096 }
4097}
4098
4099impl std::str::FromStr for UpdateIssuingCardholderSpendingControlsAllowedCardPresences {
4100 type Err = std::convert::Infallible;
4101 fn from_str(s: &str) -> Result<Self, Self::Err> {
4102 use UpdateIssuingCardholderSpendingControlsAllowedCardPresences::*;
4103 match s {
4104 "not_present" => Ok(NotPresent),
4105 "present" => Ok(Present),
4106 v => {
4107 tracing::warn!(
4108 "Unknown value '{}' for enum '{}'",
4109 v,
4110 "UpdateIssuingCardholderSpendingControlsAllowedCardPresences"
4111 );
4112 Ok(Unknown(v.to_owned()))
4113 }
4114 }
4115 }
4116}
4117impl std::fmt::Display for UpdateIssuingCardholderSpendingControlsAllowedCardPresences {
4118 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
4119 f.write_str(self.as_str())
4120 }
4121}
4122
4123#[cfg(not(feature = "redact-generated-debug"))]
4124impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsAllowedCardPresences {
4125 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
4126 f.write_str(self.as_str())
4127 }
4128}
4129#[cfg(feature = "redact-generated-debug")]
4130impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsAllowedCardPresences {
4131 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
4132 f.debug_struct(stringify!(UpdateIssuingCardholderSpendingControlsAllowedCardPresences))
4133 .finish_non_exhaustive()
4134 }
4135}
4136impl serde::Serialize for UpdateIssuingCardholderSpendingControlsAllowedCardPresences {
4137 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
4138 where
4139 S: serde::Serializer,
4140 {
4141 serializer.serialize_str(self.as_str())
4142 }
4143}
4144#[cfg(feature = "deserialize")]
4145impl<'de> serde::Deserialize<'de> for UpdateIssuingCardholderSpendingControlsAllowedCardPresences {
4146 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
4147 use std::str::FromStr;
4148 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
4149 Ok(Self::from_str(&s).expect("infallible"))
4150 }
4151}
4152#[derive(Clone, Eq, PartialEq)]
4156#[non_exhaustive]
4157pub enum UpdateIssuingCardholderSpendingControlsAllowedCategories {
4158 AcRefrigerationRepair,
4159 AccountingBookkeepingServices,
4160 AdvertisingServices,
4161 AgriculturalCooperative,
4162 AirlinesAirCarriers,
4163 AirportsFlyingFields,
4164 AmbulanceServices,
4165 AmusementParksCarnivals,
4166 AntiqueReproductions,
4167 AntiqueShops,
4168 Aquariums,
4169 ArchitecturalSurveyingServices,
4170 ArtDealersAndGalleries,
4171 ArtistsSupplyAndCraftShops,
4172 AutoAndHomeSupplyStores,
4173 AutoBodyRepairShops,
4174 AutoPaintShops,
4175 AutoServiceShops,
4176 AutomatedCashDisburse,
4177 AutomatedFuelDispensers,
4178 AutomobileAssociations,
4179 AutomotivePartsAndAccessoriesStores,
4180 AutomotiveTireStores,
4181 BailAndBondPayments,
4182 Bakeries,
4183 BandsOrchestras,
4184 BarberAndBeautyShops,
4185 BettingCasinoGambling,
4186 BicycleShops,
4187 BilliardPoolEstablishments,
4188 BoatDealers,
4189 BoatRentalsAndLeases,
4190 BookStores,
4191 BooksPeriodicalsAndNewspapers,
4192 BowlingAlleys,
4193 BusLines,
4194 BusinessSecretarialSchools,
4195 BuyingShoppingServices,
4196 CableSatelliteAndOtherPayTelevisionAndRadio,
4197 CameraAndPhotographicSupplyStores,
4198 CandyNutAndConfectioneryStores,
4199 CarAndTruckDealersNewUsed,
4200 CarAndTruckDealersUsedOnly,
4201 CarRentalAgencies,
4202 CarWashes,
4203 CarpentryServices,
4204 CarpetUpholsteryCleaning,
4205 Caterers,
4206 CharitableAndSocialServiceOrganizationsFundraising,
4207 ChemicalsAndAlliedProducts,
4208 ChildCareServices,
4209 ChildrensAndInfantsWearStores,
4210 ChiropodistsPodiatrists,
4211 Chiropractors,
4212 CigarStoresAndStands,
4213 CivicSocialFraternalAssociations,
4214 CleaningAndMaintenance,
4215 ClothingRental,
4216 CollegesUniversities,
4217 CommercialEquipment,
4218 CommercialFootwear,
4219 CommercialPhotographyArtAndGraphics,
4220 CommuterTransportAndFerries,
4221 ComputerNetworkServices,
4222 ComputerProgramming,
4223 ComputerRepair,
4224 ComputerSoftwareStores,
4225 ComputersPeripheralsAndSoftware,
4226 ConcreteWorkServices,
4227 ConstructionMaterials,
4228 ConsultingPublicRelations,
4229 CorrespondenceSchools,
4230 CosmeticStores,
4231 CounselingServices,
4232 CountryClubs,
4233 CourierServices,
4234 CourtCosts,
4235 CreditReportingAgencies,
4236 CruiseLines,
4237 DairyProductsStores,
4238 DanceHallStudiosSchools,
4239 DatingEscortServices,
4240 DentistsOrthodontists,
4241 DepartmentStores,
4242 DetectiveAgencies,
4243 DigitalGoodsApplications,
4244 DigitalGoodsGames,
4245 DigitalGoodsLargeVolume,
4246 DigitalGoodsMedia,
4247 DirectMarketingCatalogMerchant,
4248 DirectMarketingCombinationCatalogAndRetailMerchant,
4249 DirectMarketingInboundTelemarketing,
4250 DirectMarketingInsuranceServices,
4251 DirectMarketingOther,
4252 DirectMarketingOutboundTelemarketing,
4253 DirectMarketingSubscription,
4254 DirectMarketingTravel,
4255 DiscountStores,
4256 Doctors,
4257 DoorToDoorSales,
4258 DraperyWindowCoveringAndUpholsteryStores,
4259 DrinkingPlaces,
4260 DrugStoresAndPharmacies,
4261 DrugsDrugProprietariesAndDruggistSundries,
4262 DryCleaners,
4263 DurableGoods,
4264 DutyFreeStores,
4265 EatingPlacesRestaurants,
4266 EducationalServices,
4267 ElectricRazorStores,
4268 ElectricVehicleCharging,
4269 ElectricalPartsAndEquipment,
4270 ElectricalServices,
4271 ElectronicsRepairShops,
4272 ElectronicsStores,
4273 ElementarySecondarySchools,
4274 EmergencyServicesGcasVisaUseOnly,
4275 EmploymentTempAgencies,
4276 EquipmentRental,
4277 ExterminatingServices,
4278 FamilyClothingStores,
4279 FastFoodRestaurants,
4280 FinancialInstitutions,
4281 FinesGovernmentAdministrativeEntities,
4282 FireplaceFireplaceScreensAndAccessoriesStores,
4283 FloorCoveringStores,
4284 Florists,
4285 FloristsSuppliesNurseryStockAndFlowers,
4286 FreezerAndLockerMeatProvisioners,
4287 FuelDealersNonAutomotive,
4288 FuneralServicesCrematories,
4289 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances,
4290 FurnitureRepairRefinishing,
4291 FurriersAndFurShops,
4292 GeneralServices,
4293 GiftCardNoveltyAndSouvenirShops,
4294 GlassPaintAndWallpaperStores,
4295 GlasswareCrystalStores,
4296 GolfCoursesPublic,
4297 GovernmentLicensedHorseDogRacingUsRegionOnly,
4298 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly,
4299 GovernmentOwnedLotteriesNonUsRegion,
4300 GovernmentOwnedLotteriesUsRegionOnly,
4301 GovernmentServices,
4302 GroceryStoresSupermarkets,
4303 HardwareEquipmentAndSupplies,
4304 HardwareStores,
4305 HealthAndBeautySpas,
4306 HearingAidsSalesAndSupplies,
4307 HeatingPlumbingAC,
4308 HobbyToyAndGameShops,
4309 HomeSupplyWarehouseStores,
4310 Hospitals,
4311 HotelsMotelsAndResorts,
4312 HouseholdApplianceStores,
4313 IndustrialSupplies,
4314 InformationRetrievalServices,
4315 InsuranceDefault,
4316 InsuranceUnderwritingPremiums,
4317 IntraCompanyPurchases,
4318 JewelryStoresWatchesClocksAndSilverwareStores,
4319 LandscapingServices,
4320 Laundries,
4321 LaundryCleaningServices,
4322 LegalServicesAttorneys,
4323 LuggageAndLeatherGoodsStores,
4324 LumberBuildingMaterialsStores,
4325 ManualCashDisburse,
4326 MarinasServiceAndSupplies,
4327 Marketplaces,
4328 MasonryStoneworkAndPlaster,
4329 MassageParlors,
4330 MedicalAndDentalLabs,
4331 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies,
4332 MedicalServices,
4333 MembershipOrganizations,
4334 MensAndBoysClothingAndAccessoriesStores,
4335 MensWomensClothingStores,
4336 MetalServiceCenters,
4337 Miscellaneous,
4338 MiscellaneousApparelAndAccessoryShops,
4339 MiscellaneousAutoDealers,
4340 MiscellaneousBusinessServices,
4341 MiscellaneousFoodStores,
4342 MiscellaneousGeneralMerchandise,
4343 MiscellaneousGeneralServices,
4344 MiscellaneousHomeFurnishingSpecialtyStores,
4345 MiscellaneousPublishingAndPrinting,
4346 MiscellaneousRecreationServices,
4347 MiscellaneousRepairShops,
4348 MiscellaneousSpecialtyRetail,
4349 MobileHomeDealers,
4350 MotionPictureTheaters,
4351 MotorFreightCarriersAndTrucking,
4352 MotorHomesDealers,
4353 MotorVehicleSuppliesAndNewParts,
4354 MotorcycleShopsAndDealers,
4355 MotorcycleShopsDealers,
4356 MusicStoresMusicalInstrumentsPianosAndSheetMusic,
4357 NewsDealersAndNewsstands,
4358 NonFiMoneyOrders,
4359 NonFiStoredValueCardPurchaseLoad,
4360 NondurableGoods,
4361 NurseriesLawnAndGardenSupplyStores,
4362 NursingPersonalCare,
4363 OfficeAndCommercialFurniture,
4364 OpticiansEyeglasses,
4365 OptometristsOphthalmologist,
4366 OrthopedicGoodsProstheticDevices,
4367 Osteopaths,
4368 PackageStoresBeerWineAndLiquor,
4369 PaintsVarnishesAndSupplies,
4370 ParkingLotsGarages,
4371 PassengerRailways,
4372 PawnShops,
4373 PetShopsPetFoodAndSupplies,
4374 PetroleumAndPetroleumProducts,
4375 PhotoDeveloping,
4376 PhotographicPhotocopyMicrofilmEquipmentAndSupplies,
4377 PhotographicStudios,
4378 PictureVideoProduction,
4379 PieceGoodsNotionsAndOtherDryGoods,
4380 PlumbingHeatingEquipmentAndSupplies,
4381 PoliticalOrganizations,
4382 PostalServicesGovernmentOnly,
4383 PreciousStonesAndMetalsWatchesAndJewelry,
4384 ProfessionalServices,
4385 PublicWarehousingAndStorage,
4386 QuickCopyReproAndBlueprint,
4387 Railroads,
4388 RealEstateAgentsAndManagersRentals,
4389 RecordStores,
4390 RecreationalVehicleRentals,
4391 ReligiousGoodsStores,
4392 ReligiousOrganizations,
4393 RoofingSidingSheetMetal,
4394 SecretarialSupportServices,
4395 SecurityBrokersDealers,
4396 ServiceStations,
4397 SewingNeedleworkFabricAndPieceGoodsStores,
4398 ShoeRepairHatCleaning,
4399 ShoeStores,
4400 SmallApplianceRepair,
4401 SnowmobileDealers,
4402 SpecialTradeServices,
4403 SpecialtyCleaning,
4404 SportingGoodsStores,
4405 SportingRecreationCamps,
4406 SportsAndRidingApparelStores,
4407 SportsClubsFields,
4408 StampAndCoinStores,
4409 StationaryOfficeSuppliesPrintingAndWritingPaper,
4410 StationeryStoresOfficeAndSchoolSupplyStores,
4411 SwimmingPoolsSales,
4412 TUiTravelGermany,
4413 TailorsAlterations,
4414 TaxPaymentsGovernmentAgencies,
4415 TaxPreparationServices,
4416 TaxicabsLimousines,
4417 TelecommunicationEquipmentAndTelephoneSales,
4418 TelecommunicationServices,
4419 TelegraphServices,
4420 TentAndAwningShops,
4421 TestingLaboratories,
4422 TheatricalTicketAgencies,
4423 Timeshares,
4424 TireRetreadingAndRepair,
4425 TollsBridgeFees,
4426 TouristAttractionsAndExhibits,
4427 TowingServices,
4428 TrailerParksCampgrounds,
4429 TransportationServices,
4430 TravelAgenciesTourOperators,
4431 TruckStopIteration,
4432 TruckUtilityTrailerRentals,
4433 TypesettingPlateMakingAndRelatedServices,
4434 TypewriterStores,
4435 USFederalGovernmentAgenciesOrDepartments,
4436 UniformsCommercialClothing,
4437 UsedMerchandiseAndSecondhandStores,
4438 Utilities,
4439 VarietyStores,
4440 VeterinaryServices,
4441 VideoAmusementGameSupplies,
4442 VideoGameArcades,
4443 VideoTapeRentalStores,
4444 VocationalTradeSchools,
4445 WatchJewelryRepair,
4446 WeldingRepair,
4447 WholesaleClubs,
4448 WigAndToupeeStores,
4449 WiresMoneyOrders,
4450 WomensAccessoryAndSpecialtyShops,
4451 WomensReadyToWearStores,
4452 WreckingAndSalvageYards,
4453 Unknown(String),
4455}
4456impl UpdateIssuingCardholderSpendingControlsAllowedCategories {
4457 pub fn as_str(&self) -> &str {
4458 use UpdateIssuingCardholderSpendingControlsAllowedCategories::*;
4459 match self {
4460 AcRefrigerationRepair => "ac_refrigeration_repair",
4461 AccountingBookkeepingServices => "accounting_bookkeeping_services",
4462 AdvertisingServices => "advertising_services",
4463 AgriculturalCooperative => "agricultural_cooperative",
4464 AirlinesAirCarriers => "airlines_air_carriers",
4465 AirportsFlyingFields => "airports_flying_fields",
4466 AmbulanceServices => "ambulance_services",
4467 AmusementParksCarnivals => "amusement_parks_carnivals",
4468 AntiqueReproductions => "antique_reproductions",
4469 AntiqueShops => "antique_shops",
4470 Aquariums => "aquariums",
4471 ArchitecturalSurveyingServices => "architectural_surveying_services",
4472 ArtDealersAndGalleries => "art_dealers_and_galleries",
4473 ArtistsSupplyAndCraftShops => "artists_supply_and_craft_shops",
4474 AutoAndHomeSupplyStores => "auto_and_home_supply_stores",
4475 AutoBodyRepairShops => "auto_body_repair_shops",
4476 AutoPaintShops => "auto_paint_shops",
4477 AutoServiceShops => "auto_service_shops",
4478 AutomatedCashDisburse => "automated_cash_disburse",
4479 AutomatedFuelDispensers => "automated_fuel_dispensers",
4480 AutomobileAssociations => "automobile_associations",
4481 AutomotivePartsAndAccessoriesStores => "automotive_parts_and_accessories_stores",
4482 AutomotiveTireStores => "automotive_tire_stores",
4483 BailAndBondPayments => "bail_and_bond_payments",
4484 Bakeries => "bakeries",
4485 BandsOrchestras => "bands_orchestras",
4486 BarberAndBeautyShops => "barber_and_beauty_shops",
4487 BettingCasinoGambling => "betting_casino_gambling",
4488 BicycleShops => "bicycle_shops",
4489 BilliardPoolEstablishments => "billiard_pool_establishments",
4490 BoatDealers => "boat_dealers",
4491 BoatRentalsAndLeases => "boat_rentals_and_leases",
4492 BookStores => "book_stores",
4493 BooksPeriodicalsAndNewspapers => "books_periodicals_and_newspapers",
4494 BowlingAlleys => "bowling_alleys",
4495 BusLines => "bus_lines",
4496 BusinessSecretarialSchools => "business_secretarial_schools",
4497 BuyingShoppingServices => "buying_shopping_services",
4498 CableSatelliteAndOtherPayTelevisionAndRadio => {
4499 "cable_satellite_and_other_pay_television_and_radio"
4500 }
4501 CameraAndPhotographicSupplyStores => "camera_and_photographic_supply_stores",
4502 CandyNutAndConfectioneryStores => "candy_nut_and_confectionery_stores",
4503 CarAndTruckDealersNewUsed => "car_and_truck_dealers_new_used",
4504 CarAndTruckDealersUsedOnly => "car_and_truck_dealers_used_only",
4505 CarRentalAgencies => "car_rental_agencies",
4506 CarWashes => "car_washes",
4507 CarpentryServices => "carpentry_services",
4508 CarpetUpholsteryCleaning => "carpet_upholstery_cleaning",
4509 Caterers => "caterers",
4510 CharitableAndSocialServiceOrganizationsFundraising => {
4511 "charitable_and_social_service_organizations_fundraising"
4512 }
4513 ChemicalsAndAlliedProducts => "chemicals_and_allied_products",
4514 ChildCareServices => "child_care_services",
4515 ChildrensAndInfantsWearStores => "childrens_and_infants_wear_stores",
4516 ChiropodistsPodiatrists => "chiropodists_podiatrists",
4517 Chiropractors => "chiropractors",
4518 CigarStoresAndStands => "cigar_stores_and_stands",
4519 CivicSocialFraternalAssociations => "civic_social_fraternal_associations",
4520 CleaningAndMaintenance => "cleaning_and_maintenance",
4521 ClothingRental => "clothing_rental",
4522 CollegesUniversities => "colleges_universities",
4523 CommercialEquipment => "commercial_equipment",
4524 CommercialFootwear => "commercial_footwear",
4525 CommercialPhotographyArtAndGraphics => "commercial_photography_art_and_graphics",
4526 CommuterTransportAndFerries => "commuter_transport_and_ferries",
4527 ComputerNetworkServices => "computer_network_services",
4528 ComputerProgramming => "computer_programming",
4529 ComputerRepair => "computer_repair",
4530 ComputerSoftwareStores => "computer_software_stores",
4531 ComputersPeripheralsAndSoftware => "computers_peripherals_and_software",
4532 ConcreteWorkServices => "concrete_work_services",
4533 ConstructionMaterials => "construction_materials",
4534 ConsultingPublicRelations => "consulting_public_relations",
4535 CorrespondenceSchools => "correspondence_schools",
4536 CosmeticStores => "cosmetic_stores",
4537 CounselingServices => "counseling_services",
4538 CountryClubs => "country_clubs",
4539 CourierServices => "courier_services",
4540 CourtCosts => "court_costs",
4541 CreditReportingAgencies => "credit_reporting_agencies",
4542 CruiseLines => "cruise_lines",
4543 DairyProductsStores => "dairy_products_stores",
4544 DanceHallStudiosSchools => "dance_hall_studios_schools",
4545 DatingEscortServices => "dating_escort_services",
4546 DentistsOrthodontists => "dentists_orthodontists",
4547 DepartmentStores => "department_stores",
4548 DetectiveAgencies => "detective_agencies",
4549 DigitalGoodsApplications => "digital_goods_applications",
4550 DigitalGoodsGames => "digital_goods_games",
4551 DigitalGoodsLargeVolume => "digital_goods_large_volume",
4552 DigitalGoodsMedia => "digital_goods_media",
4553 DirectMarketingCatalogMerchant => "direct_marketing_catalog_merchant",
4554 DirectMarketingCombinationCatalogAndRetailMerchant => {
4555 "direct_marketing_combination_catalog_and_retail_merchant"
4556 }
4557 DirectMarketingInboundTelemarketing => "direct_marketing_inbound_telemarketing",
4558 DirectMarketingInsuranceServices => "direct_marketing_insurance_services",
4559 DirectMarketingOther => "direct_marketing_other",
4560 DirectMarketingOutboundTelemarketing => "direct_marketing_outbound_telemarketing",
4561 DirectMarketingSubscription => "direct_marketing_subscription",
4562 DirectMarketingTravel => "direct_marketing_travel",
4563 DiscountStores => "discount_stores",
4564 Doctors => "doctors",
4565 DoorToDoorSales => "door_to_door_sales",
4566 DraperyWindowCoveringAndUpholsteryStores => {
4567 "drapery_window_covering_and_upholstery_stores"
4568 }
4569 DrinkingPlaces => "drinking_places",
4570 DrugStoresAndPharmacies => "drug_stores_and_pharmacies",
4571 DrugsDrugProprietariesAndDruggistSundries => {
4572 "drugs_drug_proprietaries_and_druggist_sundries"
4573 }
4574 DryCleaners => "dry_cleaners",
4575 DurableGoods => "durable_goods",
4576 DutyFreeStores => "duty_free_stores",
4577 EatingPlacesRestaurants => "eating_places_restaurants",
4578 EducationalServices => "educational_services",
4579 ElectricRazorStores => "electric_razor_stores",
4580 ElectricVehicleCharging => "electric_vehicle_charging",
4581 ElectricalPartsAndEquipment => "electrical_parts_and_equipment",
4582 ElectricalServices => "electrical_services",
4583 ElectronicsRepairShops => "electronics_repair_shops",
4584 ElectronicsStores => "electronics_stores",
4585 ElementarySecondarySchools => "elementary_secondary_schools",
4586 EmergencyServicesGcasVisaUseOnly => "emergency_services_gcas_visa_use_only",
4587 EmploymentTempAgencies => "employment_temp_agencies",
4588 EquipmentRental => "equipment_rental",
4589 ExterminatingServices => "exterminating_services",
4590 FamilyClothingStores => "family_clothing_stores",
4591 FastFoodRestaurants => "fast_food_restaurants",
4592 FinancialInstitutions => "financial_institutions",
4593 FinesGovernmentAdministrativeEntities => "fines_government_administrative_entities",
4594 FireplaceFireplaceScreensAndAccessoriesStores => {
4595 "fireplace_fireplace_screens_and_accessories_stores"
4596 }
4597 FloorCoveringStores => "floor_covering_stores",
4598 Florists => "florists",
4599 FloristsSuppliesNurseryStockAndFlowers => "florists_supplies_nursery_stock_and_flowers",
4600 FreezerAndLockerMeatProvisioners => "freezer_and_locker_meat_provisioners",
4601 FuelDealersNonAutomotive => "fuel_dealers_non_automotive",
4602 FuneralServicesCrematories => "funeral_services_crematories",
4603 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances => {
4604 "furniture_home_furnishings_and_equipment_stores_except_appliances"
4605 }
4606 FurnitureRepairRefinishing => "furniture_repair_refinishing",
4607 FurriersAndFurShops => "furriers_and_fur_shops",
4608 GeneralServices => "general_services",
4609 GiftCardNoveltyAndSouvenirShops => "gift_card_novelty_and_souvenir_shops",
4610 GlassPaintAndWallpaperStores => "glass_paint_and_wallpaper_stores",
4611 GlasswareCrystalStores => "glassware_crystal_stores",
4612 GolfCoursesPublic => "golf_courses_public",
4613 GovernmentLicensedHorseDogRacingUsRegionOnly => {
4614 "government_licensed_horse_dog_racing_us_region_only"
4615 }
4616 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly => {
4617 "government_licensed_online_casions_online_gambling_us_region_only"
4618 }
4619 GovernmentOwnedLotteriesNonUsRegion => "government_owned_lotteries_non_us_region",
4620 GovernmentOwnedLotteriesUsRegionOnly => "government_owned_lotteries_us_region_only",
4621 GovernmentServices => "government_services",
4622 GroceryStoresSupermarkets => "grocery_stores_supermarkets",
4623 HardwareEquipmentAndSupplies => "hardware_equipment_and_supplies",
4624 HardwareStores => "hardware_stores",
4625 HealthAndBeautySpas => "health_and_beauty_spas",
4626 HearingAidsSalesAndSupplies => "hearing_aids_sales_and_supplies",
4627 HeatingPlumbingAC => "heating_plumbing_a_c",
4628 HobbyToyAndGameShops => "hobby_toy_and_game_shops",
4629 HomeSupplyWarehouseStores => "home_supply_warehouse_stores",
4630 Hospitals => "hospitals",
4631 HotelsMotelsAndResorts => "hotels_motels_and_resorts",
4632 HouseholdApplianceStores => "household_appliance_stores",
4633 IndustrialSupplies => "industrial_supplies",
4634 InformationRetrievalServices => "information_retrieval_services",
4635 InsuranceDefault => "insurance_default",
4636 InsuranceUnderwritingPremiums => "insurance_underwriting_premiums",
4637 IntraCompanyPurchases => "intra_company_purchases",
4638 JewelryStoresWatchesClocksAndSilverwareStores => {
4639 "jewelry_stores_watches_clocks_and_silverware_stores"
4640 }
4641 LandscapingServices => "landscaping_services",
4642 Laundries => "laundries",
4643 LaundryCleaningServices => "laundry_cleaning_services",
4644 LegalServicesAttorneys => "legal_services_attorneys",
4645 LuggageAndLeatherGoodsStores => "luggage_and_leather_goods_stores",
4646 LumberBuildingMaterialsStores => "lumber_building_materials_stores",
4647 ManualCashDisburse => "manual_cash_disburse",
4648 MarinasServiceAndSupplies => "marinas_service_and_supplies",
4649 Marketplaces => "marketplaces",
4650 MasonryStoneworkAndPlaster => "masonry_stonework_and_plaster",
4651 MassageParlors => "massage_parlors",
4652 MedicalAndDentalLabs => "medical_and_dental_labs",
4653 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies => {
4654 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
4655 }
4656 MedicalServices => "medical_services",
4657 MembershipOrganizations => "membership_organizations",
4658 MensAndBoysClothingAndAccessoriesStores => {
4659 "mens_and_boys_clothing_and_accessories_stores"
4660 }
4661 MensWomensClothingStores => "mens_womens_clothing_stores",
4662 MetalServiceCenters => "metal_service_centers",
4663 Miscellaneous => "miscellaneous",
4664 MiscellaneousApparelAndAccessoryShops => "miscellaneous_apparel_and_accessory_shops",
4665 MiscellaneousAutoDealers => "miscellaneous_auto_dealers",
4666 MiscellaneousBusinessServices => "miscellaneous_business_services",
4667 MiscellaneousFoodStores => "miscellaneous_food_stores",
4668 MiscellaneousGeneralMerchandise => "miscellaneous_general_merchandise",
4669 MiscellaneousGeneralServices => "miscellaneous_general_services",
4670 MiscellaneousHomeFurnishingSpecialtyStores => {
4671 "miscellaneous_home_furnishing_specialty_stores"
4672 }
4673 MiscellaneousPublishingAndPrinting => "miscellaneous_publishing_and_printing",
4674 MiscellaneousRecreationServices => "miscellaneous_recreation_services",
4675 MiscellaneousRepairShops => "miscellaneous_repair_shops",
4676 MiscellaneousSpecialtyRetail => "miscellaneous_specialty_retail",
4677 MobileHomeDealers => "mobile_home_dealers",
4678 MotionPictureTheaters => "motion_picture_theaters",
4679 MotorFreightCarriersAndTrucking => "motor_freight_carriers_and_trucking",
4680 MotorHomesDealers => "motor_homes_dealers",
4681 MotorVehicleSuppliesAndNewParts => "motor_vehicle_supplies_and_new_parts",
4682 MotorcycleShopsAndDealers => "motorcycle_shops_and_dealers",
4683 MotorcycleShopsDealers => "motorcycle_shops_dealers",
4684 MusicStoresMusicalInstrumentsPianosAndSheetMusic => {
4685 "music_stores_musical_instruments_pianos_and_sheet_music"
4686 }
4687 NewsDealersAndNewsstands => "news_dealers_and_newsstands",
4688 NonFiMoneyOrders => "non_fi_money_orders",
4689 NonFiStoredValueCardPurchaseLoad => "non_fi_stored_value_card_purchase_load",
4690 NondurableGoods => "nondurable_goods",
4691 NurseriesLawnAndGardenSupplyStores => "nurseries_lawn_and_garden_supply_stores",
4692 NursingPersonalCare => "nursing_personal_care",
4693 OfficeAndCommercialFurniture => "office_and_commercial_furniture",
4694 OpticiansEyeglasses => "opticians_eyeglasses",
4695 OptometristsOphthalmologist => "optometrists_ophthalmologist",
4696 OrthopedicGoodsProstheticDevices => "orthopedic_goods_prosthetic_devices",
4697 Osteopaths => "osteopaths",
4698 PackageStoresBeerWineAndLiquor => "package_stores_beer_wine_and_liquor",
4699 PaintsVarnishesAndSupplies => "paints_varnishes_and_supplies",
4700 ParkingLotsGarages => "parking_lots_garages",
4701 PassengerRailways => "passenger_railways",
4702 PawnShops => "pawn_shops",
4703 PetShopsPetFoodAndSupplies => "pet_shops_pet_food_and_supplies",
4704 PetroleumAndPetroleumProducts => "petroleum_and_petroleum_products",
4705 PhotoDeveloping => "photo_developing",
4706 PhotographicPhotocopyMicrofilmEquipmentAndSupplies => {
4707 "photographic_photocopy_microfilm_equipment_and_supplies"
4708 }
4709 PhotographicStudios => "photographic_studios",
4710 PictureVideoProduction => "picture_video_production",
4711 PieceGoodsNotionsAndOtherDryGoods => "piece_goods_notions_and_other_dry_goods",
4712 PlumbingHeatingEquipmentAndSupplies => "plumbing_heating_equipment_and_supplies",
4713 PoliticalOrganizations => "political_organizations",
4714 PostalServicesGovernmentOnly => "postal_services_government_only",
4715 PreciousStonesAndMetalsWatchesAndJewelry => {
4716 "precious_stones_and_metals_watches_and_jewelry"
4717 }
4718 ProfessionalServices => "professional_services",
4719 PublicWarehousingAndStorage => "public_warehousing_and_storage",
4720 QuickCopyReproAndBlueprint => "quick_copy_repro_and_blueprint",
4721 Railroads => "railroads",
4722 RealEstateAgentsAndManagersRentals => "real_estate_agents_and_managers_rentals",
4723 RecordStores => "record_stores",
4724 RecreationalVehicleRentals => "recreational_vehicle_rentals",
4725 ReligiousGoodsStores => "religious_goods_stores",
4726 ReligiousOrganizations => "religious_organizations",
4727 RoofingSidingSheetMetal => "roofing_siding_sheet_metal",
4728 SecretarialSupportServices => "secretarial_support_services",
4729 SecurityBrokersDealers => "security_brokers_dealers",
4730 ServiceStations => "service_stations",
4731 SewingNeedleworkFabricAndPieceGoodsStores => {
4732 "sewing_needlework_fabric_and_piece_goods_stores"
4733 }
4734 ShoeRepairHatCleaning => "shoe_repair_hat_cleaning",
4735 ShoeStores => "shoe_stores",
4736 SmallApplianceRepair => "small_appliance_repair",
4737 SnowmobileDealers => "snowmobile_dealers",
4738 SpecialTradeServices => "special_trade_services",
4739 SpecialtyCleaning => "specialty_cleaning",
4740 SportingGoodsStores => "sporting_goods_stores",
4741 SportingRecreationCamps => "sporting_recreation_camps",
4742 SportsAndRidingApparelStores => "sports_and_riding_apparel_stores",
4743 SportsClubsFields => "sports_clubs_fields",
4744 StampAndCoinStores => "stamp_and_coin_stores",
4745 StationaryOfficeSuppliesPrintingAndWritingPaper => {
4746 "stationary_office_supplies_printing_and_writing_paper"
4747 }
4748 StationeryStoresOfficeAndSchoolSupplyStores => {
4749 "stationery_stores_office_and_school_supply_stores"
4750 }
4751 SwimmingPoolsSales => "swimming_pools_sales",
4752 TUiTravelGermany => "t_ui_travel_germany",
4753 TailorsAlterations => "tailors_alterations",
4754 TaxPaymentsGovernmentAgencies => "tax_payments_government_agencies",
4755 TaxPreparationServices => "tax_preparation_services",
4756 TaxicabsLimousines => "taxicabs_limousines",
4757 TelecommunicationEquipmentAndTelephoneSales => {
4758 "telecommunication_equipment_and_telephone_sales"
4759 }
4760 TelecommunicationServices => "telecommunication_services",
4761 TelegraphServices => "telegraph_services",
4762 TentAndAwningShops => "tent_and_awning_shops",
4763 TestingLaboratories => "testing_laboratories",
4764 TheatricalTicketAgencies => "theatrical_ticket_agencies",
4765 Timeshares => "timeshares",
4766 TireRetreadingAndRepair => "tire_retreading_and_repair",
4767 TollsBridgeFees => "tolls_bridge_fees",
4768 TouristAttractionsAndExhibits => "tourist_attractions_and_exhibits",
4769 TowingServices => "towing_services",
4770 TrailerParksCampgrounds => "trailer_parks_campgrounds",
4771 TransportationServices => "transportation_services",
4772 TravelAgenciesTourOperators => "travel_agencies_tour_operators",
4773 TruckStopIteration => "truck_stop_iteration",
4774 TruckUtilityTrailerRentals => "truck_utility_trailer_rentals",
4775 TypesettingPlateMakingAndRelatedServices => {
4776 "typesetting_plate_making_and_related_services"
4777 }
4778 TypewriterStores => "typewriter_stores",
4779 USFederalGovernmentAgenciesOrDepartments => {
4780 "u_s_federal_government_agencies_or_departments"
4781 }
4782 UniformsCommercialClothing => "uniforms_commercial_clothing",
4783 UsedMerchandiseAndSecondhandStores => "used_merchandise_and_secondhand_stores",
4784 Utilities => "utilities",
4785 VarietyStores => "variety_stores",
4786 VeterinaryServices => "veterinary_services",
4787 VideoAmusementGameSupplies => "video_amusement_game_supplies",
4788 VideoGameArcades => "video_game_arcades",
4789 VideoTapeRentalStores => "video_tape_rental_stores",
4790 VocationalTradeSchools => "vocational_trade_schools",
4791 WatchJewelryRepair => "watch_jewelry_repair",
4792 WeldingRepair => "welding_repair",
4793 WholesaleClubs => "wholesale_clubs",
4794 WigAndToupeeStores => "wig_and_toupee_stores",
4795 WiresMoneyOrders => "wires_money_orders",
4796 WomensAccessoryAndSpecialtyShops => "womens_accessory_and_specialty_shops",
4797 WomensReadyToWearStores => "womens_ready_to_wear_stores",
4798 WreckingAndSalvageYards => "wrecking_and_salvage_yards",
4799 Unknown(v) => v,
4800 }
4801 }
4802}
4803
4804impl std::str::FromStr for UpdateIssuingCardholderSpendingControlsAllowedCategories {
4805 type Err = std::convert::Infallible;
4806 fn from_str(s: &str) -> Result<Self, Self::Err> {
4807 use UpdateIssuingCardholderSpendingControlsAllowedCategories::*;
4808 match s {
4809 "ac_refrigeration_repair" => Ok(AcRefrigerationRepair),
4810 "accounting_bookkeeping_services" => Ok(AccountingBookkeepingServices),
4811 "advertising_services" => Ok(AdvertisingServices),
4812 "agricultural_cooperative" => Ok(AgriculturalCooperative),
4813 "airlines_air_carriers" => Ok(AirlinesAirCarriers),
4814 "airports_flying_fields" => Ok(AirportsFlyingFields),
4815 "ambulance_services" => Ok(AmbulanceServices),
4816 "amusement_parks_carnivals" => Ok(AmusementParksCarnivals),
4817 "antique_reproductions" => Ok(AntiqueReproductions),
4818 "antique_shops" => Ok(AntiqueShops),
4819 "aquariums" => Ok(Aquariums),
4820 "architectural_surveying_services" => Ok(ArchitecturalSurveyingServices),
4821 "art_dealers_and_galleries" => Ok(ArtDealersAndGalleries),
4822 "artists_supply_and_craft_shops" => Ok(ArtistsSupplyAndCraftShops),
4823 "auto_and_home_supply_stores" => Ok(AutoAndHomeSupplyStores),
4824 "auto_body_repair_shops" => Ok(AutoBodyRepairShops),
4825 "auto_paint_shops" => Ok(AutoPaintShops),
4826 "auto_service_shops" => Ok(AutoServiceShops),
4827 "automated_cash_disburse" => Ok(AutomatedCashDisburse),
4828 "automated_fuel_dispensers" => Ok(AutomatedFuelDispensers),
4829 "automobile_associations" => Ok(AutomobileAssociations),
4830 "automotive_parts_and_accessories_stores" => Ok(AutomotivePartsAndAccessoriesStores),
4831 "automotive_tire_stores" => Ok(AutomotiveTireStores),
4832 "bail_and_bond_payments" => Ok(BailAndBondPayments),
4833 "bakeries" => Ok(Bakeries),
4834 "bands_orchestras" => Ok(BandsOrchestras),
4835 "barber_and_beauty_shops" => Ok(BarberAndBeautyShops),
4836 "betting_casino_gambling" => Ok(BettingCasinoGambling),
4837 "bicycle_shops" => Ok(BicycleShops),
4838 "billiard_pool_establishments" => Ok(BilliardPoolEstablishments),
4839 "boat_dealers" => Ok(BoatDealers),
4840 "boat_rentals_and_leases" => Ok(BoatRentalsAndLeases),
4841 "book_stores" => Ok(BookStores),
4842 "books_periodicals_and_newspapers" => Ok(BooksPeriodicalsAndNewspapers),
4843 "bowling_alleys" => Ok(BowlingAlleys),
4844 "bus_lines" => Ok(BusLines),
4845 "business_secretarial_schools" => Ok(BusinessSecretarialSchools),
4846 "buying_shopping_services" => Ok(BuyingShoppingServices),
4847 "cable_satellite_and_other_pay_television_and_radio" => {
4848 Ok(CableSatelliteAndOtherPayTelevisionAndRadio)
4849 }
4850 "camera_and_photographic_supply_stores" => Ok(CameraAndPhotographicSupplyStores),
4851 "candy_nut_and_confectionery_stores" => Ok(CandyNutAndConfectioneryStores),
4852 "car_and_truck_dealers_new_used" => Ok(CarAndTruckDealersNewUsed),
4853 "car_and_truck_dealers_used_only" => Ok(CarAndTruckDealersUsedOnly),
4854 "car_rental_agencies" => Ok(CarRentalAgencies),
4855 "car_washes" => Ok(CarWashes),
4856 "carpentry_services" => Ok(CarpentryServices),
4857 "carpet_upholstery_cleaning" => Ok(CarpetUpholsteryCleaning),
4858 "caterers" => Ok(Caterers),
4859 "charitable_and_social_service_organizations_fundraising" => {
4860 Ok(CharitableAndSocialServiceOrganizationsFundraising)
4861 }
4862 "chemicals_and_allied_products" => Ok(ChemicalsAndAlliedProducts),
4863 "child_care_services" => Ok(ChildCareServices),
4864 "childrens_and_infants_wear_stores" => Ok(ChildrensAndInfantsWearStores),
4865 "chiropodists_podiatrists" => Ok(ChiropodistsPodiatrists),
4866 "chiropractors" => Ok(Chiropractors),
4867 "cigar_stores_and_stands" => Ok(CigarStoresAndStands),
4868 "civic_social_fraternal_associations" => Ok(CivicSocialFraternalAssociations),
4869 "cleaning_and_maintenance" => Ok(CleaningAndMaintenance),
4870 "clothing_rental" => Ok(ClothingRental),
4871 "colleges_universities" => Ok(CollegesUniversities),
4872 "commercial_equipment" => Ok(CommercialEquipment),
4873 "commercial_footwear" => Ok(CommercialFootwear),
4874 "commercial_photography_art_and_graphics" => Ok(CommercialPhotographyArtAndGraphics),
4875 "commuter_transport_and_ferries" => Ok(CommuterTransportAndFerries),
4876 "computer_network_services" => Ok(ComputerNetworkServices),
4877 "computer_programming" => Ok(ComputerProgramming),
4878 "computer_repair" => Ok(ComputerRepair),
4879 "computer_software_stores" => Ok(ComputerSoftwareStores),
4880 "computers_peripherals_and_software" => Ok(ComputersPeripheralsAndSoftware),
4881 "concrete_work_services" => Ok(ConcreteWorkServices),
4882 "construction_materials" => Ok(ConstructionMaterials),
4883 "consulting_public_relations" => Ok(ConsultingPublicRelations),
4884 "correspondence_schools" => Ok(CorrespondenceSchools),
4885 "cosmetic_stores" => Ok(CosmeticStores),
4886 "counseling_services" => Ok(CounselingServices),
4887 "country_clubs" => Ok(CountryClubs),
4888 "courier_services" => Ok(CourierServices),
4889 "court_costs" => Ok(CourtCosts),
4890 "credit_reporting_agencies" => Ok(CreditReportingAgencies),
4891 "cruise_lines" => Ok(CruiseLines),
4892 "dairy_products_stores" => Ok(DairyProductsStores),
4893 "dance_hall_studios_schools" => Ok(DanceHallStudiosSchools),
4894 "dating_escort_services" => Ok(DatingEscortServices),
4895 "dentists_orthodontists" => Ok(DentistsOrthodontists),
4896 "department_stores" => Ok(DepartmentStores),
4897 "detective_agencies" => Ok(DetectiveAgencies),
4898 "digital_goods_applications" => Ok(DigitalGoodsApplications),
4899 "digital_goods_games" => Ok(DigitalGoodsGames),
4900 "digital_goods_large_volume" => Ok(DigitalGoodsLargeVolume),
4901 "digital_goods_media" => Ok(DigitalGoodsMedia),
4902 "direct_marketing_catalog_merchant" => Ok(DirectMarketingCatalogMerchant),
4903 "direct_marketing_combination_catalog_and_retail_merchant" => {
4904 Ok(DirectMarketingCombinationCatalogAndRetailMerchant)
4905 }
4906 "direct_marketing_inbound_telemarketing" => Ok(DirectMarketingInboundTelemarketing),
4907 "direct_marketing_insurance_services" => Ok(DirectMarketingInsuranceServices),
4908 "direct_marketing_other" => Ok(DirectMarketingOther),
4909 "direct_marketing_outbound_telemarketing" => Ok(DirectMarketingOutboundTelemarketing),
4910 "direct_marketing_subscription" => Ok(DirectMarketingSubscription),
4911 "direct_marketing_travel" => Ok(DirectMarketingTravel),
4912 "discount_stores" => Ok(DiscountStores),
4913 "doctors" => Ok(Doctors),
4914 "door_to_door_sales" => Ok(DoorToDoorSales),
4915 "drapery_window_covering_and_upholstery_stores" => {
4916 Ok(DraperyWindowCoveringAndUpholsteryStores)
4917 }
4918 "drinking_places" => Ok(DrinkingPlaces),
4919 "drug_stores_and_pharmacies" => Ok(DrugStoresAndPharmacies),
4920 "drugs_drug_proprietaries_and_druggist_sundries" => {
4921 Ok(DrugsDrugProprietariesAndDruggistSundries)
4922 }
4923 "dry_cleaners" => Ok(DryCleaners),
4924 "durable_goods" => Ok(DurableGoods),
4925 "duty_free_stores" => Ok(DutyFreeStores),
4926 "eating_places_restaurants" => Ok(EatingPlacesRestaurants),
4927 "educational_services" => Ok(EducationalServices),
4928 "electric_razor_stores" => Ok(ElectricRazorStores),
4929 "electric_vehicle_charging" => Ok(ElectricVehicleCharging),
4930 "electrical_parts_and_equipment" => Ok(ElectricalPartsAndEquipment),
4931 "electrical_services" => Ok(ElectricalServices),
4932 "electronics_repair_shops" => Ok(ElectronicsRepairShops),
4933 "electronics_stores" => Ok(ElectronicsStores),
4934 "elementary_secondary_schools" => Ok(ElementarySecondarySchools),
4935 "emergency_services_gcas_visa_use_only" => Ok(EmergencyServicesGcasVisaUseOnly),
4936 "employment_temp_agencies" => Ok(EmploymentTempAgencies),
4937 "equipment_rental" => Ok(EquipmentRental),
4938 "exterminating_services" => Ok(ExterminatingServices),
4939 "family_clothing_stores" => Ok(FamilyClothingStores),
4940 "fast_food_restaurants" => Ok(FastFoodRestaurants),
4941 "financial_institutions" => Ok(FinancialInstitutions),
4942 "fines_government_administrative_entities" => Ok(FinesGovernmentAdministrativeEntities),
4943 "fireplace_fireplace_screens_and_accessories_stores" => {
4944 Ok(FireplaceFireplaceScreensAndAccessoriesStores)
4945 }
4946 "floor_covering_stores" => Ok(FloorCoveringStores),
4947 "florists" => Ok(Florists),
4948 "florists_supplies_nursery_stock_and_flowers" => {
4949 Ok(FloristsSuppliesNurseryStockAndFlowers)
4950 }
4951 "freezer_and_locker_meat_provisioners" => Ok(FreezerAndLockerMeatProvisioners),
4952 "fuel_dealers_non_automotive" => Ok(FuelDealersNonAutomotive),
4953 "funeral_services_crematories" => Ok(FuneralServicesCrematories),
4954 "furniture_home_furnishings_and_equipment_stores_except_appliances" => {
4955 Ok(FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances)
4956 }
4957 "furniture_repair_refinishing" => Ok(FurnitureRepairRefinishing),
4958 "furriers_and_fur_shops" => Ok(FurriersAndFurShops),
4959 "general_services" => Ok(GeneralServices),
4960 "gift_card_novelty_and_souvenir_shops" => Ok(GiftCardNoveltyAndSouvenirShops),
4961 "glass_paint_and_wallpaper_stores" => Ok(GlassPaintAndWallpaperStores),
4962 "glassware_crystal_stores" => Ok(GlasswareCrystalStores),
4963 "golf_courses_public" => Ok(GolfCoursesPublic),
4964 "government_licensed_horse_dog_racing_us_region_only" => {
4965 Ok(GovernmentLicensedHorseDogRacingUsRegionOnly)
4966 }
4967 "government_licensed_online_casions_online_gambling_us_region_only" => {
4968 Ok(GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly)
4969 }
4970 "government_owned_lotteries_non_us_region" => Ok(GovernmentOwnedLotteriesNonUsRegion),
4971 "government_owned_lotteries_us_region_only" => Ok(GovernmentOwnedLotteriesUsRegionOnly),
4972 "government_services" => Ok(GovernmentServices),
4973 "grocery_stores_supermarkets" => Ok(GroceryStoresSupermarkets),
4974 "hardware_equipment_and_supplies" => Ok(HardwareEquipmentAndSupplies),
4975 "hardware_stores" => Ok(HardwareStores),
4976 "health_and_beauty_spas" => Ok(HealthAndBeautySpas),
4977 "hearing_aids_sales_and_supplies" => Ok(HearingAidsSalesAndSupplies),
4978 "heating_plumbing_a_c" => Ok(HeatingPlumbingAC),
4979 "hobby_toy_and_game_shops" => Ok(HobbyToyAndGameShops),
4980 "home_supply_warehouse_stores" => Ok(HomeSupplyWarehouseStores),
4981 "hospitals" => Ok(Hospitals),
4982 "hotels_motels_and_resorts" => Ok(HotelsMotelsAndResorts),
4983 "household_appliance_stores" => Ok(HouseholdApplianceStores),
4984 "industrial_supplies" => Ok(IndustrialSupplies),
4985 "information_retrieval_services" => Ok(InformationRetrievalServices),
4986 "insurance_default" => Ok(InsuranceDefault),
4987 "insurance_underwriting_premiums" => Ok(InsuranceUnderwritingPremiums),
4988 "intra_company_purchases" => Ok(IntraCompanyPurchases),
4989 "jewelry_stores_watches_clocks_and_silverware_stores" => {
4990 Ok(JewelryStoresWatchesClocksAndSilverwareStores)
4991 }
4992 "landscaping_services" => Ok(LandscapingServices),
4993 "laundries" => Ok(Laundries),
4994 "laundry_cleaning_services" => Ok(LaundryCleaningServices),
4995 "legal_services_attorneys" => Ok(LegalServicesAttorneys),
4996 "luggage_and_leather_goods_stores" => Ok(LuggageAndLeatherGoodsStores),
4997 "lumber_building_materials_stores" => Ok(LumberBuildingMaterialsStores),
4998 "manual_cash_disburse" => Ok(ManualCashDisburse),
4999 "marinas_service_and_supplies" => Ok(MarinasServiceAndSupplies),
5000 "marketplaces" => Ok(Marketplaces),
5001 "masonry_stonework_and_plaster" => Ok(MasonryStoneworkAndPlaster),
5002 "massage_parlors" => Ok(MassageParlors),
5003 "medical_and_dental_labs" => Ok(MedicalAndDentalLabs),
5004 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies" => {
5005 Ok(MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies)
5006 }
5007 "medical_services" => Ok(MedicalServices),
5008 "membership_organizations" => Ok(MembershipOrganizations),
5009 "mens_and_boys_clothing_and_accessories_stores" => {
5010 Ok(MensAndBoysClothingAndAccessoriesStores)
5011 }
5012 "mens_womens_clothing_stores" => Ok(MensWomensClothingStores),
5013 "metal_service_centers" => Ok(MetalServiceCenters),
5014 "miscellaneous" => Ok(Miscellaneous),
5015 "miscellaneous_apparel_and_accessory_shops" => {
5016 Ok(MiscellaneousApparelAndAccessoryShops)
5017 }
5018 "miscellaneous_auto_dealers" => Ok(MiscellaneousAutoDealers),
5019 "miscellaneous_business_services" => Ok(MiscellaneousBusinessServices),
5020 "miscellaneous_food_stores" => Ok(MiscellaneousFoodStores),
5021 "miscellaneous_general_merchandise" => Ok(MiscellaneousGeneralMerchandise),
5022 "miscellaneous_general_services" => Ok(MiscellaneousGeneralServices),
5023 "miscellaneous_home_furnishing_specialty_stores" => {
5024 Ok(MiscellaneousHomeFurnishingSpecialtyStores)
5025 }
5026 "miscellaneous_publishing_and_printing" => Ok(MiscellaneousPublishingAndPrinting),
5027 "miscellaneous_recreation_services" => Ok(MiscellaneousRecreationServices),
5028 "miscellaneous_repair_shops" => Ok(MiscellaneousRepairShops),
5029 "miscellaneous_specialty_retail" => Ok(MiscellaneousSpecialtyRetail),
5030 "mobile_home_dealers" => Ok(MobileHomeDealers),
5031 "motion_picture_theaters" => Ok(MotionPictureTheaters),
5032 "motor_freight_carriers_and_trucking" => Ok(MotorFreightCarriersAndTrucking),
5033 "motor_homes_dealers" => Ok(MotorHomesDealers),
5034 "motor_vehicle_supplies_and_new_parts" => Ok(MotorVehicleSuppliesAndNewParts),
5035 "motorcycle_shops_and_dealers" => Ok(MotorcycleShopsAndDealers),
5036 "motorcycle_shops_dealers" => Ok(MotorcycleShopsDealers),
5037 "music_stores_musical_instruments_pianos_and_sheet_music" => {
5038 Ok(MusicStoresMusicalInstrumentsPianosAndSheetMusic)
5039 }
5040 "news_dealers_and_newsstands" => Ok(NewsDealersAndNewsstands),
5041 "non_fi_money_orders" => Ok(NonFiMoneyOrders),
5042 "non_fi_stored_value_card_purchase_load" => Ok(NonFiStoredValueCardPurchaseLoad),
5043 "nondurable_goods" => Ok(NondurableGoods),
5044 "nurseries_lawn_and_garden_supply_stores" => Ok(NurseriesLawnAndGardenSupplyStores),
5045 "nursing_personal_care" => Ok(NursingPersonalCare),
5046 "office_and_commercial_furniture" => Ok(OfficeAndCommercialFurniture),
5047 "opticians_eyeglasses" => Ok(OpticiansEyeglasses),
5048 "optometrists_ophthalmologist" => Ok(OptometristsOphthalmologist),
5049 "orthopedic_goods_prosthetic_devices" => Ok(OrthopedicGoodsProstheticDevices),
5050 "osteopaths" => Ok(Osteopaths),
5051 "package_stores_beer_wine_and_liquor" => Ok(PackageStoresBeerWineAndLiquor),
5052 "paints_varnishes_and_supplies" => Ok(PaintsVarnishesAndSupplies),
5053 "parking_lots_garages" => Ok(ParkingLotsGarages),
5054 "passenger_railways" => Ok(PassengerRailways),
5055 "pawn_shops" => Ok(PawnShops),
5056 "pet_shops_pet_food_and_supplies" => Ok(PetShopsPetFoodAndSupplies),
5057 "petroleum_and_petroleum_products" => Ok(PetroleumAndPetroleumProducts),
5058 "photo_developing" => Ok(PhotoDeveloping),
5059 "photographic_photocopy_microfilm_equipment_and_supplies" => {
5060 Ok(PhotographicPhotocopyMicrofilmEquipmentAndSupplies)
5061 }
5062 "photographic_studios" => Ok(PhotographicStudios),
5063 "picture_video_production" => Ok(PictureVideoProduction),
5064 "piece_goods_notions_and_other_dry_goods" => Ok(PieceGoodsNotionsAndOtherDryGoods),
5065 "plumbing_heating_equipment_and_supplies" => Ok(PlumbingHeatingEquipmentAndSupplies),
5066 "political_organizations" => Ok(PoliticalOrganizations),
5067 "postal_services_government_only" => Ok(PostalServicesGovernmentOnly),
5068 "precious_stones_and_metals_watches_and_jewelry" => {
5069 Ok(PreciousStonesAndMetalsWatchesAndJewelry)
5070 }
5071 "professional_services" => Ok(ProfessionalServices),
5072 "public_warehousing_and_storage" => Ok(PublicWarehousingAndStorage),
5073 "quick_copy_repro_and_blueprint" => Ok(QuickCopyReproAndBlueprint),
5074 "railroads" => Ok(Railroads),
5075 "real_estate_agents_and_managers_rentals" => Ok(RealEstateAgentsAndManagersRentals),
5076 "record_stores" => Ok(RecordStores),
5077 "recreational_vehicle_rentals" => Ok(RecreationalVehicleRentals),
5078 "religious_goods_stores" => Ok(ReligiousGoodsStores),
5079 "religious_organizations" => Ok(ReligiousOrganizations),
5080 "roofing_siding_sheet_metal" => Ok(RoofingSidingSheetMetal),
5081 "secretarial_support_services" => Ok(SecretarialSupportServices),
5082 "security_brokers_dealers" => Ok(SecurityBrokersDealers),
5083 "service_stations" => Ok(ServiceStations),
5084 "sewing_needlework_fabric_and_piece_goods_stores" => {
5085 Ok(SewingNeedleworkFabricAndPieceGoodsStores)
5086 }
5087 "shoe_repair_hat_cleaning" => Ok(ShoeRepairHatCleaning),
5088 "shoe_stores" => Ok(ShoeStores),
5089 "small_appliance_repair" => Ok(SmallApplianceRepair),
5090 "snowmobile_dealers" => Ok(SnowmobileDealers),
5091 "special_trade_services" => Ok(SpecialTradeServices),
5092 "specialty_cleaning" => Ok(SpecialtyCleaning),
5093 "sporting_goods_stores" => Ok(SportingGoodsStores),
5094 "sporting_recreation_camps" => Ok(SportingRecreationCamps),
5095 "sports_and_riding_apparel_stores" => Ok(SportsAndRidingApparelStores),
5096 "sports_clubs_fields" => Ok(SportsClubsFields),
5097 "stamp_and_coin_stores" => Ok(StampAndCoinStores),
5098 "stationary_office_supplies_printing_and_writing_paper" => {
5099 Ok(StationaryOfficeSuppliesPrintingAndWritingPaper)
5100 }
5101 "stationery_stores_office_and_school_supply_stores" => {
5102 Ok(StationeryStoresOfficeAndSchoolSupplyStores)
5103 }
5104 "swimming_pools_sales" => Ok(SwimmingPoolsSales),
5105 "t_ui_travel_germany" => Ok(TUiTravelGermany),
5106 "tailors_alterations" => Ok(TailorsAlterations),
5107 "tax_payments_government_agencies" => Ok(TaxPaymentsGovernmentAgencies),
5108 "tax_preparation_services" => Ok(TaxPreparationServices),
5109 "taxicabs_limousines" => Ok(TaxicabsLimousines),
5110 "telecommunication_equipment_and_telephone_sales" => {
5111 Ok(TelecommunicationEquipmentAndTelephoneSales)
5112 }
5113 "telecommunication_services" => Ok(TelecommunicationServices),
5114 "telegraph_services" => Ok(TelegraphServices),
5115 "tent_and_awning_shops" => Ok(TentAndAwningShops),
5116 "testing_laboratories" => Ok(TestingLaboratories),
5117 "theatrical_ticket_agencies" => Ok(TheatricalTicketAgencies),
5118 "timeshares" => Ok(Timeshares),
5119 "tire_retreading_and_repair" => Ok(TireRetreadingAndRepair),
5120 "tolls_bridge_fees" => Ok(TollsBridgeFees),
5121 "tourist_attractions_and_exhibits" => Ok(TouristAttractionsAndExhibits),
5122 "towing_services" => Ok(TowingServices),
5123 "trailer_parks_campgrounds" => Ok(TrailerParksCampgrounds),
5124 "transportation_services" => Ok(TransportationServices),
5125 "travel_agencies_tour_operators" => Ok(TravelAgenciesTourOperators),
5126 "truck_stop_iteration" => Ok(TruckStopIteration),
5127 "truck_utility_trailer_rentals" => Ok(TruckUtilityTrailerRentals),
5128 "typesetting_plate_making_and_related_services" => {
5129 Ok(TypesettingPlateMakingAndRelatedServices)
5130 }
5131 "typewriter_stores" => Ok(TypewriterStores),
5132 "u_s_federal_government_agencies_or_departments" => {
5133 Ok(USFederalGovernmentAgenciesOrDepartments)
5134 }
5135 "uniforms_commercial_clothing" => Ok(UniformsCommercialClothing),
5136 "used_merchandise_and_secondhand_stores" => Ok(UsedMerchandiseAndSecondhandStores),
5137 "utilities" => Ok(Utilities),
5138 "variety_stores" => Ok(VarietyStores),
5139 "veterinary_services" => Ok(VeterinaryServices),
5140 "video_amusement_game_supplies" => Ok(VideoAmusementGameSupplies),
5141 "video_game_arcades" => Ok(VideoGameArcades),
5142 "video_tape_rental_stores" => Ok(VideoTapeRentalStores),
5143 "vocational_trade_schools" => Ok(VocationalTradeSchools),
5144 "watch_jewelry_repair" => Ok(WatchJewelryRepair),
5145 "welding_repair" => Ok(WeldingRepair),
5146 "wholesale_clubs" => Ok(WholesaleClubs),
5147 "wig_and_toupee_stores" => Ok(WigAndToupeeStores),
5148 "wires_money_orders" => Ok(WiresMoneyOrders),
5149 "womens_accessory_and_specialty_shops" => Ok(WomensAccessoryAndSpecialtyShops),
5150 "womens_ready_to_wear_stores" => Ok(WomensReadyToWearStores),
5151 "wrecking_and_salvage_yards" => Ok(WreckingAndSalvageYards),
5152 v => {
5153 tracing::warn!(
5154 "Unknown value '{}' for enum '{}'",
5155 v,
5156 "UpdateIssuingCardholderSpendingControlsAllowedCategories"
5157 );
5158 Ok(Unknown(v.to_owned()))
5159 }
5160 }
5161 }
5162}
5163impl std::fmt::Display for UpdateIssuingCardholderSpendingControlsAllowedCategories {
5164 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
5165 f.write_str(self.as_str())
5166 }
5167}
5168
5169#[cfg(not(feature = "redact-generated-debug"))]
5170impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsAllowedCategories {
5171 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
5172 f.write_str(self.as_str())
5173 }
5174}
5175#[cfg(feature = "redact-generated-debug")]
5176impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsAllowedCategories {
5177 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
5178 f.debug_struct(stringify!(UpdateIssuingCardholderSpendingControlsAllowedCategories))
5179 .finish_non_exhaustive()
5180 }
5181}
5182impl serde::Serialize for UpdateIssuingCardholderSpendingControlsAllowedCategories {
5183 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
5184 where
5185 S: serde::Serializer,
5186 {
5187 serializer.serialize_str(self.as_str())
5188 }
5189}
5190#[cfg(feature = "deserialize")]
5191impl<'de> serde::Deserialize<'de> for UpdateIssuingCardholderSpendingControlsAllowedCategories {
5192 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
5193 use std::str::FromStr;
5194 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
5195 Ok(Self::from_str(&s).expect("infallible"))
5196 }
5197}
5198#[derive(Clone, Eq, PartialEq)]
5203#[non_exhaustive]
5204pub enum UpdateIssuingCardholderSpendingControlsBlockedCardPresences {
5205 NotPresent,
5206 Present,
5207 Unknown(String),
5209}
5210impl UpdateIssuingCardholderSpendingControlsBlockedCardPresences {
5211 pub fn as_str(&self) -> &str {
5212 use UpdateIssuingCardholderSpendingControlsBlockedCardPresences::*;
5213 match self {
5214 NotPresent => "not_present",
5215 Present => "present",
5216 Unknown(v) => v,
5217 }
5218 }
5219}
5220
5221impl std::str::FromStr for UpdateIssuingCardholderSpendingControlsBlockedCardPresences {
5222 type Err = std::convert::Infallible;
5223 fn from_str(s: &str) -> Result<Self, Self::Err> {
5224 use UpdateIssuingCardholderSpendingControlsBlockedCardPresences::*;
5225 match s {
5226 "not_present" => Ok(NotPresent),
5227 "present" => Ok(Present),
5228 v => {
5229 tracing::warn!(
5230 "Unknown value '{}' for enum '{}'",
5231 v,
5232 "UpdateIssuingCardholderSpendingControlsBlockedCardPresences"
5233 );
5234 Ok(Unknown(v.to_owned()))
5235 }
5236 }
5237 }
5238}
5239impl std::fmt::Display for UpdateIssuingCardholderSpendingControlsBlockedCardPresences {
5240 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
5241 f.write_str(self.as_str())
5242 }
5243}
5244
5245#[cfg(not(feature = "redact-generated-debug"))]
5246impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsBlockedCardPresences {
5247 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
5248 f.write_str(self.as_str())
5249 }
5250}
5251#[cfg(feature = "redact-generated-debug")]
5252impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsBlockedCardPresences {
5253 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
5254 f.debug_struct(stringify!(UpdateIssuingCardholderSpendingControlsBlockedCardPresences))
5255 .finish_non_exhaustive()
5256 }
5257}
5258impl serde::Serialize for UpdateIssuingCardholderSpendingControlsBlockedCardPresences {
5259 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
5260 where
5261 S: serde::Serializer,
5262 {
5263 serializer.serialize_str(self.as_str())
5264 }
5265}
5266#[cfg(feature = "deserialize")]
5267impl<'de> serde::Deserialize<'de> for UpdateIssuingCardholderSpendingControlsBlockedCardPresences {
5268 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
5269 use std::str::FromStr;
5270 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
5271 Ok(Self::from_str(&s).expect("infallible"))
5272 }
5273}
5274#[derive(Clone, Eq, PartialEq)]
5278#[non_exhaustive]
5279pub enum UpdateIssuingCardholderSpendingControlsBlockedCategories {
5280 AcRefrigerationRepair,
5281 AccountingBookkeepingServices,
5282 AdvertisingServices,
5283 AgriculturalCooperative,
5284 AirlinesAirCarriers,
5285 AirportsFlyingFields,
5286 AmbulanceServices,
5287 AmusementParksCarnivals,
5288 AntiqueReproductions,
5289 AntiqueShops,
5290 Aquariums,
5291 ArchitecturalSurveyingServices,
5292 ArtDealersAndGalleries,
5293 ArtistsSupplyAndCraftShops,
5294 AutoAndHomeSupplyStores,
5295 AutoBodyRepairShops,
5296 AutoPaintShops,
5297 AutoServiceShops,
5298 AutomatedCashDisburse,
5299 AutomatedFuelDispensers,
5300 AutomobileAssociations,
5301 AutomotivePartsAndAccessoriesStores,
5302 AutomotiveTireStores,
5303 BailAndBondPayments,
5304 Bakeries,
5305 BandsOrchestras,
5306 BarberAndBeautyShops,
5307 BettingCasinoGambling,
5308 BicycleShops,
5309 BilliardPoolEstablishments,
5310 BoatDealers,
5311 BoatRentalsAndLeases,
5312 BookStores,
5313 BooksPeriodicalsAndNewspapers,
5314 BowlingAlleys,
5315 BusLines,
5316 BusinessSecretarialSchools,
5317 BuyingShoppingServices,
5318 CableSatelliteAndOtherPayTelevisionAndRadio,
5319 CameraAndPhotographicSupplyStores,
5320 CandyNutAndConfectioneryStores,
5321 CarAndTruckDealersNewUsed,
5322 CarAndTruckDealersUsedOnly,
5323 CarRentalAgencies,
5324 CarWashes,
5325 CarpentryServices,
5326 CarpetUpholsteryCleaning,
5327 Caterers,
5328 CharitableAndSocialServiceOrganizationsFundraising,
5329 ChemicalsAndAlliedProducts,
5330 ChildCareServices,
5331 ChildrensAndInfantsWearStores,
5332 ChiropodistsPodiatrists,
5333 Chiropractors,
5334 CigarStoresAndStands,
5335 CivicSocialFraternalAssociations,
5336 CleaningAndMaintenance,
5337 ClothingRental,
5338 CollegesUniversities,
5339 CommercialEquipment,
5340 CommercialFootwear,
5341 CommercialPhotographyArtAndGraphics,
5342 CommuterTransportAndFerries,
5343 ComputerNetworkServices,
5344 ComputerProgramming,
5345 ComputerRepair,
5346 ComputerSoftwareStores,
5347 ComputersPeripheralsAndSoftware,
5348 ConcreteWorkServices,
5349 ConstructionMaterials,
5350 ConsultingPublicRelations,
5351 CorrespondenceSchools,
5352 CosmeticStores,
5353 CounselingServices,
5354 CountryClubs,
5355 CourierServices,
5356 CourtCosts,
5357 CreditReportingAgencies,
5358 CruiseLines,
5359 DairyProductsStores,
5360 DanceHallStudiosSchools,
5361 DatingEscortServices,
5362 DentistsOrthodontists,
5363 DepartmentStores,
5364 DetectiveAgencies,
5365 DigitalGoodsApplications,
5366 DigitalGoodsGames,
5367 DigitalGoodsLargeVolume,
5368 DigitalGoodsMedia,
5369 DirectMarketingCatalogMerchant,
5370 DirectMarketingCombinationCatalogAndRetailMerchant,
5371 DirectMarketingInboundTelemarketing,
5372 DirectMarketingInsuranceServices,
5373 DirectMarketingOther,
5374 DirectMarketingOutboundTelemarketing,
5375 DirectMarketingSubscription,
5376 DirectMarketingTravel,
5377 DiscountStores,
5378 Doctors,
5379 DoorToDoorSales,
5380 DraperyWindowCoveringAndUpholsteryStores,
5381 DrinkingPlaces,
5382 DrugStoresAndPharmacies,
5383 DrugsDrugProprietariesAndDruggistSundries,
5384 DryCleaners,
5385 DurableGoods,
5386 DutyFreeStores,
5387 EatingPlacesRestaurants,
5388 EducationalServices,
5389 ElectricRazorStores,
5390 ElectricVehicleCharging,
5391 ElectricalPartsAndEquipment,
5392 ElectricalServices,
5393 ElectronicsRepairShops,
5394 ElectronicsStores,
5395 ElementarySecondarySchools,
5396 EmergencyServicesGcasVisaUseOnly,
5397 EmploymentTempAgencies,
5398 EquipmentRental,
5399 ExterminatingServices,
5400 FamilyClothingStores,
5401 FastFoodRestaurants,
5402 FinancialInstitutions,
5403 FinesGovernmentAdministrativeEntities,
5404 FireplaceFireplaceScreensAndAccessoriesStores,
5405 FloorCoveringStores,
5406 Florists,
5407 FloristsSuppliesNurseryStockAndFlowers,
5408 FreezerAndLockerMeatProvisioners,
5409 FuelDealersNonAutomotive,
5410 FuneralServicesCrematories,
5411 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances,
5412 FurnitureRepairRefinishing,
5413 FurriersAndFurShops,
5414 GeneralServices,
5415 GiftCardNoveltyAndSouvenirShops,
5416 GlassPaintAndWallpaperStores,
5417 GlasswareCrystalStores,
5418 GolfCoursesPublic,
5419 GovernmentLicensedHorseDogRacingUsRegionOnly,
5420 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly,
5421 GovernmentOwnedLotteriesNonUsRegion,
5422 GovernmentOwnedLotteriesUsRegionOnly,
5423 GovernmentServices,
5424 GroceryStoresSupermarkets,
5425 HardwareEquipmentAndSupplies,
5426 HardwareStores,
5427 HealthAndBeautySpas,
5428 HearingAidsSalesAndSupplies,
5429 HeatingPlumbingAC,
5430 HobbyToyAndGameShops,
5431 HomeSupplyWarehouseStores,
5432 Hospitals,
5433 HotelsMotelsAndResorts,
5434 HouseholdApplianceStores,
5435 IndustrialSupplies,
5436 InformationRetrievalServices,
5437 InsuranceDefault,
5438 InsuranceUnderwritingPremiums,
5439 IntraCompanyPurchases,
5440 JewelryStoresWatchesClocksAndSilverwareStores,
5441 LandscapingServices,
5442 Laundries,
5443 LaundryCleaningServices,
5444 LegalServicesAttorneys,
5445 LuggageAndLeatherGoodsStores,
5446 LumberBuildingMaterialsStores,
5447 ManualCashDisburse,
5448 MarinasServiceAndSupplies,
5449 Marketplaces,
5450 MasonryStoneworkAndPlaster,
5451 MassageParlors,
5452 MedicalAndDentalLabs,
5453 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies,
5454 MedicalServices,
5455 MembershipOrganizations,
5456 MensAndBoysClothingAndAccessoriesStores,
5457 MensWomensClothingStores,
5458 MetalServiceCenters,
5459 Miscellaneous,
5460 MiscellaneousApparelAndAccessoryShops,
5461 MiscellaneousAutoDealers,
5462 MiscellaneousBusinessServices,
5463 MiscellaneousFoodStores,
5464 MiscellaneousGeneralMerchandise,
5465 MiscellaneousGeneralServices,
5466 MiscellaneousHomeFurnishingSpecialtyStores,
5467 MiscellaneousPublishingAndPrinting,
5468 MiscellaneousRecreationServices,
5469 MiscellaneousRepairShops,
5470 MiscellaneousSpecialtyRetail,
5471 MobileHomeDealers,
5472 MotionPictureTheaters,
5473 MotorFreightCarriersAndTrucking,
5474 MotorHomesDealers,
5475 MotorVehicleSuppliesAndNewParts,
5476 MotorcycleShopsAndDealers,
5477 MotorcycleShopsDealers,
5478 MusicStoresMusicalInstrumentsPianosAndSheetMusic,
5479 NewsDealersAndNewsstands,
5480 NonFiMoneyOrders,
5481 NonFiStoredValueCardPurchaseLoad,
5482 NondurableGoods,
5483 NurseriesLawnAndGardenSupplyStores,
5484 NursingPersonalCare,
5485 OfficeAndCommercialFurniture,
5486 OpticiansEyeglasses,
5487 OptometristsOphthalmologist,
5488 OrthopedicGoodsProstheticDevices,
5489 Osteopaths,
5490 PackageStoresBeerWineAndLiquor,
5491 PaintsVarnishesAndSupplies,
5492 ParkingLotsGarages,
5493 PassengerRailways,
5494 PawnShops,
5495 PetShopsPetFoodAndSupplies,
5496 PetroleumAndPetroleumProducts,
5497 PhotoDeveloping,
5498 PhotographicPhotocopyMicrofilmEquipmentAndSupplies,
5499 PhotographicStudios,
5500 PictureVideoProduction,
5501 PieceGoodsNotionsAndOtherDryGoods,
5502 PlumbingHeatingEquipmentAndSupplies,
5503 PoliticalOrganizations,
5504 PostalServicesGovernmentOnly,
5505 PreciousStonesAndMetalsWatchesAndJewelry,
5506 ProfessionalServices,
5507 PublicWarehousingAndStorage,
5508 QuickCopyReproAndBlueprint,
5509 Railroads,
5510 RealEstateAgentsAndManagersRentals,
5511 RecordStores,
5512 RecreationalVehicleRentals,
5513 ReligiousGoodsStores,
5514 ReligiousOrganizations,
5515 RoofingSidingSheetMetal,
5516 SecretarialSupportServices,
5517 SecurityBrokersDealers,
5518 ServiceStations,
5519 SewingNeedleworkFabricAndPieceGoodsStores,
5520 ShoeRepairHatCleaning,
5521 ShoeStores,
5522 SmallApplianceRepair,
5523 SnowmobileDealers,
5524 SpecialTradeServices,
5525 SpecialtyCleaning,
5526 SportingGoodsStores,
5527 SportingRecreationCamps,
5528 SportsAndRidingApparelStores,
5529 SportsClubsFields,
5530 StampAndCoinStores,
5531 StationaryOfficeSuppliesPrintingAndWritingPaper,
5532 StationeryStoresOfficeAndSchoolSupplyStores,
5533 SwimmingPoolsSales,
5534 TUiTravelGermany,
5535 TailorsAlterations,
5536 TaxPaymentsGovernmentAgencies,
5537 TaxPreparationServices,
5538 TaxicabsLimousines,
5539 TelecommunicationEquipmentAndTelephoneSales,
5540 TelecommunicationServices,
5541 TelegraphServices,
5542 TentAndAwningShops,
5543 TestingLaboratories,
5544 TheatricalTicketAgencies,
5545 Timeshares,
5546 TireRetreadingAndRepair,
5547 TollsBridgeFees,
5548 TouristAttractionsAndExhibits,
5549 TowingServices,
5550 TrailerParksCampgrounds,
5551 TransportationServices,
5552 TravelAgenciesTourOperators,
5553 TruckStopIteration,
5554 TruckUtilityTrailerRentals,
5555 TypesettingPlateMakingAndRelatedServices,
5556 TypewriterStores,
5557 USFederalGovernmentAgenciesOrDepartments,
5558 UniformsCommercialClothing,
5559 UsedMerchandiseAndSecondhandStores,
5560 Utilities,
5561 VarietyStores,
5562 VeterinaryServices,
5563 VideoAmusementGameSupplies,
5564 VideoGameArcades,
5565 VideoTapeRentalStores,
5566 VocationalTradeSchools,
5567 WatchJewelryRepair,
5568 WeldingRepair,
5569 WholesaleClubs,
5570 WigAndToupeeStores,
5571 WiresMoneyOrders,
5572 WomensAccessoryAndSpecialtyShops,
5573 WomensReadyToWearStores,
5574 WreckingAndSalvageYards,
5575 Unknown(String),
5577}
5578impl UpdateIssuingCardholderSpendingControlsBlockedCategories {
5579 pub fn as_str(&self) -> &str {
5580 use UpdateIssuingCardholderSpendingControlsBlockedCategories::*;
5581 match self {
5582 AcRefrigerationRepair => "ac_refrigeration_repair",
5583 AccountingBookkeepingServices => "accounting_bookkeeping_services",
5584 AdvertisingServices => "advertising_services",
5585 AgriculturalCooperative => "agricultural_cooperative",
5586 AirlinesAirCarriers => "airlines_air_carriers",
5587 AirportsFlyingFields => "airports_flying_fields",
5588 AmbulanceServices => "ambulance_services",
5589 AmusementParksCarnivals => "amusement_parks_carnivals",
5590 AntiqueReproductions => "antique_reproductions",
5591 AntiqueShops => "antique_shops",
5592 Aquariums => "aquariums",
5593 ArchitecturalSurveyingServices => "architectural_surveying_services",
5594 ArtDealersAndGalleries => "art_dealers_and_galleries",
5595 ArtistsSupplyAndCraftShops => "artists_supply_and_craft_shops",
5596 AutoAndHomeSupplyStores => "auto_and_home_supply_stores",
5597 AutoBodyRepairShops => "auto_body_repair_shops",
5598 AutoPaintShops => "auto_paint_shops",
5599 AutoServiceShops => "auto_service_shops",
5600 AutomatedCashDisburse => "automated_cash_disburse",
5601 AutomatedFuelDispensers => "automated_fuel_dispensers",
5602 AutomobileAssociations => "automobile_associations",
5603 AutomotivePartsAndAccessoriesStores => "automotive_parts_and_accessories_stores",
5604 AutomotiveTireStores => "automotive_tire_stores",
5605 BailAndBondPayments => "bail_and_bond_payments",
5606 Bakeries => "bakeries",
5607 BandsOrchestras => "bands_orchestras",
5608 BarberAndBeautyShops => "barber_and_beauty_shops",
5609 BettingCasinoGambling => "betting_casino_gambling",
5610 BicycleShops => "bicycle_shops",
5611 BilliardPoolEstablishments => "billiard_pool_establishments",
5612 BoatDealers => "boat_dealers",
5613 BoatRentalsAndLeases => "boat_rentals_and_leases",
5614 BookStores => "book_stores",
5615 BooksPeriodicalsAndNewspapers => "books_periodicals_and_newspapers",
5616 BowlingAlleys => "bowling_alleys",
5617 BusLines => "bus_lines",
5618 BusinessSecretarialSchools => "business_secretarial_schools",
5619 BuyingShoppingServices => "buying_shopping_services",
5620 CableSatelliteAndOtherPayTelevisionAndRadio => {
5621 "cable_satellite_and_other_pay_television_and_radio"
5622 }
5623 CameraAndPhotographicSupplyStores => "camera_and_photographic_supply_stores",
5624 CandyNutAndConfectioneryStores => "candy_nut_and_confectionery_stores",
5625 CarAndTruckDealersNewUsed => "car_and_truck_dealers_new_used",
5626 CarAndTruckDealersUsedOnly => "car_and_truck_dealers_used_only",
5627 CarRentalAgencies => "car_rental_agencies",
5628 CarWashes => "car_washes",
5629 CarpentryServices => "carpentry_services",
5630 CarpetUpholsteryCleaning => "carpet_upholstery_cleaning",
5631 Caterers => "caterers",
5632 CharitableAndSocialServiceOrganizationsFundraising => {
5633 "charitable_and_social_service_organizations_fundraising"
5634 }
5635 ChemicalsAndAlliedProducts => "chemicals_and_allied_products",
5636 ChildCareServices => "child_care_services",
5637 ChildrensAndInfantsWearStores => "childrens_and_infants_wear_stores",
5638 ChiropodistsPodiatrists => "chiropodists_podiatrists",
5639 Chiropractors => "chiropractors",
5640 CigarStoresAndStands => "cigar_stores_and_stands",
5641 CivicSocialFraternalAssociations => "civic_social_fraternal_associations",
5642 CleaningAndMaintenance => "cleaning_and_maintenance",
5643 ClothingRental => "clothing_rental",
5644 CollegesUniversities => "colleges_universities",
5645 CommercialEquipment => "commercial_equipment",
5646 CommercialFootwear => "commercial_footwear",
5647 CommercialPhotographyArtAndGraphics => "commercial_photography_art_and_graphics",
5648 CommuterTransportAndFerries => "commuter_transport_and_ferries",
5649 ComputerNetworkServices => "computer_network_services",
5650 ComputerProgramming => "computer_programming",
5651 ComputerRepair => "computer_repair",
5652 ComputerSoftwareStores => "computer_software_stores",
5653 ComputersPeripheralsAndSoftware => "computers_peripherals_and_software",
5654 ConcreteWorkServices => "concrete_work_services",
5655 ConstructionMaterials => "construction_materials",
5656 ConsultingPublicRelations => "consulting_public_relations",
5657 CorrespondenceSchools => "correspondence_schools",
5658 CosmeticStores => "cosmetic_stores",
5659 CounselingServices => "counseling_services",
5660 CountryClubs => "country_clubs",
5661 CourierServices => "courier_services",
5662 CourtCosts => "court_costs",
5663 CreditReportingAgencies => "credit_reporting_agencies",
5664 CruiseLines => "cruise_lines",
5665 DairyProductsStores => "dairy_products_stores",
5666 DanceHallStudiosSchools => "dance_hall_studios_schools",
5667 DatingEscortServices => "dating_escort_services",
5668 DentistsOrthodontists => "dentists_orthodontists",
5669 DepartmentStores => "department_stores",
5670 DetectiveAgencies => "detective_agencies",
5671 DigitalGoodsApplications => "digital_goods_applications",
5672 DigitalGoodsGames => "digital_goods_games",
5673 DigitalGoodsLargeVolume => "digital_goods_large_volume",
5674 DigitalGoodsMedia => "digital_goods_media",
5675 DirectMarketingCatalogMerchant => "direct_marketing_catalog_merchant",
5676 DirectMarketingCombinationCatalogAndRetailMerchant => {
5677 "direct_marketing_combination_catalog_and_retail_merchant"
5678 }
5679 DirectMarketingInboundTelemarketing => "direct_marketing_inbound_telemarketing",
5680 DirectMarketingInsuranceServices => "direct_marketing_insurance_services",
5681 DirectMarketingOther => "direct_marketing_other",
5682 DirectMarketingOutboundTelemarketing => "direct_marketing_outbound_telemarketing",
5683 DirectMarketingSubscription => "direct_marketing_subscription",
5684 DirectMarketingTravel => "direct_marketing_travel",
5685 DiscountStores => "discount_stores",
5686 Doctors => "doctors",
5687 DoorToDoorSales => "door_to_door_sales",
5688 DraperyWindowCoveringAndUpholsteryStores => {
5689 "drapery_window_covering_and_upholstery_stores"
5690 }
5691 DrinkingPlaces => "drinking_places",
5692 DrugStoresAndPharmacies => "drug_stores_and_pharmacies",
5693 DrugsDrugProprietariesAndDruggistSundries => {
5694 "drugs_drug_proprietaries_and_druggist_sundries"
5695 }
5696 DryCleaners => "dry_cleaners",
5697 DurableGoods => "durable_goods",
5698 DutyFreeStores => "duty_free_stores",
5699 EatingPlacesRestaurants => "eating_places_restaurants",
5700 EducationalServices => "educational_services",
5701 ElectricRazorStores => "electric_razor_stores",
5702 ElectricVehicleCharging => "electric_vehicle_charging",
5703 ElectricalPartsAndEquipment => "electrical_parts_and_equipment",
5704 ElectricalServices => "electrical_services",
5705 ElectronicsRepairShops => "electronics_repair_shops",
5706 ElectronicsStores => "electronics_stores",
5707 ElementarySecondarySchools => "elementary_secondary_schools",
5708 EmergencyServicesGcasVisaUseOnly => "emergency_services_gcas_visa_use_only",
5709 EmploymentTempAgencies => "employment_temp_agencies",
5710 EquipmentRental => "equipment_rental",
5711 ExterminatingServices => "exterminating_services",
5712 FamilyClothingStores => "family_clothing_stores",
5713 FastFoodRestaurants => "fast_food_restaurants",
5714 FinancialInstitutions => "financial_institutions",
5715 FinesGovernmentAdministrativeEntities => "fines_government_administrative_entities",
5716 FireplaceFireplaceScreensAndAccessoriesStores => {
5717 "fireplace_fireplace_screens_and_accessories_stores"
5718 }
5719 FloorCoveringStores => "floor_covering_stores",
5720 Florists => "florists",
5721 FloristsSuppliesNurseryStockAndFlowers => "florists_supplies_nursery_stock_and_flowers",
5722 FreezerAndLockerMeatProvisioners => "freezer_and_locker_meat_provisioners",
5723 FuelDealersNonAutomotive => "fuel_dealers_non_automotive",
5724 FuneralServicesCrematories => "funeral_services_crematories",
5725 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances => {
5726 "furniture_home_furnishings_and_equipment_stores_except_appliances"
5727 }
5728 FurnitureRepairRefinishing => "furniture_repair_refinishing",
5729 FurriersAndFurShops => "furriers_and_fur_shops",
5730 GeneralServices => "general_services",
5731 GiftCardNoveltyAndSouvenirShops => "gift_card_novelty_and_souvenir_shops",
5732 GlassPaintAndWallpaperStores => "glass_paint_and_wallpaper_stores",
5733 GlasswareCrystalStores => "glassware_crystal_stores",
5734 GolfCoursesPublic => "golf_courses_public",
5735 GovernmentLicensedHorseDogRacingUsRegionOnly => {
5736 "government_licensed_horse_dog_racing_us_region_only"
5737 }
5738 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly => {
5739 "government_licensed_online_casions_online_gambling_us_region_only"
5740 }
5741 GovernmentOwnedLotteriesNonUsRegion => "government_owned_lotteries_non_us_region",
5742 GovernmentOwnedLotteriesUsRegionOnly => "government_owned_lotteries_us_region_only",
5743 GovernmentServices => "government_services",
5744 GroceryStoresSupermarkets => "grocery_stores_supermarkets",
5745 HardwareEquipmentAndSupplies => "hardware_equipment_and_supplies",
5746 HardwareStores => "hardware_stores",
5747 HealthAndBeautySpas => "health_and_beauty_spas",
5748 HearingAidsSalesAndSupplies => "hearing_aids_sales_and_supplies",
5749 HeatingPlumbingAC => "heating_plumbing_a_c",
5750 HobbyToyAndGameShops => "hobby_toy_and_game_shops",
5751 HomeSupplyWarehouseStores => "home_supply_warehouse_stores",
5752 Hospitals => "hospitals",
5753 HotelsMotelsAndResorts => "hotels_motels_and_resorts",
5754 HouseholdApplianceStores => "household_appliance_stores",
5755 IndustrialSupplies => "industrial_supplies",
5756 InformationRetrievalServices => "information_retrieval_services",
5757 InsuranceDefault => "insurance_default",
5758 InsuranceUnderwritingPremiums => "insurance_underwriting_premiums",
5759 IntraCompanyPurchases => "intra_company_purchases",
5760 JewelryStoresWatchesClocksAndSilverwareStores => {
5761 "jewelry_stores_watches_clocks_and_silverware_stores"
5762 }
5763 LandscapingServices => "landscaping_services",
5764 Laundries => "laundries",
5765 LaundryCleaningServices => "laundry_cleaning_services",
5766 LegalServicesAttorneys => "legal_services_attorneys",
5767 LuggageAndLeatherGoodsStores => "luggage_and_leather_goods_stores",
5768 LumberBuildingMaterialsStores => "lumber_building_materials_stores",
5769 ManualCashDisburse => "manual_cash_disburse",
5770 MarinasServiceAndSupplies => "marinas_service_and_supplies",
5771 Marketplaces => "marketplaces",
5772 MasonryStoneworkAndPlaster => "masonry_stonework_and_plaster",
5773 MassageParlors => "massage_parlors",
5774 MedicalAndDentalLabs => "medical_and_dental_labs",
5775 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies => {
5776 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
5777 }
5778 MedicalServices => "medical_services",
5779 MembershipOrganizations => "membership_organizations",
5780 MensAndBoysClothingAndAccessoriesStores => {
5781 "mens_and_boys_clothing_and_accessories_stores"
5782 }
5783 MensWomensClothingStores => "mens_womens_clothing_stores",
5784 MetalServiceCenters => "metal_service_centers",
5785 Miscellaneous => "miscellaneous",
5786 MiscellaneousApparelAndAccessoryShops => "miscellaneous_apparel_and_accessory_shops",
5787 MiscellaneousAutoDealers => "miscellaneous_auto_dealers",
5788 MiscellaneousBusinessServices => "miscellaneous_business_services",
5789 MiscellaneousFoodStores => "miscellaneous_food_stores",
5790 MiscellaneousGeneralMerchandise => "miscellaneous_general_merchandise",
5791 MiscellaneousGeneralServices => "miscellaneous_general_services",
5792 MiscellaneousHomeFurnishingSpecialtyStores => {
5793 "miscellaneous_home_furnishing_specialty_stores"
5794 }
5795 MiscellaneousPublishingAndPrinting => "miscellaneous_publishing_and_printing",
5796 MiscellaneousRecreationServices => "miscellaneous_recreation_services",
5797 MiscellaneousRepairShops => "miscellaneous_repair_shops",
5798 MiscellaneousSpecialtyRetail => "miscellaneous_specialty_retail",
5799 MobileHomeDealers => "mobile_home_dealers",
5800 MotionPictureTheaters => "motion_picture_theaters",
5801 MotorFreightCarriersAndTrucking => "motor_freight_carriers_and_trucking",
5802 MotorHomesDealers => "motor_homes_dealers",
5803 MotorVehicleSuppliesAndNewParts => "motor_vehicle_supplies_and_new_parts",
5804 MotorcycleShopsAndDealers => "motorcycle_shops_and_dealers",
5805 MotorcycleShopsDealers => "motorcycle_shops_dealers",
5806 MusicStoresMusicalInstrumentsPianosAndSheetMusic => {
5807 "music_stores_musical_instruments_pianos_and_sheet_music"
5808 }
5809 NewsDealersAndNewsstands => "news_dealers_and_newsstands",
5810 NonFiMoneyOrders => "non_fi_money_orders",
5811 NonFiStoredValueCardPurchaseLoad => "non_fi_stored_value_card_purchase_load",
5812 NondurableGoods => "nondurable_goods",
5813 NurseriesLawnAndGardenSupplyStores => "nurseries_lawn_and_garden_supply_stores",
5814 NursingPersonalCare => "nursing_personal_care",
5815 OfficeAndCommercialFurniture => "office_and_commercial_furniture",
5816 OpticiansEyeglasses => "opticians_eyeglasses",
5817 OptometristsOphthalmologist => "optometrists_ophthalmologist",
5818 OrthopedicGoodsProstheticDevices => "orthopedic_goods_prosthetic_devices",
5819 Osteopaths => "osteopaths",
5820 PackageStoresBeerWineAndLiquor => "package_stores_beer_wine_and_liquor",
5821 PaintsVarnishesAndSupplies => "paints_varnishes_and_supplies",
5822 ParkingLotsGarages => "parking_lots_garages",
5823 PassengerRailways => "passenger_railways",
5824 PawnShops => "pawn_shops",
5825 PetShopsPetFoodAndSupplies => "pet_shops_pet_food_and_supplies",
5826 PetroleumAndPetroleumProducts => "petroleum_and_petroleum_products",
5827 PhotoDeveloping => "photo_developing",
5828 PhotographicPhotocopyMicrofilmEquipmentAndSupplies => {
5829 "photographic_photocopy_microfilm_equipment_and_supplies"
5830 }
5831 PhotographicStudios => "photographic_studios",
5832 PictureVideoProduction => "picture_video_production",
5833 PieceGoodsNotionsAndOtherDryGoods => "piece_goods_notions_and_other_dry_goods",
5834 PlumbingHeatingEquipmentAndSupplies => "plumbing_heating_equipment_and_supplies",
5835 PoliticalOrganizations => "political_organizations",
5836 PostalServicesGovernmentOnly => "postal_services_government_only",
5837 PreciousStonesAndMetalsWatchesAndJewelry => {
5838 "precious_stones_and_metals_watches_and_jewelry"
5839 }
5840 ProfessionalServices => "professional_services",
5841 PublicWarehousingAndStorage => "public_warehousing_and_storage",
5842 QuickCopyReproAndBlueprint => "quick_copy_repro_and_blueprint",
5843 Railroads => "railroads",
5844 RealEstateAgentsAndManagersRentals => "real_estate_agents_and_managers_rentals",
5845 RecordStores => "record_stores",
5846 RecreationalVehicleRentals => "recreational_vehicle_rentals",
5847 ReligiousGoodsStores => "religious_goods_stores",
5848 ReligiousOrganizations => "religious_organizations",
5849 RoofingSidingSheetMetal => "roofing_siding_sheet_metal",
5850 SecretarialSupportServices => "secretarial_support_services",
5851 SecurityBrokersDealers => "security_brokers_dealers",
5852 ServiceStations => "service_stations",
5853 SewingNeedleworkFabricAndPieceGoodsStores => {
5854 "sewing_needlework_fabric_and_piece_goods_stores"
5855 }
5856 ShoeRepairHatCleaning => "shoe_repair_hat_cleaning",
5857 ShoeStores => "shoe_stores",
5858 SmallApplianceRepair => "small_appliance_repair",
5859 SnowmobileDealers => "snowmobile_dealers",
5860 SpecialTradeServices => "special_trade_services",
5861 SpecialtyCleaning => "specialty_cleaning",
5862 SportingGoodsStores => "sporting_goods_stores",
5863 SportingRecreationCamps => "sporting_recreation_camps",
5864 SportsAndRidingApparelStores => "sports_and_riding_apparel_stores",
5865 SportsClubsFields => "sports_clubs_fields",
5866 StampAndCoinStores => "stamp_and_coin_stores",
5867 StationaryOfficeSuppliesPrintingAndWritingPaper => {
5868 "stationary_office_supplies_printing_and_writing_paper"
5869 }
5870 StationeryStoresOfficeAndSchoolSupplyStores => {
5871 "stationery_stores_office_and_school_supply_stores"
5872 }
5873 SwimmingPoolsSales => "swimming_pools_sales",
5874 TUiTravelGermany => "t_ui_travel_germany",
5875 TailorsAlterations => "tailors_alterations",
5876 TaxPaymentsGovernmentAgencies => "tax_payments_government_agencies",
5877 TaxPreparationServices => "tax_preparation_services",
5878 TaxicabsLimousines => "taxicabs_limousines",
5879 TelecommunicationEquipmentAndTelephoneSales => {
5880 "telecommunication_equipment_and_telephone_sales"
5881 }
5882 TelecommunicationServices => "telecommunication_services",
5883 TelegraphServices => "telegraph_services",
5884 TentAndAwningShops => "tent_and_awning_shops",
5885 TestingLaboratories => "testing_laboratories",
5886 TheatricalTicketAgencies => "theatrical_ticket_agencies",
5887 Timeshares => "timeshares",
5888 TireRetreadingAndRepair => "tire_retreading_and_repair",
5889 TollsBridgeFees => "tolls_bridge_fees",
5890 TouristAttractionsAndExhibits => "tourist_attractions_and_exhibits",
5891 TowingServices => "towing_services",
5892 TrailerParksCampgrounds => "trailer_parks_campgrounds",
5893 TransportationServices => "transportation_services",
5894 TravelAgenciesTourOperators => "travel_agencies_tour_operators",
5895 TruckStopIteration => "truck_stop_iteration",
5896 TruckUtilityTrailerRentals => "truck_utility_trailer_rentals",
5897 TypesettingPlateMakingAndRelatedServices => {
5898 "typesetting_plate_making_and_related_services"
5899 }
5900 TypewriterStores => "typewriter_stores",
5901 USFederalGovernmentAgenciesOrDepartments => {
5902 "u_s_federal_government_agencies_or_departments"
5903 }
5904 UniformsCommercialClothing => "uniforms_commercial_clothing",
5905 UsedMerchandiseAndSecondhandStores => "used_merchandise_and_secondhand_stores",
5906 Utilities => "utilities",
5907 VarietyStores => "variety_stores",
5908 VeterinaryServices => "veterinary_services",
5909 VideoAmusementGameSupplies => "video_amusement_game_supplies",
5910 VideoGameArcades => "video_game_arcades",
5911 VideoTapeRentalStores => "video_tape_rental_stores",
5912 VocationalTradeSchools => "vocational_trade_schools",
5913 WatchJewelryRepair => "watch_jewelry_repair",
5914 WeldingRepair => "welding_repair",
5915 WholesaleClubs => "wholesale_clubs",
5916 WigAndToupeeStores => "wig_and_toupee_stores",
5917 WiresMoneyOrders => "wires_money_orders",
5918 WomensAccessoryAndSpecialtyShops => "womens_accessory_and_specialty_shops",
5919 WomensReadyToWearStores => "womens_ready_to_wear_stores",
5920 WreckingAndSalvageYards => "wrecking_and_salvage_yards",
5921 Unknown(v) => v,
5922 }
5923 }
5924}
5925
5926impl std::str::FromStr for UpdateIssuingCardholderSpendingControlsBlockedCategories {
5927 type Err = std::convert::Infallible;
5928 fn from_str(s: &str) -> Result<Self, Self::Err> {
5929 use UpdateIssuingCardholderSpendingControlsBlockedCategories::*;
5930 match s {
5931 "ac_refrigeration_repair" => Ok(AcRefrigerationRepair),
5932 "accounting_bookkeeping_services" => Ok(AccountingBookkeepingServices),
5933 "advertising_services" => Ok(AdvertisingServices),
5934 "agricultural_cooperative" => Ok(AgriculturalCooperative),
5935 "airlines_air_carriers" => Ok(AirlinesAirCarriers),
5936 "airports_flying_fields" => Ok(AirportsFlyingFields),
5937 "ambulance_services" => Ok(AmbulanceServices),
5938 "amusement_parks_carnivals" => Ok(AmusementParksCarnivals),
5939 "antique_reproductions" => Ok(AntiqueReproductions),
5940 "antique_shops" => Ok(AntiqueShops),
5941 "aquariums" => Ok(Aquariums),
5942 "architectural_surveying_services" => Ok(ArchitecturalSurveyingServices),
5943 "art_dealers_and_galleries" => Ok(ArtDealersAndGalleries),
5944 "artists_supply_and_craft_shops" => Ok(ArtistsSupplyAndCraftShops),
5945 "auto_and_home_supply_stores" => Ok(AutoAndHomeSupplyStores),
5946 "auto_body_repair_shops" => Ok(AutoBodyRepairShops),
5947 "auto_paint_shops" => Ok(AutoPaintShops),
5948 "auto_service_shops" => Ok(AutoServiceShops),
5949 "automated_cash_disburse" => Ok(AutomatedCashDisburse),
5950 "automated_fuel_dispensers" => Ok(AutomatedFuelDispensers),
5951 "automobile_associations" => Ok(AutomobileAssociations),
5952 "automotive_parts_and_accessories_stores" => Ok(AutomotivePartsAndAccessoriesStores),
5953 "automotive_tire_stores" => Ok(AutomotiveTireStores),
5954 "bail_and_bond_payments" => Ok(BailAndBondPayments),
5955 "bakeries" => Ok(Bakeries),
5956 "bands_orchestras" => Ok(BandsOrchestras),
5957 "barber_and_beauty_shops" => Ok(BarberAndBeautyShops),
5958 "betting_casino_gambling" => Ok(BettingCasinoGambling),
5959 "bicycle_shops" => Ok(BicycleShops),
5960 "billiard_pool_establishments" => Ok(BilliardPoolEstablishments),
5961 "boat_dealers" => Ok(BoatDealers),
5962 "boat_rentals_and_leases" => Ok(BoatRentalsAndLeases),
5963 "book_stores" => Ok(BookStores),
5964 "books_periodicals_and_newspapers" => Ok(BooksPeriodicalsAndNewspapers),
5965 "bowling_alleys" => Ok(BowlingAlleys),
5966 "bus_lines" => Ok(BusLines),
5967 "business_secretarial_schools" => Ok(BusinessSecretarialSchools),
5968 "buying_shopping_services" => Ok(BuyingShoppingServices),
5969 "cable_satellite_and_other_pay_television_and_radio" => {
5970 Ok(CableSatelliteAndOtherPayTelevisionAndRadio)
5971 }
5972 "camera_and_photographic_supply_stores" => Ok(CameraAndPhotographicSupplyStores),
5973 "candy_nut_and_confectionery_stores" => Ok(CandyNutAndConfectioneryStores),
5974 "car_and_truck_dealers_new_used" => Ok(CarAndTruckDealersNewUsed),
5975 "car_and_truck_dealers_used_only" => Ok(CarAndTruckDealersUsedOnly),
5976 "car_rental_agencies" => Ok(CarRentalAgencies),
5977 "car_washes" => Ok(CarWashes),
5978 "carpentry_services" => Ok(CarpentryServices),
5979 "carpet_upholstery_cleaning" => Ok(CarpetUpholsteryCleaning),
5980 "caterers" => Ok(Caterers),
5981 "charitable_and_social_service_organizations_fundraising" => {
5982 Ok(CharitableAndSocialServiceOrganizationsFundraising)
5983 }
5984 "chemicals_and_allied_products" => Ok(ChemicalsAndAlliedProducts),
5985 "child_care_services" => Ok(ChildCareServices),
5986 "childrens_and_infants_wear_stores" => Ok(ChildrensAndInfantsWearStores),
5987 "chiropodists_podiatrists" => Ok(ChiropodistsPodiatrists),
5988 "chiropractors" => Ok(Chiropractors),
5989 "cigar_stores_and_stands" => Ok(CigarStoresAndStands),
5990 "civic_social_fraternal_associations" => Ok(CivicSocialFraternalAssociations),
5991 "cleaning_and_maintenance" => Ok(CleaningAndMaintenance),
5992 "clothing_rental" => Ok(ClothingRental),
5993 "colleges_universities" => Ok(CollegesUniversities),
5994 "commercial_equipment" => Ok(CommercialEquipment),
5995 "commercial_footwear" => Ok(CommercialFootwear),
5996 "commercial_photography_art_and_graphics" => Ok(CommercialPhotographyArtAndGraphics),
5997 "commuter_transport_and_ferries" => Ok(CommuterTransportAndFerries),
5998 "computer_network_services" => Ok(ComputerNetworkServices),
5999 "computer_programming" => Ok(ComputerProgramming),
6000 "computer_repair" => Ok(ComputerRepair),
6001 "computer_software_stores" => Ok(ComputerSoftwareStores),
6002 "computers_peripherals_and_software" => Ok(ComputersPeripheralsAndSoftware),
6003 "concrete_work_services" => Ok(ConcreteWorkServices),
6004 "construction_materials" => Ok(ConstructionMaterials),
6005 "consulting_public_relations" => Ok(ConsultingPublicRelations),
6006 "correspondence_schools" => Ok(CorrespondenceSchools),
6007 "cosmetic_stores" => Ok(CosmeticStores),
6008 "counseling_services" => Ok(CounselingServices),
6009 "country_clubs" => Ok(CountryClubs),
6010 "courier_services" => Ok(CourierServices),
6011 "court_costs" => Ok(CourtCosts),
6012 "credit_reporting_agencies" => Ok(CreditReportingAgencies),
6013 "cruise_lines" => Ok(CruiseLines),
6014 "dairy_products_stores" => Ok(DairyProductsStores),
6015 "dance_hall_studios_schools" => Ok(DanceHallStudiosSchools),
6016 "dating_escort_services" => Ok(DatingEscortServices),
6017 "dentists_orthodontists" => Ok(DentistsOrthodontists),
6018 "department_stores" => Ok(DepartmentStores),
6019 "detective_agencies" => Ok(DetectiveAgencies),
6020 "digital_goods_applications" => Ok(DigitalGoodsApplications),
6021 "digital_goods_games" => Ok(DigitalGoodsGames),
6022 "digital_goods_large_volume" => Ok(DigitalGoodsLargeVolume),
6023 "digital_goods_media" => Ok(DigitalGoodsMedia),
6024 "direct_marketing_catalog_merchant" => Ok(DirectMarketingCatalogMerchant),
6025 "direct_marketing_combination_catalog_and_retail_merchant" => {
6026 Ok(DirectMarketingCombinationCatalogAndRetailMerchant)
6027 }
6028 "direct_marketing_inbound_telemarketing" => Ok(DirectMarketingInboundTelemarketing),
6029 "direct_marketing_insurance_services" => Ok(DirectMarketingInsuranceServices),
6030 "direct_marketing_other" => Ok(DirectMarketingOther),
6031 "direct_marketing_outbound_telemarketing" => Ok(DirectMarketingOutboundTelemarketing),
6032 "direct_marketing_subscription" => Ok(DirectMarketingSubscription),
6033 "direct_marketing_travel" => Ok(DirectMarketingTravel),
6034 "discount_stores" => Ok(DiscountStores),
6035 "doctors" => Ok(Doctors),
6036 "door_to_door_sales" => Ok(DoorToDoorSales),
6037 "drapery_window_covering_and_upholstery_stores" => {
6038 Ok(DraperyWindowCoveringAndUpholsteryStores)
6039 }
6040 "drinking_places" => Ok(DrinkingPlaces),
6041 "drug_stores_and_pharmacies" => Ok(DrugStoresAndPharmacies),
6042 "drugs_drug_proprietaries_and_druggist_sundries" => {
6043 Ok(DrugsDrugProprietariesAndDruggistSundries)
6044 }
6045 "dry_cleaners" => Ok(DryCleaners),
6046 "durable_goods" => Ok(DurableGoods),
6047 "duty_free_stores" => Ok(DutyFreeStores),
6048 "eating_places_restaurants" => Ok(EatingPlacesRestaurants),
6049 "educational_services" => Ok(EducationalServices),
6050 "electric_razor_stores" => Ok(ElectricRazorStores),
6051 "electric_vehicle_charging" => Ok(ElectricVehicleCharging),
6052 "electrical_parts_and_equipment" => Ok(ElectricalPartsAndEquipment),
6053 "electrical_services" => Ok(ElectricalServices),
6054 "electronics_repair_shops" => Ok(ElectronicsRepairShops),
6055 "electronics_stores" => Ok(ElectronicsStores),
6056 "elementary_secondary_schools" => Ok(ElementarySecondarySchools),
6057 "emergency_services_gcas_visa_use_only" => Ok(EmergencyServicesGcasVisaUseOnly),
6058 "employment_temp_agencies" => Ok(EmploymentTempAgencies),
6059 "equipment_rental" => Ok(EquipmentRental),
6060 "exterminating_services" => Ok(ExterminatingServices),
6061 "family_clothing_stores" => Ok(FamilyClothingStores),
6062 "fast_food_restaurants" => Ok(FastFoodRestaurants),
6063 "financial_institutions" => Ok(FinancialInstitutions),
6064 "fines_government_administrative_entities" => Ok(FinesGovernmentAdministrativeEntities),
6065 "fireplace_fireplace_screens_and_accessories_stores" => {
6066 Ok(FireplaceFireplaceScreensAndAccessoriesStores)
6067 }
6068 "floor_covering_stores" => Ok(FloorCoveringStores),
6069 "florists" => Ok(Florists),
6070 "florists_supplies_nursery_stock_and_flowers" => {
6071 Ok(FloristsSuppliesNurseryStockAndFlowers)
6072 }
6073 "freezer_and_locker_meat_provisioners" => Ok(FreezerAndLockerMeatProvisioners),
6074 "fuel_dealers_non_automotive" => Ok(FuelDealersNonAutomotive),
6075 "funeral_services_crematories" => Ok(FuneralServicesCrematories),
6076 "furniture_home_furnishings_and_equipment_stores_except_appliances" => {
6077 Ok(FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances)
6078 }
6079 "furniture_repair_refinishing" => Ok(FurnitureRepairRefinishing),
6080 "furriers_and_fur_shops" => Ok(FurriersAndFurShops),
6081 "general_services" => Ok(GeneralServices),
6082 "gift_card_novelty_and_souvenir_shops" => Ok(GiftCardNoveltyAndSouvenirShops),
6083 "glass_paint_and_wallpaper_stores" => Ok(GlassPaintAndWallpaperStores),
6084 "glassware_crystal_stores" => Ok(GlasswareCrystalStores),
6085 "golf_courses_public" => Ok(GolfCoursesPublic),
6086 "government_licensed_horse_dog_racing_us_region_only" => {
6087 Ok(GovernmentLicensedHorseDogRacingUsRegionOnly)
6088 }
6089 "government_licensed_online_casions_online_gambling_us_region_only" => {
6090 Ok(GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly)
6091 }
6092 "government_owned_lotteries_non_us_region" => Ok(GovernmentOwnedLotteriesNonUsRegion),
6093 "government_owned_lotteries_us_region_only" => Ok(GovernmentOwnedLotteriesUsRegionOnly),
6094 "government_services" => Ok(GovernmentServices),
6095 "grocery_stores_supermarkets" => Ok(GroceryStoresSupermarkets),
6096 "hardware_equipment_and_supplies" => Ok(HardwareEquipmentAndSupplies),
6097 "hardware_stores" => Ok(HardwareStores),
6098 "health_and_beauty_spas" => Ok(HealthAndBeautySpas),
6099 "hearing_aids_sales_and_supplies" => Ok(HearingAidsSalesAndSupplies),
6100 "heating_plumbing_a_c" => Ok(HeatingPlumbingAC),
6101 "hobby_toy_and_game_shops" => Ok(HobbyToyAndGameShops),
6102 "home_supply_warehouse_stores" => Ok(HomeSupplyWarehouseStores),
6103 "hospitals" => Ok(Hospitals),
6104 "hotels_motels_and_resorts" => Ok(HotelsMotelsAndResorts),
6105 "household_appliance_stores" => Ok(HouseholdApplianceStores),
6106 "industrial_supplies" => Ok(IndustrialSupplies),
6107 "information_retrieval_services" => Ok(InformationRetrievalServices),
6108 "insurance_default" => Ok(InsuranceDefault),
6109 "insurance_underwriting_premiums" => Ok(InsuranceUnderwritingPremiums),
6110 "intra_company_purchases" => Ok(IntraCompanyPurchases),
6111 "jewelry_stores_watches_clocks_and_silverware_stores" => {
6112 Ok(JewelryStoresWatchesClocksAndSilverwareStores)
6113 }
6114 "landscaping_services" => Ok(LandscapingServices),
6115 "laundries" => Ok(Laundries),
6116 "laundry_cleaning_services" => Ok(LaundryCleaningServices),
6117 "legal_services_attorneys" => Ok(LegalServicesAttorneys),
6118 "luggage_and_leather_goods_stores" => Ok(LuggageAndLeatherGoodsStores),
6119 "lumber_building_materials_stores" => Ok(LumberBuildingMaterialsStores),
6120 "manual_cash_disburse" => Ok(ManualCashDisburse),
6121 "marinas_service_and_supplies" => Ok(MarinasServiceAndSupplies),
6122 "marketplaces" => Ok(Marketplaces),
6123 "masonry_stonework_and_plaster" => Ok(MasonryStoneworkAndPlaster),
6124 "massage_parlors" => Ok(MassageParlors),
6125 "medical_and_dental_labs" => Ok(MedicalAndDentalLabs),
6126 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies" => {
6127 Ok(MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies)
6128 }
6129 "medical_services" => Ok(MedicalServices),
6130 "membership_organizations" => Ok(MembershipOrganizations),
6131 "mens_and_boys_clothing_and_accessories_stores" => {
6132 Ok(MensAndBoysClothingAndAccessoriesStores)
6133 }
6134 "mens_womens_clothing_stores" => Ok(MensWomensClothingStores),
6135 "metal_service_centers" => Ok(MetalServiceCenters),
6136 "miscellaneous" => Ok(Miscellaneous),
6137 "miscellaneous_apparel_and_accessory_shops" => {
6138 Ok(MiscellaneousApparelAndAccessoryShops)
6139 }
6140 "miscellaneous_auto_dealers" => Ok(MiscellaneousAutoDealers),
6141 "miscellaneous_business_services" => Ok(MiscellaneousBusinessServices),
6142 "miscellaneous_food_stores" => Ok(MiscellaneousFoodStores),
6143 "miscellaneous_general_merchandise" => Ok(MiscellaneousGeneralMerchandise),
6144 "miscellaneous_general_services" => Ok(MiscellaneousGeneralServices),
6145 "miscellaneous_home_furnishing_specialty_stores" => {
6146 Ok(MiscellaneousHomeFurnishingSpecialtyStores)
6147 }
6148 "miscellaneous_publishing_and_printing" => Ok(MiscellaneousPublishingAndPrinting),
6149 "miscellaneous_recreation_services" => Ok(MiscellaneousRecreationServices),
6150 "miscellaneous_repair_shops" => Ok(MiscellaneousRepairShops),
6151 "miscellaneous_specialty_retail" => Ok(MiscellaneousSpecialtyRetail),
6152 "mobile_home_dealers" => Ok(MobileHomeDealers),
6153 "motion_picture_theaters" => Ok(MotionPictureTheaters),
6154 "motor_freight_carriers_and_trucking" => Ok(MotorFreightCarriersAndTrucking),
6155 "motor_homes_dealers" => Ok(MotorHomesDealers),
6156 "motor_vehicle_supplies_and_new_parts" => Ok(MotorVehicleSuppliesAndNewParts),
6157 "motorcycle_shops_and_dealers" => Ok(MotorcycleShopsAndDealers),
6158 "motorcycle_shops_dealers" => Ok(MotorcycleShopsDealers),
6159 "music_stores_musical_instruments_pianos_and_sheet_music" => {
6160 Ok(MusicStoresMusicalInstrumentsPianosAndSheetMusic)
6161 }
6162 "news_dealers_and_newsstands" => Ok(NewsDealersAndNewsstands),
6163 "non_fi_money_orders" => Ok(NonFiMoneyOrders),
6164 "non_fi_stored_value_card_purchase_load" => Ok(NonFiStoredValueCardPurchaseLoad),
6165 "nondurable_goods" => Ok(NondurableGoods),
6166 "nurseries_lawn_and_garden_supply_stores" => Ok(NurseriesLawnAndGardenSupplyStores),
6167 "nursing_personal_care" => Ok(NursingPersonalCare),
6168 "office_and_commercial_furniture" => Ok(OfficeAndCommercialFurniture),
6169 "opticians_eyeglasses" => Ok(OpticiansEyeglasses),
6170 "optometrists_ophthalmologist" => Ok(OptometristsOphthalmologist),
6171 "orthopedic_goods_prosthetic_devices" => Ok(OrthopedicGoodsProstheticDevices),
6172 "osteopaths" => Ok(Osteopaths),
6173 "package_stores_beer_wine_and_liquor" => Ok(PackageStoresBeerWineAndLiquor),
6174 "paints_varnishes_and_supplies" => Ok(PaintsVarnishesAndSupplies),
6175 "parking_lots_garages" => Ok(ParkingLotsGarages),
6176 "passenger_railways" => Ok(PassengerRailways),
6177 "pawn_shops" => Ok(PawnShops),
6178 "pet_shops_pet_food_and_supplies" => Ok(PetShopsPetFoodAndSupplies),
6179 "petroleum_and_petroleum_products" => Ok(PetroleumAndPetroleumProducts),
6180 "photo_developing" => Ok(PhotoDeveloping),
6181 "photographic_photocopy_microfilm_equipment_and_supplies" => {
6182 Ok(PhotographicPhotocopyMicrofilmEquipmentAndSupplies)
6183 }
6184 "photographic_studios" => Ok(PhotographicStudios),
6185 "picture_video_production" => Ok(PictureVideoProduction),
6186 "piece_goods_notions_and_other_dry_goods" => Ok(PieceGoodsNotionsAndOtherDryGoods),
6187 "plumbing_heating_equipment_and_supplies" => Ok(PlumbingHeatingEquipmentAndSupplies),
6188 "political_organizations" => Ok(PoliticalOrganizations),
6189 "postal_services_government_only" => Ok(PostalServicesGovernmentOnly),
6190 "precious_stones_and_metals_watches_and_jewelry" => {
6191 Ok(PreciousStonesAndMetalsWatchesAndJewelry)
6192 }
6193 "professional_services" => Ok(ProfessionalServices),
6194 "public_warehousing_and_storage" => Ok(PublicWarehousingAndStorage),
6195 "quick_copy_repro_and_blueprint" => Ok(QuickCopyReproAndBlueprint),
6196 "railroads" => Ok(Railroads),
6197 "real_estate_agents_and_managers_rentals" => Ok(RealEstateAgentsAndManagersRentals),
6198 "record_stores" => Ok(RecordStores),
6199 "recreational_vehicle_rentals" => Ok(RecreationalVehicleRentals),
6200 "religious_goods_stores" => Ok(ReligiousGoodsStores),
6201 "religious_organizations" => Ok(ReligiousOrganizations),
6202 "roofing_siding_sheet_metal" => Ok(RoofingSidingSheetMetal),
6203 "secretarial_support_services" => Ok(SecretarialSupportServices),
6204 "security_brokers_dealers" => Ok(SecurityBrokersDealers),
6205 "service_stations" => Ok(ServiceStations),
6206 "sewing_needlework_fabric_and_piece_goods_stores" => {
6207 Ok(SewingNeedleworkFabricAndPieceGoodsStores)
6208 }
6209 "shoe_repair_hat_cleaning" => Ok(ShoeRepairHatCleaning),
6210 "shoe_stores" => Ok(ShoeStores),
6211 "small_appliance_repair" => Ok(SmallApplianceRepair),
6212 "snowmobile_dealers" => Ok(SnowmobileDealers),
6213 "special_trade_services" => Ok(SpecialTradeServices),
6214 "specialty_cleaning" => Ok(SpecialtyCleaning),
6215 "sporting_goods_stores" => Ok(SportingGoodsStores),
6216 "sporting_recreation_camps" => Ok(SportingRecreationCamps),
6217 "sports_and_riding_apparel_stores" => Ok(SportsAndRidingApparelStores),
6218 "sports_clubs_fields" => Ok(SportsClubsFields),
6219 "stamp_and_coin_stores" => Ok(StampAndCoinStores),
6220 "stationary_office_supplies_printing_and_writing_paper" => {
6221 Ok(StationaryOfficeSuppliesPrintingAndWritingPaper)
6222 }
6223 "stationery_stores_office_and_school_supply_stores" => {
6224 Ok(StationeryStoresOfficeAndSchoolSupplyStores)
6225 }
6226 "swimming_pools_sales" => Ok(SwimmingPoolsSales),
6227 "t_ui_travel_germany" => Ok(TUiTravelGermany),
6228 "tailors_alterations" => Ok(TailorsAlterations),
6229 "tax_payments_government_agencies" => Ok(TaxPaymentsGovernmentAgencies),
6230 "tax_preparation_services" => Ok(TaxPreparationServices),
6231 "taxicabs_limousines" => Ok(TaxicabsLimousines),
6232 "telecommunication_equipment_and_telephone_sales" => {
6233 Ok(TelecommunicationEquipmentAndTelephoneSales)
6234 }
6235 "telecommunication_services" => Ok(TelecommunicationServices),
6236 "telegraph_services" => Ok(TelegraphServices),
6237 "tent_and_awning_shops" => Ok(TentAndAwningShops),
6238 "testing_laboratories" => Ok(TestingLaboratories),
6239 "theatrical_ticket_agencies" => Ok(TheatricalTicketAgencies),
6240 "timeshares" => Ok(Timeshares),
6241 "tire_retreading_and_repair" => Ok(TireRetreadingAndRepair),
6242 "tolls_bridge_fees" => Ok(TollsBridgeFees),
6243 "tourist_attractions_and_exhibits" => Ok(TouristAttractionsAndExhibits),
6244 "towing_services" => Ok(TowingServices),
6245 "trailer_parks_campgrounds" => Ok(TrailerParksCampgrounds),
6246 "transportation_services" => Ok(TransportationServices),
6247 "travel_agencies_tour_operators" => Ok(TravelAgenciesTourOperators),
6248 "truck_stop_iteration" => Ok(TruckStopIteration),
6249 "truck_utility_trailer_rentals" => Ok(TruckUtilityTrailerRentals),
6250 "typesetting_plate_making_and_related_services" => {
6251 Ok(TypesettingPlateMakingAndRelatedServices)
6252 }
6253 "typewriter_stores" => Ok(TypewriterStores),
6254 "u_s_federal_government_agencies_or_departments" => {
6255 Ok(USFederalGovernmentAgenciesOrDepartments)
6256 }
6257 "uniforms_commercial_clothing" => Ok(UniformsCommercialClothing),
6258 "used_merchandise_and_secondhand_stores" => Ok(UsedMerchandiseAndSecondhandStores),
6259 "utilities" => Ok(Utilities),
6260 "variety_stores" => Ok(VarietyStores),
6261 "veterinary_services" => Ok(VeterinaryServices),
6262 "video_amusement_game_supplies" => Ok(VideoAmusementGameSupplies),
6263 "video_game_arcades" => Ok(VideoGameArcades),
6264 "video_tape_rental_stores" => Ok(VideoTapeRentalStores),
6265 "vocational_trade_schools" => Ok(VocationalTradeSchools),
6266 "watch_jewelry_repair" => Ok(WatchJewelryRepair),
6267 "welding_repair" => Ok(WeldingRepair),
6268 "wholesale_clubs" => Ok(WholesaleClubs),
6269 "wig_and_toupee_stores" => Ok(WigAndToupeeStores),
6270 "wires_money_orders" => Ok(WiresMoneyOrders),
6271 "womens_accessory_and_specialty_shops" => Ok(WomensAccessoryAndSpecialtyShops),
6272 "womens_ready_to_wear_stores" => Ok(WomensReadyToWearStores),
6273 "wrecking_and_salvage_yards" => Ok(WreckingAndSalvageYards),
6274 v => {
6275 tracing::warn!(
6276 "Unknown value '{}' for enum '{}'",
6277 v,
6278 "UpdateIssuingCardholderSpendingControlsBlockedCategories"
6279 );
6280 Ok(Unknown(v.to_owned()))
6281 }
6282 }
6283 }
6284}
6285impl std::fmt::Display for UpdateIssuingCardholderSpendingControlsBlockedCategories {
6286 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
6287 f.write_str(self.as_str())
6288 }
6289}
6290
6291#[cfg(not(feature = "redact-generated-debug"))]
6292impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsBlockedCategories {
6293 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
6294 f.write_str(self.as_str())
6295 }
6296}
6297#[cfg(feature = "redact-generated-debug")]
6298impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsBlockedCategories {
6299 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
6300 f.debug_struct(stringify!(UpdateIssuingCardholderSpendingControlsBlockedCategories))
6301 .finish_non_exhaustive()
6302 }
6303}
6304impl serde::Serialize for UpdateIssuingCardholderSpendingControlsBlockedCategories {
6305 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
6306 where
6307 S: serde::Serializer,
6308 {
6309 serializer.serialize_str(self.as_str())
6310 }
6311}
6312#[cfg(feature = "deserialize")]
6313impl<'de> serde::Deserialize<'de> for UpdateIssuingCardholderSpendingControlsBlockedCategories {
6314 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
6315 use std::str::FromStr;
6316 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
6317 Ok(Self::from_str(&s).expect("infallible"))
6318 }
6319}
6320#[derive(Clone, Eq, PartialEq)]
6322#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
6323#[derive(serde::Serialize)]
6324pub struct UpdateIssuingCardholderSpendingControlsSpendingLimits {
6325 pub amount: i64,
6327 #[serde(skip_serializing_if = "Option::is_none")]
6330 pub categories: Option<Vec<UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories>>,
6331 pub interval: UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval,
6333}
6334#[cfg(feature = "redact-generated-debug")]
6335impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsSpendingLimits {
6336 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
6337 f.debug_struct("UpdateIssuingCardholderSpendingControlsSpendingLimits")
6338 .finish_non_exhaustive()
6339 }
6340}
6341impl UpdateIssuingCardholderSpendingControlsSpendingLimits {
6342 pub fn new(
6343 amount: impl Into<i64>,
6344 interval: impl Into<UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval>,
6345 ) -> Self {
6346 Self { amount: amount.into(), categories: None, interval: interval.into() }
6347 }
6348}
6349#[derive(Clone, Eq, PartialEq)]
6352#[non_exhaustive]
6353pub enum UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories {
6354 AcRefrigerationRepair,
6355 AccountingBookkeepingServices,
6356 AdvertisingServices,
6357 AgriculturalCooperative,
6358 AirlinesAirCarriers,
6359 AirportsFlyingFields,
6360 AmbulanceServices,
6361 AmusementParksCarnivals,
6362 AntiqueReproductions,
6363 AntiqueShops,
6364 Aquariums,
6365 ArchitecturalSurveyingServices,
6366 ArtDealersAndGalleries,
6367 ArtistsSupplyAndCraftShops,
6368 AutoAndHomeSupplyStores,
6369 AutoBodyRepairShops,
6370 AutoPaintShops,
6371 AutoServiceShops,
6372 AutomatedCashDisburse,
6373 AutomatedFuelDispensers,
6374 AutomobileAssociations,
6375 AutomotivePartsAndAccessoriesStores,
6376 AutomotiveTireStores,
6377 BailAndBondPayments,
6378 Bakeries,
6379 BandsOrchestras,
6380 BarberAndBeautyShops,
6381 BettingCasinoGambling,
6382 BicycleShops,
6383 BilliardPoolEstablishments,
6384 BoatDealers,
6385 BoatRentalsAndLeases,
6386 BookStores,
6387 BooksPeriodicalsAndNewspapers,
6388 BowlingAlleys,
6389 BusLines,
6390 BusinessSecretarialSchools,
6391 BuyingShoppingServices,
6392 CableSatelliteAndOtherPayTelevisionAndRadio,
6393 CameraAndPhotographicSupplyStores,
6394 CandyNutAndConfectioneryStores,
6395 CarAndTruckDealersNewUsed,
6396 CarAndTruckDealersUsedOnly,
6397 CarRentalAgencies,
6398 CarWashes,
6399 CarpentryServices,
6400 CarpetUpholsteryCleaning,
6401 Caterers,
6402 CharitableAndSocialServiceOrganizationsFundraising,
6403 ChemicalsAndAlliedProducts,
6404 ChildCareServices,
6405 ChildrensAndInfantsWearStores,
6406 ChiropodistsPodiatrists,
6407 Chiropractors,
6408 CigarStoresAndStands,
6409 CivicSocialFraternalAssociations,
6410 CleaningAndMaintenance,
6411 ClothingRental,
6412 CollegesUniversities,
6413 CommercialEquipment,
6414 CommercialFootwear,
6415 CommercialPhotographyArtAndGraphics,
6416 CommuterTransportAndFerries,
6417 ComputerNetworkServices,
6418 ComputerProgramming,
6419 ComputerRepair,
6420 ComputerSoftwareStores,
6421 ComputersPeripheralsAndSoftware,
6422 ConcreteWorkServices,
6423 ConstructionMaterials,
6424 ConsultingPublicRelations,
6425 CorrespondenceSchools,
6426 CosmeticStores,
6427 CounselingServices,
6428 CountryClubs,
6429 CourierServices,
6430 CourtCosts,
6431 CreditReportingAgencies,
6432 CruiseLines,
6433 DairyProductsStores,
6434 DanceHallStudiosSchools,
6435 DatingEscortServices,
6436 DentistsOrthodontists,
6437 DepartmentStores,
6438 DetectiveAgencies,
6439 DigitalGoodsApplications,
6440 DigitalGoodsGames,
6441 DigitalGoodsLargeVolume,
6442 DigitalGoodsMedia,
6443 DirectMarketingCatalogMerchant,
6444 DirectMarketingCombinationCatalogAndRetailMerchant,
6445 DirectMarketingInboundTelemarketing,
6446 DirectMarketingInsuranceServices,
6447 DirectMarketingOther,
6448 DirectMarketingOutboundTelemarketing,
6449 DirectMarketingSubscription,
6450 DirectMarketingTravel,
6451 DiscountStores,
6452 Doctors,
6453 DoorToDoorSales,
6454 DraperyWindowCoveringAndUpholsteryStores,
6455 DrinkingPlaces,
6456 DrugStoresAndPharmacies,
6457 DrugsDrugProprietariesAndDruggistSundries,
6458 DryCleaners,
6459 DurableGoods,
6460 DutyFreeStores,
6461 EatingPlacesRestaurants,
6462 EducationalServices,
6463 ElectricRazorStores,
6464 ElectricVehicleCharging,
6465 ElectricalPartsAndEquipment,
6466 ElectricalServices,
6467 ElectronicsRepairShops,
6468 ElectronicsStores,
6469 ElementarySecondarySchools,
6470 EmergencyServicesGcasVisaUseOnly,
6471 EmploymentTempAgencies,
6472 EquipmentRental,
6473 ExterminatingServices,
6474 FamilyClothingStores,
6475 FastFoodRestaurants,
6476 FinancialInstitutions,
6477 FinesGovernmentAdministrativeEntities,
6478 FireplaceFireplaceScreensAndAccessoriesStores,
6479 FloorCoveringStores,
6480 Florists,
6481 FloristsSuppliesNurseryStockAndFlowers,
6482 FreezerAndLockerMeatProvisioners,
6483 FuelDealersNonAutomotive,
6484 FuneralServicesCrematories,
6485 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances,
6486 FurnitureRepairRefinishing,
6487 FurriersAndFurShops,
6488 GeneralServices,
6489 GiftCardNoveltyAndSouvenirShops,
6490 GlassPaintAndWallpaperStores,
6491 GlasswareCrystalStores,
6492 GolfCoursesPublic,
6493 GovernmentLicensedHorseDogRacingUsRegionOnly,
6494 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly,
6495 GovernmentOwnedLotteriesNonUsRegion,
6496 GovernmentOwnedLotteriesUsRegionOnly,
6497 GovernmentServices,
6498 GroceryStoresSupermarkets,
6499 HardwareEquipmentAndSupplies,
6500 HardwareStores,
6501 HealthAndBeautySpas,
6502 HearingAidsSalesAndSupplies,
6503 HeatingPlumbingAC,
6504 HobbyToyAndGameShops,
6505 HomeSupplyWarehouseStores,
6506 Hospitals,
6507 HotelsMotelsAndResorts,
6508 HouseholdApplianceStores,
6509 IndustrialSupplies,
6510 InformationRetrievalServices,
6511 InsuranceDefault,
6512 InsuranceUnderwritingPremiums,
6513 IntraCompanyPurchases,
6514 JewelryStoresWatchesClocksAndSilverwareStores,
6515 LandscapingServices,
6516 Laundries,
6517 LaundryCleaningServices,
6518 LegalServicesAttorneys,
6519 LuggageAndLeatherGoodsStores,
6520 LumberBuildingMaterialsStores,
6521 ManualCashDisburse,
6522 MarinasServiceAndSupplies,
6523 Marketplaces,
6524 MasonryStoneworkAndPlaster,
6525 MassageParlors,
6526 MedicalAndDentalLabs,
6527 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies,
6528 MedicalServices,
6529 MembershipOrganizations,
6530 MensAndBoysClothingAndAccessoriesStores,
6531 MensWomensClothingStores,
6532 MetalServiceCenters,
6533 Miscellaneous,
6534 MiscellaneousApparelAndAccessoryShops,
6535 MiscellaneousAutoDealers,
6536 MiscellaneousBusinessServices,
6537 MiscellaneousFoodStores,
6538 MiscellaneousGeneralMerchandise,
6539 MiscellaneousGeneralServices,
6540 MiscellaneousHomeFurnishingSpecialtyStores,
6541 MiscellaneousPublishingAndPrinting,
6542 MiscellaneousRecreationServices,
6543 MiscellaneousRepairShops,
6544 MiscellaneousSpecialtyRetail,
6545 MobileHomeDealers,
6546 MotionPictureTheaters,
6547 MotorFreightCarriersAndTrucking,
6548 MotorHomesDealers,
6549 MotorVehicleSuppliesAndNewParts,
6550 MotorcycleShopsAndDealers,
6551 MotorcycleShopsDealers,
6552 MusicStoresMusicalInstrumentsPianosAndSheetMusic,
6553 NewsDealersAndNewsstands,
6554 NonFiMoneyOrders,
6555 NonFiStoredValueCardPurchaseLoad,
6556 NondurableGoods,
6557 NurseriesLawnAndGardenSupplyStores,
6558 NursingPersonalCare,
6559 OfficeAndCommercialFurniture,
6560 OpticiansEyeglasses,
6561 OptometristsOphthalmologist,
6562 OrthopedicGoodsProstheticDevices,
6563 Osteopaths,
6564 PackageStoresBeerWineAndLiquor,
6565 PaintsVarnishesAndSupplies,
6566 ParkingLotsGarages,
6567 PassengerRailways,
6568 PawnShops,
6569 PetShopsPetFoodAndSupplies,
6570 PetroleumAndPetroleumProducts,
6571 PhotoDeveloping,
6572 PhotographicPhotocopyMicrofilmEquipmentAndSupplies,
6573 PhotographicStudios,
6574 PictureVideoProduction,
6575 PieceGoodsNotionsAndOtherDryGoods,
6576 PlumbingHeatingEquipmentAndSupplies,
6577 PoliticalOrganizations,
6578 PostalServicesGovernmentOnly,
6579 PreciousStonesAndMetalsWatchesAndJewelry,
6580 ProfessionalServices,
6581 PublicWarehousingAndStorage,
6582 QuickCopyReproAndBlueprint,
6583 Railroads,
6584 RealEstateAgentsAndManagersRentals,
6585 RecordStores,
6586 RecreationalVehicleRentals,
6587 ReligiousGoodsStores,
6588 ReligiousOrganizations,
6589 RoofingSidingSheetMetal,
6590 SecretarialSupportServices,
6591 SecurityBrokersDealers,
6592 ServiceStations,
6593 SewingNeedleworkFabricAndPieceGoodsStores,
6594 ShoeRepairHatCleaning,
6595 ShoeStores,
6596 SmallApplianceRepair,
6597 SnowmobileDealers,
6598 SpecialTradeServices,
6599 SpecialtyCleaning,
6600 SportingGoodsStores,
6601 SportingRecreationCamps,
6602 SportsAndRidingApparelStores,
6603 SportsClubsFields,
6604 StampAndCoinStores,
6605 StationaryOfficeSuppliesPrintingAndWritingPaper,
6606 StationeryStoresOfficeAndSchoolSupplyStores,
6607 SwimmingPoolsSales,
6608 TUiTravelGermany,
6609 TailorsAlterations,
6610 TaxPaymentsGovernmentAgencies,
6611 TaxPreparationServices,
6612 TaxicabsLimousines,
6613 TelecommunicationEquipmentAndTelephoneSales,
6614 TelecommunicationServices,
6615 TelegraphServices,
6616 TentAndAwningShops,
6617 TestingLaboratories,
6618 TheatricalTicketAgencies,
6619 Timeshares,
6620 TireRetreadingAndRepair,
6621 TollsBridgeFees,
6622 TouristAttractionsAndExhibits,
6623 TowingServices,
6624 TrailerParksCampgrounds,
6625 TransportationServices,
6626 TravelAgenciesTourOperators,
6627 TruckStopIteration,
6628 TruckUtilityTrailerRentals,
6629 TypesettingPlateMakingAndRelatedServices,
6630 TypewriterStores,
6631 USFederalGovernmentAgenciesOrDepartments,
6632 UniformsCommercialClothing,
6633 UsedMerchandiseAndSecondhandStores,
6634 Utilities,
6635 VarietyStores,
6636 VeterinaryServices,
6637 VideoAmusementGameSupplies,
6638 VideoGameArcades,
6639 VideoTapeRentalStores,
6640 VocationalTradeSchools,
6641 WatchJewelryRepair,
6642 WeldingRepair,
6643 WholesaleClubs,
6644 WigAndToupeeStores,
6645 WiresMoneyOrders,
6646 WomensAccessoryAndSpecialtyShops,
6647 WomensReadyToWearStores,
6648 WreckingAndSalvageYards,
6649 Unknown(String),
6651}
6652impl UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories {
6653 pub fn as_str(&self) -> &str {
6654 use UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories::*;
6655 match self {
6656 AcRefrigerationRepair => "ac_refrigeration_repair",
6657 AccountingBookkeepingServices => "accounting_bookkeeping_services",
6658 AdvertisingServices => "advertising_services",
6659 AgriculturalCooperative => "agricultural_cooperative",
6660 AirlinesAirCarriers => "airlines_air_carriers",
6661 AirportsFlyingFields => "airports_flying_fields",
6662 AmbulanceServices => "ambulance_services",
6663 AmusementParksCarnivals => "amusement_parks_carnivals",
6664 AntiqueReproductions => "antique_reproductions",
6665 AntiqueShops => "antique_shops",
6666 Aquariums => "aquariums",
6667 ArchitecturalSurveyingServices => "architectural_surveying_services",
6668 ArtDealersAndGalleries => "art_dealers_and_galleries",
6669 ArtistsSupplyAndCraftShops => "artists_supply_and_craft_shops",
6670 AutoAndHomeSupplyStores => "auto_and_home_supply_stores",
6671 AutoBodyRepairShops => "auto_body_repair_shops",
6672 AutoPaintShops => "auto_paint_shops",
6673 AutoServiceShops => "auto_service_shops",
6674 AutomatedCashDisburse => "automated_cash_disburse",
6675 AutomatedFuelDispensers => "automated_fuel_dispensers",
6676 AutomobileAssociations => "automobile_associations",
6677 AutomotivePartsAndAccessoriesStores => "automotive_parts_and_accessories_stores",
6678 AutomotiveTireStores => "automotive_tire_stores",
6679 BailAndBondPayments => "bail_and_bond_payments",
6680 Bakeries => "bakeries",
6681 BandsOrchestras => "bands_orchestras",
6682 BarberAndBeautyShops => "barber_and_beauty_shops",
6683 BettingCasinoGambling => "betting_casino_gambling",
6684 BicycleShops => "bicycle_shops",
6685 BilliardPoolEstablishments => "billiard_pool_establishments",
6686 BoatDealers => "boat_dealers",
6687 BoatRentalsAndLeases => "boat_rentals_and_leases",
6688 BookStores => "book_stores",
6689 BooksPeriodicalsAndNewspapers => "books_periodicals_and_newspapers",
6690 BowlingAlleys => "bowling_alleys",
6691 BusLines => "bus_lines",
6692 BusinessSecretarialSchools => "business_secretarial_schools",
6693 BuyingShoppingServices => "buying_shopping_services",
6694 CableSatelliteAndOtherPayTelevisionAndRadio => {
6695 "cable_satellite_and_other_pay_television_and_radio"
6696 }
6697 CameraAndPhotographicSupplyStores => "camera_and_photographic_supply_stores",
6698 CandyNutAndConfectioneryStores => "candy_nut_and_confectionery_stores",
6699 CarAndTruckDealersNewUsed => "car_and_truck_dealers_new_used",
6700 CarAndTruckDealersUsedOnly => "car_and_truck_dealers_used_only",
6701 CarRentalAgencies => "car_rental_agencies",
6702 CarWashes => "car_washes",
6703 CarpentryServices => "carpentry_services",
6704 CarpetUpholsteryCleaning => "carpet_upholstery_cleaning",
6705 Caterers => "caterers",
6706 CharitableAndSocialServiceOrganizationsFundraising => {
6707 "charitable_and_social_service_organizations_fundraising"
6708 }
6709 ChemicalsAndAlliedProducts => "chemicals_and_allied_products",
6710 ChildCareServices => "child_care_services",
6711 ChildrensAndInfantsWearStores => "childrens_and_infants_wear_stores",
6712 ChiropodistsPodiatrists => "chiropodists_podiatrists",
6713 Chiropractors => "chiropractors",
6714 CigarStoresAndStands => "cigar_stores_and_stands",
6715 CivicSocialFraternalAssociations => "civic_social_fraternal_associations",
6716 CleaningAndMaintenance => "cleaning_and_maintenance",
6717 ClothingRental => "clothing_rental",
6718 CollegesUniversities => "colleges_universities",
6719 CommercialEquipment => "commercial_equipment",
6720 CommercialFootwear => "commercial_footwear",
6721 CommercialPhotographyArtAndGraphics => "commercial_photography_art_and_graphics",
6722 CommuterTransportAndFerries => "commuter_transport_and_ferries",
6723 ComputerNetworkServices => "computer_network_services",
6724 ComputerProgramming => "computer_programming",
6725 ComputerRepair => "computer_repair",
6726 ComputerSoftwareStores => "computer_software_stores",
6727 ComputersPeripheralsAndSoftware => "computers_peripherals_and_software",
6728 ConcreteWorkServices => "concrete_work_services",
6729 ConstructionMaterials => "construction_materials",
6730 ConsultingPublicRelations => "consulting_public_relations",
6731 CorrespondenceSchools => "correspondence_schools",
6732 CosmeticStores => "cosmetic_stores",
6733 CounselingServices => "counseling_services",
6734 CountryClubs => "country_clubs",
6735 CourierServices => "courier_services",
6736 CourtCosts => "court_costs",
6737 CreditReportingAgencies => "credit_reporting_agencies",
6738 CruiseLines => "cruise_lines",
6739 DairyProductsStores => "dairy_products_stores",
6740 DanceHallStudiosSchools => "dance_hall_studios_schools",
6741 DatingEscortServices => "dating_escort_services",
6742 DentistsOrthodontists => "dentists_orthodontists",
6743 DepartmentStores => "department_stores",
6744 DetectiveAgencies => "detective_agencies",
6745 DigitalGoodsApplications => "digital_goods_applications",
6746 DigitalGoodsGames => "digital_goods_games",
6747 DigitalGoodsLargeVolume => "digital_goods_large_volume",
6748 DigitalGoodsMedia => "digital_goods_media",
6749 DirectMarketingCatalogMerchant => "direct_marketing_catalog_merchant",
6750 DirectMarketingCombinationCatalogAndRetailMerchant => {
6751 "direct_marketing_combination_catalog_and_retail_merchant"
6752 }
6753 DirectMarketingInboundTelemarketing => "direct_marketing_inbound_telemarketing",
6754 DirectMarketingInsuranceServices => "direct_marketing_insurance_services",
6755 DirectMarketingOther => "direct_marketing_other",
6756 DirectMarketingOutboundTelemarketing => "direct_marketing_outbound_telemarketing",
6757 DirectMarketingSubscription => "direct_marketing_subscription",
6758 DirectMarketingTravel => "direct_marketing_travel",
6759 DiscountStores => "discount_stores",
6760 Doctors => "doctors",
6761 DoorToDoorSales => "door_to_door_sales",
6762 DraperyWindowCoveringAndUpholsteryStores => {
6763 "drapery_window_covering_and_upholstery_stores"
6764 }
6765 DrinkingPlaces => "drinking_places",
6766 DrugStoresAndPharmacies => "drug_stores_and_pharmacies",
6767 DrugsDrugProprietariesAndDruggistSundries => {
6768 "drugs_drug_proprietaries_and_druggist_sundries"
6769 }
6770 DryCleaners => "dry_cleaners",
6771 DurableGoods => "durable_goods",
6772 DutyFreeStores => "duty_free_stores",
6773 EatingPlacesRestaurants => "eating_places_restaurants",
6774 EducationalServices => "educational_services",
6775 ElectricRazorStores => "electric_razor_stores",
6776 ElectricVehicleCharging => "electric_vehicle_charging",
6777 ElectricalPartsAndEquipment => "electrical_parts_and_equipment",
6778 ElectricalServices => "electrical_services",
6779 ElectronicsRepairShops => "electronics_repair_shops",
6780 ElectronicsStores => "electronics_stores",
6781 ElementarySecondarySchools => "elementary_secondary_schools",
6782 EmergencyServicesGcasVisaUseOnly => "emergency_services_gcas_visa_use_only",
6783 EmploymentTempAgencies => "employment_temp_agencies",
6784 EquipmentRental => "equipment_rental",
6785 ExterminatingServices => "exterminating_services",
6786 FamilyClothingStores => "family_clothing_stores",
6787 FastFoodRestaurants => "fast_food_restaurants",
6788 FinancialInstitutions => "financial_institutions",
6789 FinesGovernmentAdministrativeEntities => "fines_government_administrative_entities",
6790 FireplaceFireplaceScreensAndAccessoriesStores => {
6791 "fireplace_fireplace_screens_and_accessories_stores"
6792 }
6793 FloorCoveringStores => "floor_covering_stores",
6794 Florists => "florists",
6795 FloristsSuppliesNurseryStockAndFlowers => "florists_supplies_nursery_stock_and_flowers",
6796 FreezerAndLockerMeatProvisioners => "freezer_and_locker_meat_provisioners",
6797 FuelDealersNonAutomotive => "fuel_dealers_non_automotive",
6798 FuneralServicesCrematories => "funeral_services_crematories",
6799 FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances => {
6800 "furniture_home_furnishings_and_equipment_stores_except_appliances"
6801 }
6802 FurnitureRepairRefinishing => "furniture_repair_refinishing",
6803 FurriersAndFurShops => "furriers_and_fur_shops",
6804 GeneralServices => "general_services",
6805 GiftCardNoveltyAndSouvenirShops => "gift_card_novelty_and_souvenir_shops",
6806 GlassPaintAndWallpaperStores => "glass_paint_and_wallpaper_stores",
6807 GlasswareCrystalStores => "glassware_crystal_stores",
6808 GolfCoursesPublic => "golf_courses_public",
6809 GovernmentLicensedHorseDogRacingUsRegionOnly => {
6810 "government_licensed_horse_dog_racing_us_region_only"
6811 }
6812 GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly => {
6813 "government_licensed_online_casions_online_gambling_us_region_only"
6814 }
6815 GovernmentOwnedLotteriesNonUsRegion => "government_owned_lotteries_non_us_region",
6816 GovernmentOwnedLotteriesUsRegionOnly => "government_owned_lotteries_us_region_only",
6817 GovernmentServices => "government_services",
6818 GroceryStoresSupermarkets => "grocery_stores_supermarkets",
6819 HardwareEquipmentAndSupplies => "hardware_equipment_and_supplies",
6820 HardwareStores => "hardware_stores",
6821 HealthAndBeautySpas => "health_and_beauty_spas",
6822 HearingAidsSalesAndSupplies => "hearing_aids_sales_and_supplies",
6823 HeatingPlumbingAC => "heating_plumbing_a_c",
6824 HobbyToyAndGameShops => "hobby_toy_and_game_shops",
6825 HomeSupplyWarehouseStores => "home_supply_warehouse_stores",
6826 Hospitals => "hospitals",
6827 HotelsMotelsAndResorts => "hotels_motels_and_resorts",
6828 HouseholdApplianceStores => "household_appliance_stores",
6829 IndustrialSupplies => "industrial_supplies",
6830 InformationRetrievalServices => "information_retrieval_services",
6831 InsuranceDefault => "insurance_default",
6832 InsuranceUnderwritingPremiums => "insurance_underwriting_premiums",
6833 IntraCompanyPurchases => "intra_company_purchases",
6834 JewelryStoresWatchesClocksAndSilverwareStores => {
6835 "jewelry_stores_watches_clocks_and_silverware_stores"
6836 }
6837 LandscapingServices => "landscaping_services",
6838 Laundries => "laundries",
6839 LaundryCleaningServices => "laundry_cleaning_services",
6840 LegalServicesAttorneys => "legal_services_attorneys",
6841 LuggageAndLeatherGoodsStores => "luggage_and_leather_goods_stores",
6842 LumberBuildingMaterialsStores => "lumber_building_materials_stores",
6843 ManualCashDisburse => "manual_cash_disburse",
6844 MarinasServiceAndSupplies => "marinas_service_and_supplies",
6845 Marketplaces => "marketplaces",
6846 MasonryStoneworkAndPlaster => "masonry_stonework_and_plaster",
6847 MassageParlors => "massage_parlors",
6848 MedicalAndDentalLabs => "medical_and_dental_labs",
6849 MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies => {
6850 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
6851 }
6852 MedicalServices => "medical_services",
6853 MembershipOrganizations => "membership_organizations",
6854 MensAndBoysClothingAndAccessoriesStores => {
6855 "mens_and_boys_clothing_and_accessories_stores"
6856 }
6857 MensWomensClothingStores => "mens_womens_clothing_stores",
6858 MetalServiceCenters => "metal_service_centers",
6859 Miscellaneous => "miscellaneous",
6860 MiscellaneousApparelAndAccessoryShops => "miscellaneous_apparel_and_accessory_shops",
6861 MiscellaneousAutoDealers => "miscellaneous_auto_dealers",
6862 MiscellaneousBusinessServices => "miscellaneous_business_services",
6863 MiscellaneousFoodStores => "miscellaneous_food_stores",
6864 MiscellaneousGeneralMerchandise => "miscellaneous_general_merchandise",
6865 MiscellaneousGeneralServices => "miscellaneous_general_services",
6866 MiscellaneousHomeFurnishingSpecialtyStores => {
6867 "miscellaneous_home_furnishing_specialty_stores"
6868 }
6869 MiscellaneousPublishingAndPrinting => "miscellaneous_publishing_and_printing",
6870 MiscellaneousRecreationServices => "miscellaneous_recreation_services",
6871 MiscellaneousRepairShops => "miscellaneous_repair_shops",
6872 MiscellaneousSpecialtyRetail => "miscellaneous_specialty_retail",
6873 MobileHomeDealers => "mobile_home_dealers",
6874 MotionPictureTheaters => "motion_picture_theaters",
6875 MotorFreightCarriersAndTrucking => "motor_freight_carriers_and_trucking",
6876 MotorHomesDealers => "motor_homes_dealers",
6877 MotorVehicleSuppliesAndNewParts => "motor_vehicle_supplies_and_new_parts",
6878 MotorcycleShopsAndDealers => "motorcycle_shops_and_dealers",
6879 MotorcycleShopsDealers => "motorcycle_shops_dealers",
6880 MusicStoresMusicalInstrumentsPianosAndSheetMusic => {
6881 "music_stores_musical_instruments_pianos_and_sheet_music"
6882 }
6883 NewsDealersAndNewsstands => "news_dealers_and_newsstands",
6884 NonFiMoneyOrders => "non_fi_money_orders",
6885 NonFiStoredValueCardPurchaseLoad => "non_fi_stored_value_card_purchase_load",
6886 NondurableGoods => "nondurable_goods",
6887 NurseriesLawnAndGardenSupplyStores => "nurseries_lawn_and_garden_supply_stores",
6888 NursingPersonalCare => "nursing_personal_care",
6889 OfficeAndCommercialFurniture => "office_and_commercial_furniture",
6890 OpticiansEyeglasses => "opticians_eyeglasses",
6891 OptometristsOphthalmologist => "optometrists_ophthalmologist",
6892 OrthopedicGoodsProstheticDevices => "orthopedic_goods_prosthetic_devices",
6893 Osteopaths => "osteopaths",
6894 PackageStoresBeerWineAndLiquor => "package_stores_beer_wine_and_liquor",
6895 PaintsVarnishesAndSupplies => "paints_varnishes_and_supplies",
6896 ParkingLotsGarages => "parking_lots_garages",
6897 PassengerRailways => "passenger_railways",
6898 PawnShops => "pawn_shops",
6899 PetShopsPetFoodAndSupplies => "pet_shops_pet_food_and_supplies",
6900 PetroleumAndPetroleumProducts => "petroleum_and_petroleum_products",
6901 PhotoDeveloping => "photo_developing",
6902 PhotographicPhotocopyMicrofilmEquipmentAndSupplies => {
6903 "photographic_photocopy_microfilm_equipment_and_supplies"
6904 }
6905 PhotographicStudios => "photographic_studios",
6906 PictureVideoProduction => "picture_video_production",
6907 PieceGoodsNotionsAndOtherDryGoods => "piece_goods_notions_and_other_dry_goods",
6908 PlumbingHeatingEquipmentAndSupplies => "plumbing_heating_equipment_and_supplies",
6909 PoliticalOrganizations => "political_organizations",
6910 PostalServicesGovernmentOnly => "postal_services_government_only",
6911 PreciousStonesAndMetalsWatchesAndJewelry => {
6912 "precious_stones_and_metals_watches_and_jewelry"
6913 }
6914 ProfessionalServices => "professional_services",
6915 PublicWarehousingAndStorage => "public_warehousing_and_storage",
6916 QuickCopyReproAndBlueprint => "quick_copy_repro_and_blueprint",
6917 Railroads => "railroads",
6918 RealEstateAgentsAndManagersRentals => "real_estate_agents_and_managers_rentals",
6919 RecordStores => "record_stores",
6920 RecreationalVehicleRentals => "recreational_vehicle_rentals",
6921 ReligiousGoodsStores => "religious_goods_stores",
6922 ReligiousOrganizations => "religious_organizations",
6923 RoofingSidingSheetMetal => "roofing_siding_sheet_metal",
6924 SecretarialSupportServices => "secretarial_support_services",
6925 SecurityBrokersDealers => "security_brokers_dealers",
6926 ServiceStations => "service_stations",
6927 SewingNeedleworkFabricAndPieceGoodsStores => {
6928 "sewing_needlework_fabric_and_piece_goods_stores"
6929 }
6930 ShoeRepairHatCleaning => "shoe_repair_hat_cleaning",
6931 ShoeStores => "shoe_stores",
6932 SmallApplianceRepair => "small_appliance_repair",
6933 SnowmobileDealers => "snowmobile_dealers",
6934 SpecialTradeServices => "special_trade_services",
6935 SpecialtyCleaning => "specialty_cleaning",
6936 SportingGoodsStores => "sporting_goods_stores",
6937 SportingRecreationCamps => "sporting_recreation_camps",
6938 SportsAndRidingApparelStores => "sports_and_riding_apparel_stores",
6939 SportsClubsFields => "sports_clubs_fields",
6940 StampAndCoinStores => "stamp_and_coin_stores",
6941 StationaryOfficeSuppliesPrintingAndWritingPaper => {
6942 "stationary_office_supplies_printing_and_writing_paper"
6943 }
6944 StationeryStoresOfficeAndSchoolSupplyStores => {
6945 "stationery_stores_office_and_school_supply_stores"
6946 }
6947 SwimmingPoolsSales => "swimming_pools_sales",
6948 TUiTravelGermany => "t_ui_travel_germany",
6949 TailorsAlterations => "tailors_alterations",
6950 TaxPaymentsGovernmentAgencies => "tax_payments_government_agencies",
6951 TaxPreparationServices => "tax_preparation_services",
6952 TaxicabsLimousines => "taxicabs_limousines",
6953 TelecommunicationEquipmentAndTelephoneSales => {
6954 "telecommunication_equipment_and_telephone_sales"
6955 }
6956 TelecommunicationServices => "telecommunication_services",
6957 TelegraphServices => "telegraph_services",
6958 TentAndAwningShops => "tent_and_awning_shops",
6959 TestingLaboratories => "testing_laboratories",
6960 TheatricalTicketAgencies => "theatrical_ticket_agencies",
6961 Timeshares => "timeshares",
6962 TireRetreadingAndRepair => "tire_retreading_and_repair",
6963 TollsBridgeFees => "tolls_bridge_fees",
6964 TouristAttractionsAndExhibits => "tourist_attractions_and_exhibits",
6965 TowingServices => "towing_services",
6966 TrailerParksCampgrounds => "trailer_parks_campgrounds",
6967 TransportationServices => "transportation_services",
6968 TravelAgenciesTourOperators => "travel_agencies_tour_operators",
6969 TruckStopIteration => "truck_stop_iteration",
6970 TruckUtilityTrailerRentals => "truck_utility_trailer_rentals",
6971 TypesettingPlateMakingAndRelatedServices => {
6972 "typesetting_plate_making_and_related_services"
6973 }
6974 TypewriterStores => "typewriter_stores",
6975 USFederalGovernmentAgenciesOrDepartments => {
6976 "u_s_federal_government_agencies_or_departments"
6977 }
6978 UniformsCommercialClothing => "uniforms_commercial_clothing",
6979 UsedMerchandiseAndSecondhandStores => "used_merchandise_and_secondhand_stores",
6980 Utilities => "utilities",
6981 VarietyStores => "variety_stores",
6982 VeterinaryServices => "veterinary_services",
6983 VideoAmusementGameSupplies => "video_amusement_game_supplies",
6984 VideoGameArcades => "video_game_arcades",
6985 VideoTapeRentalStores => "video_tape_rental_stores",
6986 VocationalTradeSchools => "vocational_trade_schools",
6987 WatchJewelryRepair => "watch_jewelry_repair",
6988 WeldingRepair => "welding_repair",
6989 WholesaleClubs => "wholesale_clubs",
6990 WigAndToupeeStores => "wig_and_toupee_stores",
6991 WiresMoneyOrders => "wires_money_orders",
6992 WomensAccessoryAndSpecialtyShops => "womens_accessory_and_specialty_shops",
6993 WomensReadyToWearStores => "womens_ready_to_wear_stores",
6994 WreckingAndSalvageYards => "wrecking_and_salvage_yards",
6995 Unknown(v) => v,
6996 }
6997 }
6998}
6999
7000impl std::str::FromStr for UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories {
7001 type Err = std::convert::Infallible;
7002 fn from_str(s: &str) -> Result<Self, Self::Err> {
7003 use UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories::*;
7004 match s {
7005 "ac_refrigeration_repair" => Ok(AcRefrigerationRepair),
7006 "accounting_bookkeeping_services" => Ok(AccountingBookkeepingServices),
7007 "advertising_services" => Ok(AdvertisingServices),
7008 "agricultural_cooperative" => Ok(AgriculturalCooperative),
7009 "airlines_air_carriers" => Ok(AirlinesAirCarriers),
7010 "airports_flying_fields" => Ok(AirportsFlyingFields),
7011 "ambulance_services" => Ok(AmbulanceServices),
7012 "amusement_parks_carnivals" => Ok(AmusementParksCarnivals),
7013 "antique_reproductions" => Ok(AntiqueReproductions),
7014 "antique_shops" => Ok(AntiqueShops),
7015 "aquariums" => Ok(Aquariums),
7016 "architectural_surveying_services" => Ok(ArchitecturalSurveyingServices),
7017 "art_dealers_and_galleries" => Ok(ArtDealersAndGalleries),
7018 "artists_supply_and_craft_shops" => Ok(ArtistsSupplyAndCraftShops),
7019 "auto_and_home_supply_stores" => Ok(AutoAndHomeSupplyStores),
7020 "auto_body_repair_shops" => Ok(AutoBodyRepairShops),
7021 "auto_paint_shops" => Ok(AutoPaintShops),
7022 "auto_service_shops" => Ok(AutoServiceShops),
7023 "automated_cash_disburse" => Ok(AutomatedCashDisburse),
7024 "automated_fuel_dispensers" => Ok(AutomatedFuelDispensers),
7025 "automobile_associations" => Ok(AutomobileAssociations),
7026 "automotive_parts_and_accessories_stores" => Ok(AutomotivePartsAndAccessoriesStores),
7027 "automotive_tire_stores" => Ok(AutomotiveTireStores),
7028 "bail_and_bond_payments" => Ok(BailAndBondPayments),
7029 "bakeries" => Ok(Bakeries),
7030 "bands_orchestras" => Ok(BandsOrchestras),
7031 "barber_and_beauty_shops" => Ok(BarberAndBeautyShops),
7032 "betting_casino_gambling" => Ok(BettingCasinoGambling),
7033 "bicycle_shops" => Ok(BicycleShops),
7034 "billiard_pool_establishments" => Ok(BilliardPoolEstablishments),
7035 "boat_dealers" => Ok(BoatDealers),
7036 "boat_rentals_and_leases" => Ok(BoatRentalsAndLeases),
7037 "book_stores" => Ok(BookStores),
7038 "books_periodicals_and_newspapers" => Ok(BooksPeriodicalsAndNewspapers),
7039 "bowling_alleys" => Ok(BowlingAlleys),
7040 "bus_lines" => Ok(BusLines),
7041 "business_secretarial_schools" => Ok(BusinessSecretarialSchools),
7042 "buying_shopping_services" => Ok(BuyingShoppingServices),
7043 "cable_satellite_and_other_pay_television_and_radio" => {
7044 Ok(CableSatelliteAndOtherPayTelevisionAndRadio)
7045 }
7046 "camera_and_photographic_supply_stores" => Ok(CameraAndPhotographicSupplyStores),
7047 "candy_nut_and_confectionery_stores" => Ok(CandyNutAndConfectioneryStores),
7048 "car_and_truck_dealers_new_used" => Ok(CarAndTruckDealersNewUsed),
7049 "car_and_truck_dealers_used_only" => Ok(CarAndTruckDealersUsedOnly),
7050 "car_rental_agencies" => Ok(CarRentalAgencies),
7051 "car_washes" => Ok(CarWashes),
7052 "carpentry_services" => Ok(CarpentryServices),
7053 "carpet_upholstery_cleaning" => Ok(CarpetUpholsteryCleaning),
7054 "caterers" => Ok(Caterers),
7055 "charitable_and_social_service_organizations_fundraising" => {
7056 Ok(CharitableAndSocialServiceOrganizationsFundraising)
7057 }
7058 "chemicals_and_allied_products" => Ok(ChemicalsAndAlliedProducts),
7059 "child_care_services" => Ok(ChildCareServices),
7060 "childrens_and_infants_wear_stores" => Ok(ChildrensAndInfantsWearStores),
7061 "chiropodists_podiatrists" => Ok(ChiropodistsPodiatrists),
7062 "chiropractors" => Ok(Chiropractors),
7063 "cigar_stores_and_stands" => Ok(CigarStoresAndStands),
7064 "civic_social_fraternal_associations" => Ok(CivicSocialFraternalAssociations),
7065 "cleaning_and_maintenance" => Ok(CleaningAndMaintenance),
7066 "clothing_rental" => Ok(ClothingRental),
7067 "colleges_universities" => Ok(CollegesUniversities),
7068 "commercial_equipment" => Ok(CommercialEquipment),
7069 "commercial_footwear" => Ok(CommercialFootwear),
7070 "commercial_photography_art_and_graphics" => Ok(CommercialPhotographyArtAndGraphics),
7071 "commuter_transport_and_ferries" => Ok(CommuterTransportAndFerries),
7072 "computer_network_services" => Ok(ComputerNetworkServices),
7073 "computer_programming" => Ok(ComputerProgramming),
7074 "computer_repair" => Ok(ComputerRepair),
7075 "computer_software_stores" => Ok(ComputerSoftwareStores),
7076 "computers_peripherals_and_software" => Ok(ComputersPeripheralsAndSoftware),
7077 "concrete_work_services" => Ok(ConcreteWorkServices),
7078 "construction_materials" => Ok(ConstructionMaterials),
7079 "consulting_public_relations" => Ok(ConsultingPublicRelations),
7080 "correspondence_schools" => Ok(CorrespondenceSchools),
7081 "cosmetic_stores" => Ok(CosmeticStores),
7082 "counseling_services" => Ok(CounselingServices),
7083 "country_clubs" => Ok(CountryClubs),
7084 "courier_services" => Ok(CourierServices),
7085 "court_costs" => Ok(CourtCosts),
7086 "credit_reporting_agencies" => Ok(CreditReportingAgencies),
7087 "cruise_lines" => Ok(CruiseLines),
7088 "dairy_products_stores" => Ok(DairyProductsStores),
7089 "dance_hall_studios_schools" => Ok(DanceHallStudiosSchools),
7090 "dating_escort_services" => Ok(DatingEscortServices),
7091 "dentists_orthodontists" => Ok(DentistsOrthodontists),
7092 "department_stores" => Ok(DepartmentStores),
7093 "detective_agencies" => Ok(DetectiveAgencies),
7094 "digital_goods_applications" => Ok(DigitalGoodsApplications),
7095 "digital_goods_games" => Ok(DigitalGoodsGames),
7096 "digital_goods_large_volume" => Ok(DigitalGoodsLargeVolume),
7097 "digital_goods_media" => Ok(DigitalGoodsMedia),
7098 "direct_marketing_catalog_merchant" => Ok(DirectMarketingCatalogMerchant),
7099 "direct_marketing_combination_catalog_and_retail_merchant" => {
7100 Ok(DirectMarketingCombinationCatalogAndRetailMerchant)
7101 }
7102 "direct_marketing_inbound_telemarketing" => Ok(DirectMarketingInboundTelemarketing),
7103 "direct_marketing_insurance_services" => Ok(DirectMarketingInsuranceServices),
7104 "direct_marketing_other" => Ok(DirectMarketingOther),
7105 "direct_marketing_outbound_telemarketing" => Ok(DirectMarketingOutboundTelemarketing),
7106 "direct_marketing_subscription" => Ok(DirectMarketingSubscription),
7107 "direct_marketing_travel" => Ok(DirectMarketingTravel),
7108 "discount_stores" => Ok(DiscountStores),
7109 "doctors" => Ok(Doctors),
7110 "door_to_door_sales" => Ok(DoorToDoorSales),
7111 "drapery_window_covering_and_upholstery_stores" => {
7112 Ok(DraperyWindowCoveringAndUpholsteryStores)
7113 }
7114 "drinking_places" => Ok(DrinkingPlaces),
7115 "drug_stores_and_pharmacies" => Ok(DrugStoresAndPharmacies),
7116 "drugs_drug_proprietaries_and_druggist_sundries" => {
7117 Ok(DrugsDrugProprietariesAndDruggistSundries)
7118 }
7119 "dry_cleaners" => Ok(DryCleaners),
7120 "durable_goods" => Ok(DurableGoods),
7121 "duty_free_stores" => Ok(DutyFreeStores),
7122 "eating_places_restaurants" => Ok(EatingPlacesRestaurants),
7123 "educational_services" => Ok(EducationalServices),
7124 "electric_razor_stores" => Ok(ElectricRazorStores),
7125 "electric_vehicle_charging" => Ok(ElectricVehicleCharging),
7126 "electrical_parts_and_equipment" => Ok(ElectricalPartsAndEquipment),
7127 "electrical_services" => Ok(ElectricalServices),
7128 "electronics_repair_shops" => Ok(ElectronicsRepairShops),
7129 "electronics_stores" => Ok(ElectronicsStores),
7130 "elementary_secondary_schools" => Ok(ElementarySecondarySchools),
7131 "emergency_services_gcas_visa_use_only" => Ok(EmergencyServicesGcasVisaUseOnly),
7132 "employment_temp_agencies" => Ok(EmploymentTempAgencies),
7133 "equipment_rental" => Ok(EquipmentRental),
7134 "exterminating_services" => Ok(ExterminatingServices),
7135 "family_clothing_stores" => Ok(FamilyClothingStores),
7136 "fast_food_restaurants" => Ok(FastFoodRestaurants),
7137 "financial_institutions" => Ok(FinancialInstitutions),
7138 "fines_government_administrative_entities" => Ok(FinesGovernmentAdministrativeEntities),
7139 "fireplace_fireplace_screens_and_accessories_stores" => {
7140 Ok(FireplaceFireplaceScreensAndAccessoriesStores)
7141 }
7142 "floor_covering_stores" => Ok(FloorCoveringStores),
7143 "florists" => Ok(Florists),
7144 "florists_supplies_nursery_stock_and_flowers" => {
7145 Ok(FloristsSuppliesNurseryStockAndFlowers)
7146 }
7147 "freezer_and_locker_meat_provisioners" => Ok(FreezerAndLockerMeatProvisioners),
7148 "fuel_dealers_non_automotive" => Ok(FuelDealersNonAutomotive),
7149 "funeral_services_crematories" => Ok(FuneralServicesCrematories),
7150 "furniture_home_furnishings_and_equipment_stores_except_appliances" => {
7151 Ok(FurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances)
7152 }
7153 "furniture_repair_refinishing" => Ok(FurnitureRepairRefinishing),
7154 "furriers_and_fur_shops" => Ok(FurriersAndFurShops),
7155 "general_services" => Ok(GeneralServices),
7156 "gift_card_novelty_and_souvenir_shops" => Ok(GiftCardNoveltyAndSouvenirShops),
7157 "glass_paint_and_wallpaper_stores" => Ok(GlassPaintAndWallpaperStores),
7158 "glassware_crystal_stores" => Ok(GlasswareCrystalStores),
7159 "golf_courses_public" => Ok(GolfCoursesPublic),
7160 "government_licensed_horse_dog_racing_us_region_only" => {
7161 Ok(GovernmentLicensedHorseDogRacingUsRegionOnly)
7162 }
7163 "government_licensed_online_casions_online_gambling_us_region_only" => {
7164 Ok(GovernmentLicensedOnlineCasionsOnlineGamblingUsRegionOnly)
7165 }
7166 "government_owned_lotteries_non_us_region" => Ok(GovernmentOwnedLotteriesNonUsRegion),
7167 "government_owned_lotteries_us_region_only" => Ok(GovernmentOwnedLotteriesUsRegionOnly),
7168 "government_services" => Ok(GovernmentServices),
7169 "grocery_stores_supermarkets" => Ok(GroceryStoresSupermarkets),
7170 "hardware_equipment_and_supplies" => Ok(HardwareEquipmentAndSupplies),
7171 "hardware_stores" => Ok(HardwareStores),
7172 "health_and_beauty_spas" => Ok(HealthAndBeautySpas),
7173 "hearing_aids_sales_and_supplies" => Ok(HearingAidsSalesAndSupplies),
7174 "heating_plumbing_a_c" => Ok(HeatingPlumbingAC),
7175 "hobby_toy_and_game_shops" => Ok(HobbyToyAndGameShops),
7176 "home_supply_warehouse_stores" => Ok(HomeSupplyWarehouseStores),
7177 "hospitals" => Ok(Hospitals),
7178 "hotels_motels_and_resorts" => Ok(HotelsMotelsAndResorts),
7179 "household_appliance_stores" => Ok(HouseholdApplianceStores),
7180 "industrial_supplies" => Ok(IndustrialSupplies),
7181 "information_retrieval_services" => Ok(InformationRetrievalServices),
7182 "insurance_default" => Ok(InsuranceDefault),
7183 "insurance_underwriting_premiums" => Ok(InsuranceUnderwritingPremiums),
7184 "intra_company_purchases" => Ok(IntraCompanyPurchases),
7185 "jewelry_stores_watches_clocks_and_silverware_stores" => {
7186 Ok(JewelryStoresWatchesClocksAndSilverwareStores)
7187 }
7188 "landscaping_services" => Ok(LandscapingServices),
7189 "laundries" => Ok(Laundries),
7190 "laundry_cleaning_services" => Ok(LaundryCleaningServices),
7191 "legal_services_attorneys" => Ok(LegalServicesAttorneys),
7192 "luggage_and_leather_goods_stores" => Ok(LuggageAndLeatherGoodsStores),
7193 "lumber_building_materials_stores" => Ok(LumberBuildingMaterialsStores),
7194 "manual_cash_disburse" => Ok(ManualCashDisburse),
7195 "marinas_service_and_supplies" => Ok(MarinasServiceAndSupplies),
7196 "marketplaces" => Ok(Marketplaces),
7197 "masonry_stonework_and_plaster" => Ok(MasonryStoneworkAndPlaster),
7198 "massage_parlors" => Ok(MassageParlors),
7199 "medical_and_dental_labs" => Ok(MedicalAndDentalLabs),
7200 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies" => {
7201 Ok(MedicalDentalOphthalmicAndHospitalEquipmentAndSupplies)
7202 }
7203 "medical_services" => Ok(MedicalServices),
7204 "membership_organizations" => Ok(MembershipOrganizations),
7205 "mens_and_boys_clothing_and_accessories_stores" => {
7206 Ok(MensAndBoysClothingAndAccessoriesStores)
7207 }
7208 "mens_womens_clothing_stores" => Ok(MensWomensClothingStores),
7209 "metal_service_centers" => Ok(MetalServiceCenters),
7210 "miscellaneous" => Ok(Miscellaneous),
7211 "miscellaneous_apparel_and_accessory_shops" => {
7212 Ok(MiscellaneousApparelAndAccessoryShops)
7213 }
7214 "miscellaneous_auto_dealers" => Ok(MiscellaneousAutoDealers),
7215 "miscellaneous_business_services" => Ok(MiscellaneousBusinessServices),
7216 "miscellaneous_food_stores" => Ok(MiscellaneousFoodStores),
7217 "miscellaneous_general_merchandise" => Ok(MiscellaneousGeneralMerchandise),
7218 "miscellaneous_general_services" => Ok(MiscellaneousGeneralServices),
7219 "miscellaneous_home_furnishing_specialty_stores" => {
7220 Ok(MiscellaneousHomeFurnishingSpecialtyStores)
7221 }
7222 "miscellaneous_publishing_and_printing" => Ok(MiscellaneousPublishingAndPrinting),
7223 "miscellaneous_recreation_services" => Ok(MiscellaneousRecreationServices),
7224 "miscellaneous_repair_shops" => Ok(MiscellaneousRepairShops),
7225 "miscellaneous_specialty_retail" => Ok(MiscellaneousSpecialtyRetail),
7226 "mobile_home_dealers" => Ok(MobileHomeDealers),
7227 "motion_picture_theaters" => Ok(MotionPictureTheaters),
7228 "motor_freight_carriers_and_trucking" => Ok(MotorFreightCarriersAndTrucking),
7229 "motor_homes_dealers" => Ok(MotorHomesDealers),
7230 "motor_vehicle_supplies_and_new_parts" => Ok(MotorVehicleSuppliesAndNewParts),
7231 "motorcycle_shops_and_dealers" => Ok(MotorcycleShopsAndDealers),
7232 "motorcycle_shops_dealers" => Ok(MotorcycleShopsDealers),
7233 "music_stores_musical_instruments_pianos_and_sheet_music" => {
7234 Ok(MusicStoresMusicalInstrumentsPianosAndSheetMusic)
7235 }
7236 "news_dealers_and_newsstands" => Ok(NewsDealersAndNewsstands),
7237 "non_fi_money_orders" => Ok(NonFiMoneyOrders),
7238 "non_fi_stored_value_card_purchase_load" => Ok(NonFiStoredValueCardPurchaseLoad),
7239 "nondurable_goods" => Ok(NondurableGoods),
7240 "nurseries_lawn_and_garden_supply_stores" => Ok(NurseriesLawnAndGardenSupplyStores),
7241 "nursing_personal_care" => Ok(NursingPersonalCare),
7242 "office_and_commercial_furniture" => Ok(OfficeAndCommercialFurniture),
7243 "opticians_eyeglasses" => Ok(OpticiansEyeglasses),
7244 "optometrists_ophthalmologist" => Ok(OptometristsOphthalmologist),
7245 "orthopedic_goods_prosthetic_devices" => Ok(OrthopedicGoodsProstheticDevices),
7246 "osteopaths" => Ok(Osteopaths),
7247 "package_stores_beer_wine_and_liquor" => Ok(PackageStoresBeerWineAndLiquor),
7248 "paints_varnishes_and_supplies" => Ok(PaintsVarnishesAndSupplies),
7249 "parking_lots_garages" => Ok(ParkingLotsGarages),
7250 "passenger_railways" => Ok(PassengerRailways),
7251 "pawn_shops" => Ok(PawnShops),
7252 "pet_shops_pet_food_and_supplies" => Ok(PetShopsPetFoodAndSupplies),
7253 "petroleum_and_petroleum_products" => Ok(PetroleumAndPetroleumProducts),
7254 "photo_developing" => Ok(PhotoDeveloping),
7255 "photographic_photocopy_microfilm_equipment_and_supplies" => {
7256 Ok(PhotographicPhotocopyMicrofilmEquipmentAndSupplies)
7257 }
7258 "photographic_studios" => Ok(PhotographicStudios),
7259 "picture_video_production" => Ok(PictureVideoProduction),
7260 "piece_goods_notions_and_other_dry_goods" => Ok(PieceGoodsNotionsAndOtherDryGoods),
7261 "plumbing_heating_equipment_and_supplies" => Ok(PlumbingHeatingEquipmentAndSupplies),
7262 "political_organizations" => Ok(PoliticalOrganizations),
7263 "postal_services_government_only" => Ok(PostalServicesGovernmentOnly),
7264 "precious_stones_and_metals_watches_and_jewelry" => {
7265 Ok(PreciousStonesAndMetalsWatchesAndJewelry)
7266 }
7267 "professional_services" => Ok(ProfessionalServices),
7268 "public_warehousing_and_storage" => Ok(PublicWarehousingAndStorage),
7269 "quick_copy_repro_and_blueprint" => Ok(QuickCopyReproAndBlueprint),
7270 "railroads" => Ok(Railroads),
7271 "real_estate_agents_and_managers_rentals" => Ok(RealEstateAgentsAndManagersRentals),
7272 "record_stores" => Ok(RecordStores),
7273 "recreational_vehicle_rentals" => Ok(RecreationalVehicleRentals),
7274 "religious_goods_stores" => Ok(ReligiousGoodsStores),
7275 "religious_organizations" => Ok(ReligiousOrganizations),
7276 "roofing_siding_sheet_metal" => Ok(RoofingSidingSheetMetal),
7277 "secretarial_support_services" => Ok(SecretarialSupportServices),
7278 "security_brokers_dealers" => Ok(SecurityBrokersDealers),
7279 "service_stations" => Ok(ServiceStations),
7280 "sewing_needlework_fabric_and_piece_goods_stores" => {
7281 Ok(SewingNeedleworkFabricAndPieceGoodsStores)
7282 }
7283 "shoe_repair_hat_cleaning" => Ok(ShoeRepairHatCleaning),
7284 "shoe_stores" => Ok(ShoeStores),
7285 "small_appliance_repair" => Ok(SmallApplianceRepair),
7286 "snowmobile_dealers" => Ok(SnowmobileDealers),
7287 "special_trade_services" => Ok(SpecialTradeServices),
7288 "specialty_cleaning" => Ok(SpecialtyCleaning),
7289 "sporting_goods_stores" => Ok(SportingGoodsStores),
7290 "sporting_recreation_camps" => Ok(SportingRecreationCamps),
7291 "sports_and_riding_apparel_stores" => Ok(SportsAndRidingApparelStores),
7292 "sports_clubs_fields" => Ok(SportsClubsFields),
7293 "stamp_and_coin_stores" => Ok(StampAndCoinStores),
7294 "stationary_office_supplies_printing_and_writing_paper" => {
7295 Ok(StationaryOfficeSuppliesPrintingAndWritingPaper)
7296 }
7297 "stationery_stores_office_and_school_supply_stores" => {
7298 Ok(StationeryStoresOfficeAndSchoolSupplyStores)
7299 }
7300 "swimming_pools_sales" => Ok(SwimmingPoolsSales),
7301 "t_ui_travel_germany" => Ok(TUiTravelGermany),
7302 "tailors_alterations" => Ok(TailorsAlterations),
7303 "tax_payments_government_agencies" => Ok(TaxPaymentsGovernmentAgencies),
7304 "tax_preparation_services" => Ok(TaxPreparationServices),
7305 "taxicabs_limousines" => Ok(TaxicabsLimousines),
7306 "telecommunication_equipment_and_telephone_sales" => {
7307 Ok(TelecommunicationEquipmentAndTelephoneSales)
7308 }
7309 "telecommunication_services" => Ok(TelecommunicationServices),
7310 "telegraph_services" => Ok(TelegraphServices),
7311 "tent_and_awning_shops" => Ok(TentAndAwningShops),
7312 "testing_laboratories" => Ok(TestingLaboratories),
7313 "theatrical_ticket_agencies" => Ok(TheatricalTicketAgencies),
7314 "timeshares" => Ok(Timeshares),
7315 "tire_retreading_and_repair" => Ok(TireRetreadingAndRepair),
7316 "tolls_bridge_fees" => Ok(TollsBridgeFees),
7317 "tourist_attractions_and_exhibits" => Ok(TouristAttractionsAndExhibits),
7318 "towing_services" => Ok(TowingServices),
7319 "trailer_parks_campgrounds" => Ok(TrailerParksCampgrounds),
7320 "transportation_services" => Ok(TransportationServices),
7321 "travel_agencies_tour_operators" => Ok(TravelAgenciesTourOperators),
7322 "truck_stop_iteration" => Ok(TruckStopIteration),
7323 "truck_utility_trailer_rentals" => Ok(TruckUtilityTrailerRentals),
7324 "typesetting_plate_making_and_related_services" => {
7325 Ok(TypesettingPlateMakingAndRelatedServices)
7326 }
7327 "typewriter_stores" => Ok(TypewriterStores),
7328 "u_s_federal_government_agencies_or_departments" => {
7329 Ok(USFederalGovernmentAgenciesOrDepartments)
7330 }
7331 "uniforms_commercial_clothing" => Ok(UniformsCommercialClothing),
7332 "used_merchandise_and_secondhand_stores" => Ok(UsedMerchandiseAndSecondhandStores),
7333 "utilities" => Ok(Utilities),
7334 "variety_stores" => Ok(VarietyStores),
7335 "veterinary_services" => Ok(VeterinaryServices),
7336 "video_amusement_game_supplies" => Ok(VideoAmusementGameSupplies),
7337 "video_game_arcades" => Ok(VideoGameArcades),
7338 "video_tape_rental_stores" => Ok(VideoTapeRentalStores),
7339 "vocational_trade_schools" => Ok(VocationalTradeSchools),
7340 "watch_jewelry_repair" => Ok(WatchJewelryRepair),
7341 "welding_repair" => Ok(WeldingRepair),
7342 "wholesale_clubs" => Ok(WholesaleClubs),
7343 "wig_and_toupee_stores" => Ok(WigAndToupeeStores),
7344 "wires_money_orders" => Ok(WiresMoneyOrders),
7345 "womens_accessory_and_specialty_shops" => Ok(WomensAccessoryAndSpecialtyShops),
7346 "womens_ready_to_wear_stores" => Ok(WomensReadyToWearStores),
7347 "wrecking_and_salvage_yards" => Ok(WreckingAndSalvageYards),
7348 v => {
7349 tracing::warn!(
7350 "Unknown value '{}' for enum '{}'",
7351 v,
7352 "UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories"
7353 );
7354 Ok(Unknown(v.to_owned()))
7355 }
7356 }
7357 }
7358}
7359impl std::fmt::Display for UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories {
7360 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7361 f.write_str(self.as_str())
7362 }
7363}
7364
7365#[cfg(not(feature = "redact-generated-debug"))]
7366impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories {
7367 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7368 f.write_str(self.as_str())
7369 }
7370}
7371#[cfg(feature = "redact-generated-debug")]
7372impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories {
7373 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7374 f.debug_struct(stringify!(UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories))
7375 .finish_non_exhaustive()
7376 }
7377}
7378impl serde::Serialize for UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories {
7379 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
7380 where
7381 S: serde::Serializer,
7382 {
7383 serializer.serialize_str(self.as_str())
7384 }
7385}
7386#[cfg(feature = "deserialize")]
7387impl<'de> serde::Deserialize<'de>
7388 for UpdateIssuingCardholderSpendingControlsSpendingLimitsCategories
7389{
7390 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
7391 use std::str::FromStr;
7392 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
7393 Ok(Self::from_str(&s).expect("infallible"))
7394 }
7395}
7396#[derive(Clone, Eq, PartialEq)]
7398#[non_exhaustive]
7399pub enum UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval {
7400 AllTime,
7401 Daily,
7402 Monthly,
7403 PerAuthorization,
7404 Weekly,
7405 Yearly,
7406 Unknown(String),
7408}
7409impl UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval {
7410 pub fn as_str(&self) -> &str {
7411 use UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval::*;
7412 match self {
7413 AllTime => "all_time",
7414 Daily => "daily",
7415 Monthly => "monthly",
7416 PerAuthorization => "per_authorization",
7417 Weekly => "weekly",
7418 Yearly => "yearly",
7419 Unknown(v) => v,
7420 }
7421 }
7422}
7423
7424impl std::str::FromStr for UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval {
7425 type Err = std::convert::Infallible;
7426 fn from_str(s: &str) -> Result<Self, Self::Err> {
7427 use UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval::*;
7428 match s {
7429 "all_time" => Ok(AllTime),
7430 "daily" => Ok(Daily),
7431 "monthly" => Ok(Monthly),
7432 "per_authorization" => Ok(PerAuthorization),
7433 "weekly" => Ok(Weekly),
7434 "yearly" => Ok(Yearly),
7435 v => {
7436 tracing::warn!(
7437 "Unknown value '{}' for enum '{}'",
7438 v,
7439 "UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval"
7440 );
7441 Ok(Unknown(v.to_owned()))
7442 }
7443 }
7444 }
7445}
7446impl std::fmt::Display for UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval {
7447 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7448 f.write_str(self.as_str())
7449 }
7450}
7451
7452#[cfg(not(feature = "redact-generated-debug"))]
7453impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval {
7454 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7455 f.write_str(self.as_str())
7456 }
7457}
7458#[cfg(feature = "redact-generated-debug")]
7459impl std::fmt::Debug for UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval {
7460 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7461 f.debug_struct(stringify!(UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval))
7462 .finish_non_exhaustive()
7463 }
7464}
7465impl serde::Serialize for UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval {
7466 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
7467 where
7468 S: serde::Serializer,
7469 {
7470 serializer.serialize_str(self.as_str())
7471 }
7472}
7473#[cfg(feature = "deserialize")]
7474impl<'de> serde::Deserialize<'de>
7475 for UpdateIssuingCardholderSpendingControlsSpendingLimitsInterval
7476{
7477 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
7478 use std::str::FromStr;
7479 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
7480 Ok(Self::from_str(&s).expect("infallible"))
7481 }
7482}
7483#[derive(Clone, Eq, PartialEq)]
7485#[non_exhaustive]
7486pub enum UpdateIssuingCardholderStatus {
7487 Active,
7488 Inactive,
7489 Unknown(String),
7491}
7492impl UpdateIssuingCardholderStatus {
7493 pub fn as_str(&self) -> &str {
7494 use UpdateIssuingCardholderStatus::*;
7495 match self {
7496 Active => "active",
7497 Inactive => "inactive",
7498 Unknown(v) => v,
7499 }
7500 }
7501}
7502
7503impl std::str::FromStr for UpdateIssuingCardholderStatus {
7504 type Err = std::convert::Infallible;
7505 fn from_str(s: &str) -> Result<Self, Self::Err> {
7506 use UpdateIssuingCardholderStatus::*;
7507 match s {
7508 "active" => Ok(Active),
7509 "inactive" => Ok(Inactive),
7510 v => {
7511 tracing::warn!(
7512 "Unknown value '{}' for enum '{}'",
7513 v,
7514 "UpdateIssuingCardholderStatus"
7515 );
7516 Ok(Unknown(v.to_owned()))
7517 }
7518 }
7519 }
7520}
7521impl std::fmt::Display for UpdateIssuingCardholderStatus {
7522 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7523 f.write_str(self.as_str())
7524 }
7525}
7526
7527#[cfg(not(feature = "redact-generated-debug"))]
7528impl std::fmt::Debug for UpdateIssuingCardholderStatus {
7529 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7530 f.write_str(self.as_str())
7531 }
7532}
7533#[cfg(feature = "redact-generated-debug")]
7534impl std::fmt::Debug for UpdateIssuingCardholderStatus {
7535 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7536 f.debug_struct(stringify!(UpdateIssuingCardholderStatus)).finish_non_exhaustive()
7537 }
7538}
7539impl serde::Serialize for UpdateIssuingCardholderStatus {
7540 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
7541 where
7542 S: serde::Serializer,
7543 {
7544 serializer.serialize_str(self.as_str())
7545 }
7546}
7547#[cfg(feature = "deserialize")]
7548impl<'de> serde::Deserialize<'de> for UpdateIssuingCardholderStatus {
7549 fn deserialize<D: serde::Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
7550 use std::str::FromStr;
7551 let s: std::borrow::Cow<'de, str> = serde::Deserialize::deserialize(deserializer)?;
7552 Ok(Self::from_str(&s).expect("infallible"))
7553 }
7554}
7555#[derive(Clone)]
7558#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
7559#[derive(serde::Serialize)]
7560pub struct UpdateIssuingCardholder {
7561 inner: UpdateIssuingCardholderBuilder,
7562 cardholder: stripe_shared::IssuingCardholderId,
7563}
7564#[cfg(feature = "redact-generated-debug")]
7565impl std::fmt::Debug for UpdateIssuingCardholder {
7566 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7567 f.debug_struct("UpdateIssuingCardholder").finish_non_exhaustive()
7568 }
7569}
7570impl UpdateIssuingCardholder {
7571 pub fn new(cardholder: impl Into<stripe_shared::IssuingCardholderId>) -> Self {
7573 Self { cardholder: cardholder.into(), inner: UpdateIssuingCardholderBuilder::new() }
7574 }
7575 pub fn billing(mut self, billing: impl Into<BillingSpecs>) -> Self {
7577 self.inner.billing = Some(billing.into());
7578 self
7579 }
7580 pub fn company(mut self, company: impl Into<CompanyParam>) -> Self {
7582 self.inner.company = Some(company.into());
7583 self
7584 }
7585 pub fn email(mut self, email: impl Into<String>) -> Self {
7587 self.inner.email = Some(email.into());
7588 self
7589 }
7590 pub fn expand(mut self, expand: impl Into<Vec<String>>) -> Self {
7592 self.inner.expand = Some(expand.into());
7593 self
7594 }
7595 pub fn individual(mut self, individual: impl Into<IndividualParam>) -> Self {
7597 self.inner.individual = Some(individual.into());
7598 self
7599 }
7600 pub fn metadata(
7605 mut self,
7606 metadata: impl Into<std::collections::HashMap<String, String>>,
7607 ) -> Self {
7608 self.inner.metadata = Some(metadata.into());
7609 self
7610 }
7611 pub fn phone_number(mut self, phone_number: impl Into<String>) -> Self {
7615 self.inner.phone_number = Some(phone_number.into());
7616 self
7617 }
7618 pub fn preferred_locales(
7622 mut self,
7623 preferred_locales: impl Into<Vec<stripe_shared::IssuingCardholderPreferredLocales>>,
7624 ) -> Self {
7625 self.inner.preferred_locales = Some(preferred_locales.into());
7626 self
7627 }
7628 pub fn spending_controls(
7631 mut self,
7632 spending_controls: impl Into<UpdateIssuingCardholderSpendingControls>,
7633 ) -> Self {
7634 self.inner.spending_controls = Some(spending_controls.into());
7635 self
7636 }
7637 pub fn status(mut self, status: impl Into<UpdateIssuingCardholderStatus>) -> Self {
7639 self.inner.status = Some(status.into());
7640 self
7641 }
7642}
7643impl UpdateIssuingCardholder {
7644 pub async fn send<C: StripeClient>(
7646 &self,
7647 client: &C,
7648 ) -> Result<<Self as StripeRequest>::Output, C::Err> {
7649 self.customize().send(client).await
7650 }
7651
7652 pub fn send_blocking<C: StripeBlockingClient>(
7654 &self,
7655 client: &C,
7656 ) -> Result<<Self as StripeRequest>::Output, C::Err> {
7657 self.customize().send_blocking(client)
7658 }
7659}
7660
7661impl StripeRequest for UpdateIssuingCardholder {
7662 type Output = stripe_shared::IssuingCardholder;
7663
7664 fn build(&self) -> RequestBuilder {
7665 let cardholder = &self.cardholder;
7666 RequestBuilder::new(StripeMethod::Post, format!("/issuing/cardholders/{cardholder}"))
7667 .form(&self.inner)
7668 }
7669}
7670
7671#[derive(Clone, Eq, PartialEq)]
7672#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
7673#[derive(serde::Serialize)]
7674pub struct RequiredAddress {
7675 pub city: String,
7677 pub country: String,
7679 pub line1: String,
7681 #[serde(skip_serializing_if = "Option::is_none")]
7683 pub line2: Option<String>,
7684 pub postal_code: String,
7686 #[serde(skip_serializing_if = "Option::is_none")]
7688 pub state: Option<String>,
7689}
7690#[cfg(feature = "redact-generated-debug")]
7691impl std::fmt::Debug for RequiredAddress {
7692 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7693 f.debug_struct("RequiredAddress").finish_non_exhaustive()
7694 }
7695}
7696impl RequiredAddress {
7697 pub fn new(
7698 city: impl Into<String>,
7699 country: impl Into<String>,
7700 line1: impl Into<String>,
7701 postal_code: impl Into<String>,
7702 ) -> Self {
7703 Self {
7704 city: city.into(),
7705 country: country.into(),
7706 line1: line1.into(),
7707 line2: None,
7708 postal_code: postal_code.into(),
7709 state: None,
7710 }
7711 }
7712}
7713#[derive(Clone, Eq, PartialEq)]
7714#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
7715#[derive(serde::Serialize)]
7716pub struct CompanyParam {
7717 #[serde(skip_serializing_if = "Option::is_none")]
7719 pub tax_id: Option<String>,
7720}
7721#[cfg(feature = "redact-generated-debug")]
7722impl std::fmt::Debug for CompanyParam {
7723 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7724 f.debug_struct("CompanyParam").finish_non_exhaustive()
7725 }
7726}
7727impl CompanyParam {
7728 pub fn new() -> Self {
7729 Self { tax_id: None }
7730 }
7731}
7732impl Default for CompanyParam {
7733 fn default() -> Self {
7734 Self::new()
7735 }
7736}
7737#[derive(Clone, Eq, PartialEq)]
7738#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
7739#[derive(serde::Serialize)]
7740pub struct TermsAcceptanceParam {
7741 #[serde(skip_serializing_if = "Option::is_none")]
7743 pub date: Option<stripe_types::Timestamp>,
7744 #[serde(skip_serializing_if = "Option::is_none")]
7746 pub ip: Option<String>,
7747 #[serde(skip_serializing_if = "Option::is_none")]
7749 pub user_agent: Option<String>,
7750}
7751#[cfg(feature = "redact-generated-debug")]
7752impl std::fmt::Debug for TermsAcceptanceParam {
7753 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7754 f.debug_struct("TermsAcceptanceParam").finish_non_exhaustive()
7755 }
7756}
7757impl TermsAcceptanceParam {
7758 pub fn new() -> Self {
7759 Self { date: None, ip: None, user_agent: None }
7760 }
7761}
7762impl Default for TermsAcceptanceParam {
7763 fn default() -> Self {
7764 Self::new()
7765 }
7766}
7767#[derive(Copy, Clone, Eq, PartialEq)]
7768#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
7769#[derive(serde::Serialize)]
7770pub struct DateOfBirthSpecs {
7771 pub day: i64,
7773 pub month: i64,
7775 pub year: i64,
7777}
7778#[cfg(feature = "redact-generated-debug")]
7779impl std::fmt::Debug for DateOfBirthSpecs {
7780 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7781 f.debug_struct("DateOfBirthSpecs").finish_non_exhaustive()
7782 }
7783}
7784impl DateOfBirthSpecs {
7785 pub fn new(day: impl Into<i64>, month: impl Into<i64>, year: impl Into<i64>) -> Self {
7786 Self { day: day.into(), month: month.into(), year: year.into() }
7787 }
7788}
7789#[derive(Clone, Eq, PartialEq)]
7790#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
7791#[derive(serde::Serialize)]
7792pub struct PersonVerificationDocumentParam {
7793 #[serde(skip_serializing_if = "Option::is_none")]
7795 pub back: Option<String>,
7796 #[serde(skip_serializing_if = "Option::is_none")]
7798 pub front: Option<String>,
7799}
7800#[cfg(feature = "redact-generated-debug")]
7801impl std::fmt::Debug for PersonVerificationDocumentParam {
7802 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7803 f.debug_struct("PersonVerificationDocumentParam").finish_non_exhaustive()
7804 }
7805}
7806impl PersonVerificationDocumentParam {
7807 pub fn new() -> Self {
7808 Self { back: None, front: None }
7809 }
7810}
7811impl Default for PersonVerificationDocumentParam {
7812 fn default() -> Self {
7813 Self::new()
7814 }
7815}
7816#[derive(Clone, Eq, PartialEq)]
7817#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
7818#[derive(serde::Serialize)]
7819pub struct BillingSpecs {
7820 pub address: RequiredAddress,
7822}
7823#[cfg(feature = "redact-generated-debug")]
7824impl std::fmt::Debug for BillingSpecs {
7825 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7826 f.debug_struct("BillingSpecs").finish_non_exhaustive()
7827 }
7828}
7829impl BillingSpecs {
7830 pub fn new(address: impl Into<RequiredAddress>) -> Self {
7831 Self { address: address.into() }
7832 }
7833}
7834#[derive(Clone, Eq, PartialEq)]
7835#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
7836#[derive(serde::Serialize)]
7837pub struct CardIssuingParam {
7838 #[serde(skip_serializing_if = "Option::is_none")]
7841 pub user_terms_acceptance: Option<TermsAcceptanceParam>,
7842}
7843#[cfg(feature = "redact-generated-debug")]
7844impl std::fmt::Debug for CardIssuingParam {
7845 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7846 f.debug_struct("CardIssuingParam").finish_non_exhaustive()
7847 }
7848}
7849impl CardIssuingParam {
7850 pub fn new() -> Self {
7851 Self { user_terms_acceptance: None }
7852 }
7853}
7854impl Default for CardIssuingParam {
7855 fn default() -> Self {
7856 Self::new()
7857 }
7858}
7859#[derive(Clone, Eq, PartialEq)]
7860#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
7861#[derive(serde::Serialize)]
7862pub struct PersonVerificationParam {
7863 #[serde(skip_serializing_if = "Option::is_none")]
7865 pub document: Option<PersonVerificationDocumentParam>,
7866}
7867#[cfg(feature = "redact-generated-debug")]
7868impl std::fmt::Debug for PersonVerificationParam {
7869 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7870 f.debug_struct("PersonVerificationParam").finish_non_exhaustive()
7871 }
7872}
7873impl PersonVerificationParam {
7874 pub fn new() -> Self {
7875 Self { document: None }
7876 }
7877}
7878impl Default for PersonVerificationParam {
7879 fn default() -> Self {
7880 Self::new()
7881 }
7882}
7883#[derive(Clone, Eq, PartialEq)]
7884#[cfg_attr(not(feature = "redact-generated-debug"), derive(Debug))]
7885#[derive(serde::Serialize)]
7886pub struct IndividualParam {
7887 #[serde(skip_serializing_if = "Option::is_none")]
7889 pub card_issuing: Option<CardIssuingParam>,
7890 #[serde(skip_serializing_if = "Option::is_none")]
7892 pub dob: Option<DateOfBirthSpecs>,
7893 #[serde(skip_serializing_if = "Option::is_none")]
7897 pub first_name: Option<String>,
7898 #[serde(skip_serializing_if = "Option::is_none")]
7902 pub last_name: Option<String>,
7903 #[serde(skip_serializing_if = "Option::is_none")]
7905 pub verification: Option<PersonVerificationParam>,
7906}
7907#[cfg(feature = "redact-generated-debug")]
7908impl std::fmt::Debug for IndividualParam {
7909 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
7910 f.debug_struct("IndividualParam").finish_non_exhaustive()
7911 }
7912}
7913impl IndividualParam {
7914 pub fn new() -> Self {
7915 Self {
7916 card_issuing: None,
7917 dob: None,
7918 first_name: None,
7919 last_name: None,
7920 verification: None,
7921 }
7922 }
7923}
7924impl Default for IndividualParam {
7925 fn default() -> Self {
7926 Self::new()
7927 }
7928}