diff --git a/src/Stripe.net/Entities/BankAccounts/BankAccount.cs b/src/Stripe.net/Entities/BankAccounts/BankAccount.cs index a663c76acb..99cb00a0dc 100644 --- a/src/Stripe.net/Entities/BankAccounts/BankAccount.cs +++ b/src/Stripe.net/Entities/BankAccounts/BankAccount.cs @@ -84,6 +84,7 @@ public Account Account /// /// A set of available payout methods for this bank account. Only values from this set /// should be passed as the method when creating a payout. + /// One of: instant, or standard. /// [JsonProperty("available_payout_methods")] public List AvailablePayoutMethods { get; set; } diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesCustomerUpdate.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesCustomerUpdate.cs index 8f07f64e09..a8a4b966dc 100644 --- a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesCustomerUpdate.cs +++ b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesCustomerUpdate.cs @@ -9,6 +9,8 @@ public class ConfigurationFeaturesCustomerUpdate : StripeEntity /// The types of customer updates that are supported. When empty, customers are not /// updateable. + /// One of: address, email, name, phone, shipping, or + /// tax_id. /// [JsonProperty("allowed_updates")] public List AllowedUpdates { get; set; } diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionCancelCancellationReason.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionCancelCancellationReason.cs index ed8f9aac43..8f84da92ba 100644 --- a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionCancelCancellationReason.cs +++ b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionCancelCancellationReason.cs @@ -14,6 +14,9 @@ public class ConfigurationFeaturesSubscriptionCancelCancellationReason : StripeE /// /// Which cancellation reasons will be given as options to the customer. + /// One of: customer_service, low_quality, missing_features, + /// other, switched_service, too_complex, too_expensive, or + /// unused. /// [JsonProperty("options")] public List Options { get; set; } diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs index 55b3486e0b..bb73bcdbcd 100644 --- a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs +++ b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs @@ -9,6 +9,7 @@ public class ConfigurationFeaturesSubscriptionUpdate : StripeEntity /// The types of subscription updates that are supported for items listed in the /// products attribute. When empty, subscriptions are not updateable. + /// One of: price, promotion_code, or quantity. /// [JsonProperty("default_allowed_updates")] public List DefaultAllowedUpdates { get; set; } diff --git a/src/Stripe.net/Entities/Cards/Card.cs b/src/Stripe.net/Entities/Cards/Card.cs index c979a03939..8ad7c91076 100644 --- a/src/Stripe.net/Entities/Cards/Card.cs +++ b/src/Stripe.net/Entities/Cards/Card.cs @@ -113,6 +113,7 @@ public Account Account /// /// A set of available payout methods for this card. Only values from this set should be /// passed as the method when creating a payout. + /// One of: instant, or standard. /// [JsonProperty("available_payout_methods")] public List AvailablePayoutMethods { get; set; } diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaypalSellerProtection.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaypalSellerProtection.cs index 387d9e8b8c..370512a377 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaypalSellerProtection.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaypalSellerProtection.cs @@ -8,6 +8,7 @@ public class ChargePaymentMethodDetailsPaypalSellerProtection : StripeEntity /// An array of conditions that are covered for the transaction, if applicable. + /// One of: fraudulent, or product_not_received. /// [JsonProperty("dispute_categories")] public List DisputeCategories { get; set; } diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsAcssDebitMandateOptions.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsAcssDebitMandateOptions.cs index 355bfe46fd..0ead8fc61c 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsAcssDebitMandateOptions.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsAcssDebitMandateOptions.cs @@ -15,6 +15,7 @@ public class SessionPaymentMethodOptionsAcssDebitMandateOptions : StripeEntity /// List of Stripe products where this mandate can be selected automatically. Returned when /// the Session is in setup mode. + /// One of: invoice, or subscription. /// [JsonProperty("default_for")] public List DefaultFor { get; set; } diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCustomerBalanceBankTransfer.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCustomerBalanceBankTransfer.cs index b1d1474114..110045ec43 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCustomerBalanceBankTransfer.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCustomerBalanceBankTransfer.cs @@ -14,6 +14,8 @@ public class SessionPaymentMethodOptionsCustomerBalanceBankTransfer : StripeEnti /// not specified, all valid types will be returned. /// /// Permitted values include: sort_code, zengin, iban, or spei. + /// One of: aba, iban, sepa, sort_code, spei, + /// swift, or zengin. /// [JsonProperty("requested_address_types")] public List RequestedAddressTypes { get; set; } diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsUsBankAccountFinancialConnections.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsUsBankAccountFinancialConnections.cs index 943fbda67d..6c48e754a7 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsUsBankAccountFinancialConnections.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsUsBankAccountFinancialConnections.cs @@ -9,6 +9,8 @@ public class SessionPaymentMethodOptionsUsBankAccountFinancialConnections : Stri /// /// The list of permissions to request. The payment_method permission must be /// included. + /// One of: balances, ownership, payment_method, or + /// transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionShippingAddressCollection.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionShippingAddressCollection.cs index fe2c28eb1e..0a19fa9f1a 100644 --- a/src/Stripe.net/Entities/Checkout/Sessions/SessionShippingAddressCollection.cs +++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionShippingAddressCollection.cs @@ -10,6 +10,36 @@ public class SessionShippingAddressCollection : StripeEntityAS, CX, CC, CU, /// HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI. + /// One of: AC, AD, AE, AF, AG, AI, AL, + /// AM, AO, AQ, AR, AT, AU, AW, AX, + /// AZ, BA, BB, BD, BE, BF, BG, BH, + /// BI, BJ, BL, BM, BN, BO, BQ, BR, + /// BS, BT, BV, BW, BY, BZ, CA, CD, + /// CF, CG, CH, CI, CK, CL, CM, CN, + /// CO, CR, CV, CW, CY, CZ, DE, DJ, + /// DK, DM, DO, DZ, EC, EE, EG, EH, + /// ER, ES, ET, FI, FJ, FK, FO, FR, + /// GA, GB, GD, GE, GF, GG, GH, GI, + /// GL, GM, GN, GP, GQ, GR, GS, GT, + /// GU, GW, GY, HK, HN, HR, HT, HU, + /// ID, IE, IL, IM, IN, IO, IQ, IS, + /// IT, JE, JM, JO, JP, KE, KG, KH, + /// KI, KM, KN, KR, KW, KY, KZ, LA, + /// LB, LC, LI, LK, LR, LS, LT, LU, + /// LV, LY, MA, MC, MD, ME, MF, MG, + /// MK, ML, MM, MN, MO, MQ, MR, MS, + /// MT, MU, MV, MW, MX, MY, MZ, NA, + /// NC, NE, NG, NI, NL, NO, NP, NR, + /// NU, NZ, OM, PA, PE, PF, PG, PH, + /// PK, PL, PM, PN, PR, PS, PT, PY, + /// QA, RE, RO, RS, RU, RW, SA, SB, + /// SC, SE, SG, SH, SI, SJ, SK, SL, + /// SM, SN, SO, SR, SS, ST, SV, SX, + /// SZ, TA, TC, TD, TF, TG, TH, TJ, + /// TK, TL, TM, TN, TO, TR, TT, TV, + /// TW, TZ, UA, UG, US, UY, UZ, VA, + /// VC, VE, VG, VN, VU, WF, WS, XK, + /// YE, YT, ZA, ZM, ZW, or ZZ. /// [JsonProperty("allowed_countries")] public List AllowedCountries { get; set; } diff --git a/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs b/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs index 8e248c1d7d..7f29574141 100644 --- a/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs +++ b/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs @@ -121,6 +121,8 @@ public AccountOwnership Ownership /// /// The list of permissions granted by this account. + /// One of: balances, ownership, payment_method, or + /// transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } @@ -152,6 +154,7 @@ public AccountOwnership Ownership /// The PaymentMethod /// type(s) that can be created from this account. + /// One of: link, or us_bank_account. /// [JsonProperty("supported_payment_method_types")] public List SupportedPaymentMethodTypes { get; set; } diff --git a/src/Stripe.net/Entities/FinancialConnections/Sessions/Session.cs b/src/Stripe.net/Entities/FinancialConnections/Sessions/Session.cs index 5f3a7a8ffe..612f46b211 100644 --- a/src/Stripe.net/Entities/FinancialConnections/Sessions/Session.cs +++ b/src/Stripe.net/Entities/FinancialConnections/Sessions/Session.cs @@ -52,12 +52,15 @@ public class Session : StripeEntity, IHasId, IHasObject /// /// Permissions requested for accounts collected during this session. + /// One of: balances, ownership, payment_method, or + /// transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } /// /// Data features requested to be retrieved upon account creation. + /// One of: balances, or ownership. /// [JsonProperty("prefetch")] public List Prefetch { get; set; } diff --git a/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddress.cs b/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddress.cs index 23502ae938..bcd7bd9d6b 100644 --- a/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddress.cs +++ b/src/Stripe.net/Entities/FundingInstructions/FundingInstructionsBankTransferFinancialAddress.cs @@ -26,6 +26,7 @@ public class FundingInstructionsBankTransferFinancialAddress : StripeEntity /// The payment networks supported by this FinancialAddress. + /// One of: bacs, fps, sepa, spei, or zengin. /// [JsonProperty("supported_networks")] public List SupportedNetworks { get; set; } diff --git a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs index 939e8f5892..7a5507f110 100644 --- a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs +++ b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs @@ -10,6 +10,7 @@ public class VerificationReportOptionsDocument : StripeEntitydriving_license, id_card, or passport. /// [JsonProperty("allowed_types")] public List AllowedTypes { get; set; } diff --git a/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs b/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs index c52792e938..13b2c2f9cb 100644 --- a/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs +++ b/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs @@ -10,6 +10,7 @@ public class VerificationSessionOptionsDocument : StripeEntitydriving_license, id_card, or passport. /// [JsonProperty("allowed_types")] public List AllowedTypes { get; set; } diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs index b1c1ba9966..362a6acf67 100644 --- a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs +++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs @@ -27,6 +27,12 @@ public class InvoicePaymentSettings : StripeEntity /// customer’s default payment method, and your invoice template /// settings. + /// One of: ach_credit_transfer, ach_debit, acss_debit, + /// au_becs_debit, bacs_debit, bancontact, boleto, card, + /// cashapp, customer_balance, fpx, giropay, grabpay, + /// ideal, konbini, link, paynow, paypal, + /// promptpay, sepa_credit_transfer, sepa_debit, sofort, + /// us_bank_account, or wechat_pay. /// [JsonProperty("payment_method_types")] public List PaymentMethodTypes { get; set; } diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.cs index 285dc17367..4e98e6af79 100644 --- a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.cs +++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.cs @@ -9,6 +9,7 @@ public class InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialCon /// /// The list of permissions to request. The payment_method permission must be /// included. + /// One of: balances, payment_method, or transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs b/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs index 13e7f968a9..6ab68cc245 100644 --- a/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs +++ b/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs @@ -90,6 +90,7 @@ public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasOb /// de, en, es, fr, or it. This changes the language of /// the 3D Secure flow and one-time /// password messages sent to the cardholder. + /// One of: de, en, es, fr, or it. /// [JsonProperty("preferred_locales")] public List PreferredLocales { get; set; } diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderRequirements.cs b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderRequirements.cs index e9fcc07d13..59bc79e78a 100644 --- a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderRequirements.cs +++ b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderRequirements.cs @@ -18,6 +18,11 @@ public class CardholderRequirements : StripeEntity /// /// Array of fields that need to be collected in order to verify and re-enable the /// cardholder. + /// One of: company.tax_id, + /// individual.card_issuing.user_terms_acceptance.date, + /// individual.card_issuing.user_terms_acceptance.ip, individual.dob.day, + /// individual.dob.month, individual.dob.year, individual.first_name, + /// individual.last_name, or individual.verification.document. /// [JsonProperty("past_due")] public List PastDue { get; set; } diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs index d76567e178..c88c106193 100644 --- a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs +++ b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs @@ -11,6 +11,151 @@ public class CardholderSpendingControls : StripeEntitycategories /// of authorizations to allow. All other categories will be blocked. Cannot be set with /// blocked_categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("allowed_categories")] public List AllowedCategories { get; set; } @@ -20,6 +165,151 @@ public class CardholderSpendingControls : StripeEntitycategories /// of authorizations to decline. All other categories will be allowed. Cannot be set with /// allowed_categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("blocked_categories")] public List BlockedCategories { get; set; } diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs index 07be39114a..041d3b8b7e 100644 --- a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs +++ b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs @@ -18,6 +18,151 @@ public class CardholderSpendingControlsSpendingLimit : StripeEntitycategories /// this limit applies to. Omitting this field will apply the limit to all categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("categories")] public List Categories { get; set; } diff --git a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs index 08c016e9d5..09d1731534 100644 --- a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs +++ b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs @@ -11,6 +11,151 @@ public class CardSpendingControls : StripeEntity /// href="https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to allow. All other categories will be blocked. Cannot be set with /// blocked_categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("allowed_categories")] public List AllowedCategories { get; set; } @@ -20,6 +165,151 @@ public class CardSpendingControls : StripeEntity /// href="https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to decline. All other categories will be allowed. Cannot be set with /// allowed_categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("blocked_categories")] public List BlockedCategories { get; set; } diff --git a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs index 95545df15f..263746c9be 100644 --- a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs +++ b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs @@ -18,6 +18,151 @@ public class CardSpendingControlsSpendingLimit : StripeEntitycategories /// this limit applies to. Omitting this field will apply the limit to all categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("categories")] public List Categories { get; set; } diff --git a/src/Stripe.net/Entities/Issuing/Tokens/TokenNetworkDataWalletProvider.cs b/src/Stripe.net/Entities/Issuing/Tokens/TokenNetworkDataWalletProvider.cs index f90ba6ba4a..19dbcfd168 100644 --- a/src/Stripe.net/Entities/Issuing/Tokens/TokenNetworkDataWalletProvider.cs +++ b/src/Stripe.net/Entities/Issuing/Tokens/TokenNetworkDataWalletProvider.cs @@ -50,6 +50,18 @@ public class TokenNetworkDataWalletProvider : StripeEntity /// The reasons for suggested tokenization given by the card network. + /// One of: account_card_too_new, account_recently_changed, + /// account_too_new, account_too_new_since_launch, additional_device, + /// data_expired, defer_id_v_decision, device_recently_lost, + /// good_activity_history, has_suspended_tokens, high_risk, + /// inactive_account, long_account_tenure, low_account_score, + /// low_device_score, low_phone_number_score, network_service_error, + /// outside_home_territory, provisioning_cardholder_mismatch, + /// provisioning_device_and_cardholder_mismatch, provisioning_device_mismatch, + /// same_device_no_prior_authentication, + /// same_device_successful_prior_authentication, software_update, + /// suspicious_activity, too_many_different_cardholders, + /// too_many_recent_attempts, or too_many_recent_tokens. /// [JsonProperty("reason_codes")] public List ReasonCodes { get; set; } diff --git a/src/Stripe.net/Entities/Mandates/MandatePaymentMethodDetailsAcssDebit.cs b/src/Stripe.net/Entities/Mandates/MandatePaymentMethodDetailsAcssDebit.cs index 57ca159d80..67185d0c8d 100644 --- a/src/Stripe.net/Entities/Mandates/MandatePaymentMethodDetailsAcssDebit.cs +++ b/src/Stripe.net/Entities/Mandates/MandatePaymentMethodDetailsAcssDebit.cs @@ -8,6 +8,7 @@ public class MandatePaymentMethodDetailsAcssDebit : StripeEntity /// List of Stripe products where this mandate can be selected automatically. + /// One of: invoice, or subscription. /// [JsonProperty("default_for")] public List DefaultFor { get; set; } diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs index fd95edf47a..e8a53a4800 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs @@ -151,6 +151,9 @@ public Application Application [JsonProperty("client_secret")] public string ClientSecret { get; set; } + /// + /// One of: automatic, or manual. + /// [JsonProperty("confirmation_method")] public string ConfirmationMethod { get; set; } diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress.cs index e93bd847a5..af43fec06e 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress.cs @@ -26,6 +26,7 @@ public class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddr /// /// The payment networks supported by this FinancialAddress. + /// One of: bacs, fps, sepa, spei, or zengin. /// [JsonProperty("supported_networks")] public List SupportedNetworks { get; set; } diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer.cs index 678ddda991..aebb972ce0 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer.cs @@ -14,6 +14,8 @@ public class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer : Stri /// not specified, all valid types will be returned. /// /// Permitted values include: sort_code, zengin, iban, or spei. + /// One of: aba, iban, sepa, sort_code, spei, + /// swift, or zengin. /// [JsonProperty("requested_address_types")] public List RequestedAddressTypes { get; set; } diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections.cs index 0bf25b24ea..dc95509a39 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections.cs @@ -9,6 +9,8 @@ public class PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections /// /// The list of permissions to request. The payment_method permission must be /// included. + /// One of: balances, ownership, payment_method, or + /// transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } diff --git a/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs b/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs index 670757dbb9..548b807187 100644 --- a/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs +++ b/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs @@ -213,6 +213,12 @@ public Account OnBehalfOf /// dynamically show relevant payment methods you've enabled in your payment method /// settings. + /// One of: affirm, afterpay_clearpay, alipay, au_becs_debit, + /// bacs_debit, bancontact, blik, boleto, card, + /// cashapp, eps, fpx, giropay, grabpay, ideal, + /// klarna, konbini, link, oxxo, p24, paynow, + /// paypal, pix, promptpay, sepa_debit, sofort, + /// us_bank_account, or wechat_pay. /// [JsonProperty("payment_method_types")] public List PaymentMethodTypes { get; set; } diff --git a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkShippingAddressCollection.cs b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkShippingAddressCollection.cs index a90b2d1e73..5fe6adc9cf 100644 --- a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkShippingAddressCollection.cs +++ b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkShippingAddressCollection.cs @@ -10,6 +10,36 @@ public class PaymentLinkShippingAddressCollection : StripeEntityAS, CX, CC, CU, /// HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI. + /// One of: AC, AD, AE, AF, AG, AI, AL, + /// AM, AO, AQ, AR, AT, AU, AW, AX, + /// AZ, BA, BB, BD, BE, BF, BG, BH, + /// BI, BJ, BL, BM, BN, BO, BQ, BR, + /// BS, BT, BV, BW, BY, BZ, CA, CD, + /// CF, CG, CH, CI, CK, CL, CM, CN, + /// CO, CR, CV, CW, CY, CZ, DE, DJ, + /// DK, DM, DO, DZ, EC, EE, EG, EH, + /// ER, ES, ET, FI, FJ, FK, FO, FR, + /// GA, GB, GD, GE, GF, GG, GH, GI, + /// GL, GM, GN, GP, GQ, GR, GS, GT, + /// GU, GW, GY, HK, HN, HR, HT, HU, + /// ID, IE, IL, IM, IN, IO, IQ, IS, + /// IT, JE, JM, JO, JP, KE, KG, KH, + /// KI, KM, KN, KR, KW, KY, KZ, LA, + /// LB, LC, LI, LK, LR, LS, LT, LU, + /// LV, LY, MA, MC, MD, ME, MF, MG, + /// MK, ML, MM, MN, MO, MQ, MR, MS, + /// MT, MU, MV, MW, MX, MY, MZ, NA, + /// NC, NE, NG, NI, NL, NO, NP, NR, + /// NU, NZ, OM, PA, PE, PF, PG, PH, + /// PK, PL, PM, PN, PR, PS, PT, PY, + /// QA, RE, RO, RS, RU, RW, SA, SB, + /// SC, SE, SG, SH, SI, SJ, SK, SL, + /// SM, SN, SO, SR, SS, ST, SV, SX, + /// SZ, TA, TC, TD, TF, TG, TH, TJ, + /// TK, TL, TM, TN, TO, TR, TT, TV, + /// TW, TZ, UA, UG, US, UY, UZ, VA, + /// VC, VE, VG, VN, VU, WF, WS, XK, + /// YE, YT, ZA, ZM, ZW, or ZZ. /// [JsonProperty("allowed_countries")] public List AllowedCountries { get; set; } diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodUsBankAccountNetworks.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodUsBankAccountNetworks.cs index e431754cf9..9f6c3a475b 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodUsBankAccountNetworks.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodUsBankAccountNetworks.cs @@ -14,6 +14,7 @@ public class PaymentMethodUsBankAccountNetworks : StripeEntity /// All supported networks. + /// One of: ach, or us_domestic_wire. /// [JsonProperty("supported")] public List Supported { get; set; } diff --git a/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs b/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs index dcb7ccf817..ec2813bad2 100644 --- a/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs +++ b/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs @@ -122,6 +122,7 @@ public Customer Customer /// funds from. Include outbound if you intend to use the payment method as the /// destination to send funds to. You can include both if you intend to use the payment /// method for both purposes. + /// One of: inbound, or outbound. /// [JsonProperty("flow_directions")] public List FlowDirections { get; set; } diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs index b8964c0017..5bc619ba5a 100644 --- a/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs +++ b/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs @@ -182,6 +182,7 @@ public Customer Customer /// funds from. Include outbound if you intend to use the payment method as the /// destination to send funds to. You can include both if you intend to use the payment /// method for both purposes. + /// One of: inbound, or outbound. /// [JsonProperty("flow_directions")] public List FlowDirections { get; set; } diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsAcssDebitMandateOptions.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsAcssDebitMandateOptions.cs index b209664185..a054db87f3 100644 --- a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsAcssDebitMandateOptions.cs +++ b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsAcssDebitMandateOptions.cs @@ -14,6 +14,7 @@ public class SetupIntentPaymentMethodOptionsAcssDebitMandateOptions : StripeEnti /// /// List of Stripe products where this mandate can be selected automatically. + /// One of: invoice, or subscription. /// [JsonProperty("default_for")] public List DefaultFor { get; set; } diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections.cs index b0c33e34a6..4ccc780c6d 100644 --- a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections.cs +++ b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections.cs @@ -9,6 +9,8 @@ public class SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections : /// /// The list of permissions to request. The payment_method permission must be /// included. + /// One of: balances, ownership, payment_method, or + /// transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } diff --git a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettings.cs b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettings.cs index 5fb6daac7f..4cc45dd2d6 100644 --- a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettings.cs +++ b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettings.cs @@ -20,6 +20,12 @@ public class SubscriptionPaymentSettings : StripeEntityinvoice template /// settings. + /// One of: ach_credit_transfer, ach_debit, acss_debit, + /// au_becs_debit, bacs_debit, bancontact, boleto, card, + /// cashapp, customer_balance, fpx, giropay, grabpay, + /// ideal, konbini, link, paynow, paypal, + /// promptpay, sepa_credit_transfer, sepa_debit, sofort, + /// us_bank_account, or wechat_pay. /// [JsonProperty("payment_method_types")] public List PaymentMethodTypes { get; set; } diff --git a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.cs b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.cs index b8a920c016..6be7fb19ae 100644 --- a/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.cs +++ b/src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.cs @@ -9,6 +9,7 @@ public class SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinanci /// /// The list of permissions to request. The payment_method permission must be /// included. + /// One of: balances, payment_method, or transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } diff --git a/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccount.cs b/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccount.cs index ba56bc9d40..747ef67542 100644 --- a/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccount.cs +++ b/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccount.cs @@ -27,6 +27,10 @@ public class FinancialAccount : StripeEntity, IHasId, IHasMeta /// /// The array of paths to active Features in the Features hash. + /// One of: card_issuing, deposit_insurance, financial_addresses.aba, + /// inbound_transfers.ach, intra_stripe_flows, outbound_payments.ach, + /// outbound_payments.us_domestic_wire, outbound_transfers.ach, + /// outbound_transfers.us_domestic_wire, or remote_deposit_capture. /// [JsonProperty("active_features")] public List ActiveFeatures { get; set; } @@ -82,6 +86,10 @@ public class FinancialAccount : StripeEntity, IHasId, IHasMeta /// /// The array of paths to pending Features in the Features hash. + /// One of: card_issuing, deposit_insurance, financial_addresses.aba, + /// inbound_transfers.ach, intra_stripe_flows, outbound_payments.ach, + /// outbound_payments.us_domestic_wire, outbound_transfers.ach, + /// outbound_transfers.us_domestic_wire, or remote_deposit_capture. /// [JsonProperty("pending_features")] public List PendingFeatures { get; set; } @@ -94,6 +102,10 @@ public class FinancialAccount : StripeEntity, IHasId, IHasMeta /// /// The array of paths to restricted Features in the Features hash. + /// One of: card_issuing, deposit_insurance, financial_addresses.aba, + /// inbound_transfers.ach, intra_stripe_flows, outbound_payments.ach, + /// outbound_payments.us_domestic_wire, outbound_transfers.ach, + /// outbound_transfers.us_domestic_wire, or remote_deposit_capture. /// [JsonProperty("restricted_features")] public List RestrictedFeatures { get; set; } diff --git a/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccountFinancialAddress.cs b/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccountFinancialAddress.cs index 1424cf86a4..318d6163fa 100644 --- a/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccountFinancialAddress.cs +++ b/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccountFinancialAddress.cs @@ -14,6 +14,7 @@ public class FinancialAccountFinancialAddress : StripeEntity /// The list of networks that the address supports. + /// One of: ach, or us_domestic_wire. /// [JsonProperty("supported_networks")] public List SupportedNetworks { get; set; } diff --git a/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccountStatusDetailsClosed.cs b/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccountStatusDetailsClosed.cs index b81b40c1f1..846257b357 100644 --- a/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccountStatusDetailsClosed.cs +++ b/src/Stripe.net/Entities/Treasury/FinancialAccounts/FinancialAccountStatusDetailsClosed.cs @@ -8,6 +8,7 @@ public class FinancialAccountStatusDetailsClosed : StripeEntity /// The array that contains reasons for a FinancialAccount closure. + /// One of: account_rejected, closed_by_platform, or other. /// [JsonProperty("reasons")] public List Reasons { get; set; } diff --git a/src/Stripe.net/Services/Accounts/AccountCompanyOptions.cs b/src/Stripe.net/Services/Accounts/AccountCompanyOptions.cs index aa6add4fe9..ad0fd880aa 100644 --- a/src/Stripe.net/Services/Accounts/AccountCompanyOptions.cs +++ b/src/Stripe.net/Services/Accounts/AccountCompanyOptions.cs @@ -108,6 +108,15 @@ public class AccountCompanyOptions : INestedOptions /// The category identifying the legal structure of the company or legal entity. See Business /// structure for more details. + /// One of: free_zone_establishment, free_zone_llc, + /// government_instrumentality, governmental_unit, + /// incorporated_non_profit, incorporated_partnership, + /// limited_liability_partnership, llc, multi_member_llc, + /// private_company, private_corporation, private_partnership, + /// public_company, public_corporation, public_partnership, + /// single_member_llc, sole_establishment, sole_proprietorship, + /// tax_exempt_government_instrumentality, unincorporated_association, + /// unincorporated_non_profit, or unincorporated_partnership. /// [JsonProperty("structure")] public string Structure { get; set; } diff --git a/src/Stripe.net/Services/Persons/DobOptions.cs b/src/Stripe.net/Services/Accounts/DobOptions.cs similarity index 50% rename from src/Stripe.net/Services/Persons/DobOptions.cs rename to src/Stripe.net/Services/Accounts/DobOptions.cs index ee6a872774..8d0a31ebf5 100644 --- a/src/Stripe.net/Services/Persons/DobOptions.cs +++ b/src/Stripe.net/Services/Accounts/DobOptions.cs @@ -1,15 +1,25 @@ +// File generated from our OpenAPI spec namespace Stripe { using Newtonsoft.Json; public class DobOptions : INestedOptions { + /// + /// The day of birth, between 1 and 31. + /// [JsonProperty("day")] public long? Day { get; set; } + /// + /// The month of birth, between 1 and 12. + /// [JsonProperty("month")] public long? Month { get; set; } + /// + /// The four-digit year of birth. + /// [JsonProperty("year")] public long? Year { get; set; } } diff --git a/src/Stripe.net/Services/BankAccounts/BankAccountUpdateOptions.cs b/src/Stripe.net/Services/BankAccounts/BankAccountUpdateOptions.cs index bd879dc354..1fa8139288 100644 --- a/src/Stripe.net/Services/BankAccounts/BankAccountUpdateOptions.cs +++ b/src/Stripe.net/Services/BankAccounts/BankAccountUpdateOptions.cs @@ -15,6 +15,7 @@ public class BankAccountUpdateOptions : BaseOptions, IHasMetadata /// /// The type of entity that holds the account. This can be either individual or /// company. + /// One of: company, or individual. /// [JsonProperty("account_holder_type")] public string AccountHolderType { get; set; } diff --git a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesCustomerUpdateOptions.cs b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesCustomerUpdateOptions.cs index f032771751..5d9cbffcb8 100644 --- a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesCustomerUpdateOptions.cs +++ b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesCustomerUpdateOptions.cs @@ -9,6 +9,8 @@ public class ConfigurationFeaturesCustomerUpdateOptions : INestedOptions /// /// The types of customer updates that are supported. When empty, customers are not /// updateable. + /// One of: address, email, name, phone, shipping, or + /// tax_id. /// [JsonProperty("allowed_updates")] public List AllowedUpdates { get; set; } diff --git a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionCancelCancellationReasonOptions.cs b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionCancelCancellationReasonOptions.cs index 820755bb00..c005e31e03 100644 --- a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionCancelCancellationReasonOptions.cs +++ b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionCancelCancellationReasonOptions.cs @@ -14,6 +14,9 @@ public class ConfigurationFeaturesSubscriptionCancelCancellationReasonOptions : /// /// Which cancellation reasons will be given as options to the customer. + /// One of: customer_service, low_quality, missing_features, + /// other, switched_service, too_complex, too_expensive, or + /// unused. /// [JsonProperty("options")] public List Options { get; set; } diff --git a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateOptions.cs b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateOptions.cs index 938a158a8f..edf5c7e03f 100644 --- a/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateOptions.cs +++ b/src/Stripe.net/Services/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdateOptions.cs @@ -9,6 +9,7 @@ public class ConfigurationFeaturesSubscriptionUpdateOptions : INestedOptions /// /// The types of subscription updates that are supported. When empty, subscriptions are not /// updateable. + /// One of: price, promotion_code, or quantity. /// [JsonProperty("default_allowed_updates")] public List DefaultAllowedUpdates { get; set; } diff --git a/src/Stripe.net/Services/Charges/ChargeFraudDetailsOptions.cs b/src/Stripe.net/Services/Charges/ChargeFraudDetailsOptions.cs index a5f986a6aa..4ea564ff6c 100644 --- a/src/Stripe.net/Services/Charges/ChargeFraudDetailsOptions.cs +++ b/src/Stripe.net/Services/Charges/ChargeFraudDetailsOptions.cs @@ -7,6 +7,7 @@ public class ChargeFraudDetailsOptions : INestedOptions { /// /// Either safe or fraudulent. + /// One of: fraudulent, or safe. /// [JsonProperty("user_report")] public string UserReport { get; set; } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs index 08b70063bf..f3cb509007 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionCreateOptions.cs @@ -255,6 +255,13 @@ public class SessionCreateOptions : BaseOptions, IHasMetadata /// If multiple payment methods are passed, Checkout will dynamically reorder them to /// prioritize the most relevant payment methods based on the customer's location and other /// characteristics. + /// One of: acss_debit, affirm, afterpay_clearpay, alipay, + /// au_becs_debit, bacs_debit, bancontact, blik, boleto, + /// card, cashapp, customer_balance, eps, fpx, + /// giropay, grabpay, ideal, klarna, konbini, + /// link, oxxo, p24, paynow, paypal, pix, + /// promptpay, sepa_debit, sofort, us_bank_account, + /// wechat_pay, or zip. /// [JsonProperty("payment_method_types")] public List PaymentMethodTypes { get; set; } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptionsOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptionsOptions.cs index 6faa3c1b50..75714724a7 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptionsOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionInvoiceCreationInvoiceDataRenderingOptionsOptions.cs @@ -11,6 +11,7 @@ public class SessionInvoiceCreationInvoiceDataRenderingOptionsOptions : INestedO /// will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. /// exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF /// amounts. + /// One of: exclude_tax, or include_inclusive_tax. /// [JsonProperty("amount_tax_display")] public string AmountTaxDisplay { get; set; } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions.cs index 35509e9e84..87a5bb3248 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions.cs @@ -19,6 +19,7 @@ public class SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions : INested /// /// List of Stripe products where this mandate can be selected automatically. Only usable in /// setup mode. + /// One of: invoice, or subscription. /// [JsonProperty("default_for")] public List DefaultFor { get; set; } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions.cs index 834dc4ab6a..1d3aba71ea 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions.cs @@ -17,6 +17,8 @@ public class SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions : INe /// not specified, all valid types will be returned. /// /// Permitted values include: sort_code, zengin, iban, or spei. + /// One of: aba, iban, sepa, sort_code, spei, + /// swift, or zengin. /// [JsonProperty("requested_address_types")] public List RequestedAddressTypes { get; set; } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPaypalOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPaypalOptions.cs index dd14c20a23..1d3f7c6291 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPaypalOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPaypalOptions.cs @@ -55,6 +55,7 @@ public class SessionPaymentMethodOptionsPaypalOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, or off_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs index 83c4028781..38078d0919 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs @@ -10,6 +10,8 @@ public class SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions /// The list of permissions to request. If this parameter is passed, the /// payment_method permission must be included. Valid permissions include: /// balances, ownership, payment_method, and transactions. + /// One of: balances, ownership, payment_method, or + /// transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionShippingAddressCollectionOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionShippingAddressCollectionOptions.cs index 73b4840025..0ed6e5e49f 100644 --- a/src/Stripe.net/Services/Checkout/Sessions/SessionShippingAddressCollectionOptions.cs +++ b/src/Stripe.net/Services/Checkout/Sessions/SessionShippingAddressCollectionOptions.cs @@ -10,6 +10,36 @@ public class SessionShippingAddressCollectionOptions : INestedOptions /// An array of two-letter ISO country codes representing which countries Checkout should /// provide as options for shipping locations. Unsupported country codes: AS, CX, CC, CU, /// HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI. + /// One of: AC, AD, AE, AF, AG, AI, AL, + /// AM, AO, AQ, AR, AT, AU, AW, AX, + /// AZ, BA, BB, BD, BE, BF, BG, BH, + /// BI, BJ, BL, BM, BN, BO, BQ, BR, + /// BS, BT, BV, BW, BY, BZ, CA, CD, + /// CF, CG, CH, CI, CK, CL, CM, CN, + /// CO, CR, CV, CW, CY, CZ, DE, DJ, + /// DK, DM, DO, DZ, EC, EE, EG, EH, + /// ER, ES, ET, FI, FJ, FK, FO, FR, + /// GA, GB, GD, GE, GF, GG, GH, GI, + /// GL, GM, GN, GP, GQ, GR, GS, GT, + /// GU, GW, GY, HK, HN, HR, HT, HU, + /// ID, IE, IL, IM, IN, IO, IQ, IS, + /// IT, JE, JM, JO, JP, KE, KG, KH, + /// KI, KM, KN, KR, KW, KY, KZ, LA, + /// LB, LC, LI, LK, LR, LS, LT, LU, + /// LV, LY, MA, MC, MD, ME, MF, MG, + /// MK, ML, MM, MN, MO, MQ, MR, MS, + /// MT, MU, MV, MW, MX, MY, MZ, NA, + /// NC, NE, NG, NI, NL, NO, NP, NR, + /// NU, NZ, OM, PA, PE, PF, PG, PH, + /// PK, PL, PM, PN, PR, PS, PT, PY, + /// QA, RE, RO, RS, RU, RW, SA, SB, + /// SC, SE, SG, SH, SI, SJ, SK, SL, + /// SM, SN, SO, SR, SS, ST, SV, SX, + /// SZ, TA, TC, TD, TF, TG, TH, TJ, + /// TK, TL, TM, TN, TO, TR, TT, TV, + /// TW, TZ, UA, UG, US, UY, UZ, VA, + /// VC, VE, VG, VN, VU, WF, WS, XK, + /// YE, YT, ZA, ZM, ZW, or ZZ. /// [JsonProperty("allowed_countries")] public List AllowedCountries { get; set; } diff --git a/src/Stripe.net/Services/Customers/CustomerBankTransferOptions.cs b/src/Stripe.net/Services/Customers/CustomerBankTransferOptions.cs index a15fa6e1a1..f44b235a3e 100644 --- a/src/Stripe.net/Services/Customers/CustomerBankTransferOptions.cs +++ b/src/Stripe.net/Services/Customers/CustomerBankTransferOptions.cs @@ -17,6 +17,7 @@ public class CustomerBankTransferOptions : INestedOptions /// not specified, all valid types will be returned. /// /// Permitted values include: sort_code, zengin, iban, or spei. + /// One of: iban, sort_code, spei, or zengin. /// [JsonProperty("requested_address_types")] public List RequestedAddressTypes { get; set; } diff --git a/src/Stripe.net/Services/Customers/CustomerCreateOptions.cs b/src/Stripe.net/Services/Customers/CustomerCreateOptions.cs index ecd3c2fd32..e50f3bcdc1 100644 --- a/src/Stripe.net/Services/Customers/CustomerCreateOptions.cs +++ b/src/Stripe.net/Services/Customers/CustomerCreateOptions.cs @@ -123,6 +123,7 @@ public class CustomerCreateOptions : BaseOptions, IHasMetadata /// /// The customer's tax exemption. One of none, exempt, or reverse. + /// One of: exempt, none, or reverse. /// [JsonProperty("tax_exempt")] public string TaxExempt { get; set; } diff --git a/src/Stripe.net/Services/Customers/CustomerInvoiceSettingsRenderingOptionsOptions.cs b/src/Stripe.net/Services/Customers/CustomerInvoiceSettingsRenderingOptionsOptions.cs index 7164804a29..deb983e861 100644 --- a/src/Stripe.net/Services/Customers/CustomerInvoiceSettingsRenderingOptionsOptions.cs +++ b/src/Stripe.net/Services/Customers/CustomerInvoiceSettingsRenderingOptionsOptions.cs @@ -11,6 +11,7 @@ public class CustomerInvoiceSettingsRenderingOptionsOptions : INestedOptions /// will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. /// exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF /// amounts. + /// One of: exclude_tax, or include_inclusive_tax. /// [JsonProperty("amount_tax_display")] public string AmountTaxDisplay { get; set; } diff --git a/src/Stripe.net/Services/Customers/CustomerUpdateOptions.cs b/src/Stripe.net/Services/Customers/CustomerUpdateOptions.cs index 341f3c8adb..64f39eb458 100644 --- a/src/Stripe.net/Services/Customers/CustomerUpdateOptions.cs +++ b/src/Stripe.net/Services/Customers/CustomerUpdateOptions.cs @@ -132,6 +132,7 @@ public class CustomerUpdateOptions : BaseOptions, IHasMetadata /// /// The customer's tax exemption. One of none, exempt, or reverse. + /// One of: exempt, none, or reverse. /// [JsonProperty("tax_exempt")] public string TaxExempt { get; set; } diff --git a/src/Stripe.net/Services/ExternalAccounts/ExternalAccountUpdateOptions.cs b/src/Stripe.net/Services/ExternalAccounts/ExternalAccountUpdateOptions.cs index 3e1d448009..d51e92f2c6 100644 --- a/src/Stripe.net/Services/ExternalAccounts/ExternalAccountUpdateOptions.cs +++ b/src/Stripe.net/Services/ExternalAccounts/ExternalAccountUpdateOptions.cs @@ -15,6 +15,7 @@ public class ExternalAccountUpdateOptions : BaseOptions, IHasMetadata /// /// The type of entity that holds the account. This can be either individual or /// company. + /// One of: company, or individual. /// [JsonProperty("account_holder_type")] public string AccountHolderType { get; set; } diff --git a/src/Stripe.net/Services/FinancialConnections/Accounts/AccountRefreshOptions.cs b/src/Stripe.net/Services/FinancialConnections/Accounts/AccountRefreshOptions.cs index da94add0b4..313cf7bc62 100644 --- a/src/Stripe.net/Services/FinancialConnections/Accounts/AccountRefreshOptions.cs +++ b/src/Stripe.net/Services/FinancialConnections/Accounts/AccountRefreshOptions.cs @@ -8,6 +8,7 @@ public class AccountRefreshOptions : BaseOptions { /// /// The list of account features that you would like to refresh. + /// One of: balance, or ownership. /// [JsonProperty("features")] public List Features { get; set; } diff --git a/src/Stripe.net/Services/FinancialConnections/Sessions/SessionCreateOptions.cs b/src/Stripe.net/Services/FinancialConnections/Sessions/SessionCreateOptions.cs index 6dc4b29b83..a510ab7b5c 100644 --- a/src/Stripe.net/Services/FinancialConnections/Sessions/SessionCreateOptions.cs +++ b/src/Stripe.net/Services/FinancialConnections/Sessions/SessionCreateOptions.cs @@ -23,12 +23,15 @@ public class SessionCreateOptions : BaseOptions /// /// Possible values are balances, transactions, ownership, and /// payment_method. + /// One of: balances, ownership, payment_method, or + /// transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } /// /// List of data features that you would like to retrieve upon account creation. + /// One of: balances, or ownership. /// [JsonProperty("prefetch")] public List Prefetch { get; set; } diff --git a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsDocumentOptions.cs b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsDocumentOptions.cs index e5ca820944..d6075f1a6f 100644 --- a/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsDocumentOptions.cs +++ b/src/Stripe.net/Services/Identity/VerificationSessions/VerificationSessionOptionsDocumentOptions.cs @@ -10,6 +10,7 @@ public class VerificationSessionOptionsDocumentOptions : INestedOptions /// Array of strings of allowed identity document types. If the provided identity document /// isn’t one of the allowed types, the verification check will fail with a /// document_type_not_allowed error code. + /// One of: driving_license, id_card, or passport. /// [JsonProperty("allowed_types")] public List AllowedTypes { get; set; } diff --git a/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsOptions.cs index 76b996d484..d300b0bdc0 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceCustomerDetailsOptions.cs @@ -26,6 +26,7 @@ public class InvoiceCustomerDetailsOptions : INestedOptions /// /// The customer's tax exemption. One of none, exempt, or reverse. + /// One of: exempt, none, or reverse. /// [JsonProperty("tax_exempt")] public string TaxExempt { get; set; } diff --git a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs index b91266b813..80497c181a 100644 --- a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsOptions.cs @@ -27,6 +27,12 @@ public class InvoicePaymentSettingsOptions : INestedOptions /// customer’s default payment method, and your invoice template /// settings. + /// One of: ach_credit_transfer, ach_debit, acss_debit, + /// au_becs_debit, bacs_debit, bancontact, boleto, card, + /// cashapp, customer_balance, fpx, giropay, grabpay, + /// ideal, konbini, link, paynow, paypal, + /// promptpay, sepa_credit_transfer, sepa_debit, sofort, + /// us_bank_account, or wechat_pay. /// [JsonProperty("payment_method_types")] public List PaymentMethodTypes { get; set; } diff --git a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs index 5edb30e05d..4aef4db10e 100644 --- a/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs @@ -10,6 +10,8 @@ public class InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialCon /// The list of permissions to request. If this parameter is passed, the /// payment_method permission must be included. Valid permissions include: /// balances, ownership, payment_method, and transactions. + /// One of: balances, ownership, payment_method, or + /// transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } diff --git a/src/Stripe.net/Services/Invoices/InvoiceRenderingOptionsOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceRenderingOptionsOptions.cs index 6890956db5..f68fa6189d 100644 --- a/src/Stripe.net/Services/Invoices/InvoiceRenderingOptionsOptions.cs +++ b/src/Stripe.net/Services/Invoices/InvoiceRenderingOptionsOptions.cs @@ -11,6 +11,7 @@ public class InvoiceRenderingOptionsOptions : INestedOptions /// will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. /// exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF /// amounts. + /// One of: exclude_tax, or include_inclusive_tax. /// [JsonProperty("amount_tax_display")] public string AmountTaxDisplay { get; set; } diff --git a/src/Stripe.net/Services/Issuing/Cardholders/CardholderCreateOptions.cs b/src/Stripe.net/Services/Issuing/Cardholders/CardholderCreateOptions.cs index fd9af0a37a..be03c73775 100644 --- a/src/Stripe.net/Services/Issuing/Cardholders/CardholderCreateOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cardholders/CardholderCreateOptions.cs @@ -62,6 +62,7 @@ public class CardholderCreateOptions : BaseOptions, IHasMetadata /// de, en, es, fr, or it. This changes the language of /// the 3D Secure flow and one-time /// password messages sent to the cardholder. + /// One of: de, en, es, fr, or it. /// [JsonProperty("preferred_locales")] public List PreferredLocales { get; set; } diff --git a/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsOptions.cs b/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsOptions.cs index c1dd805dd3..ef241e506e 100644 --- a/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsOptions.cs @@ -11,6 +11,151 @@ public class CardholderSpendingControlsOptions : INestedOptions /// href="https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to allow. All other categories will be blocked. Cannot be set with /// blocked_categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("allowed_categories")] public List AllowedCategories { get; set; } @@ -20,6 +165,151 @@ public class CardholderSpendingControlsOptions : INestedOptions /// href="https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to decline. All other categories will be allowed. Cannot be set with /// allowed_categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("blocked_categories")] public List BlockedCategories { get; set; } diff --git a/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsSpendingLimitOptions.cs b/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsSpendingLimitOptions.cs index 83fc4db90f..e6ea705dfe 100644 --- a/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsSpendingLimitOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cardholders/CardholderSpendingControlsSpendingLimitOptions.cs @@ -16,6 +16,151 @@ public class CardholderSpendingControlsSpendingLimitOptions : INestedOptions /// Array of strings containing categories /// this limit applies to. Omitting this field will apply the limit to all categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("categories")] public List Categories { get; set; } diff --git a/src/Stripe.net/Services/Issuing/Cardholders/CardholderUpdateOptions.cs b/src/Stripe.net/Services/Issuing/Cardholders/CardholderUpdateOptions.cs index 28a5a08475..785c8b9e2d 100644 --- a/src/Stripe.net/Services/Issuing/Cardholders/CardholderUpdateOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cardholders/CardholderUpdateOptions.cs @@ -52,6 +52,7 @@ public class CardholderUpdateOptions : BaseOptions, IHasMetadata /// de, en, es, fr, or it. This changes the language of /// the 3D Secure flow and one-time /// password messages sent to the cardholder. + /// One of: de, en, es, fr, or it. /// [JsonProperty("preferred_locales")] public List PreferredLocales { get; set; } diff --git a/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsOptions.cs b/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsOptions.cs index efa944f6c0..b85a786176 100644 --- a/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsOptions.cs @@ -11,6 +11,151 @@ public class CardSpendingControlsOptions : INestedOptions /// href="https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to allow. All other categories will be blocked. Cannot be set with /// blocked_categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("allowed_categories")] public List AllowedCategories { get; set; } @@ -20,6 +165,151 @@ public class CardSpendingControlsOptions : INestedOptions /// href="https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category">categories /// of authorizations to decline. All other categories will be allowed. Cannot be set with /// allowed_categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("blocked_categories")] public List BlockedCategories { get; set; } diff --git a/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsSpendingLimitOptions.cs b/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsSpendingLimitOptions.cs index 52884f80cf..c0664fe7c9 100644 --- a/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsSpendingLimitOptions.cs +++ b/src/Stripe.net/Services/Issuing/Cards/CardSpendingControlsSpendingLimitOptions.cs @@ -16,6 +16,151 @@ public class CardSpendingControlsSpendingLimitOptions : INestedOptions /// Array of strings containing categories /// this limit applies to. Omitting this field will apply the limit to all categories. + /// One of: ac_refrigeration_repair, accounting_bookkeeping_services, + /// advertising_services, agricultural_cooperative, + /// airlines_air_carriers, airports_flying_fields, ambulance_services, + /// amusement_parks_carnivals, antique_reproductions, antique_shops, + /// aquariums, architectural_surveying_services, + /// art_dealers_and_galleries, artists_supply_and_craft_shops, + /// auto_and_home_supply_stores, auto_body_repair_shops, + /// auto_paint_shops, auto_service_shops, automated_cash_disburse, + /// automated_fuel_dispensers, automobile_associations, + /// automotive_parts_and_accessories_stores, automotive_tire_stores, + /// bail_and_bond_payments, bakeries, bands_orchestras, + /// barber_and_beauty_shops, betting_casino_gambling, bicycle_shops, + /// billiard_pool_establishments, boat_dealers, + /// boat_rentals_and_leases, book_stores, + /// books_periodicals_and_newspapers, bowling_alleys, bus_lines, + /// business_secretarial_schools, buying_shopping_services, + /// cable_satellite_and_other_pay_television_and_radio, + /// camera_and_photographic_supply_stores, candy_nut_and_confectionery_stores, + /// car_and_truck_dealers_new_used, car_and_truck_dealers_used_only, + /// car_rental_agencies, car_washes, carpentry_services, + /// carpet_upholstery_cleaning, caterers, + /// charitable_and_social_service_organizations_fundraising, + /// chemicals_and_allied_products, child_care_services, + /// childrens_and_infants_wear_stores, chiropodists_podiatrists, + /// chiropractors, cigar_stores_and_stands, + /// civic_social_fraternal_associations, cleaning_and_maintenance, + /// clothing_rental, colleges_universities, commercial_equipment, + /// commercial_footwear, commercial_photography_art_and_graphics, + /// commuter_transport_and_ferries, computer_network_services, + /// computer_programming, computer_repair, computer_software_stores, + /// computers_peripherals_and_software, concrete_work_services, + /// construction_materials, consulting_public_relations, + /// correspondence_schools, cosmetic_stores, counseling_services, + /// country_clubs, courier_services, court_costs, + /// credit_reporting_agencies, cruise_lines, dairy_products_stores, + /// dance_hall_studios_schools, dating_escort_services, + /// dentists_orthodontists, department_stores, detective_agencies, + /// digital_goods_applications, digital_goods_games, + /// digital_goods_large_volume, digital_goods_media, + /// direct_marketing_catalog_merchant, + /// direct_marketing_combination_catalog_and_retail_merchant, + /// direct_marketing_inbound_telemarketing, + /// direct_marketing_insurance_services, direct_marketing_other, + /// direct_marketing_outbound_telemarketing, direct_marketing_subscription, + /// direct_marketing_travel, discount_stores, doctors, + /// door_to_door_sales, drapery_window_covering_and_upholstery_stores, + /// drinking_places, drug_stores_and_pharmacies, + /// drugs_drug_proprietaries_and_druggist_sundries, dry_cleaners, + /// durable_goods, duty_free_stores, eating_places_restaurants, + /// educational_services, electric_razor_stores, + /// electric_vehicle_charging, electrical_parts_and_equipment, + /// electrical_services, electronics_repair_shops, electronics_stores, + /// elementary_secondary_schools, emergency_services_gcas_visa_use_only, + /// employment_temp_agencies, equipment_rental, exterminating_services, + /// family_clothing_stores, fast_food_restaurants, + /// financial_institutions, fines_government_administrative_entities, + /// fireplace_fireplace_screens_and_accessories_stores, floor_covering_stores, + /// florists, florists_supplies_nursery_stock_and_flowers, + /// freezer_and_locker_meat_provisioners, fuel_dealers_non_automotive, + /// funeral_services_crematories, + /// furniture_home_furnishings_and_equipment_stores_except_appliances, + /// furniture_repair_refinishing, furriers_and_fur_shops, + /// general_services, gift_card_novelty_and_souvenir_shops, + /// glass_paint_and_wallpaper_stores, glassware_crystal_stores, + /// golf_courses_public, government_licensed_horse_dog_racing_us_region_only, + /// government_licensed_online_casions_online_gambling_us_region_only, + /// government_owned_lotteries_non_us_region, + /// government_owned_lotteries_us_region_only, government_services, + /// grocery_stores_supermarkets, hardware_equipment_and_supplies, + /// hardware_stores, health_and_beauty_spas, + /// hearing_aids_sales_and_supplies, heating_plumbing_a_c, + /// hobby_toy_and_game_shops, home_supply_warehouse_stores, hospitals, + /// hotels_motels_and_resorts, household_appliance_stores, + /// industrial_supplies, information_retrieval_services, + /// insurance_default, insurance_underwriting_premiums, + /// intra_company_purchases, + /// jewelry_stores_watches_clocks_and_silverware_stores, landscaping_services, + /// laundries, laundry_cleaning_services, legal_services_attorneys, + /// luggage_and_leather_goods_stores, lumber_building_materials_stores, + /// manual_cash_disburse, marinas_service_and_supplies, marketplaces, + /// masonry_stonework_and_plaster, massage_parlors, + /// medical_and_dental_labs, + /// medical_dental_ophthalmic_and_hospital_equipment_and_supplies, + /// medical_services, membership_organizations, + /// mens_and_boys_clothing_and_accessories_stores, + /// mens_womens_clothing_stores, metal_service_centers, miscellaneous, + /// miscellaneous_apparel_and_accessory_shops, miscellaneous_auto_dealers, + /// miscellaneous_business_services, miscellaneous_food_stores, + /// miscellaneous_general_merchandise, miscellaneous_general_services, + /// miscellaneous_home_furnishing_specialty_stores, + /// miscellaneous_publishing_and_printing, miscellaneous_recreation_services, + /// miscellaneous_repair_shops, miscellaneous_specialty_retail, + /// mobile_home_dealers, motion_picture_theaters, + /// motor_freight_carriers_and_trucking, motor_homes_dealers, + /// motor_vehicle_supplies_and_new_parts, motorcycle_shops_and_dealers, + /// motorcycle_shops_dealers, + /// music_stores_musical_instruments_pianos_and_sheet_music, + /// news_dealers_and_newsstands, non_fi_money_orders, + /// non_fi_stored_value_card_purchase_load, nondurable_goods, + /// nurseries_lawn_and_garden_supply_stores, nursing_personal_care, + /// office_and_commercial_furniture, opticians_eyeglasses, + /// optometrists_ophthalmologist, orthopedic_goods_prosthetic_devices, + /// osteopaths, package_stores_beer_wine_and_liquor, + /// paints_varnishes_and_supplies, parking_lots_garages, + /// passenger_railways, pawn_shops, pet_shops_pet_food_and_supplies, + /// petroleum_and_petroleum_products, photo_developing, + /// photographic_photocopy_microfilm_equipment_and_supplies, + /// photographic_studios, picture_video_production, + /// piece_goods_notions_and_other_dry_goods, + /// plumbing_heating_equipment_and_supplies, political_organizations, + /// postal_services_government_only, + /// precious_stones_and_metals_watches_and_jewelry, professional_services, + /// public_warehousing_and_storage, quick_copy_repro_and_blueprint, + /// railroads, real_estate_agents_and_managers_rentals, record_stores, + /// recreational_vehicle_rentals, religious_goods_stores, + /// religious_organizations, roofing_siding_sheet_metal, + /// secretarial_support_services, security_brokers_dealers, + /// service_stations, sewing_needlework_fabric_and_piece_goods_stores, + /// shoe_repair_hat_cleaning, shoe_stores, small_appliance_repair, + /// snowmobile_dealers, special_trade_services, specialty_cleaning, + /// sporting_goods_stores, sporting_recreation_camps, + /// sports_and_riding_apparel_stores, sports_clubs_fields, + /// stamp_and_coin_stores, + /// stationary_office_supplies_printing_and_writing_paper, + /// stationery_stores_office_and_school_supply_stores, swimming_pools_sales, + /// t_ui_travel_germany, tailors_alterations, + /// tax_payments_government_agencies, tax_preparation_services, + /// taxicabs_limousines, telecommunication_equipment_and_telephone_sales, + /// telecommunication_services, telegraph_services, + /// tent_and_awning_shops, testing_laboratories, + /// theatrical_ticket_agencies, timeshares, tire_retreading_and_repair, + /// tolls_bridge_fees, tourist_attractions_and_exhibits, + /// towing_services, trailer_parks_campgrounds, + /// transportation_services, travel_agencies_tour_operators, + /// truck_stop_iteration, truck_utility_trailer_rentals, + /// typesetting_plate_making_and_related_services, typewriter_stores, + /// u_s_federal_government_agencies_or_departments, + /// uniforms_commercial_clothing, used_merchandise_and_secondhand_stores, + /// utilities, variety_stores, veterinary_services, + /// video_amusement_game_supplies, video_game_arcades, + /// video_tape_rental_stores, vocational_trade_schools, + /// watch_jewelry_repair, welding_repair, wholesale_clubs, + /// wig_and_toupee_stores, wires_money_orders, + /// womens_accessory_and_specialty_shops, womens_ready_to_wear_stores, or + /// wrecking_and_salvage_yards. /// [JsonProperty("categories")] public List Categories { get; set; } diff --git a/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceCanceledOptions.cs b/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceCanceledOptions.cs index c619c16b3c..65d5f5db39 100644 --- a/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceCanceledOptions.cs +++ b/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceCanceledOptions.cs @@ -54,12 +54,14 @@ public class DisputeEvidenceCanceledOptions : INestedOptions /// /// Whether the product was a merchandise or service. + /// One of: merchandise, or service. /// [JsonProperty("product_type")] public string ProductType { get; set; } /// /// Result of cardholder's attempt to return the product. + /// One of: merchant_rejected, or successful. /// [JsonProperty("return_status")] public string ReturnStatus { get; set; } diff --git a/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceMerchandiseNotAsDescribedOptions.cs b/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceMerchandiseNotAsDescribedOptions.cs index a63adf5514..89c5619514 100644 --- a/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceMerchandiseNotAsDescribedOptions.cs +++ b/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceMerchandiseNotAsDescribedOptions.cs @@ -35,6 +35,7 @@ public class DisputeEvidenceMerchandiseNotAsDescribedOptions : INestedOptions /// /// Result of cardholder's attempt to return the product. + /// One of: merchant_rejected, or successful. /// [JsonProperty("return_status")] public string ReturnStatus { get; set; } diff --git a/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceNotReceivedOptions.cs b/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceNotReceivedOptions.cs index 7323518a91..a84239bc23 100644 --- a/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceNotReceivedOptions.cs +++ b/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceNotReceivedOptions.cs @@ -35,6 +35,7 @@ public class DisputeEvidenceNotReceivedOptions : INestedOptions /// /// Whether the product was a merchandise or service. + /// One of: merchandise, or service. /// [JsonProperty("product_type")] public string ProductType { get; set; } diff --git a/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceOtherOptions.cs b/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceOtherOptions.cs index 145ca23221..3e13f7810e 100644 --- a/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceOtherOptions.cs +++ b/src/Stripe.net/Services/Issuing/Disputes/DisputeEvidenceOtherOptions.cs @@ -26,6 +26,7 @@ public class DisputeEvidenceOtherOptions : INestedOptions /// /// Whether the product was a merchandise or service. + /// One of: merchandise, or service. /// [JsonProperty("product_type")] public string ProductType { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs index d7e3a91871..4dece7e795 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentConfirmOptions.cs @@ -119,6 +119,7 @@ public class PaymentIntentConfirmOptions : BaseOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: off_session, or on_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs index 2565ee437d..01d1a19e9d 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs @@ -56,6 +56,9 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata [JsonProperty("confirm")] public bool? Confirm { get; set; } + /// + /// One of: automatic, or manual. + /// [JsonProperty("confirmation_method")] public string ConfirmationMethod { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAcssDebitOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAcssDebitOptions.cs index 48fb7dff3b..2e1073ffc0 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAcssDebitOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAcssDebitOptions.cs @@ -30,6 +30,7 @@ public class PaymentIntentPaymentMethodOptionsAcssDebitOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, off_session, or on_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAlipayOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAlipayOptions.cs index f247d09772..35d8b09ba3 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAlipayOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAlipayOptions.cs @@ -24,6 +24,7 @@ public class PaymentIntentPaymentMethodOptionsAlipayOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, or off_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAuBecsDebitOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAuBecsDebitOptions.cs index 4e4ad51aff..4245af9536 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAuBecsDebitOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsAuBecsDebitOptions.cs @@ -24,6 +24,7 @@ public class PaymentIntentPaymentMethodOptionsAuBecsDebitOptions : INestedOption /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, off_session, or on_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitOptions.cs index f776967fb0..ba0e3dfb94 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBacsDebitOptions.cs @@ -24,6 +24,7 @@ public class PaymentIntentPaymentMethodOptionsBacsDebitOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, off_session, or on_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBancontactOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBancontactOptions.cs index bfdf591d34..cce9d87c5b 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBancontactOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBancontactOptions.cs @@ -32,6 +32,7 @@ public class PaymentIntentPaymentMethodOptionsBancontactOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, or off_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBoletoOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBoletoOptions.cs index 4ea03e1cc2..d0f67e6791 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBoletoOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsBoletoOptions.cs @@ -32,6 +32,7 @@ public class PaymentIntentPaymentMethodOptionsBoletoOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, off_session, or on_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs index 75859e831a..5693362920 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCardOptions.cs @@ -127,6 +127,7 @@ public class PaymentIntentPaymentMethodOptionsCardOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, off_session, or on_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCashappOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCashappOptions.cs index 7caac6cbdd..d1fff60fb7 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCashappOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCashappOptions.cs @@ -36,6 +36,7 @@ public class PaymentIntentPaymentMethodOptionsCashappOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, off_session, or on_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions.cs index dfab2d0e36..f04ec506bb 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions.cs @@ -17,6 +17,8 @@ public class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions /// not specified, all valid types will be returned. /// /// Permitted values include: sort_code, zengin, iban, or spei. + /// One of: aba, iban, sepa, sort_code, spei, + /// swift, or zengin. /// [JsonProperty("requested_address_types")] public List RequestedAddressTypes { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsIdealOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsIdealOptions.cs index 403a575221..bd1c6a5b9f 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsIdealOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsIdealOptions.cs @@ -24,6 +24,7 @@ public class PaymentIntentPaymentMethodOptionsIdealOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, or off_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsLinkOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsLinkOptions.cs index 266cb21696..93a2440217 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsLinkOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsLinkOptions.cs @@ -42,6 +42,7 @@ public class PaymentIntentPaymentMethodOptionsLinkOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, or off_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsPaypalOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsPaypalOptions.cs index 3b7d67082d..85f37d133c 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsPaypalOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsPaypalOptions.cs @@ -55,6 +55,7 @@ public class PaymentIntentPaymentMethodOptionsPaypalOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, or off_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitOptions.cs index 0117b65eb1..d47d8e5fe1 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSepaDebitOptions.cs @@ -30,6 +30,7 @@ public class PaymentIntentPaymentMethodOptionsSepaDebitOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, off_session, or on_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSofortOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSofortOptions.cs index fe49b09b66..4b8627c0cf 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSofortOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsSofortOptions.cs @@ -7,6 +7,7 @@ public class PaymentIntentPaymentMethodOptionsSofortOptions : INestedOptions { /// /// Language shown to the payer on redirect. + /// One of: de, en, es, fr, it, nl, or pl. /// [JsonProperty("preferred_language")] public string PreferredLanguage { get; set; } @@ -30,6 +31,7 @@ public class PaymentIntentPaymentMethodOptionsSofortOptions : INestedOptions /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, or off_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs index a4fb6eddac..f2eafe5bf2 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs @@ -10,6 +10,8 @@ public class PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsO /// The list of permissions to request. If this parameter is passed, the /// payment_method permission must be included. Valid permissions include: /// balances, ownership, payment_method, and transactions. + /// One of: balances, ownership, payment_method, or + /// transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions.cs index c343ab9b34..c6abb0992e 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions.cs @@ -8,6 +8,7 @@ public class PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions : INe { /// /// Triggers validations to run across the selected networks. + /// One of: ach, or us_domestic_wire. /// [JsonProperty("requested")] public List Requested { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountOptions.cs index 5f7ecd18bf..dc60a81cd3 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsUsBankAccountOptions.cs @@ -19,6 +19,7 @@ public class PaymentIntentPaymentMethodOptionsUsBankAccountOptions : INestedOpti /// /// Preferred transaction settlement speed. + /// One of: fastest, or standard. /// [JsonProperty("preferred_settlement_speed")] public string PreferredSettlementSpeed { get; set; } @@ -42,6 +43,7 @@ public class PaymentIntentPaymentMethodOptionsUsBankAccountOptions : INestedOpti /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: none, off_session, or on_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentIntents/PaymentIntentUpdateOptions.cs b/src/Stripe.net/Services/PaymentIntents/PaymentIntentUpdateOptions.cs index 819f2551a2..42c24e1fe3 100644 --- a/src/Stripe.net/Services/PaymentIntents/PaymentIntentUpdateOptions.cs +++ b/src/Stripe.net/Services/PaymentIntents/PaymentIntentUpdateOptions.cs @@ -138,6 +138,7 @@ public class PaymentIntentUpdateOptions : BaseOptions, IHasMetadata /// If setup_future_usage is already set and you are performing a request using a /// publishable key, you may only update the value from on_session to /// off_session. + /// One of: off_session, or on_session. /// [JsonProperty("setup_future_usage")] public string SetupFutureUsage { get; set; } diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkCreateOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkCreateOptions.cs index 1deb4b7d05..076808b1cd 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkCreateOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkCreateOptions.cs @@ -144,6 +144,12 @@ public class PaymentLinkCreateOptions : BaseOptions, IHasMetadata /// href="https://dashboard.stripe.com/settings/payment_methods">payment method settings /// (20+ payment methods supported). + /// One of: affirm, afterpay_clearpay, alipay, au_becs_debit, + /// bacs_debit, bancontact, blik, boleto, card, + /// cashapp, eps, fpx, giropay, grabpay, ideal, + /// klarna, konbini, link, oxxo, p24, paynow, + /// paypal, pix, promptpay, sepa_debit, sofort, + /// us_bank_account, or wechat_pay. /// [JsonProperty("payment_method_types")] public List PaymentMethodTypes { get; set; } diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsOptions.cs index a01ae51f6e..d78ca9b759 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsOptions.cs @@ -11,6 +11,7 @@ public class PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsOptions : INes /// will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. /// exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF /// amounts. + /// One of: exclude_tax, or include_inclusive_tax. /// [JsonProperty("amount_tax_display")] public string AmountTaxDisplay { get; set; } diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkShippingAddressCollectionOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkShippingAddressCollectionOptions.cs index 3aec30caad..298abc7c4e 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkShippingAddressCollectionOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkShippingAddressCollectionOptions.cs @@ -10,6 +10,36 @@ public class PaymentLinkShippingAddressCollectionOptions : INestedOptions /// An array of two-letter ISO country codes representing which countries Checkout should /// provide as options for shipping locations. Unsupported country codes: AS, CX, CC, CU, /// HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI. + /// One of: AC, AD, AE, AF, AG, AI, AL, + /// AM, AO, AQ, AR, AT, AU, AW, AX, + /// AZ, BA, BB, BD, BE, BF, BG, BH, + /// BI, BJ, BL, BM, BN, BO, BQ, BR, + /// BS, BT, BV, BW, BY, BZ, CA, CD, + /// CF, CG, CH, CI, CK, CL, CM, CN, + /// CO, CR, CV, CW, CY, CZ, DE, DJ, + /// DK, DM, DO, DZ, EC, EE, EG, EH, + /// ER, ES, ET, FI, FJ, FK, FO, FR, + /// GA, GB, GD, GE, GF, GG, GH, GI, + /// GL, GM, GN, GP, GQ, GR, GS, GT, + /// GU, GW, GY, HK, HN, HR, HT, HU, + /// ID, IE, IL, IM, IN, IO, IQ, IS, + /// IT, JE, JM, JO, JP, KE, KG, KH, + /// KI, KM, KN, KR, KW, KY, KZ, LA, + /// LB, LC, LI, LK, LR, LS, LT, LU, + /// LV, LY, MA, MC, MD, ME, MF, MG, + /// MK, ML, MM, MN, MO, MQ, MR, MS, + /// MT, MU, MV, MW, MX, MY, MZ, NA, + /// NC, NE, NG, NI, NL, NO, NP, NR, + /// NU, NZ, OM, PA, PE, PF, PG, PH, + /// PK, PL, PM, PN, PR, PS, PT, PY, + /// QA, RE, RO, RS, RU, RW, SA, SB, + /// SC, SE, SG, SH, SI, SJ, SK, SL, + /// SM, SN, SO, SR, SS, ST, SV, SX, + /// SZ, TA, TC, TD, TF, TG, TH, TJ, + /// TK, TL, TM, TN, TO, TR, TT, TV, + /// TW, TZ, UA, UG, US, UY, UZ, VA, + /// VC, VE, VG, VN, VU, WF, WS, XK, + /// YE, YT, ZA, ZM, ZW, or ZZ. /// [JsonProperty("allowed_countries")] public List AllowedCountries { get; set; } diff --git a/src/Stripe.net/Services/PaymentLinks/PaymentLinkUpdateOptions.cs b/src/Stripe.net/Services/PaymentLinks/PaymentLinkUpdateOptions.cs index aa391aef95..dee5a9f723 100644 --- a/src/Stripe.net/Services/PaymentLinks/PaymentLinkUpdateOptions.cs +++ b/src/Stripe.net/Services/PaymentLinks/PaymentLinkUpdateOptions.cs @@ -113,6 +113,12 @@ public class PaymentLinkUpdateOptions : BaseOptions, IHasMetadata /// dynamic payment methods that use your payment method /// settings. + /// One of: affirm, afterpay_clearpay, alipay, au_becs_debit, + /// bacs_debit, bancontact, blik, boleto, card, + /// cashapp, eps, fpx, giropay, grabpay, ideal, + /// klarna, konbini, link, oxxo, p24, paynow, + /// paypal, pix, promptpay, sepa_debit, sofort, + /// us_bank_account, or wechat_pay. /// [JsonProperty("payment_method_types")] public List PaymentMethodTypes { get; set; } diff --git a/src/Stripe.net/Services/Persons/PersonRelationshipListOptions.cs b/src/Stripe.net/Services/Persons/PersonRelationshipListOptions.cs index acbbae414d..8732b192b5 100644 --- a/src/Stripe.net/Services/Persons/PersonRelationshipListOptions.cs +++ b/src/Stripe.net/Services/Persons/PersonRelationshipListOptions.cs @@ -1,18 +1,42 @@ +// File generated from our OpenAPI spec namespace Stripe { using Newtonsoft.Json; public class PersonRelationshipListOptions : INestedOptions { + /// + /// A filter on the list of people returned based on whether these people are directors of + /// the account's company. + /// [JsonProperty("director")] public bool? Director { get; set; } + /// + /// A filter on the list of people returned based on whether these people are executives of + /// the account's company. + /// [JsonProperty("executive")] public bool? Executive { get; set; } + /// + /// A filter on the list of people returned based on whether these people are legal + /// guardians of the account's representative. + /// + [JsonProperty("legal_guardian")] + public bool? LegalGuardian { get; set; } + + /// + /// A filter on the list of people returned based on whether these people are owners of the + /// account's company. + /// [JsonProperty("owner")] public bool? Owner { get; set; } + /// + /// A filter on the list of people returned based on whether these people are the + /// representative of the account's company. + /// [JsonProperty("representative")] public bool? Representative { get; set; } } diff --git a/src/Stripe.net/Services/Persons/PersonRelationshipOptions.cs b/src/Stripe.net/Services/Persons/PersonRelationshipOptions.cs index 1e380d206b..76d36d4c64 100644 --- a/src/Stripe.net/Services/Persons/PersonRelationshipOptions.cs +++ b/src/Stripe.net/Services/Persons/PersonRelationshipOptions.cs @@ -14,22 +14,20 @@ public class PersonRelationshipOptions : INestedOptions public bool? Director { get; set; } /// - /// A filter on the list of people returned based on whether these people are executives of - /// the account's company. + /// Whether the person has significant responsibility to control, manage, or direct the + /// organization. /// [JsonProperty("executive")] public bool? Executive { get; set; } /// - /// A filter on the list of people returned based on whether these people are legal - /// guardians of the account's representative. + /// Whether the person is the legal guardian of the account's representative. /// [JsonProperty("legal_guardian")] public bool? LegalGuardian { get; set; } /// - /// A filter on the list of people returned based on whether these people are owners of the - /// account's company. + /// Whether the person is an owner of the account’s legal entity. /// [JsonProperty("owner")] public bool? Owner { get; set; } diff --git a/src/Stripe.net/Services/Prices/PriceRecurringListOptions.cs b/src/Stripe.net/Services/Prices/PriceRecurringListOptions.cs index e54e18fa7f..a9a87fd5e2 100644 --- a/src/Stripe.net/Services/Prices/PriceRecurringListOptions.cs +++ b/src/Stripe.net/Services/Prices/PriceRecurringListOptions.cs @@ -1,14 +1,23 @@ +// File generated from our OpenAPI spec namespace Stripe { - using System; using Newtonsoft.Json; - using Stripe.Infrastructure; public class PriceRecurringListOptions : INestedOptions { + /// + /// Filter by billing frequency. Either day, week, month or + /// year. + /// One of: day, month, week, or year. + /// [JsonProperty("interval")] public string Interval { get; set; } + /// + /// Filter by the usage type for this price. Can be either metered or + /// licensed. + /// One of: licensed, or metered. + /// [JsonProperty("usage_type")] public string UsageType { get; set; } } diff --git a/src/Stripe.net/Services/Prices/PriceRecurringOptions.cs b/src/Stripe.net/Services/Prices/PriceRecurringOptions.cs index c3cc029cb6..f69714b285 100644 --- a/src/Stripe.net/Services/Prices/PriceRecurringOptions.cs +++ b/src/Stripe.net/Services/Prices/PriceRecurringOptions.cs @@ -18,7 +18,7 @@ public class PriceRecurringOptions : INestedOptions public string AggregateUsage { get; set; } /// - /// Filter by billing frequency. Either day, week, month or + /// Specifies billing frequency. Either day, week, month or /// year. /// One of: day, month, week, or year. /// diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs index e1fe942ee2..a3ea5a6b26 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs @@ -57,6 +57,7 @@ public class SetupIntentCreateOptions : BaseOptions, IHasMetadata /// funds from. Include outbound if you intend to use the payment method as the /// destination to send funds to. You can include both if you intend to use the payment /// method for both purposes. + /// One of: inbound, or outbound. /// [JsonProperty("flow_directions")] public List FlowDirections { get; set; } diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions.cs index 5233cf82ee..a8ffe8f75f 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions.cs @@ -18,6 +18,7 @@ public class SetupIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions : INe /// /// List of Stripe products where this mandate can be selected automatically. + /// One of: invoice, or subscription. /// [JsonProperty("default_for")] public List DefaultFor { get; set; } diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs index 28e9f87d4a..d0d2f7a62d 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs @@ -10,6 +10,8 @@ public class SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOpt /// The list of permissions to request. If this parameter is passed, the /// payment_method permission must be included. Valid permissions include: /// balances, ownership, payment_method, and transactions. + /// One of: balances, ownership, payment_method, or + /// transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountNetworksOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountNetworksOptions.cs index d9876bf786..981cd9ddd3 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountNetworksOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentPaymentMethodOptionsUsBankAccountNetworksOptions.cs @@ -8,6 +8,7 @@ public class SetupIntentPaymentMethodOptionsUsBankAccountNetworksOptions : INest { /// /// Triggers validations to run across the selected networks. + /// One of: ach, or us_domestic_wire. /// [JsonProperty("requested")] public List Requested { get; set; } diff --git a/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs b/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs index 49f29a7029..ce11ca653f 100644 --- a/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs +++ b/src/Stripe.net/Services/SetupIntents/SetupIntentUpdateOptions.cs @@ -42,6 +42,7 @@ public class SetupIntentUpdateOptions : BaseOptions, IHasMetadata /// funds from. Include outbound if you intend to use the payment method as the /// destination to send funds to. You can include both if you intend to use the payment /// method for both purposes. + /// One of: inbound, or outbound. /// [JsonProperty("flow_directions")] public List FlowDirections { get; set; } diff --git a/src/Stripe.net/Services/Sources/SourceSourceOrderItemOptions.cs b/src/Stripe.net/Services/Sources/SourceSourceOrderItemOptions.cs index 2d7ead6033..43996884d8 100644 --- a/src/Stripe.net/Services/Sources/SourceSourceOrderItemOptions.cs +++ b/src/Stripe.net/Services/Sources/SourceSourceOrderItemOptions.cs @@ -27,6 +27,9 @@ public class SourceSourceOrderItemOptions : INestedOptions [JsonProperty("quantity")] public long? Quantity { get; set; } + /// + /// One of: discount, shipping, sku, or tax. + /// [JsonProperty("type")] public string Type { get; set; } } diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionCancellationDetailsOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionCancellationDetailsOptions.cs index ef666ee8c9..fdd237fb28 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionCancellationDetailsOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionCancellationDetailsOptions.cs @@ -15,6 +15,9 @@ public class SubscriptionCancellationDetailsOptions : INestedOptions /// /// The customer submitted reason for why they canceled, if the subscription was canceled /// explicitly by the user. + /// One of: customer_service, low_quality, missing_features, + /// other, switched_service, too_complex, too_expensive, or + /// unused. /// [JsonProperty("feedback")] public string Feedback { get; set; } diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs index 357ace5d3a..50364a53d1 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionItemOptions.cs @@ -4,7 +4,7 @@ namespace Stripe using System.Collections.Generic; using Newtonsoft.Json; - public class SubscriptionItemOptions : INestedOptions, IHasId, IHasMetadata + public class SubscriptionItemOptions : INestedOptions, IHasMetadata, IHasId { /// /// Define thresholds at which an invoice will be sent, and the subscription advanced to a diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs index aa9498bb15..d55f98aec6 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsOptions.cs @@ -20,6 +20,12 @@ public class SubscriptionPaymentSettingsOptions : INestedOptions /// customer’s default payment method, and your invoice template /// settings. + /// One of: ach_credit_transfer, ach_debit, acss_debit, + /// au_becs_debit, bacs_debit, bancontact, boleto, card, + /// cashapp, customer_balance, fpx, giropay, grabpay, + /// ideal, konbini, link, paynow, paypal, + /// promptpay, sepa_credit_transfer, sepa_debit, sofort, + /// us_bank_account, or wechat_pay. /// [JsonProperty("payment_method_types")] public List PaymentMethodTypes { get; set; } diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs index fbadcd7fd3..8ccb5616e3 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.cs @@ -10,6 +10,8 @@ public class SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinanci /// The list of permissions to request. If this parameter is passed, the /// payment_method permission must be included. Valid permissions include: /// balances, ownership, payment_method, and transactions. + /// One of: balances, ownership, payment_method, or + /// transactions. /// [JsonProperty("permissions")] public List Permissions { get; set; } diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationService.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationService.cs index b491ab5381..45842c8dc4 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationService.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationService.cs @@ -6,7 +6,7 @@ namespace Stripe.TestHelpers.Issuing using System.Threading.Tasks; using Stripe.Issuing; - public class AuthorizationService : Service + public class AuthorizationService : Service { public AuthorizationService() : base(null) @@ -20,52 +20,52 @@ public AuthorizationService(IStripeClient client) public override string BasePath => "/v1/test_helpers/issuing/authorizations"; - public virtual Authorization Capture(string id, AuthorizationCaptureOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Authorization Capture(string id, AuthorizationCaptureOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/capture", options, requestOptions); } - public virtual Task CaptureAsync(string id, AuthorizationCaptureOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task CaptureAsync(string id, AuthorizationCaptureOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/capture", options, requestOptions, cancellationToken); } - public virtual Authorization Create(AuthorizationCreateOptions options, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Authorization Create(AuthorizationCreateOptions options, RequestOptions requestOptions = null) { return this.CreateEntity(options, requestOptions); } - public virtual Task CreateAsync(AuthorizationCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task CreateAsync(AuthorizationCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.CreateEntityAsync(options, requestOptions, cancellationToken); } - public virtual Authorization Expire(string id, AuthorizationExpireOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Authorization Expire(string id, AuthorizationExpireOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/expire", options, requestOptions); } - public virtual Task ExpireAsync(string id, AuthorizationExpireOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task ExpireAsync(string id, AuthorizationExpireOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/expire", options, requestOptions, cancellationToken); } - public virtual Authorization Increment(string id, AuthorizationIncrementOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Authorization Increment(string id, AuthorizationIncrementOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/increment", options, requestOptions); } - public virtual Task IncrementAsync(string id, AuthorizationIncrementOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task IncrementAsync(string id, AuthorizationIncrementOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/increment", options, requestOptions, cancellationToken); } - public virtual Authorization Reverse(string id, AuthorizationReverseOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Authorization Reverse(string id, AuthorizationReverseOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/reverse", options, requestOptions); } - public virtual Task ReverseAsync(string id, AuthorizationReverseOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task ReverseAsync(string id, AuthorizationReverseOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/reverse", options, requestOptions, cancellationToken); } diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Cards/CardService.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Cards/CardService.cs index 3faeceb1f3..570977ce16 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Cards/CardService.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Cards/CardService.cs @@ -6,7 +6,7 @@ namespace Stripe.TestHelpers.Issuing using System.Threading.Tasks; using Stripe.Issuing; - public class CardService : Service + public class CardService : Service { public CardService() : base(null) @@ -20,42 +20,42 @@ public CardService(IStripeClient client) public override string BasePath => "/v1/test_helpers/issuing/cards"; - public virtual Card DeliverCard(string id, CardDeliverCardOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Card DeliverCard(string id, CardDeliverCardOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/shipping/deliver", options, requestOptions); } - public virtual Task DeliverCardAsync(string id, CardDeliverCardOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task DeliverCardAsync(string id, CardDeliverCardOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/shipping/deliver", options, requestOptions, cancellationToken); } - public virtual Card FailCard(string id, CardFailCardOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Card FailCard(string id, CardFailCardOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/shipping/fail", options, requestOptions); } - public virtual Task FailCardAsync(string id, CardFailCardOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task FailCardAsync(string id, CardFailCardOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/shipping/fail", options, requestOptions, cancellationToken); } - public virtual Card ReturnCard(string id, CardReturnCardOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Card ReturnCard(string id, CardReturnCardOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/shipping/return", options, requestOptions); } - public virtual Task ReturnCardAsync(string id, CardReturnCardOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task ReturnCardAsync(string id, CardReturnCardOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/shipping/return", options, requestOptions, cancellationToken); } - public virtual Card ShipCard(string id, CardShipCardOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Card ShipCard(string id, CardShipCardOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/shipping/ship", options, requestOptions); } - public virtual Task ShipCardAsync(string id, CardShipCardOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task ShipCardAsync(string id, CardShipCardOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/shipping/ship", options, requestOptions, cancellationToken); } diff --git a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionService.cs b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionService.cs index cce07fcda9..b794af0ae7 100644 --- a/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionService.cs +++ b/src/Stripe.net/Services/TestHelpers/Issuing/Transactions/TransactionService.cs @@ -6,7 +6,7 @@ namespace Stripe.TestHelpers.Issuing using System.Threading.Tasks; using Stripe.Issuing; - public class TransactionService : Service + public class TransactionService : Service { public TransactionService() : base(null) @@ -20,32 +20,32 @@ public TransactionService(IStripeClient client) public override string BasePath => "/v1/test_helpers/issuing/transactions"; - public virtual Transaction CreateForceCapture(TransactionCreateForceCaptureOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Transaction CreateForceCapture(TransactionCreateForceCaptureOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl("create_force_capture")}", options, requestOptions); } - public virtual Task CreateForceCaptureAsync(TransactionCreateForceCaptureOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task CreateForceCaptureAsync(TransactionCreateForceCaptureOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl("create_force_capture")}", options, requestOptions, cancellationToken); } - public virtual Transaction CreateUnlinkedRefund(TransactionCreateUnlinkedRefundOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Transaction CreateUnlinkedRefund(TransactionCreateUnlinkedRefundOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl("create_unlinked_refund")}", options, requestOptions); } - public virtual Task CreateUnlinkedRefundAsync(TransactionCreateUnlinkedRefundOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task CreateUnlinkedRefundAsync(TransactionCreateUnlinkedRefundOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl("create_unlinked_refund")}", options, requestOptions, cancellationToken); } - public virtual Transaction Refund(string id, TransactionRefundOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Issuing.Transaction Refund(string id, TransactionRefundOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/refund", options, requestOptions); } - public virtual Task RefundAsync(string id, TransactionRefundOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task RefundAsync(string id, TransactionRefundOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/refund", options, requestOptions, cancellationToken); } diff --git a/src/Stripe.net/Services/TestHelpers/Terminal/Readers/ReaderService.cs b/src/Stripe.net/Services/TestHelpers/Terminal/Readers/ReaderService.cs index 128443f380..e4799cf566 100644 --- a/src/Stripe.net/Services/TestHelpers/Terminal/Readers/ReaderService.cs +++ b/src/Stripe.net/Services/TestHelpers/Terminal/Readers/ReaderService.cs @@ -6,7 +6,7 @@ namespace Stripe.TestHelpers.Terminal using System.Threading.Tasks; using Stripe.Terminal; - public class ReaderService : Service + public class ReaderService : Service { public ReaderService() : base(null) @@ -20,12 +20,12 @@ public ReaderService(IStripeClient client) public override string BasePath => "/v1/test_helpers/terminal/readers"; - public virtual Reader PresentPaymentMethod(string id, ReaderPresentPaymentMethodOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Terminal.Reader PresentPaymentMethod(string id, ReaderPresentPaymentMethodOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/present_payment_method", options, requestOptions); } - public virtual Task PresentPaymentMethodAsync(string id, ReaderPresentPaymentMethodOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task PresentPaymentMethodAsync(string id, ReaderPresentPaymentMethodOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/present_payment_method", options, requestOptions, cancellationToken); } diff --git a/src/Stripe.net/Services/TestHelpers/TestClocks/TestClockService.cs b/src/Stripe.net/Services/TestHelpers/TestClocks/TestClockService.cs index 7af5b67ed8..e7ec05a8c5 100644 --- a/src/Stripe.net/Services/TestHelpers/TestClocks/TestClockService.cs +++ b/src/Stripe.net/Services/TestHelpers/TestClocks/TestClockService.cs @@ -26,12 +26,12 @@ public TestClockService(IStripeClient client) public virtual TestClock Advance(string id, TestClockAdvanceOptions options = null, RequestOptions requestOptions = null) { - return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/advance", options, requestOptions); + return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/advance", options, requestOptions); } public virtual Task AdvanceAsync(string id, TestClockAdvanceOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { - return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/advance", options, requestOptions, cancellationToken); + return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/advance", options, requestOptions, cancellationToken); } public virtual TestClock Create(TestClockCreateOptions options, RequestOptions requestOptions = null) diff --git a/src/Stripe.net/Services/TestHelpers/Treasury/InboundTransfers/InboundTransferService.cs b/src/Stripe.net/Services/TestHelpers/Treasury/InboundTransfers/InboundTransferService.cs index 18e569da52..f789f9f34c 100644 --- a/src/Stripe.net/Services/TestHelpers/Treasury/InboundTransfers/InboundTransferService.cs +++ b/src/Stripe.net/Services/TestHelpers/Treasury/InboundTransfers/InboundTransferService.cs @@ -6,7 +6,7 @@ namespace Stripe.TestHelpers.Treasury using System.Threading.Tasks; using Stripe.Treasury; - public class InboundTransferService : Service + public class InboundTransferService : Service { public InboundTransferService() : base(null) @@ -20,32 +20,32 @@ public InboundTransferService(IStripeClient client) public override string BasePath => "/v1/test_helpers/treasury/inbound_transfers"; - public virtual InboundTransfer Fail(string id, InboundTransferFailOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Treasury.InboundTransfer Fail(string id, InboundTransferFailOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/fail", options, requestOptions); } - public virtual Task FailAsync(string id, InboundTransferFailOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task FailAsync(string id, InboundTransferFailOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/fail", options, requestOptions, cancellationToken); } - public virtual InboundTransfer ReturnInboundTransfer(string id, InboundTransferReturnInboundTransferOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Treasury.InboundTransfer ReturnInboundTransfer(string id, InboundTransferReturnInboundTransferOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/return", options, requestOptions); } - public virtual Task ReturnInboundTransferAsync(string id, InboundTransferReturnInboundTransferOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task ReturnInboundTransferAsync(string id, InboundTransferReturnInboundTransferOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/return", options, requestOptions, cancellationToken); } - public virtual InboundTransfer Succeed(string id, InboundTransferSucceedOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Treasury.InboundTransfer Succeed(string id, InboundTransferSucceedOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/succeed", options, requestOptions); } - public virtual Task SucceedAsync(string id, InboundTransferSucceedOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task SucceedAsync(string id, InboundTransferSucceedOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/succeed", options, requestOptions, cancellationToken); } diff --git a/src/Stripe.net/Services/TestHelpers/Treasury/OutboundPayments/OutboundPaymentService.cs b/src/Stripe.net/Services/TestHelpers/Treasury/OutboundPayments/OutboundPaymentService.cs index 52193e53e3..2d016089b0 100644 --- a/src/Stripe.net/Services/TestHelpers/Treasury/OutboundPayments/OutboundPaymentService.cs +++ b/src/Stripe.net/Services/TestHelpers/Treasury/OutboundPayments/OutboundPaymentService.cs @@ -6,7 +6,7 @@ namespace Stripe.TestHelpers.Treasury using System.Threading.Tasks; using Stripe.Treasury; - public class OutboundPaymentService : Service + public class OutboundPaymentService : Service { public OutboundPaymentService() : base(null) @@ -20,32 +20,32 @@ public OutboundPaymentService(IStripeClient client) public override string BasePath => "/v1/test_helpers/treasury/outbound_payments"; - public virtual OutboundPayment Fail(string id, OutboundPaymentFailOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Treasury.OutboundPayment Fail(string id, OutboundPaymentFailOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/fail", options, requestOptions); } - public virtual Task FailAsync(string id, OutboundPaymentFailOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task FailAsync(string id, OutboundPaymentFailOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/fail", options, requestOptions, cancellationToken); } - public virtual OutboundPayment Post(string id, OutboundPaymentPostOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Treasury.OutboundPayment Post(string id, OutboundPaymentPostOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/post", options, requestOptions); } - public virtual Task PostAsync(string id, OutboundPaymentPostOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task PostAsync(string id, OutboundPaymentPostOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/post", options, requestOptions, cancellationToken); } - public virtual OutboundPayment ReturnOutboundPayment(string id, OutboundPaymentReturnOutboundPaymentOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Treasury.OutboundPayment ReturnOutboundPayment(string id, OutboundPaymentReturnOutboundPaymentOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/return", options, requestOptions); } - public virtual Task ReturnOutboundPaymentAsync(string id, OutboundPaymentReturnOutboundPaymentOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task ReturnOutboundPaymentAsync(string id, OutboundPaymentReturnOutboundPaymentOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/return", options, requestOptions, cancellationToken); } diff --git a/src/Stripe.net/Services/TestHelpers/Treasury/OutboundTransfers/OutboundTransferService.cs b/src/Stripe.net/Services/TestHelpers/Treasury/OutboundTransfers/OutboundTransferService.cs index 2328c4590a..1cb9c9d259 100644 --- a/src/Stripe.net/Services/TestHelpers/Treasury/OutboundTransfers/OutboundTransferService.cs +++ b/src/Stripe.net/Services/TestHelpers/Treasury/OutboundTransfers/OutboundTransferService.cs @@ -6,7 +6,7 @@ namespace Stripe.TestHelpers.Treasury using System.Threading.Tasks; using Stripe.Treasury; - public class OutboundTransferService : Service + public class OutboundTransferService : Service { public OutboundTransferService() : base(null) @@ -20,32 +20,32 @@ public OutboundTransferService(IStripeClient client) public override string BasePath => "/v1/test_helpers/treasury/outbound_transfers"; - public virtual OutboundTransfer Fail(string id, OutboundTransferFailOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Treasury.OutboundTransfer Fail(string id, OutboundTransferFailOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/fail", options, requestOptions); } - public virtual Task FailAsync(string id, OutboundTransferFailOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task FailAsync(string id, OutboundTransferFailOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/fail", options, requestOptions, cancellationToken); } - public virtual OutboundTransfer Post(string id, OutboundTransferPostOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Treasury.OutboundTransfer Post(string id, OutboundTransferPostOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/post", options, requestOptions); } - public virtual Task PostAsync(string id, OutboundTransferPostOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task PostAsync(string id, OutboundTransferPostOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/post", options, requestOptions, cancellationToken); } - public virtual OutboundTransfer ReturnOutboundTransfer(string id, OutboundTransferReturnOutboundTransferOptions options = null, RequestOptions requestOptions = null) + public virtual Stripe.Treasury.OutboundTransfer ReturnOutboundTransfer(string id, OutboundTransferReturnOutboundTransferOptions options = null, RequestOptions requestOptions = null) { return this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/return", options, requestOptions); } - public virtual Task ReturnOutboundTransferAsync(string id, OutboundTransferReturnOutboundTransferOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task ReturnOutboundTransferAsync(string id, OutboundTransferReturnOutboundTransferOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/return", options, requestOptions, cancellationToken); } diff --git a/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedCredits/ReceivedCreditService.cs b/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedCredits/ReceivedCreditService.cs index f3d0bf8368..dda360629f 100644 --- a/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedCredits/ReceivedCreditService.cs +++ b/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedCredits/ReceivedCreditService.cs @@ -5,7 +5,7 @@ namespace Stripe.TestHelpers.Treasury using System.Threading.Tasks; using Stripe.Treasury; - public class ReceivedCreditService : Service + public class ReceivedCreditService : Service { public ReceivedCreditService() : base(null) @@ -19,12 +19,12 @@ public ReceivedCreditService(IStripeClient client) public override string BasePath => "/v1/test_helpers/treasury/received_credits"; - public virtual ReceivedCredit Create(ReceivedCreditCreateOptions options, RequestOptions requestOptions = null) + public virtual Stripe.Treasury.ReceivedCredit Create(ReceivedCreditCreateOptions options, RequestOptions requestOptions = null) { return this.CreateEntity(options, requestOptions); } - public virtual Task CreateAsync(ReceivedCreditCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task CreateAsync(ReceivedCreditCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.CreateEntityAsync(options, requestOptions, cancellationToken); } diff --git a/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedDebits/ReceivedDebitService.cs b/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedDebits/ReceivedDebitService.cs index 85ddcac8ec..1370a91d58 100644 --- a/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedDebits/ReceivedDebitService.cs +++ b/src/Stripe.net/Services/TestHelpers/Treasury/ReceivedDebits/ReceivedDebitService.cs @@ -5,7 +5,7 @@ namespace Stripe.TestHelpers.Treasury using System.Threading.Tasks; using Stripe.Treasury; - public class ReceivedDebitService : Service + public class ReceivedDebitService : Service { public ReceivedDebitService() : base(null) @@ -19,12 +19,12 @@ public ReceivedDebitService(IStripeClient client) public override string BasePath => "/v1/test_helpers/treasury/received_debits"; - public virtual ReceivedDebit Create(ReceivedDebitCreateOptions options, RequestOptions requestOptions = null) + public virtual Stripe.Treasury.ReceivedDebit Create(ReceivedDebitCreateOptions options, RequestOptions requestOptions = null) { return this.CreateEntity(options, requestOptions); } - public virtual Task CreateAsync(ReceivedDebitCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public virtual Task CreateAsync(ReceivedDebitCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { return this.CreateEntityAsync(options, requestOptions, cancellationToken); } diff --git a/src/Stripe.net/Services/Tokens/TokenAccountCompanyOptions.cs b/src/Stripe.net/Services/Tokens/TokenAccountCompanyOptions.cs index eb01b057bf..13cf514ed8 100644 --- a/src/Stripe.net/Services/Tokens/TokenAccountCompanyOptions.cs +++ b/src/Stripe.net/Services/Tokens/TokenAccountCompanyOptions.cs @@ -115,6 +115,15 @@ public class TokenAccountCompanyOptions : INestedOptions /// The category identifying the legal structure of the company or legal entity. See Business /// structure for more details. + /// One of: free_zone_establishment, free_zone_llc, + /// government_instrumentality, governmental_unit, + /// incorporated_non_profit, incorporated_partnership, + /// limited_liability_partnership, llc, multi_member_llc, + /// private_company, private_corporation, private_partnership, + /// public_company, public_corporation, public_partnership, + /// single_member_llc, sole_establishment, sole_proprietorship, + /// tax_exempt_government_instrumentality, unincorporated_association, + /// unincorporated_non_profit, or unincorporated_partnership. /// [JsonProperty("structure")] public string Structure { get; set; } diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs index 9836c5e14f..57801aafcf 100644 --- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs +++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs @@ -54,6 +54,114 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata /// /// The list of events to enable for this endpoint. You may specify ['*'] to enable /// all events, except those that require explicit selection. + /// One of: *, account.application.authorized, + /// account.application.deauthorized, account.external_account.created, + /// account.external_account.deleted, account.external_account.updated, + /// account.updated, application_fee.created, + /// application_fee.refund.updated, application_fee.refunded, + /// balance.available, billing_portal.configuration.created, + /// billing_portal.configuration.updated, billing_portal.session.created, + /// capability.updated, cash_balance.funds_available, charge.captured, + /// charge.dispute.closed, charge.dispute.created, + /// charge.dispute.funds_reinstated, charge.dispute.funds_withdrawn, + /// charge.dispute.updated, charge.expired, charge.failed, + /// charge.pending, charge.refund.updated, charge.refunded, + /// charge.succeeded, charge.updated, + /// checkout.session.async_payment_failed, + /// checkout.session.async_payment_succeeded, checkout.session.completed, + /// checkout.session.expired, coupon.created, coupon.deleted, + /// coupon.updated, credit_note.created, credit_note.updated, + /// credit_note.voided, customer.created, customer.deleted, + /// customer.discount.created, customer.discount.deleted, + /// customer.discount.updated, customer.source.created, + /// customer.source.deleted, customer.source.expiring, + /// customer.source.updated, customer.subscription.created, + /// customer.subscription.deleted, customer.subscription.paused, + /// customer.subscription.pending_update_applied, + /// customer.subscription.pending_update_expired, + /// customer.subscription.resumed, customer.subscription.trial_will_end, + /// customer.subscription.updated, customer.tax_id.created, + /// customer.tax_id.deleted, customer.tax_id.updated, customer.updated, + /// customer_cash_balance_transaction.created, file.created, + /// financial_connections.account.created, + /// financial_connections.account.deactivated, + /// financial_connections.account.disconnected, + /// financial_connections.account.reactivated, + /// financial_connections.account.refreshed_balance, + /// identity.verification_session.canceled, + /// identity.verification_session.created, + /// identity.verification_session.processing, + /// identity.verification_session.redacted, + /// identity.verification_session.requires_input, + /// identity.verification_session.verified, invoice.created, + /// invoice.deleted, invoice.finalization_failed, invoice.finalized, + /// invoice.marked_uncollectible, invoice.paid, + /// invoice.payment_action_required, invoice.payment_failed, + /// invoice.payment_succeeded, invoice.sent, invoice.upcoming, + /// invoice.updated, invoice.voided, invoiceitem.created, + /// invoiceitem.deleted, issuing_authorization.created, + /// issuing_authorization.request, issuing_authorization.updated, + /// issuing_card.created, issuing_card.updated, + /// issuing_cardholder.created, issuing_cardholder.updated, + /// issuing_dispute.closed, issuing_dispute.created, + /// issuing_dispute.funds_reinstated, issuing_dispute.submitted, + /// issuing_dispute.updated, issuing_token.created, + /// issuing_token.updated, issuing_transaction.created, + /// issuing_transaction.updated, mandate.updated, + /// payment_intent.amount_capturable_updated, payment_intent.canceled, + /// payment_intent.created, payment_intent.partially_funded, + /// payment_intent.payment_failed, payment_intent.processing, + /// payment_intent.requires_action, payment_intent.succeeded, + /// payment_link.created, payment_link.updated, + /// payment_method.attached, payment_method.automatically_updated, + /// payment_method.detached, payment_method.updated, payout.canceled, + /// payout.created, payout.failed, payout.paid, + /// payout.reconciliation_completed, payout.updated, person.created, + /// person.deleted, person.updated, plan.created, plan.deleted, + /// plan.updated, price.created, price.deleted, price.updated, + /// product.created, product.deleted, product.updated, + /// promotion_code.created, promotion_code.updated, quote.accepted, + /// quote.canceled, quote.created, quote.finalized, + /// radar.early_fraud_warning.created, radar.early_fraud_warning.updated, + /// refund.created, refund.updated, reporting.report_run.failed, + /// reporting.report_run.succeeded, reporting.report_type.updated, + /// review.closed, review.opened, setup_intent.canceled, + /// setup_intent.created, setup_intent.requires_action, + /// setup_intent.setup_failed, setup_intent.succeeded, + /// sigma.scheduled_query_run.created, source.canceled, + /// source.chargeable, source.failed, source.mandate_notification, + /// source.refund_attributes_required, source.transaction.created, + /// source.transaction.updated, subscription_schedule.aborted, + /// subscription_schedule.canceled, subscription_schedule.completed, + /// subscription_schedule.created, subscription_schedule.expiring, + /// subscription_schedule.released, subscription_schedule.updated, + /// tax.settings.updated, tax_rate.created, tax_rate.updated, + /// terminal.reader.action_failed, terminal.reader.action_succeeded, + /// test_helpers.test_clock.advancing, test_helpers.test_clock.created, + /// test_helpers.test_clock.deleted, test_helpers.test_clock.internal_failure, + /// test_helpers.test_clock.ready, topup.canceled, topup.created, + /// topup.failed, topup.reversed, topup.succeeded, + /// transfer.created, transfer.reversed, transfer.updated, + /// treasury.credit_reversal.created, treasury.credit_reversal.posted, + /// treasury.debit_reversal.completed, treasury.debit_reversal.created, + /// treasury.debit_reversal.initial_credit_granted, + /// treasury.financial_account.closed, treasury.financial_account.created, + /// treasury.financial_account.features_status_updated, + /// treasury.inbound_transfer.canceled, treasury.inbound_transfer.created, + /// treasury.inbound_transfer.failed, treasury.inbound_transfer.succeeded, + /// treasury.outbound_payment.canceled, treasury.outbound_payment.created, + /// treasury.outbound_payment.expected_arrival_date_updated, + /// treasury.outbound_payment.failed, treasury.outbound_payment.posted, + /// treasury.outbound_payment.returned, treasury.outbound_transfer.canceled, + /// treasury.outbound_transfer.created, + /// treasury.outbound_transfer.expected_arrival_date_updated, + /// treasury.outbound_transfer.failed, treasury.outbound_transfer.posted, + /// treasury.outbound_transfer.returned, treasury.received_credit.created, + /// treasury.received_credit.failed, treasury.received_credit.succeeded, + /// treasury.received_debit.created, invoiceitem.updated, + /// order.created, recipient.created, recipient.deleted, + /// recipient.updated, sku.created, sku.deleted, sku.updated, or + /// ping. /// [JsonProperty("enabled_events")] public List EnabledEvents { get; set; } diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs index 2966c2094f..412909632c 100644 --- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs +++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointUpdateOptions.cs @@ -21,6 +21,114 @@ public class WebhookEndpointUpdateOptions : BaseOptions, IHasMetadata /// /// The list of events to enable for this endpoint. You may specify ['*'] to enable /// all events, except those that require explicit selection. + /// One of: *, account.application.authorized, + /// account.application.deauthorized, account.external_account.created, + /// account.external_account.deleted, account.external_account.updated, + /// account.updated, application_fee.created, + /// application_fee.refund.updated, application_fee.refunded, + /// balance.available, billing_portal.configuration.created, + /// billing_portal.configuration.updated, billing_portal.session.created, + /// capability.updated, cash_balance.funds_available, charge.captured, + /// charge.dispute.closed, charge.dispute.created, + /// charge.dispute.funds_reinstated, charge.dispute.funds_withdrawn, + /// charge.dispute.updated, charge.expired, charge.failed, + /// charge.pending, charge.refund.updated, charge.refunded, + /// charge.succeeded, charge.updated, + /// checkout.session.async_payment_failed, + /// checkout.session.async_payment_succeeded, checkout.session.completed, + /// checkout.session.expired, coupon.created, coupon.deleted, + /// coupon.updated, credit_note.created, credit_note.updated, + /// credit_note.voided, customer.created, customer.deleted, + /// customer.discount.created, customer.discount.deleted, + /// customer.discount.updated, customer.source.created, + /// customer.source.deleted, customer.source.expiring, + /// customer.source.updated, customer.subscription.created, + /// customer.subscription.deleted, customer.subscription.paused, + /// customer.subscription.pending_update_applied, + /// customer.subscription.pending_update_expired, + /// customer.subscription.resumed, customer.subscription.trial_will_end, + /// customer.subscription.updated, customer.tax_id.created, + /// customer.tax_id.deleted, customer.tax_id.updated, customer.updated, + /// customer_cash_balance_transaction.created, file.created, + /// financial_connections.account.created, + /// financial_connections.account.deactivated, + /// financial_connections.account.disconnected, + /// financial_connections.account.reactivated, + /// financial_connections.account.refreshed_balance, + /// identity.verification_session.canceled, + /// identity.verification_session.created, + /// identity.verification_session.processing, + /// identity.verification_session.redacted, + /// identity.verification_session.requires_input, + /// identity.verification_session.verified, invoice.created, + /// invoice.deleted, invoice.finalization_failed, invoice.finalized, + /// invoice.marked_uncollectible, invoice.paid, + /// invoice.payment_action_required, invoice.payment_failed, + /// invoice.payment_succeeded, invoice.sent, invoice.upcoming, + /// invoice.updated, invoice.voided, invoiceitem.created, + /// invoiceitem.deleted, issuing_authorization.created, + /// issuing_authorization.request, issuing_authorization.updated, + /// issuing_card.created, issuing_card.updated, + /// issuing_cardholder.created, issuing_cardholder.updated, + /// issuing_dispute.closed, issuing_dispute.created, + /// issuing_dispute.funds_reinstated, issuing_dispute.submitted, + /// issuing_dispute.updated, issuing_token.created, + /// issuing_token.updated, issuing_transaction.created, + /// issuing_transaction.updated, mandate.updated, + /// payment_intent.amount_capturable_updated, payment_intent.canceled, + /// payment_intent.created, payment_intent.partially_funded, + /// payment_intent.payment_failed, payment_intent.processing, + /// payment_intent.requires_action, payment_intent.succeeded, + /// payment_link.created, payment_link.updated, + /// payment_method.attached, payment_method.automatically_updated, + /// payment_method.detached, payment_method.updated, payout.canceled, + /// payout.created, payout.failed, payout.paid, + /// payout.reconciliation_completed, payout.updated, person.created, + /// person.deleted, person.updated, plan.created, plan.deleted, + /// plan.updated, price.created, price.deleted, price.updated, + /// product.created, product.deleted, product.updated, + /// promotion_code.created, promotion_code.updated, quote.accepted, + /// quote.canceled, quote.created, quote.finalized, + /// radar.early_fraud_warning.created, radar.early_fraud_warning.updated, + /// refund.created, refund.updated, reporting.report_run.failed, + /// reporting.report_run.succeeded, reporting.report_type.updated, + /// review.closed, review.opened, setup_intent.canceled, + /// setup_intent.created, setup_intent.requires_action, + /// setup_intent.setup_failed, setup_intent.succeeded, + /// sigma.scheduled_query_run.created, source.canceled, + /// source.chargeable, source.failed, source.mandate_notification, + /// source.refund_attributes_required, source.transaction.created, + /// source.transaction.updated, subscription_schedule.aborted, + /// subscription_schedule.canceled, subscription_schedule.completed, + /// subscription_schedule.created, subscription_schedule.expiring, + /// subscription_schedule.released, subscription_schedule.updated, + /// tax.settings.updated, tax_rate.created, tax_rate.updated, + /// terminal.reader.action_failed, terminal.reader.action_succeeded, + /// test_helpers.test_clock.advancing, test_helpers.test_clock.created, + /// test_helpers.test_clock.deleted, test_helpers.test_clock.internal_failure, + /// test_helpers.test_clock.ready, topup.canceled, topup.created, + /// topup.failed, topup.reversed, topup.succeeded, + /// transfer.created, transfer.reversed, transfer.updated, + /// treasury.credit_reversal.created, treasury.credit_reversal.posted, + /// treasury.debit_reversal.completed, treasury.debit_reversal.created, + /// treasury.debit_reversal.initial_credit_granted, + /// treasury.financial_account.closed, treasury.financial_account.created, + /// treasury.financial_account.features_status_updated, + /// treasury.inbound_transfer.canceled, treasury.inbound_transfer.created, + /// treasury.inbound_transfer.failed, treasury.inbound_transfer.succeeded, + /// treasury.outbound_payment.canceled, treasury.outbound_payment.created, + /// treasury.outbound_payment.expected_arrival_date_updated, + /// treasury.outbound_payment.failed, treasury.outbound_payment.posted, + /// treasury.outbound_payment.returned, treasury.outbound_transfer.canceled, + /// treasury.outbound_transfer.created, + /// treasury.outbound_transfer.expected_arrival_date_updated, + /// treasury.outbound_transfer.failed, treasury.outbound_transfer.posted, + /// treasury.outbound_transfer.returned, treasury.received_credit.created, + /// treasury.received_credit.failed, treasury.received_credit.succeeded, + /// treasury.received_debit.created, invoiceitem.updated, + /// order.created, recipient.created, recipient.deleted, + /// recipient.updated, sku.created, sku.deleted, sku.updated, or + /// ping. /// [JsonProperty("enabled_events")] public List EnabledEvents { get; set; }