updates
This commit is contained in:
@@ -0,0 +1,857 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from importlib import import_module
|
||||
from typing_extensions import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from stripe.params.terminal._configuration_create_params import (
|
||||
ConfigurationCreateParams as ConfigurationCreateParams,
|
||||
ConfigurationCreateParamsBbposWisepad3 as ConfigurationCreateParamsBbposWisepad3,
|
||||
ConfigurationCreateParamsBbposWiseposE as ConfigurationCreateParamsBbposWiseposE,
|
||||
ConfigurationCreateParamsOffline as ConfigurationCreateParamsOffline,
|
||||
ConfigurationCreateParamsRebootWindow as ConfigurationCreateParamsRebootWindow,
|
||||
ConfigurationCreateParamsStripeS700 as ConfigurationCreateParamsStripeS700,
|
||||
ConfigurationCreateParamsTipping as ConfigurationCreateParamsTipping,
|
||||
ConfigurationCreateParamsTippingAed as ConfigurationCreateParamsTippingAed,
|
||||
ConfigurationCreateParamsTippingAud as ConfigurationCreateParamsTippingAud,
|
||||
ConfigurationCreateParamsTippingBgn as ConfigurationCreateParamsTippingBgn,
|
||||
ConfigurationCreateParamsTippingCad as ConfigurationCreateParamsTippingCad,
|
||||
ConfigurationCreateParamsTippingChf as ConfigurationCreateParamsTippingChf,
|
||||
ConfigurationCreateParamsTippingCzk as ConfigurationCreateParamsTippingCzk,
|
||||
ConfigurationCreateParamsTippingDkk as ConfigurationCreateParamsTippingDkk,
|
||||
ConfigurationCreateParamsTippingEur as ConfigurationCreateParamsTippingEur,
|
||||
ConfigurationCreateParamsTippingGbp as ConfigurationCreateParamsTippingGbp,
|
||||
ConfigurationCreateParamsTippingGip as ConfigurationCreateParamsTippingGip,
|
||||
ConfigurationCreateParamsTippingHkd as ConfigurationCreateParamsTippingHkd,
|
||||
ConfigurationCreateParamsTippingHuf as ConfigurationCreateParamsTippingHuf,
|
||||
ConfigurationCreateParamsTippingJpy as ConfigurationCreateParamsTippingJpy,
|
||||
ConfigurationCreateParamsTippingMxn as ConfigurationCreateParamsTippingMxn,
|
||||
ConfigurationCreateParamsTippingMyr as ConfigurationCreateParamsTippingMyr,
|
||||
ConfigurationCreateParamsTippingNok as ConfigurationCreateParamsTippingNok,
|
||||
ConfigurationCreateParamsTippingNzd as ConfigurationCreateParamsTippingNzd,
|
||||
ConfigurationCreateParamsTippingPln as ConfigurationCreateParamsTippingPln,
|
||||
ConfigurationCreateParamsTippingRon as ConfigurationCreateParamsTippingRon,
|
||||
ConfigurationCreateParamsTippingSek as ConfigurationCreateParamsTippingSek,
|
||||
ConfigurationCreateParamsTippingSgd as ConfigurationCreateParamsTippingSgd,
|
||||
ConfigurationCreateParamsTippingUsd as ConfigurationCreateParamsTippingUsd,
|
||||
ConfigurationCreateParamsVerifoneP400 as ConfigurationCreateParamsVerifoneP400,
|
||||
ConfigurationCreateParamsWifi as ConfigurationCreateParamsWifi,
|
||||
ConfigurationCreateParamsWifiEnterpriseEapPeap as ConfigurationCreateParamsWifiEnterpriseEapPeap,
|
||||
ConfigurationCreateParamsWifiEnterpriseEapTls as ConfigurationCreateParamsWifiEnterpriseEapTls,
|
||||
ConfigurationCreateParamsWifiPersonalPsk as ConfigurationCreateParamsWifiPersonalPsk,
|
||||
)
|
||||
from stripe.params.terminal._configuration_delete_params import (
|
||||
ConfigurationDeleteParams as ConfigurationDeleteParams,
|
||||
)
|
||||
from stripe.params.terminal._configuration_list_params import (
|
||||
ConfigurationListParams as ConfigurationListParams,
|
||||
)
|
||||
from stripe.params.terminal._configuration_modify_params import (
|
||||
ConfigurationModifyParams as ConfigurationModifyParams,
|
||||
ConfigurationModifyParamsBbposWisepad3 as ConfigurationModifyParamsBbposWisepad3,
|
||||
ConfigurationModifyParamsBbposWiseposE as ConfigurationModifyParamsBbposWiseposE,
|
||||
ConfigurationModifyParamsOffline as ConfigurationModifyParamsOffline,
|
||||
ConfigurationModifyParamsRebootWindow as ConfigurationModifyParamsRebootWindow,
|
||||
ConfigurationModifyParamsStripeS700 as ConfigurationModifyParamsStripeS700,
|
||||
ConfigurationModifyParamsTipping as ConfigurationModifyParamsTipping,
|
||||
ConfigurationModifyParamsTippingAed as ConfigurationModifyParamsTippingAed,
|
||||
ConfigurationModifyParamsTippingAud as ConfigurationModifyParamsTippingAud,
|
||||
ConfigurationModifyParamsTippingBgn as ConfigurationModifyParamsTippingBgn,
|
||||
ConfigurationModifyParamsTippingCad as ConfigurationModifyParamsTippingCad,
|
||||
ConfigurationModifyParamsTippingChf as ConfigurationModifyParamsTippingChf,
|
||||
ConfigurationModifyParamsTippingCzk as ConfigurationModifyParamsTippingCzk,
|
||||
ConfigurationModifyParamsTippingDkk as ConfigurationModifyParamsTippingDkk,
|
||||
ConfigurationModifyParamsTippingEur as ConfigurationModifyParamsTippingEur,
|
||||
ConfigurationModifyParamsTippingGbp as ConfigurationModifyParamsTippingGbp,
|
||||
ConfigurationModifyParamsTippingGip as ConfigurationModifyParamsTippingGip,
|
||||
ConfigurationModifyParamsTippingHkd as ConfigurationModifyParamsTippingHkd,
|
||||
ConfigurationModifyParamsTippingHuf as ConfigurationModifyParamsTippingHuf,
|
||||
ConfigurationModifyParamsTippingJpy as ConfigurationModifyParamsTippingJpy,
|
||||
ConfigurationModifyParamsTippingMxn as ConfigurationModifyParamsTippingMxn,
|
||||
ConfigurationModifyParamsTippingMyr as ConfigurationModifyParamsTippingMyr,
|
||||
ConfigurationModifyParamsTippingNok as ConfigurationModifyParamsTippingNok,
|
||||
ConfigurationModifyParamsTippingNzd as ConfigurationModifyParamsTippingNzd,
|
||||
ConfigurationModifyParamsTippingPln as ConfigurationModifyParamsTippingPln,
|
||||
ConfigurationModifyParamsTippingRon as ConfigurationModifyParamsTippingRon,
|
||||
ConfigurationModifyParamsTippingSek as ConfigurationModifyParamsTippingSek,
|
||||
ConfigurationModifyParamsTippingSgd as ConfigurationModifyParamsTippingSgd,
|
||||
ConfigurationModifyParamsTippingUsd as ConfigurationModifyParamsTippingUsd,
|
||||
ConfigurationModifyParamsVerifoneP400 as ConfigurationModifyParamsVerifoneP400,
|
||||
ConfigurationModifyParamsWifi as ConfigurationModifyParamsWifi,
|
||||
ConfigurationModifyParamsWifiEnterpriseEapPeap as ConfigurationModifyParamsWifiEnterpriseEapPeap,
|
||||
ConfigurationModifyParamsWifiEnterpriseEapTls as ConfigurationModifyParamsWifiEnterpriseEapTls,
|
||||
ConfigurationModifyParamsWifiPersonalPsk as ConfigurationModifyParamsWifiPersonalPsk,
|
||||
)
|
||||
from stripe.params.terminal._configuration_retrieve_params import (
|
||||
ConfigurationRetrieveParams as ConfigurationRetrieveParams,
|
||||
)
|
||||
from stripe.params.terminal._configuration_update_params import (
|
||||
ConfigurationUpdateParams as ConfigurationUpdateParams,
|
||||
ConfigurationUpdateParamsBbposWisepad3 as ConfigurationUpdateParamsBbposWisepad3,
|
||||
ConfigurationUpdateParamsBbposWiseposE as ConfigurationUpdateParamsBbposWiseposE,
|
||||
ConfigurationUpdateParamsOffline as ConfigurationUpdateParamsOffline,
|
||||
ConfigurationUpdateParamsRebootWindow as ConfigurationUpdateParamsRebootWindow,
|
||||
ConfigurationUpdateParamsStripeS700 as ConfigurationUpdateParamsStripeS700,
|
||||
ConfigurationUpdateParamsTipping as ConfigurationUpdateParamsTipping,
|
||||
ConfigurationUpdateParamsTippingAed as ConfigurationUpdateParamsTippingAed,
|
||||
ConfigurationUpdateParamsTippingAud as ConfigurationUpdateParamsTippingAud,
|
||||
ConfigurationUpdateParamsTippingBgn as ConfigurationUpdateParamsTippingBgn,
|
||||
ConfigurationUpdateParamsTippingCad as ConfigurationUpdateParamsTippingCad,
|
||||
ConfigurationUpdateParamsTippingChf as ConfigurationUpdateParamsTippingChf,
|
||||
ConfigurationUpdateParamsTippingCzk as ConfigurationUpdateParamsTippingCzk,
|
||||
ConfigurationUpdateParamsTippingDkk as ConfigurationUpdateParamsTippingDkk,
|
||||
ConfigurationUpdateParamsTippingEur as ConfigurationUpdateParamsTippingEur,
|
||||
ConfigurationUpdateParamsTippingGbp as ConfigurationUpdateParamsTippingGbp,
|
||||
ConfigurationUpdateParamsTippingGip as ConfigurationUpdateParamsTippingGip,
|
||||
ConfigurationUpdateParamsTippingHkd as ConfigurationUpdateParamsTippingHkd,
|
||||
ConfigurationUpdateParamsTippingHuf as ConfigurationUpdateParamsTippingHuf,
|
||||
ConfigurationUpdateParamsTippingJpy as ConfigurationUpdateParamsTippingJpy,
|
||||
ConfigurationUpdateParamsTippingMxn as ConfigurationUpdateParamsTippingMxn,
|
||||
ConfigurationUpdateParamsTippingMyr as ConfigurationUpdateParamsTippingMyr,
|
||||
ConfigurationUpdateParamsTippingNok as ConfigurationUpdateParamsTippingNok,
|
||||
ConfigurationUpdateParamsTippingNzd as ConfigurationUpdateParamsTippingNzd,
|
||||
ConfigurationUpdateParamsTippingPln as ConfigurationUpdateParamsTippingPln,
|
||||
ConfigurationUpdateParamsTippingRon as ConfigurationUpdateParamsTippingRon,
|
||||
ConfigurationUpdateParamsTippingSek as ConfigurationUpdateParamsTippingSek,
|
||||
ConfigurationUpdateParamsTippingSgd as ConfigurationUpdateParamsTippingSgd,
|
||||
ConfigurationUpdateParamsTippingUsd as ConfigurationUpdateParamsTippingUsd,
|
||||
ConfigurationUpdateParamsVerifoneP400 as ConfigurationUpdateParamsVerifoneP400,
|
||||
ConfigurationUpdateParamsWifi as ConfigurationUpdateParamsWifi,
|
||||
ConfigurationUpdateParamsWifiEnterpriseEapPeap as ConfigurationUpdateParamsWifiEnterpriseEapPeap,
|
||||
ConfigurationUpdateParamsWifiEnterpriseEapTls as ConfigurationUpdateParamsWifiEnterpriseEapTls,
|
||||
ConfigurationUpdateParamsWifiPersonalPsk as ConfigurationUpdateParamsWifiPersonalPsk,
|
||||
)
|
||||
from stripe.params.terminal._connection_token_create_params import (
|
||||
ConnectionTokenCreateParams as ConnectionTokenCreateParams,
|
||||
)
|
||||
from stripe.params.terminal._location_create_params import (
|
||||
LocationCreateParams as LocationCreateParams,
|
||||
LocationCreateParamsAddress as LocationCreateParamsAddress,
|
||||
LocationCreateParamsAddressKana as LocationCreateParamsAddressKana,
|
||||
LocationCreateParamsAddressKanji as LocationCreateParamsAddressKanji,
|
||||
)
|
||||
from stripe.params.terminal._location_delete_params import (
|
||||
LocationDeleteParams as LocationDeleteParams,
|
||||
)
|
||||
from stripe.params.terminal._location_list_params import (
|
||||
LocationListParams as LocationListParams,
|
||||
)
|
||||
from stripe.params.terminal._location_modify_params import (
|
||||
LocationModifyParams as LocationModifyParams,
|
||||
LocationModifyParamsAddress as LocationModifyParamsAddress,
|
||||
LocationModifyParamsAddressKana as LocationModifyParamsAddressKana,
|
||||
LocationModifyParamsAddressKanji as LocationModifyParamsAddressKanji,
|
||||
)
|
||||
from stripe.params.terminal._location_retrieve_params import (
|
||||
LocationRetrieveParams as LocationRetrieveParams,
|
||||
)
|
||||
from stripe.params.terminal._location_update_params import (
|
||||
LocationUpdateParams as LocationUpdateParams,
|
||||
LocationUpdateParamsAddress as LocationUpdateParamsAddress,
|
||||
LocationUpdateParamsAddressKana as LocationUpdateParamsAddressKana,
|
||||
LocationUpdateParamsAddressKanji as LocationUpdateParamsAddressKanji,
|
||||
)
|
||||
from stripe.params.terminal._reader_cancel_action_params import (
|
||||
ReaderCancelActionParams as ReaderCancelActionParams,
|
||||
)
|
||||
from stripe.params.terminal._reader_collect_inputs_params import (
|
||||
ReaderCollectInputsParams as ReaderCollectInputsParams,
|
||||
ReaderCollectInputsParamsInput as ReaderCollectInputsParamsInput,
|
||||
ReaderCollectInputsParamsInputCustomText as ReaderCollectInputsParamsInputCustomText,
|
||||
ReaderCollectInputsParamsInputSelection as ReaderCollectInputsParamsInputSelection,
|
||||
ReaderCollectInputsParamsInputSelectionChoice as ReaderCollectInputsParamsInputSelectionChoice,
|
||||
ReaderCollectInputsParamsInputToggle as ReaderCollectInputsParamsInputToggle,
|
||||
)
|
||||
from stripe.params.terminal._reader_collect_payment_method_params import (
|
||||
ReaderCollectPaymentMethodParams as ReaderCollectPaymentMethodParams,
|
||||
ReaderCollectPaymentMethodParamsCollectConfig as ReaderCollectPaymentMethodParamsCollectConfig,
|
||||
ReaderCollectPaymentMethodParamsCollectConfigTipping as ReaderCollectPaymentMethodParamsCollectConfigTipping,
|
||||
)
|
||||
from stripe.params.terminal._reader_confirm_payment_intent_params import (
|
||||
ReaderConfirmPaymentIntentParams as ReaderConfirmPaymentIntentParams,
|
||||
ReaderConfirmPaymentIntentParamsConfirmConfig as ReaderConfirmPaymentIntentParamsConfirmConfig,
|
||||
)
|
||||
from stripe.params.terminal._reader_create_params import (
|
||||
ReaderCreateParams as ReaderCreateParams,
|
||||
)
|
||||
from stripe.params.terminal._reader_delete_params import (
|
||||
ReaderDeleteParams as ReaderDeleteParams,
|
||||
)
|
||||
from stripe.params.terminal._reader_list_params import (
|
||||
ReaderListParams as ReaderListParams,
|
||||
)
|
||||
from stripe.params.terminal._reader_modify_params import (
|
||||
ReaderModifyParams as ReaderModifyParams,
|
||||
)
|
||||
from stripe.params.terminal._reader_present_payment_method_params import (
|
||||
ReaderPresentPaymentMethodParams as ReaderPresentPaymentMethodParams,
|
||||
ReaderPresentPaymentMethodParamsCard as ReaderPresentPaymentMethodParamsCard,
|
||||
ReaderPresentPaymentMethodParamsCardPresent as ReaderPresentPaymentMethodParamsCardPresent,
|
||||
ReaderPresentPaymentMethodParamsInteracPresent as ReaderPresentPaymentMethodParamsInteracPresent,
|
||||
)
|
||||
from stripe.params.terminal._reader_process_payment_intent_params import (
|
||||
ReaderProcessPaymentIntentParams as ReaderProcessPaymentIntentParams,
|
||||
ReaderProcessPaymentIntentParamsProcessConfig as ReaderProcessPaymentIntentParamsProcessConfig,
|
||||
ReaderProcessPaymentIntentParamsProcessConfigTipping as ReaderProcessPaymentIntentParamsProcessConfigTipping,
|
||||
)
|
||||
from stripe.params.terminal._reader_process_setup_intent_params import (
|
||||
ReaderProcessSetupIntentParams as ReaderProcessSetupIntentParams,
|
||||
ReaderProcessSetupIntentParamsProcessConfig as ReaderProcessSetupIntentParamsProcessConfig,
|
||||
)
|
||||
from stripe.params.terminal._reader_refund_payment_params import (
|
||||
ReaderRefundPaymentParams as ReaderRefundPaymentParams,
|
||||
ReaderRefundPaymentParamsRefundPaymentConfig as ReaderRefundPaymentParamsRefundPaymentConfig,
|
||||
)
|
||||
from stripe.params.terminal._reader_retrieve_params import (
|
||||
ReaderRetrieveParams as ReaderRetrieveParams,
|
||||
)
|
||||
from stripe.params.terminal._reader_set_reader_display_params import (
|
||||
ReaderSetReaderDisplayParams as ReaderSetReaderDisplayParams,
|
||||
ReaderSetReaderDisplayParamsCart as ReaderSetReaderDisplayParamsCart,
|
||||
ReaderSetReaderDisplayParamsCartLineItem as ReaderSetReaderDisplayParamsCartLineItem,
|
||||
)
|
||||
from stripe.params.terminal._reader_succeed_input_collection_params import (
|
||||
ReaderSucceedInputCollectionParams as ReaderSucceedInputCollectionParams,
|
||||
)
|
||||
from stripe.params.terminal._reader_timeout_input_collection_params import (
|
||||
ReaderTimeoutInputCollectionParams as ReaderTimeoutInputCollectionParams,
|
||||
)
|
||||
from stripe.params.terminal._reader_update_params import (
|
||||
ReaderUpdateParams as ReaderUpdateParams,
|
||||
)
|
||||
|
||||
# name -> (import_target, is_submodule)
|
||||
_import_map = {
|
||||
"ConfigurationCreateParams": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsBbposWisepad3": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsBbposWiseposE": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsOffline": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsRebootWindow": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsStripeS700": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTipping": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingAed": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingAud": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingBgn": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingCad": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingChf": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingCzk": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingDkk": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingEur": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingGbp": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingGip": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingHkd": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingHuf": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingJpy": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingMxn": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingMyr": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingNok": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingNzd": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingPln": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingRon": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingSek": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingSgd": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsTippingUsd": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsVerifoneP400": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsWifi": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsWifiEnterpriseEapPeap": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsWifiEnterpriseEapTls": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationCreateParamsWifiPersonalPsk": (
|
||||
"stripe.params.terminal._configuration_create_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationDeleteParams": (
|
||||
"stripe.params.terminal._configuration_delete_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationListParams": (
|
||||
"stripe.params.terminal._configuration_list_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParams": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsBbposWisepad3": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsBbposWiseposE": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsOffline": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsRebootWindow": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsStripeS700": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTipping": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingAed": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingAud": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingBgn": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingCad": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingChf": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingCzk": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingDkk": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingEur": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingGbp": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingGip": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingHkd": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingHuf": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingJpy": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingMxn": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingMyr": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingNok": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingNzd": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingPln": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingRon": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingSek": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingSgd": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsTippingUsd": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsVerifoneP400": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsWifi": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsWifiEnterpriseEapPeap": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsWifiEnterpriseEapTls": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationModifyParamsWifiPersonalPsk": (
|
||||
"stripe.params.terminal._configuration_modify_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationRetrieveParams": (
|
||||
"stripe.params.terminal._configuration_retrieve_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParams": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsBbposWisepad3": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsBbposWiseposE": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsOffline": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsRebootWindow": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsStripeS700": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTipping": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingAed": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingAud": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingBgn": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingCad": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingChf": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingCzk": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingDkk": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingEur": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingGbp": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingGip": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingHkd": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingHuf": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingJpy": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingMxn": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingMyr": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingNok": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingNzd": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingPln": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingRon": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingSek": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingSgd": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsTippingUsd": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsVerifoneP400": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsWifi": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsWifiEnterpriseEapPeap": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsWifiEnterpriseEapTls": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConfigurationUpdateParamsWifiPersonalPsk": (
|
||||
"stripe.params.terminal._configuration_update_params",
|
||||
False,
|
||||
),
|
||||
"ConnectionTokenCreateParams": (
|
||||
"stripe.params.terminal._connection_token_create_params",
|
||||
False,
|
||||
),
|
||||
"LocationCreateParams": (
|
||||
"stripe.params.terminal._location_create_params",
|
||||
False,
|
||||
),
|
||||
"LocationCreateParamsAddress": (
|
||||
"stripe.params.terminal._location_create_params",
|
||||
False,
|
||||
),
|
||||
"LocationCreateParamsAddressKana": (
|
||||
"stripe.params.terminal._location_create_params",
|
||||
False,
|
||||
),
|
||||
"LocationCreateParamsAddressKanji": (
|
||||
"stripe.params.terminal._location_create_params",
|
||||
False,
|
||||
),
|
||||
"LocationDeleteParams": (
|
||||
"stripe.params.terminal._location_delete_params",
|
||||
False,
|
||||
),
|
||||
"LocationListParams": (
|
||||
"stripe.params.terminal._location_list_params",
|
||||
False,
|
||||
),
|
||||
"LocationModifyParams": (
|
||||
"stripe.params.terminal._location_modify_params",
|
||||
False,
|
||||
),
|
||||
"LocationModifyParamsAddress": (
|
||||
"stripe.params.terminal._location_modify_params",
|
||||
False,
|
||||
),
|
||||
"LocationModifyParamsAddressKana": (
|
||||
"stripe.params.terminal._location_modify_params",
|
||||
False,
|
||||
),
|
||||
"LocationModifyParamsAddressKanji": (
|
||||
"stripe.params.terminal._location_modify_params",
|
||||
False,
|
||||
),
|
||||
"LocationRetrieveParams": (
|
||||
"stripe.params.terminal._location_retrieve_params",
|
||||
False,
|
||||
),
|
||||
"LocationUpdateParams": (
|
||||
"stripe.params.terminal._location_update_params",
|
||||
False,
|
||||
),
|
||||
"LocationUpdateParamsAddress": (
|
||||
"stripe.params.terminal._location_update_params",
|
||||
False,
|
||||
),
|
||||
"LocationUpdateParamsAddressKana": (
|
||||
"stripe.params.terminal._location_update_params",
|
||||
False,
|
||||
),
|
||||
"LocationUpdateParamsAddressKanji": (
|
||||
"stripe.params.terminal._location_update_params",
|
||||
False,
|
||||
),
|
||||
"ReaderCancelActionParams": (
|
||||
"stripe.params.terminal._reader_cancel_action_params",
|
||||
False,
|
||||
),
|
||||
"ReaderCollectInputsParams": (
|
||||
"stripe.params.terminal._reader_collect_inputs_params",
|
||||
False,
|
||||
),
|
||||
"ReaderCollectInputsParamsInput": (
|
||||
"stripe.params.terminal._reader_collect_inputs_params",
|
||||
False,
|
||||
),
|
||||
"ReaderCollectInputsParamsInputCustomText": (
|
||||
"stripe.params.terminal._reader_collect_inputs_params",
|
||||
False,
|
||||
),
|
||||
"ReaderCollectInputsParamsInputSelection": (
|
||||
"stripe.params.terminal._reader_collect_inputs_params",
|
||||
False,
|
||||
),
|
||||
"ReaderCollectInputsParamsInputSelectionChoice": (
|
||||
"stripe.params.terminal._reader_collect_inputs_params",
|
||||
False,
|
||||
),
|
||||
"ReaderCollectInputsParamsInputToggle": (
|
||||
"stripe.params.terminal._reader_collect_inputs_params",
|
||||
False,
|
||||
),
|
||||
"ReaderCollectPaymentMethodParams": (
|
||||
"stripe.params.terminal._reader_collect_payment_method_params",
|
||||
False,
|
||||
),
|
||||
"ReaderCollectPaymentMethodParamsCollectConfig": (
|
||||
"stripe.params.terminal._reader_collect_payment_method_params",
|
||||
False,
|
||||
),
|
||||
"ReaderCollectPaymentMethodParamsCollectConfigTipping": (
|
||||
"stripe.params.terminal._reader_collect_payment_method_params",
|
||||
False,
|
||||
),
|
||||
"ReaderConfirmPaymentIntentParams": (
|
||||
"stripe.params.terminal._reader_confirm_payment_intent_params",
|
||||
False,
|
||||
),
|
||||
"ReaderConfirmPaymentIntentParamsConfirmConfig": (
|
||||
"stripe.params.terminal._reader_confirm_payment_intent_params",
|
||||
False,
|
||||
),
|
||||
"ReaderCreateParams": (
|
||||
"stripe.params.terminal._reader_create_params",
|
||||
False,
|
||||
),
|
||||
"ReaderDeleteParams": (
|
||||
"stripe.params.terminal._reader_delete_params",
|
||||
False,
|
||||
),
|
||||
"ReaderListParams": ("stripe.params.terminal._reader_list_params", False),
|
||||
"ReaderModifyParams": (
|
||||
"stripe.params.terminal._reader_modify_params",
|
||||
False,
|
||||
),
|
||||
"ReaderPresentPaymentMethodParams": (
|
||||
"stripe.params.terminal._reader_present_payment_method_params",
|
||||
False,
|
||||
),
|
||||
"ReaderPresentPaymentMethodParamsCard": (
|
||||
"stripe.params.terminal._reader_present_payment_method_params",
|
||||
False,
|
||||
),
|
||||
"ReaderPresentPaymentMethodParamsCardPresent": (
|
||||
"stripe.params.terminal._reader_present_payment_method_params",
|
||||
False,
|
||||
),
|
||||
"ReaderPresentPaymentMethodParamsInteracPresent": (
|
||||
"stripe.params.terminal._reader_present_payment_method_params",
|
||||
False,
|
||||
),
|
||||
"ReaderProcessPaymentIntentParams": (
|
||||
"stripe.params.terminal._reader_process_payment_intent_params",
|
||||
False,
|
||||
),
|
||||
"ReaderProcessPaymentIntentParamsProcessConfig": (
|
||||
"stripe.params.terminal._reader_process_payment_intent_params",
|
||||
False,
|
||||
),
|
||||
"ReaderProcessPaymentIntentParamsProcessConfigTipping": (
|
||||
"stripe.params.terminal._reader_process_payment_intent_params",
|
||||
False,
|
||||
),
|
||||
"ReaderProcessSetupIntentParams": (
|
||||
"stripe.params.terminal._reader_process_setup_intent_params",
|
||||
False,
|
||||
),
|
||||
"ReaderProcessSetupIntentParamsProcessConfig": (
|
||||
"stripe.params.terminal._reader_process_setup_intent_params",
|
||||
False,
|
||||
),
|
||||
"ReaderRefundPaymentParams": (
|
||||
"stripe.params.terminal._reader_refund_payment_params",
|
||||
False,
|
||||
),
|
||||
"ReaderRefundPaymentParamsRefundPaymentConfig": (
|
||||
"stripe.params.terminal._reader_refund_payment_params",
|
||||
False,
|
||||
),
|
||||
"ReaderRetrieveParams": (
|
||||
"stripe.params.terminal._reader_retrieve_params",
|
||||
False,
|
||||
),
|
||||
"ReaderSetReaderDisplayParams": (
|
||||
"stripe.params.terminal._reader_set_reader_display_params",
|
||||
False,
|
||||
),
|
||||
"ReaderSetReaderDisplayParamsCart": (
|
||||
"stripe.params.terminal._reader_set_reader_display_params",
|
||||
False,
|
||||
),
|
||||
"ReaderSetReaderDisplayParamsCartLineItem": (
|
||||
"stripe.params.terminal._reader_set_reader_display_params",
|
||||
False,
|
||||
),
|
||||
"ReaderSucceedInputCollectionParams": (
|
||||
"stripe.params.terminal._reader_succeed_input_collection_params",
|
||||
False,
|
||||
),
|
||||
"ReaderTimeoutInputCollectionParams": (
|
||||
"stripe.params.terminal._reader_timeout_input_collection_params",
|
||||
False,
|
||||
),
|
||||
"ReaderUpdateParams": (
|
||||
"stripe.params.terminal._reader_update_params",
|
||||
False,
|
||||
),
|
||||
}
|
||||
if not TYPE_CHECKING:
|
||||
|
||||
def __getattr__(name):
|
||||
try:
|
||||
target, is_submodule = _import_map[name]
|
||||
module = import_module(target)
|
||||
if is_submodule:
|
||||
return module
|
||||
|
||||
return getattr(
|
||||
module,
|
||||
name,
|
||||
)
|
||||
except KeyError:
|
||||
raise AttributeError()
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,591 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class ConfigurationCreateParams(RequestOptions):
|
||||
bbpos_wisepad3: NotRequired["ConfigurationCreateParamsBbposWisepad3"]
|
||||
"""
|
||||
An object containing device type specific settings for BBPOS WisePad 3 readers.
|
||||
"""
|
||||
bbpos_wisepos_e: NotRequired["ConfigurationCreateParamsBbposWiseposE"]
|
||||
"""
|
||||
An object containing device type specific settings for BBPOS WisePOS E readers.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
name: NotRequired[str]
|
||||
"""
|
||||
Name of the configuration
|
||||
"""
|
||||
offline: NotRequired["Literal['']|ConfigurationCreateParamsOffline"]
|
||||
"""
|
||||
Configurations for collecting transactions offline.
|
||||
"""
|
||||
reboot_window: NotRequired["ConfigurationCreateParamsRebootWindow"]
|
||||
"""
|
||||
Reboot time settings for readers. that support customized reboot time configuration.
|
||||
"""
|
||||
stripe_s700: NotRequired["ConfigurationCreateParamsStripeS700"]
|
||||
"""
|
||||
An object containing device type specific settings for Stripe S700 readers.
|
||||
"""
|
||||
tipping: NotRequired["Literal['']|ConfigurationCreateParamsTipping"]
|
||||
"""
|
||||
Tipping configurations for readers. supporting on-reader tips
|
||||
"""
|
||||
verifone_p400: NotRequired["ConfigurationCreateParamsVerifoneP400"]
|
||||
"""
|
||||
An object containing device type specific settings for Verifone P400 readers.
|
||||
"""
|
||||
wifi: NotRequired["Literal['']|ConfigurationCreateParamsWifi"]
|
||||
"""
|
||||
Configurations for connecting to a WiFi network.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsBbposWisepad3(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image you want to display on the reader.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsBbposWiseposE(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image to display on the reader
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsOffline(TypedDict):
|
||||
enabled: bool
|
||||
"""
|
||||
Determines whether to allow transactions to be collected while reader is offline. Defaults to false.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsRebootWindow(TypedDict):
|
||||
end_hour: int
|
||||
"""
|
||||
Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
||||
"""
|
||||
start_hour: int
|
||||
"""
|
||||
Integer between 0 to 23 that represents the start hour of the reboot time window.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsStripeS700(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image you want to display on the reader.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTipping(TypedDict):
|
||||
aed: NotRequired["ConfigurationCreateParamsTippingAed"]
|
||||
"""
|
||||
Tipping configuration for AED
|
||||
"""
|
||||
aud: NotRequired["ConfigurationCreateParamsTippingAud"]
|
||||
"""
|
||||
Tipping configuration for AUD
|
||||
"""
|
||||
bgn: NotRequired["ConfigurationCreateParamsTippingBgn"]
|
||||
"""
|
||||
Tipping configuration for BGN
|
||||
"""
|
||||
cad: NotRequired["ConfigurationCreateParamsTippingCad"]
|
||||
"""
|
||||
Tipping configuration for CAD
|
||||
"""
|
||||
chf: NotRequired["ConfigurationCreateParamsTippingChf"]
|
||||
"""
|
||||
Tipping configuration for CHF
|
||||
"""
|
||||
czk: NotRequired["ConfigurationCreateParamsTippingCzk"]
|
||||
"""
|
||||
Tipping configuration for CZK
|
||||
"""
|
||||
dkk: NotRequired["ConfigurationCreateParamsTippingDkk"]
|
||||
"""
|
||||
Tipping configuration for DKK
|
||||
"""
|
||||
eur: NotRequired["ConfigurationCreateParamsTippingEur"]
|
||||
"""
|
||||
Tipping configuration for EUR
|
||||
"""
|
||||
gbp: NotRequired["ConfigurationCreateParamsTippingGbp"]
|
||||
"""
|
||||
Tipping configuration for GBP
|
||||
"""
|
||||
gip: NotRequired["ConfigurationCreateParamsTippingGip"]
|
||||
"""
|
||||
Tipping configuration for GIP
|
||||
"""
|
||||
hkd: NotRequired["ConfigurationCreateParamsTippingHkd"]
|
||||
"""
|
||||
Tipping configuration for HKD
|
||||
"""
|
||||
huf: NotRequired["ConfigurationCreateParamsTippingHuf"]
|
||||
"""
|
||||
Tipping configuration for HUF
|
||||
"""
|
||||
jpy: NotRequired["ConfigurationCreateParamsTippingJpy"]
|
||||
"""
|
||||
Tipping configuration for JPY
|
||||
"""
|
||||
mxn: NotRequired["ConfigurationCreateParamsTippingMxn"]
|
||||
"""
|
||||
Tipping configuration for MXN
|
||||
"""
|
||||
myr: NotRequired["ConfigurationCreateParamsTippingMyr"]
|
||||
"""
|
||||
Tipping configuration for MYR
|
||||
"""
|
||||
nok: NotRequired["ConfigurationCreateParamsTippingNok"]
|
||||
"""
|
||||
Tipping configuration for NOK
|
||||
"""
|
||||
nzd: NotRequired["ConfigurationCreateParamsTippingNzd"]
|
||||
"""
|
||||
Tipping configuration for NZD
|
||||
"""
|
||||
pln: NotRequired["ConfigurationCreateParamsTippingPln"]
|
||||
"""
|
||||
Tipping configuration for PLN
|
||||
"""
|
||||
ron: NotRequired["ConfigurationCreateParamsTippingRon"]
|
||||
"""
|
||||
Tipping configuration for RON
|
||||
"""
|
||||
sek: NotRequired["ConfigurationCreateParamsTippingSek"]
|
||||
"""
|
||||
Tipping configuration for SEK
|
||||
"""
|
||||
sgd: NotRequired["ConfigurationCreateParamsTippingSgd"]
|
||||
"""
|
||||
Tipping configuration for SGD
|
||||
"""
|
||||
usd: NotRequired["ConfigurationCreateParamsTippingUsd"]
|
||||
"""
|
||||
Tipping configuration for USD
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingAed(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingAud(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingBgn(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingCad(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingChf(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingCzk(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingDkk(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingEur(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingGbp(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingGip(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingHkd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingHuf(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingJpy(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingMxn(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingMyr(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingNok(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingNzd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingPln(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingRon(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingSek(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingSgd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsTippingUsd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsVerifoneP400(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image you want to display on the reader.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsWifi(TypedDict):
|
||||
enterprise_eap_peap: NotRequired[
|
||||
"ConfigurationCreateParamsWifiEnterpriseEapPeap"
|
||||
]
|
||||
"""
|
||||
Credentials for a WPA-Enterprise WiFi network using the EAP-PEAP authentication method.
|
||||
"""
|
||||
enterprise_eap_tls: NotRequired[
|
||||
"ConfigurationCreateParamsWifiEnterpriseEapTls"
|
||||
]
|
||||
"""
|
||||
Credentials for a WPA-Enterprise WiFi network using the EAP-TLS authentication method.
|
||||
"""
|
||||
personal_psk: NotRequired["ConfigurationCreateParamsWifiPersonalPsk"]
|
||||
"""
|
||||
Credentials for a WPA-Personal WiFi network.
|
||||
"""
|
||||
type: Literal["enterprise_eap_peap", "enterprise_eap_tls", "personal_psk"]
|
||||
"""
|
||||
Security type of the WiFi network. Fill out the hash with the corresponding name to provide the set of credentials for this security type.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsWifiEnterpriseEapPeap(TypedDict):
|
||||
ca_certificate_file: NotRequired[str]
|
||||
"""
|
||||
A File ID representing a PEM file containing the server certificate
|
||||
"""
|
||||
password: str
|
||||
"""
|
||||
Password for connecting to the WiFi network
|
||||
"""
|
||||
ssid: str
|
||||
"""
|
||||
Name of the WiFi network
|
||||
"""
|
||||
username: str
|
||||
"""
|
||||
Username for connecting to the WiFi network
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsWifiEnterpriseEapTls(TypedDict):
|
||||
ca_certificate_file: NotRequired[str]
|
||||
"""
|
||||
A File ID representing a PEM file containing the server certificate
|
||||
"""
|
||||
client_certificate_file: str
|
||||
"""
|
||||
A File ID representing a PEM file containing the client certificate
|
||||
"""
|
||||
private_key_file: str
|
||||
"""
|
||||
A File ID representing a PEM file containing the client RSA private key
|
||||
"""
|
||||
private_key_file_password: NotRequired[str]
|
||||
"""
|
||||
Password for the private key file
|
||||
"""
|
||||
ssid: str
|
||||
"""
|
||||
Name of the WiFi network
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationCreateParamsWifiPersonalPsk(TypedDict):
|
||||
password: str
|
||||
"""
|
||||
Password for connecting to the WiFi network
|
||||
"""
|
||||
ssid: str
|
||||
"""
|
||||
Name of the WiFi network
|
||||
"""
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
|
||||
|
||||
class ConfigurationDeleteParams(RequestOptions):
|
||||
pass
|
||||
@@ -0,0 +1,28 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import NotRequired
|
||||
|
||||
|
||||
class ConfigurationListParams(RequestOptions):
|
||||
ending_before: NotRequired[str]
|
||||
"""
|
||||
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
is_account_default: NotRequired[bool]
|
||||
"""
|
||||
if present, only return the account default or non-default configurations.
|
||||
"""
|
||||
limit: NotRequired[int]
|
||||
"""
|
||||
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
||||
"""
|
||||
starting_after: NotRequired[str]
|
||||
"""
|
||||
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
||||
"""
|
||||
@@ -0,0 +1,599 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class ConfigurationModifyParams(RequestOptions):
|
||||
bbpos_wisepad3: NotRequired[
|
||||
"Literal['']|ConfigurationModifyParamsBbposWisepad3"
|
||||
]
|
||||
"""
|
||||
An object containing device type specific settings for BBPOS WisePad 3 readers.
|
||||
"""
|
||||
bbpos_wisepos_e: NotRequired[
|
||||
"Literal['']|ConfigurationModifyParamsBbposWiseposE"
|
||||
]
|
||||
"""
|
||||
An object containing device type specific settings for BBPOS WisePOS E readers.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
name: NotRequired[str]
|
||||
"""
|
||||
Name of the configuration
|
||||
"""
|
||||
offline: NotRequired["Literal['']|ConfigurationModifyParamsOffline"]
|
||||
"""
|
||||
Configurations for collecting transactions offline.
|
||||
"""
|
||||
reboot_window: NotRequired[
|
||||
"Literal['']|ConfigurationModifyParamsRebootWindow"
|
||||
]
|
||||
"""
|
||||
Reboot time settings for readers. that support customized reboot time configuration.
|
||||
"""
|
||||
stripe_s700: NotRequired["Literal['']|ConfigurationModifyParamsStripeS700"]
|
||||
"""
|
||||
An object containing device type specific settings for Stripe S700 readers.
|
||||
"""
|
||||
tipping: NotRequired["Literal['']|ConfigurationModifyParamsTipping"]
|
||||
"""
|
||||
Tipping configurations for readers. supporting on-reader tips
|
||||
"""
|
||||
verifone_p400: NotRequired[
|
||||
"Literal['']|ConfigurationModifyParamsVerifoneP400"
|
||||
]
|
||||
"""
|
||||
An object containing device type specific settings for Verifone P400 readers.
|
||||
"""
|
||||
wifi: NotRequired["Literal['']|ConfigurationModifyParamsWifi"]
|
||||
"""
|
||||
Configurations for connecting to a WiFi network.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsBbposWisepad3(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image you want to display on the reader.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsBbposWiseposE(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image to display on the reader
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsOffline(TypedDict):
|
||||
enabled: bool
|
||||
"""
|
||||
Determines whether to allow transactions to be collected while reader is offline. Defaults to false.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsRebootWindow(TypedDict):
|
||||
end_hour: int
|
||||
"""
|
||||
Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
||||
"""
|
||||
start_hour: int
|
||||
"""
|
||||
Integer between 0 to 23 that represents the start hour of the reboot time window.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsStripeS700(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image you want to display on the reader.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTipping(TypedDict):
|
||||
aed: NotRequired["ConfigurationModifyParamsTippingAed"]
|
||||
"""
|
||||
Tipping configuration for AED
|
||||
"""
|
||||
aud: NotRequired["ConfigurationModifyParamsTippingAud"]
|
||||
"""
|
||||
Tipping configuration for AUD
|
||||
"""
|
||||
bgn: NotRequired["ConfigurationModifyParamsTippingBgn"]
|
||||
"""
|
||||
Tipping configuration for BGN
|
||||
"""
|
||||
cad: NotRequired["ConfigurationModifyParamsTippingCad"]
|
||||
"""
|
||||
Tipping configuration for CAD
|
||||
"""
|
||||
chf: NotRequired["ConfigurationModifyParamsTippingChf"]
|
||||
"""
|
||||
Tipping configuration for CHF
|
||||
"""
|
||||
czk: NotRequired["ConfigurationModifyParamsTippingCzk"]
|
||||
"""
|
||||
Tipping configuration for CZK
|
||||
"""
|
||||
dkk: NotRequired["ConfigurationModifyParamsTippingDkk"]
|
||||
"""
|
||||
Tipping configuration for DKK
|
||||
"""
|
||||
eur: NotRequired["ConfigurationModifyParamsTippingEur"]
|
||||
"""
|
||||
Tipping configuration for EUR
|
||||
"""
|
||||
gbp: NotRequired["ConfigurationModifyParamsTippingGbp"]
|
||||
"""
|
||||
Tipping configuration for GBP
|
||||
"""
|
||||
gip: NotRequired["ConfigurationModifyParamsTippingGip"]
|
||||
"""
|
||||
Tipping configuration for GIP
|
||||
"""
|
||||
hkd: NotRequired["ConfigurationModifyParamsTippingHkd"]
|
||||
"""
|
||||
Tipping configuration for HKD
|
||||
"""
|
||||
huf: NotRequired["ConfigurationModifyParamsTippingHuf"]
|
||||
"""
|
||||
Tipping configuration for HUF
|
||||
"""
|
||||
jpy: NotRequired["ConfigurationModifyParamsTippingJpy"]
|
||||
"""
|
||||
Tipping configuration for JPY
|
||||
"""
|
||||
mxn: NotRequired["ConfigurationModifyParamsTippingMxn"]
|
||||
"""
|
||||
Tipping configuration for MXN
|
||||
"""
|
||||
myr: NotRequired["ConfigurationModifyParamsTippingMyr"]
|
||||
"""
|
||||
Tipping configuration for MYR
|
||||
"""
|
||||
nok: NotRequired["ConfigurationModifyParamsTippingNok"]
|
||||
"""
|
||||
Tipping configuration for NOK
|
||||
"""
|
||||
nzd: NotRequired["ConfigurationModifyParamsTippingNzd"]
|
||||
"""
|
||||
Tipping configuration for NZD
|
||||
"""
|
||||
pln: NotRequired["ConfigurationModifyParamsTippingPln"]
|
||||
"""
|
||||
Tipping configuration for PLN
|
||||
"""
|
||||
ron: NotRequired["ConfigurationModifyParamsTippingRon"]
|
||||
"""
|
||||
Tipping configuration for RON
|
||||
"""
|
||||
sek: NotRequired["ConfigurationModifyParamsTippingSek"]
|
||||
"""
|
||||
Tipping configuration for SEK
|
||||
"""
|
||||
sgd: NotRequired["ConfigurationModifyParamsTippingSgd"]
|
||||
"""
|
||||
Tipping configuration for SGD
|
||||
"""
|
||||
usd: NotRequired["ConfigurationModifyParamsTippingUsd"]
|
||||
"""
|
||||
Tipping configuration for USD
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingAed(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingAud(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingBgn(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingCad(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingChf(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingCzk(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingDkk(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingEur(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingGbp(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingGip(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingHkd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingHuf(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingJpy(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingMxn(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingMyr(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingNok(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingNzd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingPln(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingRon(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingSek(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingSgd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsTippingUsd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsVerifoneP400(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image you want to display on the reader.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsWifi(TypedDict):
|
||||
enterprise_eap_peap: NotRequired[
|
||||
"ConfigurationModifyParamsWifiEnterpriseEapPeap"
|
||||
]
|
||||
"""
|
||||
Credentials for a WPA-Enterprise WiFi network using the EAP-PEAP authentication method.
|
||||
"""
|
||||
enterprise_eap_tls: NotRequired[
|
||||
"ConfigurationModifyParamsWifiEnterpriseEapTls"
|
||||
]
|
||||
"""
|
||||
Credentials for a WPA-Enterprise WiFi network using the EAP-TLS authentication method.
|
||||
"""
|
||||
personal_psk: NotRequired["ConfigurationModifyParamsWifiPersonalPsk"]
|
||||
"""
|
||||
Credentials for a WPA-Personal WiFi network.
|
||||
"""
|
||||
type: Literal["enterprise_eap_peap", "enterprise_eap_tls", "personal_psk"]
|
||||
"""
|
||||
Security type of the WiFi network. Fill out the hash with the corresponding name to provide the set of credentials for this security type.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsWifiEnterpriseEapPeap(TypedDict):
|
||||
ca_certificate_file: NotRequired[str]
|
||||
"""
|
||||
A File ID representing a PEM file containing the server certificate
|
||||
"""
|
||||
password: str
|
||||
"""
|
||||
Password for connecting to the WiFi network
|
||||
"""
|
||||
ssid: str
|
||||
"""
|
||||
Name of the WiFi network
|
||||
"""
|
||||
username: str
|
||||
"""
|
||||
Username for connecting to the WiFi network
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsWifiEnterpriseEapTls(TypedDict):
|
||||
ca_certificate_file: NotRequired[str]
|
||||
"""
|
||||
A File ID representing a PEM file containing the server certificate
|
||||
"""
|
||||
client_certificate_file: str
|
||||
"""
|
||||
A File ID representing a PEM file containing the client certificate
|
||||
"""
|
||||
private_key_file: str
|
||||
"""
|
||||
A File ID representing a PEM file containing the client RSA private key
|
||||
"""
|
||||
private_key_file_password: NotRequired[str]
|
||||
"""
|
||||
Password for the private key file
|
||||
"""
|
||||
ssid: str
|
||||
"""
|
||||
Name of the WiFi network
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationModifyParamsWifiPersonalPsk(TypedDict):
|
||||
password: str
|
||||
"""
|
||||
Password for connecting to the WiFi network
|
||||
"""
|
||||
ssid: str
|
||||
"""
|
||||
Name of the WiFi network
|
||||
"""
|
||||
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import NotRequired
|
||||
|
||||
|
||||
class ConfigurationRetrieveParams(RequestOptions):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
@@ -0,0 +1,598 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from typing import List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class ConfigurationUpdateParams(TypedDict):
|
||||
bbpos_wisepad3: NotRequired[
|
||||
"Literal['']|ConfigurationUpdateParamsBbposWisepad3"
|
||||
]
|
||||
"""
|
||||
An object containing device type specific settings for BBPOS WisePad 3 readers.
|
||||
"""
|
||||
bbpos_wisepos_e: NotRequired[
|
||||
"Literal['']|ConfigurationUpdateParamsBbposWiseposE"
|
||||
]
|
||||
"""
|
||||
An object containing device type specific settings for BBPOS WisePOS E readers.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
name: NotRequired[str]
|
||||
"""
|
||||
Name of the configuration
|
||||
"""
|
||||
offline: NotRequired["Literal['']|ConfigurationUpdateParamsOffline"]
|
||||
"""
|
||||
Configurations for collecting transactions offline.
|
||||
"""
|
||||
reboot_window: NotRequired[
|
||||
"Literal['']|ConfigurationUpdateParamsRebootWindow"
|
||||
]
|
||||
"""
|
||||
Reboot time settings for readers. that support customized reboot time configuration.
|
||||
"""
|
||||
stripe_s700: NotRequired["Literal['']|ConfigurationUpdateParamsStripeS700"]
|
||||
"""
|
||||
An object containing device type specific settings for Stripe S700 readers.
|
||||
"""
|
||||
tipping: NotRequired["Literal['']|ConfigurationUpdateParamsTipping"]
|
||||
"""
|
||||
Tipping configurations for readers. supporting on-reader tips
|
||||
"""
|
||||
verifone_p400: NotRequired[
|
||||
"Literal['']|ConfigurationUpdateParamsVerifoneP400"
|
||||
]
|
||||
"""
|
||||
An object containing device type specific settings for Verifone P400 readers.
|
||||
"""
|
||||
wifi: NotRequired["Literal['']|ConfigurationUpdateParamsWifi"]
|
||||
"""
|
||||
Configurations for connecting to a WiFi network.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsBbposWisepad3(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image you want to display on the reader.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsBbposWiseposE(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image to display on the reader
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsOffline(TypedDict):
|
||||
enabled: bool
|
||||
"""
|
||||
Determines whether to allow transactions to be collected while reader is offline. Defaults to false.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsRebootWindow(TypedDict):
|
||||
end_hour: int
|
||||
"""
|
||||
Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
||||
"""
|
||||
start_hour: int
|
||||
"""
|
||||
Integer between 0 to 23 that represents the start hour of the reboot time window.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsStripeS700(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image you want to display on the reader.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTipping(TypedDict):
|
||||
aed: NotRequired["ConfigurationUpdateParamsTippingAed"]
|
||||
"""
|
||||
Tipping configuration for AED
|
||||
"""
|
||||
aud: NotRequired["ConfigurationUpdateParamsTippingAud"]
|
||||
"""
|
||||
Tipping configuration for AUD
|
||||
"""
|
||||
bgn: NotRequired["ConfigurationUpdateParamsTippingBgn"]
|
||||
"""
|
||||
Tipping configuration for BGN
|
||||
"""
|
||||
cad: NotRequired["ConfigurationUpdateParamsTippingCad"]
|
||||
"""
|
||||
Tipping configuration for CAD
|
||||
"""
|
||||
chf: NotRequired["ConfigurationUpdateParamsTippingChf"]
|
||||
"""
|
||||
Tipping configuration for CHF
|
||||
"""
|
||||
czk: NotRequired["ConfigurationUpdateParamsTippingCzk"]
|
||||
"""
|
||||
Tipping configuration for CZK
|
||||
"""
|
||||
dkk: NotRequired["ConfigurationUpdateParamsTippingDkk"]
|
||||
"""
|
||||
Tipping configuration for DKK
|
||||
"""
|
||||
eur: NotRequired["ConfigurationUpdateParamsTippingEur"]
|
||||
"""
|
||||
Tipping configuration for EUR
|
||||
"""
|
||||
gbp: NotRequired["ConfigurationUpdateParamsTippingGbp"]
|
||||
"""
|
||||
Tipping configuration for GBP
|
||||
"""
|
||||
gip: NotRequired["ConfigurationUpdateParamsTippingGip"]
|
||||
"""
|
||||
Tipping configuration for GIP
|
||||
"""
|
||||
hkd: NotRequired["ConfigurationUpdateParamsTippingHkd"]
|
||||
"""
|
||||
Tipping configuration for HKD
|
||||
"""
|
||||
huf: NotRequired["ConfigurationUpdateParamsTippingHuf"]
|
||||
"""
|
||||
Tipping configuration for HUF
|
||||
"""
|
||||
jpy: NotRequired["ConfigurationUpdateParamsTippingJpy"]
|
||||
"""
|
||||
Tipping configuration for JPY
|
||||
"""
|
||||
mxn: NotRequired["ConfigurationUpdateParamsTippingMxn"]
|
||||
"""
|
||||
Tipping configuration for MXN
|
||||
"""
|
||||
myr: NotRequired["ConfigurationUpdateParamsTippingMyr"]
|
||||
"""
|
||||
Tipping configuration for MYR
|
||||
"""
|
||||
nok: NotRequired["ConfigurationUpdateParamsTippingNok"]
|
||||
"""
|
||||
Tipping configuration for NOK
|
||||
"""
|
||||
nzd: NotRequired["ConfigurationUpdateParamsTippingNzd"]
|
||||
"""
|
||||
Tipping configuration for NZD
|
||||
"""
|
||||
pln: NotRequired["ConfigurationUpdateParamsTippingPln"]
|
||||
"""
|
||||
Tipping configuration for PLN
|
||||
"""
|
||||
ron: NotRequired["ConfigurationUpdateParamsTippingRon"]
|
||||
"""
|
||||
Tipping configuration for RON
|
||||
"""
|
||||
sek: NotRequired["ConfigurationUpdateParamsTippingSek"]
|
||||
"""
|
||||
Tipping configuration for SEK
|
||||
"""
|
||||
sgd: NotRequired["ConfigurationUpdateParamsTippingSgd"]
|
||||
"""
|
||||
Tipping configuration for SGD
|
||||
"""
|
||||
usd: NotRequired["ConfigurationUpdateParamsTippingUsd"]
|
||||
"""
|
||||
Tipping configuration for USD
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingAed(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingAud(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingBgn(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingCad(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingChf(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingCzk(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingDkk(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingEur(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingGbp(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingGip(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingHkd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingHuf(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingJpy(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingMxn(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingMyr(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingNok(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingNzd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingPln(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingRon(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingSek(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingSgd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsTippingUsd(TypedDict):
|
||||
fixed_amounts: NotRequired[List[int]]
|
||||
"""
|
||||
Fixed amounts displayed when collecting a tip
|
||||
"""
|
||||
percentages: NotRequired[List[int]]
|
||||
"""
|
||||
Percentages displayed when collecting a tip
|
||||
"""
|
||||
smart_tip_threshold: NotRequired[int]
|
||||
"""
|
||||
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsVerifoneP400(TypedDict):
|
||||
splashscreen: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A File ID representing an image you want to display on the reader.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsWifi(TypedDict):
|
||||
enterprise_eap_peap: NotRequired[
|
||||
"ConfigurationUpdateParamsWifiEnterpriseEapPeap"
|
||||
]
|
||||
"""
|
||||
Credentials for a WPA-Enterprise WiFi network using the EAP-PEAP authentication method.
|
||||
"""
|
||||
enterprise_eap_tls: NotRequired[
|
||||
"ConfigurationUpdateParamsWifiEnterpriseEapTls"
|
||||
]
|
||||
"""
|
||||
Credentials for a WPA-Enterprise WiFi network using the EAP-TLS authentication method.
|
||||
"""
|
||||
personal_psk: NotRequired["ConfigurationUpdateParamsWifiPersonalPsk"]
|
||||
"""
|
||||
Credentials for a WPA-Personal WiFi network.
|
||||
"""
|
||||
type: Literal["enterprise_eap_peap", "enterprise_eap_tls", "personal_psk"]
|
||||
"""
|
||||
Security type of the WiFi network. Fill out the hash with the corresponding name to provide the set of credentials for this security type.
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsWifiEnterpriseEapPeap(TypedDict):
|
||||
ca_certificate_file: NotRequired[str]
|
||||
"""
|
||||
A File ID representing a PEM file containing the server certificate
|
||||
"""
|
||||
password: str
|
||||
"""
|
||||
Password for connecting to the WiFi network
|
||||
"""
|
||||
ssid: str
|
||||
"""
|
||||
Name of the WiFi network
|
||||
"""
|
||||
username: str
|
||||
"""
|
||||
Username for connecting to the WiFi network
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsWifiEnterpriseEapTls(TypedDict):
|
||||
ca_certificate_file: NotRequired[str]
|
||||
"""
|
||||
A File ID representing a PEM file containing the server certificate
|
||||
"""
|
||||
client_certificate_file: str
|
||||
"""
|
||||
A File ID representing a PEM file containing the client certificate
|
||||
"""
|
||||
private_key_file: str
|
||||
"""
|
||||
A File ID representing a PEM file containing the client RSA private key
|
||||
"""
|
||||
private_key_file_password: NotRequired[str]
|
||||
"""
|
||||
Password for the private key file
|
||||
"""
|
||||
ssid: str
|
||||
"""
|
||||
Name of the WiFi network
|
||||
"""
|
||||
|
||||
|
||||
class ConfigurationUpdateParamsWifiPersonalPsk(TypedDict):
|
||||
password: str
|
||||
"""
|
||||
Password for connecting to the WiFi network
|
||||
"""
|
||||
ssid: str
|
||||
"""
|
||||
Name of the WiFi network
|
||||
"""
|
||||
@@ -0,0 +1,16 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import NotRequired
|
||||
|
||||
|
||||
class ConnectionTokenCreateParams(RequestOptions):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
location: NotRequired[str]
|
||||
"""
|
||||
The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://docs.stripe.com/terminal/fleet/locations-and-zones?dashboard-or-api=api#connection-tokens).
|
||||
"""
|
||||
@@ -0,0 +1,137 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import Dict, List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class LocationCreateParams(RequestOptions):
|
||||
address: NotRequired["LocationCreateParamsAddress"]
|
||||
"""
|
||||
The full address of the location.
|
||||
"""
|
||||
address_kana: NotRequired["LocationCreateParamsAddressKana"]
|
||||
"""
|
||||
The Kana variation of the full address of the location (Japan only).
|
||||
"""
|
||||
address_kanji: NotRequired["LocationCreateParamsAddressKanji"]
|
||||
"""
|
||||
The Kanji variation of the full address of the location (Japan only).
|
||||
"""
|
||||
configuration_overrides: NotRequired[str]
|
||||
"""
|
||||
The ID of a configuration that will be used to customize all readers in this location.
|
||||
"""
|
||||
display_name: NotRequired[str]
|
||||
"""
|
||||
A name for the location. Maximum length is 1000 characters.
|
||||
"""
|
||||
display_name_kana: NotRequired[str]
|
||||
"""
|
||||
The Kana variation of the name for the location (Japan only). Maximum length is 1000 characters.
|
||||
"""
|
||||
display_name_kanji: NotRequired[str]
|
||||
"""
|
||||
The Kanji variation of the name for the location (Japan only). Maximum length is 1000 characters.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
metadata: NotRequired["Literal['']|Dict[str, str]"]
|
||||
"""
|
||||
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
||||
"""
|
||||
phone: NotRequired[str]
|
||||
"""
|
||||
The phone number for the location.
|
||||
"""
|
||||
|
||||
|
||||
class LocationCreateParamsAddress(TypedDict):
|
||||
city: NotRequired[str]
|
||||
"""
|
||||
City, district, suburb, town, or village.
|
||||
"""
|
||||
country: str
|
||||
"""
|
||||
Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
"""
|
||||
line1: NotRequired[str]
|
||||
"""
|
||||
Address line 1, such as the street, PO Box, or company name.
|
||||
"""
|
||||
line2: NotRequired[str]
|
||||
"""
|
||||
Address line 2, such as the apartment, suite, unit, or building.
|
||||
"""
|
||||
postal_code: NotRequired[str]
|
||||
"""
|
||||
ZIP or postal code.
|
||||
"""
|
||||
state: NotRequired[str]
|
||||
"""
|
||||
State, county, province, or region.
|
||||
"""
|
||||
|
||||
|
||||
class LocationCreateParamsAddressKana(TypedDict):
|
||||
city: NotRequired[str]
|
||||
"""
|
||||
City or ward.
|
||||
"""
|
||||
country: NotRequired[str]
|
||||
"""
|
||||
Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
"""
|
||||
line1: NotRequired[str]
|
||||
"""
|
||||
Block or building number.
|
||||
"""
|
||||
line2: NotRequired[str]
|
||||
"""
|
||||
Building details.
|
||||
"""
|
||||
postal_code: NotRequired[str]
|
||||
"""
|
||||
Postal code.
|
||||
"""
|
||||
state: NotRequired[str]
|
||||
"""
|
||||
Prefecture.
|
||||
"""
|
||||
town: NotRequired[str]
|
||||
"""
|
||||
Town or cho-me.
|
||||
"""
|
||||
|
||||
|
||||
class LocationCreateParamsAddressKanji(TypedDict):
|
||||
city: NotRequired[str]
|
||||
"""
|
||||
City or ward.
|
||||
"""
|
||||
country: NotRequired[str]
|
||||
"""
|
||||
Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
"""
|
||||
line1: NotRequired[str]
|
||||
"""
|
||||
Block or building number.
|
||||
"""
|
||||
line2: NotRequired[str]
|
||||
"""
|
||||
Building details.
|
||||
"""
|
||||
postal_code: NotRequired[str]
|
||||
"""
|
||||
Postal code.
|
||||
"""
|
||||
state: NotRequired[str]
|
||||
"""
|
||||
Prefecture.
|
||||
"""
|
||||
town: NotRequired[str]
|
||||
"""
|
||||
Town or cho-me.
|
||||
"""
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
|
||||
|
||||
class LocationDeleteParams(RequestOptions):
|
||||
pass
|
||||
@@ -0,0 +1,24 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import NotRequired
|
||||
|
||||
|
||||
class LocationListParams(RequestOptions):
|
||||
ending_before: NotRequired[str]
|
||||
"""
|
||||
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
limit: NotRequired[int]
|
||||
"""
|
||||
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
||||
"""
|
||||
starting_after: NotRequired[str]
|
||||
"""
|
||||
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
||||
"""
|
||||
@@ -0,0 +1,137 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import Dict, List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class LocationModifyParams(RequestOptions):
|
||||
address: NotRequired["LocationModifyParamsAddress"]
|
||||
"""
|
||||
The full address of the location. You can't change the location's `country`. If you need to modify the `country` field, create a new `Location` object and re-register any existing readers to that location.
|
||||
"""
|
||||
address_kana: NotRequired["LocationModifyParamsAddressKana"]
|
||||
"""
|
||||
The Kana variation of the full address of the location (Japan only).
|
||||
"""
|
||||
address_kanji: NotRequired["LocationModifyParamsAddressKanji"]
|
||||
"""
|
||||
The Kanji variation of the full address of the location (Japan only).
|
||||
"""
|
||||
configuration_overrides: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
The ID of a configuration that will be used to customize all readers in this location.
|
||||
"""
|
||||
display_name: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A name for the location.
|
||||
"""
|
||||
display_name_kana: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
The Kana variation of the name for the location (Japan only).
|
||||
"""
|
||||
display_name_kanji: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
The Kanji variation of the name for the location (Japan only).
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
metadata: NotRequired["Literal['']|Dict[str, str]"]
|
||||
"""
|
||||
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
||||
"""
|
||||
phone: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
The phone number for the location.
|
||||
"""
|
||||
|
||||
|
||||
class LocationModifyParamsAddress(TypedDict):
|
||||
city: NotRequired[str]
|
||||
"""
|
||||
City, district, suburb, town, or village.
|
||||
"""
|
||||
country: NotRequired[str]
|
||||
"""
|
||||
Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
"""
|
||||
line1: NotRequired[str]
|
||||
"""
|
||||
Address line 1, such as the street, PO Box, or company name.
|
||||
"""
|
||||
line2: NotRequired[str]
|
||||
"""
|
||||
Address line 2, such as the apartment, suite, unit, or building.
|
||||
"""
|
||||
postal_code: NotRequired[str]
|
||||
"""
|
||||
ZIP or postal code.
|
||||
"""
|
||||
state: NotRequired[str]
|
||||
"""
|
||||
State, county, province, or region.
|
||||
"""
|
||||
|
||||
|
||||
class LocationModifyParamsAddressKana(TypedDict):
|
||||
city: NotRequired[str]
|
||||
"""
|
||||
City or ward.
|
||||
"""
|
||||
country: NotRequired[str]
|
||||
"""
|
||||
Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
"""
|
||||
line1: NotRequired[str]
|
||||
"""
|
||||
Block or building number.
|
||||
"""
|
||||
line2: NotRequired[str]
|
||||
"""
|
||||
Building details.
|
||||
"""
|
||||
postal_code: NotRequired[str]
|
||||
"""
|
||||
Postal code.
|
||||
"""
|
||||
state: NotRequired[str]
|
||||
"""
|
||||
Prefecture.
|
||||
"""
|
||||
town: NotRequired[str]
|
||||
"""
|
||||
Town or cho-me.
|
||||
"""
|
||||
|
||||
|
||||
class LocationModifyParamsAddressKanji(TypedDict):
|
||||
city: NotRequired[str]
|
||||
"""
|
||||
City or ward.
|
||||
"""
|
||||
country: NotRequired[str]
|
||||
"""
|
||||
Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
"""
|
||||
line1: NotRequired[str]
|
||||
"""
|
||||
Block or building number.
|
||||
"""
|
||||
line2: NotRequired[str]
|
||||
"""
|
||||
Building details.
|
||||
"""
|
||||
postal_code: NotRequired[str]
|
||||
"""
|
||||
Postal code.
|
||||
"""
|
||||
state: NotRequired[str]
|
||||
"""
|
||||
Prefecture.
|
||||
"""
|
||||
town: NotRequired[str]
|
||||
"""
|
||||
Town or cho-me.
|
||||
"""
|
||||
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import NotRequired
|
||||
|
||||
|
||||
class LocationRetrieveParams(RequestOptions):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
@@ -0,0 +1,136 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from typing import Dict, List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class LocationUpdateParams(TypedDict):
|
||||
address: NotRequired["LocationUpdateParamsAddress"]
|
||||
"""
|
||||
The full address of the location. You can't change the location's `country`. If you need to modify the `country` field, create a new `Location` object and re-register any existing readers to that location.
|
||||
"""
|
||||
address_kana: NotRequired["LocationUpdateParamsAddressKana"]
|
||||
"""
|
||||
The Kana variation of the full address of the location (Japan only).
|
||||
"""
|
||||
address_kanji: NotRequired["LocationUpdateParamsAddressKanji"]
|
||||
"""
|
||||
The Kanji variation of the full address of the location (Japan only).
|
||||
"""
|
||||
configuration_overrides: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
The ID of a configuration that will be used to customize all readers in this location.
|
||||
"""
|
||||
display_name: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
A name for the location.
|
||||
"""
|
||||
display_name_kana: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
The Kana variation of the name for the location (Japan only).
|
||||
"""
|
||||
display_name_kanji: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
The Kanji variation of the name for the location (Japan only).
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
metadata: NotRequired["Literal['']|Dict[str, str]"]
|
||||
"""
|
||||
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
||||
"""
|
||||
phone: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
The phone number for the location.
|
||||
"""
|
||||
|
||||
|
||||
class LocationUpdateParamsAddress(TypedDict):
|
||||
city: NotRequired[str]
|
||||
"""
|
||||
City, district, suburb, town, or village.
|
||||
"""
|
||||
country: NotRequired[str]
|
||||
"""
|
||||
Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
"""
|
||||
line1: NotRequired[str]
|
||||
"""
|
||||
Address line 1, such as the street, PO Box, or company name.
|
||||
"""
|
||||
line2: NotRequired[str]
|
||||
"""
|
||||
Address line 2, such as the apartment, suite, unit, or building.
|
||||
"""
|
||||
postal_code: NotRequired[str]
|
||||
"""
|
||||
ZIP or postal code.
|
||||
"""
|
||||
state: NotRequired[str]
|
||||
"""
|
||||
State, county, province, or region.
|
||||
"""
|
||||
|
||||
|
||||
class LocationUpdateParamsAddressKana(TypedDict):
|
||||
city: NotRequired[str]
|
||||
"""
|
||||
City or ward.
|
||||
"""
|
||||
country: NotRequired[str]
|
||||
"""
|
||||
Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
"""
|
||||
line1: NotRequired[str]
|
||||
"""
|
||||
Block or building number.
|
||||
"""
|
||||
line2: NotRequired[str]
|
||||
"""
|
||||
Building details.
|
||||
"""
|
||||
postal_code: NotRequired[str]
|
||||
"""
|
||||
Postal code.
|
||||
"""
|
||||
state: NotRequired[str]
|
||||
"""
|
||||
Prefecture.
|
||||
"""
|
||||
town: NotRequired[str]
|
||||
"""
|
||||
Town or cho-me.
|
||||
"""
|
||||
|
||||
|
||||
class LocationUpdateParamsAddressKanji(TypedDict):
|
||||
city: NotRequired[str]
|
||||
"""
|
||||
City or ward.
|
||||
"""
|
||||
country: NotRequired[str]
|
||||
"""
|
||||
Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
"""
|
||||
line1: NotRequired[str]
|
||||
"""
|
||||
Block or building number.
|
||||
"""
|
||||
line2: NotRequired[str]
|
||||
"""
|
||||
Building details.
|
||||
"""
|
||||
postal_code: NotRequired[str]
|
||||
"""
|
||||
Postal code.
|
||||
"""
|
||||
state: NotRequired[str]
|
||||
"""
|
||||
Prefecture.
|
||||
"""
|
||||
town: NotRequired[str]
|
||||
"""
|
||||
Town or cho-me.
|
||||
"""
|
||||
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import NotRequired
|
||||
|
||||
|
||||
class ReaderCancelActionParams(RequestOptions):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
@@ -0,0 +1,101 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import Dict, List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class ReaderCollectInputsParams(RequestOptions):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
inputs: List["ReaderCollectInputsParamsInput"]
|
||||
"""
|
||||
List of inputs to be collected from the customer using the Reader. Maximum 5 inputs.
|
||||
"""
|
||||
metadata: NotRequired[Dict[str, str]]
|
||||
"""
|
||||
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderCollectInputsParamsInput(TypedDict):
|
||||
custom_text: "ReaderCollectInputsParamsInputCustomText"
|
||||
"""
|
||||
Customize the text which will be displayed while collecting this input
|
||||
"""
|
||||
required: NotRequired[bool]
|
||||
"""
|
||||
Indicate that this input is required, disabling the skip button
|
||||
"""
|
||||
selection: NotRequired["ReaderCollectInputsParamsInputSelection"]
|
||||
"""
|
||||
Options for the `selection` input
|
||||
"""
|
||||
toggles: NotRequired[List["ReaderCollectInputsParamsInputToggle"]]
|
||||
"""
|
||||
List of toggles to be displayed and customization for the toggles
|
||||
"""
|
||||
type: Literal[
|
||||
"email", "numeric", "phone", "selection", "signature", "text"
|
||||
]
|
||||
"""
|
||||
The type of input to collect
|
||||
"""
|
||||
|
||||
|
||||
class ReaderCollectInputsParamsInputCustomText(TypedDict):
|
||||
description: NotRequired[str]
|
||||
"""
|
||||
The description which will be displayed when collecting this input
|
||||
"""
|
||||
skip_button: NotRequired[str]
|
||||
"""
|
||||
Custom text for the skip button. Maximum 14 characters.
|
||||
"""
|
||||
submit_button: NotRequired[str]
|
||||
"""
|
||||
Custom text for the submit button. Maximum 30 characters.
|
||||
"""
|
||||
title: str
|
||||
"""
|
||||
The title which will be displayed when collecting this input
|
||||
"""
|
||||
|
||||
|
||||
class ReaderCollectInputsParamsInputSelection(TypedDict):
|
||||
choices: List["ReaderCollectInputsParamsInputSelectionChoice"]
|
||||
"""
|
||||
List of choices for the `selection` input
|
||||
"""
|
||||
|
||||
|
||||
class ReaderCollectInputsParamsInputSelectionChoice(TypedDict):
|
||||
id: str
|
||||
"""
|
||||
The unique identifier for this choice
|
||||
"""
|
||||
style: NotRequired[Literal["primary", "secondary"]]
|
||||
"""
|
||||
The style of the button which will be shown for this choice. Can be `primary` or `secondary`.
|
||||
"""
|
||||
text: str
|
||||
"""
|
||||
The text which will be shown on the button for this choice
|
||||
"""
|
||||
|
||||
|
||||
class ReaderCollectInputsParamsInputToggle(TypedDict):
|
||||
default_value: NotRequired[Literal["disabled", "enabled"]]
|
||||
"""
|
||||
The default value of the toggle. Can be `enabled` or `disabled`.
|
||||
"""
|
||||
description: NotRequired[str]
|
||||
"""
|
||||
The description which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided.
|
||||
"""
|
||||
title: NotRequired[str]
|
||||
"""
|
||||
The title which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided.
|
||||
"""
|
||||
@@ -0,0 +1,50 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class ReaderCollectPaymentMethodParams(RequestOptions):
|
||||
collect_config: NotRequired[
|
||||
"ReaderCollectPaymentMethodParamsCollectConfig"
|
||||
]
|
||||
"""
|
||||
Configuration overrides for this collection, such as tipping, surcharging, and customer cancellation settings.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
payment_intent: str
|
||||
"""
|
||||
The ID of the PaymentIntent to collect a payment method for.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderCollectPaymentMethodParamsCollectConfig(TypedDict):
|
||||
allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]]
|
||||
"""
|
||||
This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
|
||||
"""
|
||||
enable_customer_cancellation: NotRequired[bool]
|
||||
"""
|
||||
Enables cancel button on transaction screens.
|
||||
"""
|
||||
skip_tipping: NotRequired[bool]
|
||||
"""
|
||||
Override showing a tipping selection screen on this transaction.
|
||||
"""
|
||||
tipping: NotRequired[
|
||||
"ReaderCollectPaymentMethodParamsCollectConfigTipping"
|
||||
]
|
||||
"""
|
||||
Tipping configuration for this transaction.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderCollectPaymentMethodParamsCollectConfigTipping(TypedDict):
|
||||
amount_eligible: NotRequired[int]
|
||||
"""
|
||||
Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
|
||||
"""
|
||||
@@ -0,0 +1,29 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import NotRequired, TypedDict
|
||||
|
||||
|
||||
class ReaderConfirmPaymentIntentParams(RequestOptions):
|
||||
confirm_config: NotRequired[
|
||||
"ReaderConfirmPaymentIntentParamsConfirmConfig"
|
||||
]
|
||||
"""
|
||||
Configuration overrides for this confirmation, such as surcharge settings and return URL.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
payment_intent: str
|
||||
"""
|
||||
The ID of the PaymentIntent to confirm.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderConfirmPaymentIntentParamsConfirmConfig(TypedDict):
|
||||
return_url: NotRequired[str]
|
||||
"""
|
||||
The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
"""
|
||||
@@ -0,0 +1,28 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import Dict, List
|
||||
from typing_extensions import Literal, NotRequired
|
||||
|
||||
|
||||
class ReaderCreateParams(RequestOptions):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
label: NotRequired[str]
|
||||
"""
|
||||
Custom label given to the reader for easier identification. If no label is specified, the registration code will be used.
|
||||
"""
|
||||
location: NotRequired[str]
|
||||
"""
|
||||
The location to assign the reader to.
|
||||
"""
|
||||
metadata: NotRequired["Literal['']|Dict[str, str]"]
|
||||
"""
|
||||
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
||||
"""
|
||||
registration_code: str
|
||||
"""
|
||||
A code generated by the reader used for registering to an account.
|
||||
"""
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
|
||||
|
||||
class ReaderDeleteParams(RequestOptions):
|
||||
pass
|
||||
@@ -0,0 +1,52 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import Literal, NotRequired
|
||||
|
||||
|
||||
class ReaderListParams(RequestOptions):
|
||||
device_type: NotRequired[
|
||||
Literal[
|
||||
"bbpos_chipper2x",
|
||||
"bbpos_wisepad3",
|
||||
"bbpos_wisepos_e",
|
||||
"mobile_phone_reader",
|
||||
"simulated_stripe_s700",
|
||||
"simulated_wisepos_e",
|
||||
"stripe_m2",
|
||||
"stripe_s700",
|
||||
"verifone_P400",
|
||||
]
|
||||
]
|
||||
"""
|
||||
Filters readers by device type
|
||||
"""
|
||||
ending_before: NotRequired[str]
|
||||
"""
|
||||
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
limit: NotRequired[int]
|
||||
"""
|
||||
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
||||
"""
|
||||
location: NotRequired[str]
|
||||
"""
|
||||
A location ID to filter the response list to only readers at the specific location
|
||||
"""
|
||||
serial_number: NotRequired[str]
|
||||
"""
|
||||
Filters readers by serial number
|
||||
"""
|
||||
starting_after: NotRequired[str]
|
||||
"""
|
||||
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
||||
"""
|
||||
status: NotRequired[Literal["offline", "online"]]
|
||||
"""
|
||||
A status filter to filter readers to only offline or online readers
|
||||
"""
|
||||
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import Dict, List
|
||||
from typing_extensions import Literal, NotRequired
|
||||
|
||||
|
||||
class ReaderModifyParams(RequestOptions):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
label: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
The new label of the reader.
|
||||
"""
|
||||
metadata: NotRequired["Literal['']|Dict[str, str]"]
|
||||
"""
|
||||
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
||||
"""
|
||||
@@ -0,0 +1,67 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class ReaderPresentPaymentMethodParams(RequestOptions):
|
||||
amount_tip: NotRequired[int]
|
||||
"""
|
||||
Simulated on-reader tip amount.
|
||||
"""
|
||||
card: NotRequired["ReaderPresentPaymentMethodParamsCard"]
|
||||
"""
|
||||
Simulated data for the card payment method.
|
||||
"""
|
||||
card_present: NotRequired["ReaderPresentPaymentMethodParamsCardPresent"]
|
||||
"""
|
||||
Simulated data for the card_present payment method.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
interac_present: NotRequired[
|
||||
"ReaderPresentPaymentMethodParamsInteracPresent"
|
||||
]
|
||||
"""
|
||||
Simulated data for the interac_present payment method.
|
||||
"""
|
||||
type: NotRequired[Literal["card", "card_present", "interac_present"]]
|
||||
"""
|
||||
Simulated payment type.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderPresentPaymentMethodParamsCard(TypedDict):
|
||||
cvc: NotRequired[str]
|
||||
"""
|
||||
Card security code.
|
||||
"""
|
||||
exp_month: int
|
||||
"""
|
||||
Two-digit number representing the card's expiration month.
|
||||
"""
|
||||
exp_year: int
|
||||
"""
|
||||
Two- or four-digit number representing the card's expiration year.
|
||||
"""
|
||||
number: str
|
||||
"""
|
||||
The card number, as a string without any separators.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderPresentPaymentMethodParamsCardPresent(TypedDict):
|
||||
number: NotRequired[str]
|
||||
"""
|
||||
The card number, as a string without any separators.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderPresentPaymentMethodParamsInteracPresent(TypedDict):
|
||||
number: NotRequired[str]
|
||||
"""
|
||||
The Interac card number.
|
||||
"""
|
||||
@@ -0,0 +1,54 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class ReaderProcessPaymentIntentParams(RequestOptions):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
payment_intent: str
|
||||
"""
|
||||
The ID of the PaymentIntent to process on the reader.
|
||||
"""
|
||||
process_config: NotRequired[
|
||||
"ReaderProcessPaymentIntentParamsProcessConfig"
|
||||
]
|
||||
"""
|
||||
Configuration overrides for this transaction, such as tipping and customer cancellation settings.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderProcessPaymentIntentParamsProcessConfig(TypedDict):
|
||||
allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]]
|
||||
"""
|
||||
This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
|
||||
"""
|
||||
enable_customer_cancellation: NotRequired[bool]
|
||||
"""
|
||||
Enables cancel button on transaction screens.
|
||||
"""
|
||||
return_url: NotRequired[str]
|
||||
"""
|
||||
The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
"""
|
||||
skip_tipping: NotRequired[bool]
|
||||
"""
|
||||
Override showing a tipping selection screen on this transaction.
|
||||
"""
|
||||
tipping: NotRequired[
|
||||
"ReaderProcessPaymentIntentParamsProcessConfigTipping"
|
||||
]
|
||||
"""
|
||||
Tipping configuration for this transaction.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderProcessPaymentIntentParamsProcessConfigTipping(TypedDict):
|
||||
amount_eligible: NotRequired[int]
|
||||
"""
|
||||
Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
|
||||
"""
|
||||
@@ -0,0 +1,31 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class ReaderProcessSetupIntentParams(RequestOptions):
|
||||
allow_redisplay: Literal["always", "limited", "unspecified"]
|
||||
"""
|
||||
This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
process_config: NotRequired["ReaderProcessSetupIntentParamsProcessConfig"]
|
||||
"""
|
||||
Configuration overrides for this setup, such as MOTO and customer cancellation settings.
|
||||
"""
|
||||
setup_intent: str
|
||||
"""
|
||||
The ID of the SetupIntent to process on the reader.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderProcessSetupIntentParamsProcessConfig(TypedDict):
|
||||
enable_customer_cancellation: NotRequired[bool]
|
||||
"""
|
||||
Enables cancel button on transaction screens.
|
||||
"""
|
||||
@@ -0,0 +1,49 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import Dict, List
|
||||
from typing_extensions import NotRequired, TypedDict
|
||||
|
||||
|
||||
class ReaderRefundPaymentParams(RequestOptions):
|
||||
amount: NotRequired[int]
|
||||
"""
|
||||
A positive integer in __cents__ representing how much of this charge to refund.
|
||||
"""
|
||||
charge: NotRequired[str]
|
||||
"""
|
||||
ID of the Charge to refund.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
metadata: NotRequired[Dict[str, str]]
|
||||
"""
|
||||
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
||||
"""
|
||||
payment_intent: NotRequired[str]
|
||||
"""
|
||||
ID of the PaymentIntent to refund.
|
||||
"""
|
||||
refund_application_fee: NotRequired[bool]
|
||||
"""
|
||||
Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.
|
||||
"""
|
||||
refund_payment_config: NotRequired[
|
||||
"ReaderRefundPaymentParamsRefundPaymentConfig"
|
||||
]
|
||||
"""
|
||||
Configuration overrides for this refund, such as customer cancellation settings.
|
||||
"""
|
||||
reverse_transfer: NotRequired[bool]
|
||||
"""
|
||||
Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderRefundPaymentParamsRefundPaymentConfig(TypedDict):
|
||||
enable_customer_cancellation: NotRequired[bool]
|
||||
"""
|
||||
Enables cancel button on transaction screens.
|
||||
"""
|
||||
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import NotRequired
|
||||
|
||||
|
||||
class ReaderRetrieveParams(RequestOptions):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
@@ -0,0 +1,54 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class ReaderSetReaderDisplayParams(RequestOptions):
|
||||
cart: NotRequired["ReaderSetReaderDisplayParamsCart"]
|
||||
"""
|
||||
Cart details to display on the reader screen, including line items, amounts, and currency.
|
||||
"""
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
type: Literal["cart"]
|
||||
"""
|
||||
Type of information to display. Only `cart` is currently supported.
|
||||
"""
|
||||
|
||||
|
||||
class ReaderSetReaderDisplayParamsCart(TypedDict):
|
||||
currency: str
|
||||
"""
|
||||
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
||||
"""
|
||||
line_items: List["ReaderSetReaderDisplayParamsCartLineItem"]
|
||||
"""
|
||||
Array of line items to display.
|
||||
"""
|
||||
tax: NotRequired[int]
|
||||
"""
|
||||
The amount of tax in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
||||
"""
|
||||
total: int
|
||||
"""
|
||||
Total balance of cart due in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
||||
"""
|
||||
|
||||
|
||||
class ReaderSetReaderDisplayParamsCartLineItem(TypedDict):
|
||||
amount: int
|
||||
"""
|
||||
The price of the item in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
||||
"""
|
||||
description: str
|
||||
"""
|
||||
The description or name of the item.
|
||||
"""
|
||||
quantity: int
|
||||
"""
|
||||
The quantity of the line item being purchased.
|
||||
"""
|
||||
@@ -0,0 +1,16 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import Literal, NotRequired
|
||||
|
||||
|
||||
class ReaderSucceedInputCollectionParams(RequestOptions):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
skip_non_required_inputs: NotRequired[Literal["all", "none"]]
|
||||
"""
|
||||
This parameter defines the skip behavior for input collection.
|
||||
"""
|
||||
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from stripe._request_options import RequestOptions
|
||||
from typing import List
|
||||
from typing_extensions import NotRequired
|
||||
|
||||
|
||||
class ReaderTimeoutInputCollectionParams(RequestOptions):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# File generated from our OpenAPI spec
|
||||
from typing import Dict, List
|
||||
from typing_extensions import Literal, NotRequired, TypedDict
|
||||
|
||||
|
||||
class ReaderUpdateParams(TypedDict):
|
||||
expand: NotRequired[List[str]]
|
||||
"""
|
||||
Specifies which fields in the response should be expanded.
|
||||
"""
|
||||
label: NotRequired["Literal['']|str"]
|
||||
"""
|
||||
The new label of the reader.
|
||||
"""
|
||||
metadata: NotRequired["Literal['']|Dict[str, str]"]
|
||||
"""
|
||||
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
||||
"""
|
||||
Reference in New Issue
Block a user