从 Stripe 实体中读取
先决条件
-
您要从中读取内容的 Stripe 对象。
支持的实体
| 实体 | 可以筛选 | 支持限制 | 支持排序依据 | 支持 Select * | 支持分区 |
|---|---|---|---|---|---|
| 余额 | 否 | 否 | 否 | 是 | 否 |
| 余额交易 | 支持 | 是 | 否 | 是 | 是 |
| 收费 | 支持 | 是 | 否 | 是 | 是 |
| 争议 | 支持 | 是 | 否 | 是 | 是 |
| 文件链接 | 支持 | 是 | 否 | 是 | 是 |
| 付款意图 | 支持 | 是 | 否 | 是 | 是 |
| 设置意图 | 支持 | 是 | 否 | 是 | 是 |
| 支出 | 支持 | 是 | 否 | 是 | 是 |
| 退款 | 支持 | 是 | 否 | 是 | 是 |
| 产品 | 支持 | 是 | 否 | 是 | 是 |
| 价格 | 支持 | 是 | 否 | 是 | 是 |
| 优惠券 | 支持 | 是 | 否 | 是 | 是 |
| 促销代码 | 支持 | 是 | 否 | 是 | 是 |
| 税码 | 否 | 是 | 否 | 是 | 否 |
| 税率 | 支持 | 是 | 否 | 是 | 是 |
| 运费 | 支持 | 是 | 否 | 是 | 是 |
| 会话 | 支持 | 是 | 否 | 是 | 是 |
| 信用票据 | 支持 | 是 | 否 | 是 | 是 |
| Customer | 支持 | 是 | 否 | 是 | 是 |
| 账单 | 支持 | 是 | 否 | 是 | 是 |
| 发票项目 | 支持 | 是 | 否 | 是 | 否 |
| 计划 | 支持 | 是 | 否 | 是 | 是 |
| 报价 | 支持 | 是 | 否 | 是 | 否 |
| 订阅 | 支持 | 是 | 否 | 是 | |
| 订阅项目 | 否 | 是 | 否 | 是 | 否 |
| 订阅计划 | 支持 | 是 | 否 | 是 | 是 |
| 账户 | 否 | 是 | 否 | 是 | 是 |
| 申请费 | 支持 | 是 | 否 | 是 | 是 |
| 国家/地区具体要求 | 否 | 是 | 否 | 是 | 否 |
| 转接 | 支持 | 是 | 否 | 是 | 是 |
| 欺诈预警 | 支持 | 是 | 否 | 是 | 是 |
| 报告类型 | 否 | 否 | 否 | 是 | 否 |
示例
stripe_read = glueContext.create_dynamic_frame.from_options( connection_type="stripe", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "coupons", "API_VERSION": "v1" } )
Stripe 实体和字段详细信息
| 实体 | 字段 | 数据类型 | 支持的运算符 |
|---|---|---|---|
| 余额 | |||
| available | 列表 | ||
| connect_reserved | 列表 | ||
| 待处理 | 列表 | ||
| livemode | 布尔值 | ||
| object | 字符串 | ||
| instant_available | 列表 | ||
| issuing | 结构体 | ||
| 余额交易 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 量 | 整数 | ||
| available_on | 日期时间 | =, >=, <=,<,> | |
| created | 日期时间 | =, >=, <=,<,> | |
| currency | 字符串 | ||
| description | 字符串 | ||
| exchange_rate | BigDecimal | ||
| fee | 整数 | ||
| fee_details | 列表 | ||
| net | 整数 | ||
| reporting_category | 字符串 | ||
| 源 | 字符串 | = | |
| 状态 | 字符串 | ||
| type | 字符串 | = | |
| cross_border_classification | 字符串 | ||
| 收费 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 量 | 整数 | =, <, > | |
| amount_captured | 整数 | ||
| amount_refunded | 整数 | ||
| 应用程序 | 字符串 | ||
| application_fee | 字符串 | ||
| application_fee_amount | 整数 | ||
| balance_transaction | 字符串 | ||
| billing_details | 结构体 | ||
| calculated_statement_descriptor | 字符串 | ||
| captured | 布尔值 | ||
| created | 日期时间 | =, >=, <=,<,> | |
| currency | 字符串 | ||
| customer | 字符串 | = | |
| description | 字符串 | ||
| destination | 字符串 | ||
| dispute | 字符串 | ||
| disputed | 布尔值 | = | |
| failure_balance_transaction | 字符串 | ||
| failure_code | 字符串 | ||
| failure_message | 字符串 | ||
| fraud_details | 结构体 | ||
| 发票 | 字符串 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| on_behalf_of | 字符串 | ||
| 顺序 | 字符串 | ||
| outcome | 结构体 | ||
| paid | 布尔值 | ||
| payment_intent | 字符串 | = | |
| payment_method | 字符串 | ||
| payment_method_details | 结构体 | ||
| receipt_email | 字符串 | ||
| receipt_number | 字符串 | ||
| receipt_url | 字符串 | ||
| refunded | 布尔值 | = | |
| 退款 | 结构体 | ||
| 审核 | 字符串 | ||
| shipping | 结构体 | ||
| 源 | 结构体 | ||
| source_transfer | 字符串 | ||
| statement_descriptor | 字符串 | ||
| statement_descriptor_suffix | 字符串 | ||
| 状态 | 字符串 | ||
| 转移 | 字符串 | ||
| transfer_data | 结构体 | ||
| transfer_group | 字符串 | = | |
| 争议 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 量 | 整数 | =, <, > | |
| balance_transaction | 字符串 | ||
| balance_transactions | 列表 | ||
| 费用 | 字符串 | = | |
| created | 日期时间 | =, >=, <=,<,> | |
| currency | 字符串 | ||
| evidence | 结构体 | ||
| evidence_details | 结构体 | ||
| is_charge_refundable | 布尔值 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| payment_intent | 字符串 | = | |
| reason | 字符串 | = | |
| 状态 | 字符串 | ||
| payment_method_details | 结构体 | ||
| 文件链接 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| created | 日期时间 | =, >=, <=,<,> | |
| expired | 布尔值 | = | |
| expires_at | 日期时间 | ||
| 文件 | 字符串 | = | |
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| url | 字符串 | ||
| 付款意图 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 量 | 整数 | ||
| amount_capturable | 整数 | ||
| amount_details | 结构体 | ||
| amount_received | 整数 | ||
| 应用程序 | 字符串 | ||
| application_fee_amount | 整数 | ||
| automatic_payment_methods | 结构体 | ||
| canceled_at | 日期时间 | ||
| cancellation_reason | 字符串 | ||
| capture_method | 字符串 | ||
| client_secret | 字符串 | ||
| confirmation_method | 字符串 | ||
| created | 日期时间 | =, >=, <=,<,> | |
| currency | 字符串 | ||
| customer | 字符串 | = | |
| description | 字符串 | ||
| 发票 | 字符串 | ||
| last_payment_error | 结构体 | ||
| latest_charge | 字符串 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| next_action | 结构体 | ||
| on_behalf_of | 字符串 | ||
| payment_method | 字符串 | ||
| payment_method_options | 结构体 | ||
| payment_method_types | 列表 | ||
| payment_method_configuration_details | 结构体 | ||
| 处理 | 结构体 | ||
| receipt_email | 字符串 | ||
| 审核 | 字符串 | ||
| setup_future_usage | 字符串 | ||
| shipping | 结构体 | ||
| 源 | 字符串 | ||
| statement_descriptor | 字符串 | ||
| statement_descriptor_suffix | 字符串 | ||
| 状态 | 字符串 | ||
| transfer_data | 结构体 | ||
| transfer_group | 字符串 | ||
| 设置意图 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 应用程序 | 字符串 | ||
| cancellation_reason | 字符串 | ||
| client_secret | 字符串 | ||
| created | 日期时间 | =, >=, <=,<,> | |
| customer | 字符串 | = | |
| description | 字符串 | ||
| flow_directions | 列表 | ||
| last_setup_error | 结构体 | ||
| latest_attempt | 字符串 | ||
| livemode | 布尔值 | ||
| mandate | 字符串 | ||
| metadata | 结构体 | ||
| next_action | 结构体 | ||
| on_behalf_of | 字符串 | ||
| payment_method | 字符串 | ||
| payment_method_options | 结构体 | ||
| payment_method_types | 列表 | ||
| single_use_mandate | 字符串 | ||
| 状态 | 字符串 | ||
| 使用情况 | 字符串 | ||
| automatic_payment_methods | 结构体 | ||
| 支出 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 量 | 整数 | =, <, > | |
| arrival_date | 日期时间 | =, >=, <=,<,> | |
| automatic | 布尔值 | ||
| balance_transaction | 字符串 | ||
| created | 日期时间 | =, >=, <=,<,> | |
| currency | 字符串 | ||
| description | 字符串 | = | |
| destination | 字符串 | ||
| failure_balance_transaction | 字符串 | ||
| failure_code | 字符串 | ||
| failure_message | 字符串 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| method | 字符串 | ||
| original_payout | 字符串 | ||
| reversed_by | 字符串 | ||
| reconciliation_status | 字符串 | ||
| source_type | 字符串 | ||
| statement_descriptor | 字符串 | ||
| 状态 | 字符串 | ||
| type | 字符串 | ||
| application_fee | 字符串 | ||
| application_fee_amount | 整数 | ||
| 退款 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 量 | 整数 | ||
| balance_transaction | 字符串 | ||
| 费用 | 字符串 | = | |
| created | 日期时间 | =, >=, <=,<,> | |
| currency | 字符串 | ||
| metadata | 结构体 | ||
| destination_details | 结构体 | ||
| payment_intent | 字符串 | = | |
| reason | 字符串 | ||
| receipt_number | 字符串 | ||
| source_transfer_reversal | 字符串 | ||
| 状态 | 字符串 | ||
| transfer_reversal | 字符串 | ||
| 产品 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| active | 布尔值 | = | |
| 属性 | 列表 | ||
| created | 日期时间 | =, >=, <=,<,> | |
| default_price | 字符串 | ||
| description | 字符串 | ||
| 映像 | 列表 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| 名称 | 字符串 | ||
| package_dimensions | 结构体 | ||
| shippable | 布尔值 | ||
| statement_descriptor | 字符串 | ||
| tax_code | 字符串 | ||
| type | 字符串 | = | |
| unit_label | 字符串 | ||
| 已更新 | 日期时间 | ||
| url | 字符串 | ||
| 功能 | 列表 | ||
| 价格 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| active | 布尔值 | = | |
| billing_scheme | 字符串 | ||
| created | 日期时间 | =, >=, <=,<,> | |
| currency | 字符串 | = | |
| custom_unit_amount | 结构体 | ||
| livemode | 布尔值 | ||
| lookup_key | 字符串 | ||
| metadata | 结构体 | ||
| nickname | 字符串 | ||
| 产品 | 字符串 | = | |
| recurring | 结构体 | ||
| tax_behavior | 字符串 | ||
| tiers_mode | 字符串 | ||
| transform_quantity | 结构体 | ||
| type | 字符串 | = | |
| unit_amount | 整数 | ||
| unit_amount_decimal | 字符串 | ||
| 优惠券 | |||
| Id | 字符串 | ||
| object | 字符串 | ||
| amount_off | 整数 | ||
| created | 日期时间 | =, >=, <=,<,> | |
| currency | 字符串 | = | |
| duration | 字符串 | = | |
| duration_in_months | 整数 | =,<,> | |
| livemode | 布尔值 | ||
| max_redemptions | 整数 | =, <, > | |
| metadata | 结构体 | ||
| 名称 | 字符串 | ||
| percent_off | 双精度 | = | |
| redeem_by | 日期时间 | =, >=, <=, <, > | |
| times_redeemed | 整数 | ||
| valid | 布尔值 | ||
| 促销代码 | |||
| Id | 字符串 | ||
| object | 字符串 | ||
| active | 布尔值 | = | |
| code | 字符串 | = | |
| coupon | 结构体 | ||
| created | 日期时间 | =,>=,<=,<,> | |
| customer | 字符串 | ||
| expires_at | 日期时间 | ||
| livemode | 布尔值 | ||
| max_redemptions | 整数 | ||
| metadata | 结构体 | ||
| 限额 | 结构体 | ||
| times_redeemed | 整数 | ||
| 税码 | |||
| Id | 字符串 | ||
| object | 字符串 | ||
| description | 字符串 | ||
| 名称 | 字符串 | ||
| 税率 | |||
| Id | 字符串 | ||
| object | 字符串 | ||
| active | 布尔值 | = | |
| country | 字符串 | ||
| created | 日期时间 | =, >=, <=, <, > | |
| description | 字符串 | ||
| display_name | 字符串 | ||
| inclusive | 布尔值 | = | |
| jurisdiction | 字符串 | ||
| jurisdiction_level | 字符串 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| percentage | 双精度 | ||
| effective_percentage | 双精度 | ||
| 状态 | 字符串 | ||
| tax_type | 字符串 | ||
| 运费 | |||
| Id | 字符串 | ||
| object | 字符串 | ||
| active | 布尔值 | = | |
| created | 日期时间 | =, >=, <=, <, > | |
| delivery_estimate | 结构体 | ||
| display_name | 字符串 | ||
| fixed_amount | 结构体 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| tax_behavior | 字符串 | ||
| tax_code | 字符串 | ||
| type | 字符串 | ||
| 会话 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| after_expiration | 结构体 | ||
| allow_promotion_codes | 布尔值 | ||
| amount_subtotal | 整数 | ||
| amount_total | 整数 | ||
| automatic_tax | 结构体 | ||
| billing_address_collection | 字符串 | ||
| cancel_url | 字符串 | ||
| client_reference_id | 字符串 | ||
| consent | 结构体 | ||
| consent_collection | 结构体 | ||
| created | 日期时间 | =, >=, <=, <, > | |
| currency | 字符串 | ||
| custom_text | 结构体 | ||
| customer | 字符串 | ||
| customer_creation | 字符串 | ||
| customer_details | 结构体 | ||
| customer_email | 字符串 | ||
| expires_at | 日期时间 | ||
| 发票 | 字符串 | ||
| invoice_creation | 结构体 | ||
| livemode | 布尔值 | ||
| locale | 字符串 | ||
| metadata | 结构体 | ||
| mode | 字符串 | ||
| payment_intent | 字符串 | = | |
| payment_link | 字符串 | ||
| payment_method_collection | 字符串 | ||
| payment_method_options | 结构体 | ||
| payment_method_types | 列表 | ||
| payment_status | 字符串 | ||
| phone_number_collection | 结构体 | ||
| recovered_from | 字符串 | ||
| setup_intent | 字符串 | ||
| shipping_address_collection | 结构体 | ||
| shipping_cost | 结构体 | ||
| shipping_details | 结构体 | ||
| shipping_options | 列表 | ||
| 状态 | 字符串 | ||
| submit_type | 字符串 | ||
| 订阅 | 字符串 | ||
| success_url | 字符串 | ||
| tax_id_collection | 结构体 | ||
| total_details | 结构体 | ||
| url | 字符串 | ||
| ui_mode | 字符串 | ||
| 信用票据 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 量 | 整数 | ||
| created | 日期时间 | =, >=, <=, <, > | |
| currency | 字符串 | ||
| customer | 字符串 | = | |
| customer_balance_transaction | 字符串 | ||
| discount_amount | 整数 | ||
| discount_amounts | 列表 | ||
| 发票 | 字符串 | = | |
| lines | 结构体 | ||
| livemode | 布尔值 | ||
| memo | 字符串 | ||
| metadata | 结构体 | ||
| 数字 | 字符串 | ||
| out_of_band_amount | 整数 | ||
| 字符串 | |||
| reason | 字符串 | ||
| refund | 字符串 | ||
| 状态 | 字符串 | ||
| subtotal | 整数 | ||
| subtotal_excluding_tax | 整数 | ||
| tax_amounts | 列表 | ||
| total | 整数 | ||
| total_excluding_tax | 整数 | ||
| type | 字符串 | ||
| voided_at | 日期时间 | ||
| amount_shipping | 整数 | ||
| effective_at | 日期时间 | ||
| shipping_cost | 结构体 | ||
| Customer | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 地址 | 结构体 | ||
| balance | 整数 | ||
| created | 日期时间 | ||
| currency | 字符串 | =, >=, <=, <, > | |
| default_source | 字符串 | ||
| delinquent | 布尔值 | = | |
| description | 字符串 | ||
| discount | 结构体 | ||
| 电子邮件 | 字符串 | = | |
| invoice_prefix | 字符串 | ||
| invoice_settings | 结构体 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| 名称 | 字符串 | ||
| next_invoice_sequence | 整数 | ||
| phone | 字符串 | ||
| preferred_locales | 列表 | ||
| shipping | 结构体 | ||
| tax_exempt | 字符串 | ||
| test_clock | 字符串 | ||
| 账单 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| account_country | 字符串 | ||
| account_name | 字符串 | ||
| account_tax_ids | 列表 | ||
| amount_due | 整数 | ||
| amount_paid | 整数 | ||
| amount_remaining | 整数 | ||
| 应用程序 | 字符串 | ||
| application_fee_amount | 整数 | ||
| attempt_count | 整数 | ||
| attempted | 布尔值 | = | |
| auto_advance | 布尔值 | = | |
| automatic_tax | 结构体 | ||
| billing_reason | 字符串 | ||
| 费用 | 字符串 | ||
| collection_method | 字符串 | = | |
| created | 日期时间 | =, >=, <=, <, > | |
| currency | 字符串 | ||
| custom_fields | 列表 | ||
| customer | 字符串 | = | |
| customer_address | 结构体 | ||
| customer_email | 字符串 | ||
| customer_name | 字符串 | ||
| customer_phone | 字符串 | ||
| customer_shipping | 结构体 | ||
| customer_tax_exempt | 字符串 | ||
| customer_tax_ids | 列表 | ||
| default_payment_method | 字符串 | ||
| default_source | 字符串 | ||
| default_tax_rates | 列表 | ||
| description | 字符串 | ||
| discount | 结构体 | ||
| discounts | 列表 | ||
| due_date | 日期时间 | =, >=, <=, <, > | |
| ending_balance | 整数 | ||
| footer | 字符串 | ||
| from_invoice | 结构体 | ||
| hosted_invoice_url | 字符串 | ||
| invoice_pdf | 字符串 | ||
| last_finalization_error | 结构体 | ||
| latest_revision | 字符串 | ||
| lines | 结构体 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| next_payment_attempt | 日期时间 | ||
| 数字 | 字符串 | ||
| on_behalf_of | 字符串 | ||
| paid | 布尔值 | = | |
| paid_out_of_band | 布尔值 | ||
| payment_intent | 字符串 | ||
| payment_settings | 结构体 | ||
| period_end | 日期时间 | =, >=, <=, <, > | |
| period_start | 日期时间 | =, >=, <=, <, > | |
| post_payment_credit_notes_amount | 整数 | ||
| pre_payment_credit_notes_amount | 整数 | ||
| quote | 字符串 | ||
| receipt_number | 字符串 | ||
| rendering | 结构体 | ||
| rendering_options | 结构体 | ||
| starting_balance | 整数 | ||
| statement_descriptor | 字符串 | ||
| 状态 | 字符串 | = | |
| status_transitions | 结构体 | ||
| 订阅 | 字符串 | ||
| subscription_details | 结构体 | ||
| subtotal | 整数 | =, <, > | |
| subtotal_excluding_tax | 整数 | ||
| tax | 整数 | ||
| test_clock | 字符串 | ||
| total | 整数 | =, <, > | |
| total_discount_amounts | 列表 | ||
| total_excluding_tax | 整数 | ||
| total_tax_amounts | 列表 | ||
| transfer_data | 结构体 | ||
| webhooks_delivered_at | 日期时间 | ||
| automatically_finalizes_at | 日期时间 | ||
| effective_at | 日期时间 | ||
| 发布者 | 结构体 | ||
| 发票项目 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 量 | 整数 | =, <, > | |
| currency | 字符串 | ||
| customer | 字符串 | = | |
| date | 日期时间 | ||
| description | 字符串 | ||
| discountable | 布尔值 | ||
| discounts | 列表 | ||
| 发票 | 字符串 | = | |
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| 周期 | 结构体 | ||
| 计划 | 结构体 | ||
| 价格 | 结构体 | ||
| proration | 布尔值 | = | |
| quantity | 整数 | ||
| 订阅 | 字符串 | ||
| subscription_item | 字符串 | ||
| tax_rates | 列表 | ||
| test_clock | 字符串 | ||
| unit_amount | 整数 | ||
| unit_amount_decimal | 字符串 | ||
| 计划 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| active | 布尔值 | = | |
| aggregate_usage | 字符串 | ||
| 量 | 整数 | ||
| amount_decimal | 字符串 | ||
| billing_scheme | 字符串 | ||
| created | 日期时间 | =, >=, <=, <, > | |
| currency | 字符串 | = | |
| interval | 字符串 | = | |
| interval_count | 整数 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| nickname | 字符串 | ||
| 产品 | 字符串 | = | |
| tiers_mode | 字符串 | ||
| transform_usage | 结构体 | ||
| trial_period_days | 整数 | =, <, > | |
| usage_type | 字符串 | ||
| 计量器 | 字符串 | ||
| 报价 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| amount_subtotal | 整数 | ||
| amount_total | 整数 | ||
| 应用程序 | 字符串 | ||
| application_fee_amount | 整数 | ||
| application_fee_percent | 双精度 | ||
| automatic_tax | 结构体 | ||
| collection_method | 字符串 | ||
| computed | 结构体 | ||
| created | 日期时间 | ||
| currency | 字符串 | ||
| customer | 字符串 | = | |
| default_tax_rates | 列表 | ||
| description | 字符串 | ||
| discounts | 列表 | ||
| expires_at | 日期时间 | ||
| footer | 字符串 | ||
| from_quote | 结构体 | ||
| header | 字符串 | ||
| 发票 | 字符串 | ||
| invoice_settings | 结构体 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| 数字 | 字符串 | ||
| on_behalf_of | 字符串 | ||
| 状态 | 字符串 | = | |
| status_transitions | 结构体 | ||
| 订阅 | 字符串 | ||
| subscription_data | 结构体 | ||
| subscription_schedule | 字符串 | ||
| test_clock | 字符串 | ||
| total_details | 结构体 | ||
| transfer_data | 结构体 | ||
| 订阅 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 应用程序 | 字符串 | ||
| application_fee_percent | 双精度 | ||
| automatic_tax | 结构体 | ||
| billing_cycle_anchor | 日期时间 | ||
| billing_thresholds | 结构体 | ||
| cancel_at | 日期时间 | ||
| cancel_at_period_end | 布尔值 | ||
| canceled_at | 日期时间 | ||
| collection_method | 字符串 | = | |
| created | 日期时间 | =, >=, <=,<,> | |
| currency | 字符串 | ||
| current_period_end | 日期时间 | =, >=, <= | |
| current_period_start | 日期时间 | =, >=, <= | |
| customer | 字符串 | = | |
| days_until_due | 整数 | ||
| default_payment_method | 字符串 | ||
| default_source | 字符串 | ||
| default_tax_rates | 列表 | ||
| description | 字符串 | ||
| discount | 结构体 | ||
| ended_at | 日期时间 | ||
| 物品 | 结构体 | ||
| latest_invoice | 字符串 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| next_pending_invoice_item_invoice | 日期时间 | ||
| pause_collection | 结构体 | ||
| payment_settings | 结构体 | ||
| pending_invoice_item_interval | 结构体 | ||
| pending_setup_intent | 字符串 | ||
| pending_update | 结构体 | ||
| 计划 | 结构体 | ||
| quantity | 整数 | ||
| schedule | 字符串 | ||
| start_date | 日期时间 | ||
| 状态 | 字符串 | = | |
| test_clock | 字符串 | ||
| transfer_data | 结构体 | ||
| trial_end | 日期时间 | ||
| trial_start | 日期时间 | ||
| 订阅项目 | |||
| Id | 字符串 | ||
| object | 字符串 | ||
| billing_thresholds | 结构体 | ||
| created | 日期时间 | =, >=, <=, <, > | |
| metadata | 结构体 | ||
| 计划 | 结构体 | ||
| 价格 | 结构体 | ||
| 订阅 | 字符串 | ||
| tax_rates | 列表 | ||
| discounts | 列表 | ||
| 订阅计划 | |||
| object | 字符串 | ||
| 应用程序 | 字符串 | ||
| canceled_at | 日期时间 | ||
| completed_at | 日期时间 | ||
| created | 日期时间 | ||
| current_phase | 结构体 | ||
| customer | 字符串 | = | |
| default_settings | 结构体 | ||
| end_behavior | 字符串 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| phases | 列表 | ||
| released_at | 日期时间 | ||
| released_subscription | 字符串 | ||
| renewal_interval | 字符串 | ||
| 状态 | 字符串 | ||
| 订阅 | 字符串 | ||
| test_clock | 字符串 | ||
| 账户 | |||
| details_submitted | 布尔值 | ||
| tos_acceptance | 结构体 | ||
| type | 字符串 | ||
| metadata | 结构体 | ||
| id | 字符串 | ||
| object | 字符串 | ||
| default_currency | 字符串 | ||
| 能力 | 结构体 | ||
| charges_enabled | 布尔值 | ||
| 设置 | 结构体 | ||
| 要求 | 结构体 | ||
| payouts_enabled | 布尔值 | ||
| future_requirements | 结构体 | ||
| external_accounts | 结构体 | ||
| 控制器 | 结构体 | ||
| country | 字符串 | ||
| 电子邮件 | 字符串 | ||
| created | 日期时间 | =, >=, <=, <, > | |
| business_profile | 结构体 | ||
| business_type | 字符串 | ||
| company | 结构体 | ||
| 申请费 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 账户 | 字符串 | ||
| 量 | 整数 | =, <, > | |
| amount_refunded | 整数 | =, <, > | |
| 应用程序 | 字符串 | ||
| balance_transaction | 字符串 | ||
| 费用 | 字符串 | = | |
| created | 日期时间 | ||
| currency | 字符串 | ||
| livemode | 布尔值 | ||
| originating_transaction | 字符串 | ||
| refunded | 布尔值 | = | |
| 退款 | 结构体 | ||
| fee_source | 结构体 | ||
| 国家/地区具体要求 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| default_currency | 字符串 | ||
| supported_bank_account_currencies | 结构体 | ||
| supported_payment_currencies | 列表 | ||
| supported_payment_methods | 列表 | ||
| supported_transfer_countries | 列表 | ||
| verification_fields | 结构体 | ||
| 转接 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| 量 | 整数 | =, <, > | |
| amount_reversed | 整数 | ||
| balance_transaction | 字符串 | ||
| created | 日期时间 | =, >=, <=, <, > | |
| currency | 字符串 | = | |
| description | 字符串 | ||
| destination | 字符串 | = | |
| destination_payment | 字符串 | ||
| livemode | 布尔值 | ||
| metadata | 结构体 | ||
| reversals | 结构体 | ||
| reversed | 布尔值 | ||
| source_transaction | 字符串 | ||
| source_type | 字符串 | ||
| transfer_group | 字符串 | = | |
| 欺诈预警 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| actionable | 布尔值 | ||
| 费用 | 字符串 | = | |
| created | 日期时间 | =, >=, <=, <, > | |
| fraud_type | 字符串 | ||
| livemode | 布尔值 | ||
| payment_intent | 字符串 | = | |
| 报告类型 | |||
| id | 字符串 | ||
| object | 字符串 | ||
| data_available_end | 日期时间 | ||
| data_available_start | 日期时间 | ||
| default_columns | 列表 | ||
| livemode | 布尔值 | ||
| 名称 | 字符串 | ||
| 已更新 | 日期时间 | ||
| version | 整数 |
对查询进行分区
如果您想在 Spark 中利用并发,可以提供附加 Spark 选项 PARTITION_FIELD、LOWER_BOUND、UPPER_BOUND 和 NUM_PARTITIONS。使用这些参数,原始查询将被拆分为 NUM_PARTITIONS 个子查询,这些子查询可以由 Spark 任务同时执行。
-
PARTITION_FIELD:用于对查询进行分区的字段的名称。 -
LOWER_BOUND:所选分区字段的包含下限值。对于日期,我们接受 Spark SQL 查询中使用的 Spark 日期格式。有效值示例:
"2024-07-01T00:00:00.000Z"。 -
UPPER_BOUND:所选分区字段的排除上限值。 -
NUM_PARTITIONS:分区的数量。
基于实体的分区字段支持详细信息如下表中所示。
| 实体名称 | 分区字段 | 数据类型 |
|---|---|---|
| 余额交易 | created | 日期时间 |
| 收费 | created | 日期时间 |
| 争议 | created | 日期时间 |
| 文件链接 | created | 日期时间 |
| 付款意图 | created | 日期时间 |
| 设置意图 | created | 日期时间 |
| 支出 | created | 日期时间 |
| 退款 | created | 日期时间 |
| 产品 | created | 日期时间 |
| 价格 | created | 日期时间 |
| 优惠券 | created | 日期时间 |
| 促销代码 | created | 日期时间 |
| 税率 | created | 日期时间 |
| 运费 | created | 日期时间 |
| 会话 | created | 日期时间 |
| 信用票据 | created | 日期时间 |
| Customer | created | 日期时间 |
| 账单 | created | 日期时间 |
| 计划 | created | 日期时间 |
| 订阅 | created | 日期时间 |
| 订阅计划 | created | 日期时间 |
| 账户 | created | 日期时间 |
| 申请费 | created | 日期时间 |
| 转接 | created | 日期时间 |
| 欺诈预警 | created | 日期时间 |
示例
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" } )