Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.
Lecture à partir d’entités Stripe
Conditions préalables
-
Un objet Stripe à partir duquel vous souhaitez lire.
Entités prises en charge
| Entité | Peut être filtré | Limit prise en charge | Order by prise en charge | Select prise en charge* | Partitionnement pris en charge |
|---|---|---|---|---|---|
| Balance | Non | Non | Non | Oui | Non |
| Balance Transactions | Oui | Oui | Non | Oui | Oui |
| Frais | Oui | Oui | Non | Oui | Oui |
| Disputes | Oui | Oui | Non | Oui | Oui |
| File Links | Oui | Oui | Non | Oui | Oui |
| PaymentIntents | Oui | Oui | Non | Oui | Oui |
| SetupIntents | Oui | Oui | Non | Oui | Oui |
| Payouts | Oui | Oui | Non | Oui | Oui |
| Remboursements | Oui | Oui | Non | Oui | Oui |
| Produits | Oui | Oui | Non | Oui | Oui |
| Prices | Oui | Oui | Non | Oui | Oui |
| Coupons | Oui | Oui | Non | Oui | Oui |
| Promotion Codes | Oui | Oui | Non | Oui | Oui |
| Tax Codes | Non | Oui | Non | Oui | Non |
| Tax Rates | Oui | Oui | Non | Oui | Oui |
| Shipping Rates | Oui | Oui | Non | Oui | Oui |
| Séances | Oui | Oui | Non | Oui | Oui |
| Credit Notes | Oui | Oui | Non | Oui | Oui |
| Client | Oui | Oui | Non | Oui | Oui |
| Factures | Oui | Oui | Non | Oui | Oui |
| Invoice Items | Oui | Oui | Non | Oui | Non |
| Plans | Oui | Oui | Non | Oui | Oui |
| Quotes | Oui | Oui | Non | Oui | Non |
| Abonnements | Oui | Oui | Non | Oui | |
| Subscription Items | Non | Oui | Non | Oui | Non |
| Subscription Schedules | Oui | Oui | Non | Oui | Oui |
| Comptes | Non | Oui | Non | Oui | Oui |
| Application Fees | Oui | Oui | Non | Oui | Oui |
| Country Specs | Non | Oui | Non | Oui | Non |
| Transferts | Oui | Oui | Non | Oui | Oui |
| Early Fraud Warnings | Oui | Oui | Non | Oui | Oui |
| Types de rapport | Non | Non | Non | Oui | Non |
Exemple
stripe_read = glueContext.create_dynamic_frame.from_options( connection_type="stripe", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "coupons", "API_VERSION": "v1" } )
Détails des entités et des champs Stripe
| Entité | Champ | Type de données | Opérateurs pris en charge |
|---|---|---|---|
| Balance | |||
| available | List | ||
| connect_reserved | List | ||
| en suspens | List | ||
| livemode | Booléen | ||
| objet | String | ||
| instant_available | List | ||
| issuing | Struct | ||
| Balance Transactions | |||
| id | String | ||
| objet | String | ||
| montant | Entier | ||
| available_on | DateTime | =, >=, <=,<,> | |
| créé | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| description | String | ||
| exchange_rate | BigDecimal | ||
| fee | Entier | ||
| fee_details | List | ||
| net | Entier | ||
| reporting_category | String | ||
| source | String | = | |
| status | String | ||
| type | String | = | |
| cross_border_classification | String | ||
| Frais | |||
| id | String | ||
| objet | String | ||
| montant | Entier | =, <, > | |
| amount_captured | Entier | ||
| amount_refunded | Entier | ||
| vigie | String | ||
| application_fee | String | ||
| application_fee_amount | Entier | ||
| balance_transaction | String | ||
| billing_details | Struct | ||
| calculated_statement_descriptor | String | ||
| captured | Booléen | ||
| créé | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| customer | String | = | |
| description | String | ||
| destination | String | ||
| dispute | String | ||
| disputed | Booléen | = | |
| failure_balance_transaction | String | ||
| failure_code | String | ||
| failure_message | String | ||
| fraud_details | Struct | ||
| facture | String | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| on_behalf_of | String | ||
| order | String | ||
| outcome | Struct | ||
| paid | Booléen | ||
| payment_intent | String | = | |
| payment_method | String | ||
| payment_method_details | Struct | ||
| receipt_email | String | ||
| receipt_number | String | ||
| receipt_url | String | ||
| refunded | Booléen | = | |
| refunds | Struct | ||
| review | String | ||
| shipping | Struct | ||
| source | Struct | ||
| source_transfer | String | ||
| statement_descriptor | String | ||
| statement_descriptor_suffix | String | ||
| status | String | ||
| transfert | String | ||
| transfer_data | Struct | ||
| transfer_group | String | = | |
| Disputes | |||
| id | String | ||
| objet | String | ||
| montant | Entier | =, <, > | |
| balance_transaction | String | ||
| balance_transactions | List | ||
| charge | String | = | |
| créé | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| evidence | Struct | ||
| evidence_details | Struct | ||
| is_charge_refundable | Booléen | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| payment_intent | String | = | |
| raison | String | = | |
| status | String | ||
| payment_method_details | Struct | ||
| File Links | |||
| id | String | ||
| objet | String | ||
| créé | DateTime | =, >=, <=,<,> | |
| expired | Booléen | = | |
| expires_at | DateTime | ||
| dans le fichier | String | = | |
| livemode | Booléen | ||
| metadata | Struct | ||
| url | String | ||
| PaymentIntents | |||
| id | String | ||
| objet | String | ||
| montant | Entier | ||
| amount_capturable | Entier | ||
| amount_details | Struct | ||
| amount_received | Entier | ||
| vigie | String | ||
| application_fee_amount | Entier | ||
| automatic_payment_methods | Struct | ||
| canceled_at | DateTime | ||
| cancellation_reason | String | ||
| capture_method | String | ||
| client_secret | String | ||
| confirmation_method | String | ||
| créé | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| customer | String | = | |
| description | String | ||
| facture | String | ||
| last_payment_error | Struct | ||
| latest_charge | String | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| next_action | Struct | ||
| on_behalf_of | String | ||
| payment_method | String | ||
| payment_method_options | Struct | ||
| payment_method_types | List | ||
| payment_method_configuration_details | Struct | ||
| traitement | Struct | ||
| receipt_email | String | ||
| review | String | ||
| setup_future_usage | String | ||
| shipping | Struct | ||
| source | String | ||
| statement_descriptor | String | ||
| statement_descriptor_suffix | String | ||
| status | String | ||
| transfer_data | Struct | ||
| transfer_group | String | ||
| SetupIntents | |||
| id | String | ||
| objet | String | ||
| vigie | String | ||
| cancellation_reason | String | ||
| client_secret | String | ||
| créé | DateTime | =, >=, <=,<,> | |
| customer | String | = | |
| description | String | ||
| flow_directions | List | ||
| last_setup_error | Struct | ||
| latest_attempt | String | ||
| livemode | Booléen | ||
| mandate | String | ||
| metadata | Struct | ||
| next_action | Struct | ||
| on_behalf_of | String | ||
| payment_method | String | ||
| payment_method_options | Struct | ||
| payment_method_types | List | ||
| single_use_mandate | String | ||
| status | String | ||
| utilisation | String | ||
| automatic_payment_methods | Struct | ||
| Payouts | |||
| id | String | ||
| objet | String | ||
| montant | Entier | =, <, > | |
| arrival_date | DateTime | =, >=, <=,<,> | |
| automatic | Booléen | ||
| balance_transaction | String | ||
| créé | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| description | String | = | |
| destination | String | ||
| failure_balance_transaction | String | ||
| failure_code | String | ||
| failure_message | String | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| méthode | String | ||
| original_payout | String | ||
| reversed_by | String | ||
| reconciliation_status | String | ||
| source_type | String | ||
| statement_descriptor | String | ||
| status | String | ||
| type | String | ||
| application_fee | String | ||
| application_fee_amount | Entier | ||
| Remboursements | |||
| id | String | ||
| objet | String | ||
| montant | Entier | ||
| balance_transaction | String | ||
| charge | String | = | |
| créé | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| metadata | Struct | ||
| destination_details | Struct | ||
| payment_intent | String | = | |
| raison | String | ||
| receipt_number | String | ||
| source_transfer_reversal | String | ||
| status | String | ||
| transfer_reversal | String | ||
| Produits | |||
| id | String | ||
| objet | String | ||
| actif | Booléen | = | |
| attributs | List | ||
| créé | DateTime | =, >=, <=,<,> | |
| default_price | String | ||
| description | String | ||
| images | List | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| name | String | ||
| package_dimensions | Struct | ||
| shippable | Booléen | ||
| statement_descriptor | String | ||
| tax_code | String | ||
| type | String | = | |
| unit_label | String | ||
| updated | DateTime | ||
| url | String | ||
| fonctionnalités | List | ||
| Prices | |||
| id | String | ||
| objet | String | ||
| actif | Booléen | = | |
| billing_scheme | String | ||
| créé | DateTime | =, >=, <=,<,> | |
| currency | String | = | |
| custom_unit_amount | Struct | ||
| livemode | Booléen | ||
| lookup_key | String | ||
| metadata | Struct | ||
| nickname | String | ||
| product | String | = | |
| recurring | Struct | ||
| tax_behavior | String | ||
| tiers_mode | String | ||
| transform_quantity | Struct | ||
| type | String | = | |
| unit_amount | Entier | ||
| unit_montant_decimal | String | ||
| Coupons | |||
| Id | String | ||
| objet | String | ||
| amount_off | Entier | ||
| créé | DateTime | =, >=, <=,<,> | |
| currency | String | = | |
| duration | String | = | |
| duration_in_months | Entier | =,<,> | |
| livemode | Booléen | ||
| max_redemptions | Entier | =, <, > | |
| metadata | Struct | ||
| name | String | ||
| percent_off | Double | = | |
| redeem_by | DateTime | =, >=, <=, <, > | |
| times_redeemed | Entier | ||
| valid | Booléen | ||
| Promotion Codes | |||
| Id | String | ||
| objet | String | ||
| actif | Booléen | = | |
| code | String | = | |
| coupon | Struct | ||
| créé | DateTime | =,>=,<=,<,> | |
| customer | String | ||
| expires_at | DateTime | ||
| livemode | Booléen | ||
| max_redemptions | Entier | ||
| metadata | Struct | ||
| restrictions | Struct | ||
| times_redeemed | Entier | ||
| Tax Codes | |||
| Id | String | ||
| objet | String | ||
| description | String | ||
| name | String | ||
| Tax Rates | |||
| Id | String | ||
| objet | String | ||
| actif | Booléen | = | |
| country | String | ||
| créé | DateTime | =, >=, <=, <, > | |
| description | String | ||
| display_name | String | ||
| inclusive | Booléen | = | |
| jurisdiction | String | ||
| jurisdiction_level | String | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| percentage | Double | ||
| effective_percentage | Double | ||
| state | String | ||
| tax_type | String | ||
| Shipping Rates | |||
| Id | String | ||
| objet | String | ||
| actif | Booléen | = | |
| créé | DateTime | =, >=, <=, <, > | |
| delivery_estimate | Struct | ||
| display_name | String | ||
| fixed_amount | Struct | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| tax_behavior | String | ||
| tax_code | String | ||
| type | String | ||
| Séances | |||
| id | String | ||
| objet | String | ||
| after_expiration | Struct | ||
| allow_promotion_codes | Booléen | ||
| amount_subtotal | Entier | ||
| amount_total | Entier | ||
| automatic_tax | Struct | ||
| billing_address_collection | String | ||
| cancel_url | String | ||
| client_reference_id | String | ||
| consent | Struct | ||
| consent_collection | Struct | ||
| créé | DateTime | =, >=, <=, <, > | |
| currency | String | ||
| custom_text | Struct | ||
| customer | String | ||
| customer_creation | String | ||
| customer_details | Struct | ||
| customer_email | String | ||
| expires_at | DateTime | ||
| facture | String | ||
| invoice_creation | Struct | ||
| livemode | Booléen | ||
| locale | String | ||
| metadata | Struct | ||
| mode | String | ||
| payment_intent | String | = | |
| payment_link | String | ||
| payment_method_collection | String | ||
| payment_method_options | Struct | ||
| payment_method_types | List | ||
| payment_status | String | ||
| phone_number_collection | Struct | ||
| recovered_from | String | ||
| setup_intent | String | ||
| shipping_address_collection | Struct | ||
| shipping_cost | Struct | ||
| shipping_details | Struct | ||
| shipping_options | List | ||
| status | String | ||
| submit_type | String | ||
| abonnement | String | ||
| success_url | String | ||
| tax_id_collection | Struct | ||
| total_details | Struct | ||
| url | String | ||
| ui_mode | String | ||
| Credit Notes | |||
| id | String | ||
| objet | String | ||
| montant | Entier | ||
| créé | DateTime | =, >=, <=, <, > | |
| currency | String | ||
| customer | String | = | |
| customer_balance_transaction | String | ||
| discount_amount | Entier | ||
| discount_amounts | List | ||
| facture | String | = | |
| lines | Struct | ||
| livemode | Booléen | ||
| memo | String | ||
| metadata | Struct | ||
| number | String | ||
| out_of_band_amount | Entier | ||
| String | |||
| raison | String | ||
| refund | String | ||
| status | String | ||
| subtotal | Entier | ||
| subtotal_excluding_tax | Entier | ||
| tax_amounts | List | ||
| total | Entier | ||
| total_excluding_tax | Entier | ||
| type | String | ||
| voided_at | DateTime | ||
| amount_shipping | Entier | ||
| effective_at | DateTime | ||
| shipping_cost | Struct | ||
| Client | |||
| id | String | ||
| objet | String | ||
| adresse | Struct | ||
| balance | Entier | ||
| créé | DateTime | ||
| currency | String | =, >=, <=, <, > | |
| default_source | String | ||
| delinquent | Booléen | = | |
| description | String | ||
| discount | Struct | ||
| String | = | ||
| invoice_prefix | String | ||
| invoice_settings | Struct | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| name | String | ||
| next_invoice_sequence | Entier | ||
| phone | String | ||
| preferred_locales | List | ||
| shipping | Struct | ||
| tax_exempt | String | ||
| test_clock | String | ||
| Factures | |||
| id | String | ||
| objet | String | ||
| account_country | String | ||
| account_name | String | ||
| account_tax_ids | List | ||
| amount_due | Entier | ||
| amount_paid | Entier | ||
| amount_remaining | Entier | ||
| vigie | String | ||
| application_fee_amount | Entier | ||
| attempt_count | Entier | ||
| attempted | Booléen | = | |
| auto_advance | Booléen | = | |
| automatic_tax | Struct | ||
| billing_reason | String | ||
| charge | String | ||
| collection_method | String | = | |
| créé | DateTime | =, >=, <=, <, > | |
| currency | String | ||
| custom_fields | List | ||
| customer | String | = | |
| customer_address | Struct | ||
| customer_email | String | ||
| customer_name | String | ||
| customer_phone | String | ||
| customer_shipping | Struct | ||
| customer_tax_exempt | String | ||
| customer_tax_ids | List | ||
| default_payment_method | String | ||
| default_source | String | ||
| default_tax_rates | List | ||
| description | String | ||
| discount | Struct | ||
| discounts | List | ||
| due_date | DateTime | =, >=, <=, <, > | |
| ending_balance | Entier | ||
| footer | String | ||
| from_invoice | Struct | ||
| hosted_invoice_url | String | ||
| invoice_pdf | String | ||
| last_finalization_error | Struct | ||
| latest_revision | String | ||
| lines | Struct | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| next_payment_attempt | DateTime | ||
| number | String | ||
| on_behalf_of | String | ||
| paid | Booléen | = | |
| paid_out_of_band | Booléen | ||
| payment_intent | String | ||
| payment_settings | Struct | ||
| period_end | DateTime | =, >=, <=, <, > | |
| period_start | DateTime | =, >=, <=, <, > | |
| post_payment_credit_notes_amount | Entier | ||
| pre_payment_credit_notes_amount | Entier | ||
| quote | String | ||
| receipt_number | String | ||
| rendering | Struct | ||
| rendering_options | Struct | ||
| starting_balance | Entier | ||
| statement_descriptor | String | ||
| status | String | = | |
| status_transitions | Struct | ||
| abonnement | String | ||
| subscription_details | Struct | ||
| subtotal | Entier | =, <, > | |
| subtotal_excluding_tax | Entier | ||
| tax | Entier | ||
| test_clock | String | ||
| total | Entier | =, <, > | |
| total_discount_amounts | List | ||
| total_excluding_tax | Entier | ||
| total_tax_amounts | List | ||
| transfer_data | Struct | ||
| webhooks_delivered_at | DateTime | ||
| automatically_finalizes_at | DateTime | ||
| effective_at | DateTime | ||
| émetteur | Struct | ||
| Invoice Items | |||
| id | String | ||
| objet | String | ||
| montant | Entier | =, <, > | |
| currency | String | ||
| customer | String | = | |
| date | DateTime | ||
| description | String | ||
| discountable | Booléen | ||
| discounts | List | ||
| facture | String | = | |
| livemode | Booléen | ||
| metadata | Struct | ||
| point | Struct | ||
| plan | Struct | ||
| prix | Struct | ||
| proration | Booléen | = | |
| quantity | Entier | ||
| abonnement | String | ||
| subscription_item | String | ||
| tax_rates | List | ||
| test_clock | String | ||
| unit_amount | Entier | ||
| unit_montant_decimal | String | ||
| Plans | |||
| id | String | ||
| objet | String | ||
| actif | Booléen | = | |
| aggregate_usage | String | ||
| montant | Entier | ||
| amount_decimal | String | ||
| billing_scheme | String | ||
| créé | DateTime | =, >=, <=, <, > | |
| currency | String | = | |
| interval | String | = | |
| interval_count | Entier | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| nickname | String | ||
| product | String | = | |
| tiers_mode | String | ||
| transform_usage | Struct | ||
| trial_period_days | Entier | =, <, > | |
| usage_type | String | ||
| meter | String | ||
| Quotes | |||
| id | String | ||
| objet | String | ||
| amount_subtotal | Entier | ||
| amount_total | Entier | ||
| vigie | String | ||
| application_fee_amount | Entier | ||
| application_fee_percent | Double | ||
| automatic_tax | Struct | ||
| collection_method | String | ||
| computed | Struct | ||
| créé | DateTime | ||
| currency | String | ||
| customer | String | = | |
| default_tax_rates | List | ||
| description | String | ||
| discounts | List | ||
| expires_at | DateTime | ||
| footer | String | ||
| from_quote | Struct | ||
| header | String | ||
| facture | String | ||
| invoice_settings | Struct | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| number | String | ||
| on_behalf_of | String | ||
| status | String | = | |
| status_transitions | Struct | ||
| abonnement | String | ||
| subscription_data | Struct | ||
| subscription_schedule | String | ||
| test_clock | String | ||
| total_details | Struct | ||
| transfer_data | Struct | ||
| Abonnements | |||
| id | String | ||
| objet | String | ||
| vigie | String | ||
| application_fee_percent | Double | ||
| automatic_tax | Struct | ||
| billing_cycle_anchor | DateTime | ||
| billing_thresholds | Struct | ||
| cancel_at | DateTime | ||
| cancel_at_period_end | Booléen | ||
| canceled_at | DateTime | ||
| collection_method | String | = | |
| créé | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| current_period_end | DateTime | =, >=, <= | |
| current_period_start | DateTime | =, >=, <= | |
| customer | String | = | |
| days_until_due | Entier | ||
| default_payment_method | String | ||
| default_source | String | ||
| default_tax_rates | List | ||
| description | String | ||
| discount | Struct | ||
| ended_at | DateTime | ||
| items | Struct | ||
| latest_invoice | String | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| next_pending_invoice_item_invoice | DateTime | ||
| pause_collection | Struct | ||
| payment_settings | Struct | ||
| pending_invoice_item_interval | Struct | ||
| pending_setup_intent | String | ||
| pending_update | Struct | ||
| plan | Struct | ||
| quantity | Entier | ||
| schedule | String | ||
| start_date | DateTime | ||
| status | String | = | |
| test_clock | String | ||
| transfer_data | Struct | ||
| trial_end | DateTime | ||
| trial_start | DateTime | ||
| Subscription Items | |||
| Id | String | ||
| objet | String | ||
| billing_thresholds | Struct | ||
| créé | DateTime | =, >=, <=, <, > | |
| metadata | Struct | ||
| plan | Struct | ||
| prix | Struct | ||
| abonnement | String | ||
| tax_rates | List | ||
| discounts | List | ||
| Subscription Schedules | |||
| objet | String | ||
| vigie | String | ||
| canceled_at | DateTime | ||
| completed_at | DateTime | ||
| créé | DateTime | ||
| current_phase | Struct | ||
| customer | String | = | |
| default_settings | Struct | ||
| end_behavior | String | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| phases | List | ||
| released_at | DateTime | ||
| released_subscription | String | ||
| renewal_interval | String | ||
| status | String | ||
| abonnement | String | ||
| test_clock | String | ||
| Comptes | |||
| details_submitted | Booléen | ||
| tos_acceptance | Struct | ||
| type | String | ||
| metadata | Struct | ||
| id | String | ||
| objet | String | ||
| default_currency | String | ||
| caractéristiques | Struct | ||
| charges_enabled | Booléen | ||
| paramètres | Struct | ||
| requirements | Struct | ||
| payouts_enabled | Booléen | ||
| future_requirements | Struct | ||
| external_accounts | Struct | ||
| contrôleur | Struct | ||
| country | String | ||
| String | |||
| créé | DateTime | =, >=, <=, <, > | |
| business_profile | Struct | ||
| business_type | String | ||
| company | Struct | ||
| Application Fees | |||
| id | String | ||
| objet | String | ||
| compte | String | ||
| montant | Entier | =, <, > | |
| amount_refunded | Entier | =, <, > | |
| vigie | String | ||
| balance_transaction | String | ||
| charge | String | = | |
| créé | DateTime | ||
| currency | String | ||
| livemode | Booléen | ||
| originating_transaction | String | ||
| refunded | Booléen | = | |
| refunds | Struct | ||
| fee_source | Struct | ||
| Country Specs | |||
| id | String | ||
| objet | String | ||
| default_currency | String | ||
| supported_bank_account_currencies | Struct | ||
| supported_payment_currencies | List | ||
| supported_payment_methods | List | ||
| supported_transfer_countries | List | ||
| verification_fields | Struct | ||
| Transferts | |||
| id | String | ||
| objet | String | ||
| montant | Entier | =, <, > | |
| amount_reversed | Entier | ||
| balance_transaction | String | ||
| créé | DateTime | =, >=, <=, <, > | |
| currency | String | = | |
| description | String | ||
| destination | String | = | |
| destination_payment | String | ||
| livemode | Booléen | ||
| metadata | Struct | ||
| reversals | Struct | ||
| reversed | Booléen | ||
| source_transaction | String | ||
| source_type | String | ||
| transfer_group | String | = | |
| Early Fraud Warnings | |||
| id | String | ||
| objet | String | ||
| actionable | Booléen | ||
| charge | String | = | |
| créé | DateTime | =, >=, <=, <, > | |
| fraud_type | String | ||
| livemode | Booléen | ||
| payment_intent | String | = | |
| Types de rapport | |||
| id | String | ||
| objet | String | ||
| data_available_end | DateTime | ||
| data_available_start | DateTime | ||
| default_columns | List | ||
| livemode | Booléen | ||
| name | String | ||
| updated | DateTime | ||
| version | Entier |
Requêtes de partitionnement
Les options Spark supplémentaires PARTITION_FIELD, LOWER_BOUND, UPPER_BOUND et NUM_PARTITIONS peuvent être indiquées si vous souhaitez utiliser la simultanéité dans Spark. Avec ces paramètres, la requête d’origine serait divisée en NUM_PARTITIONS nombres de sous-requêtes pouvant être exécutées simultanément par les tâches Spark.
-
PARTITION_FIELD: le nom du champ à utiliser pour partitionner la requête. -
LOWER_BOUND: une valeur limite inférieure inclusive du champ de partition choisi.Pour le champ Date, nous acceptons le format de date Spark utilisé dans les requêtes SQL Spark. Exemple de valeur valide :
"2024-07-01T00:00:00.000Z". -
UPPER_BOUND: une valeur limite supérieure exclusive du champ de partition choisi. -
NUM_PARTITIONS: nombre de partitions.
Les détails relatifs à la prise en charge des champs de partitionnement par entité sont présentés dans le tableau ci-dessous.
| Nom de l'entité | Champ de partitionnement | Type de données |
|---|---|---|
| Balance Transactions | créé | DateTime |
| Frais | créé | DateTime |
| Disputes | créé | DateTime |
| File Links | créé | DateTime |
| PaymentIntents | créé | DateTime |
| SetupIntents | créé | DateTime |
| Payouts | créé | DateTime |
| Remboursements | créé | DateTime |
| Produits | créé | DateTime |
| Prices | créé | DateTime |
| Coupons | créé | DateTime |
| Promotion Codes | créé | DateTime |
| Tax Rates | créé | DateTime |
| Shipping Rates | créé | DateTime |
| Séances | créé | DateTime |
| Credit Notes | créé | DateTime |
| Client | créé | DateTime |
| Factures | créé | DateTime |
| Plans | créé | DateTime |
| Abonnements | créé | DateTime |
| Subscription Schedules | créé | DateTime |
| Comptes | créé | DateTime |
| Application Fees | créé | DateTime |
| Transferts | créé | DateTime |
| Early Fraud Warnings | créé | DateTime |
Exemple
stripe_read = glueContext.create_dynamic_frame.from_options( connection_type="stripe", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "coupons", "API_VERSION": "v1", "PARTITION_FIELD": "created" "LOWER_BOUND": "2024-05-01T20:55:02.000Z" "UPPER_BOUND": "2024-07-11T20:55:02.000Z" "NUM_PARTITIONS": "10" } )