payment intent fields done
This commit is contained in:
parent
4f27612a1b
commit
d4e7f5ec97
1 changed files with 6 additions and 6 deletions
|
|
@ -3,23 +3,23 @@ with
|
|||
stg_stripe__payment_intents as (
|
||||
select
|
||||
{{ adapter.quote("id") }},
|
||||
{{ adapter.quote("amount") }},
|
||||
{{ adapter.quote("amount") }} / 100 as amount,
|
||||
{{ adapter.quote("object") }},
|
||||
{{ adapter.quote("review") }},
|
||||
{{ adapter.quote("source") }},
|
||||
{{ adapter.quote("status") }},
|
||||
{{ adapter.quote("charges") }},
|
||||
{{ adapter.quote("created") }},
|
||||
to_timestamp({{ adapter.quote("created") }}) as created_at_utc,
|
||||
{{ adapter.quote("invoice") }},
|
||||
{{ adapter.quote("updated") }},
|
||||
to_timestamp({{ adapter.quote("updated") }}) as updated_at_utc,
|
||||
{{ adapter.quote("currency") }},
|
||||
{{ adapter.quote("customer") }},
|
||||
{{ adapter.quote("livemode") }},
|
||||
cast({{ adapter.quote("livemode") }} as bool) as is_livemode,
|
||||
{{ adapter.quote("metadata") }},
|
||||
{{ adapter.quote("shipping") }},
|
||||
{{ adapter.quote("processing") }},
|
||||
{{ adapter.quote("application") }},
|
||||
{{ adapter.quote("canceled_at") }},
|
||||
to_timestamp({{ adapter.quote("canceled_at") }}) as canceled_at_utc,
|
||||
{{ adapter.quote("description") }},
|
||||
{{ adapter.quote("next_action") }},
|
||||
{{ adapter.quote("on_behalf_of") }},
|
||||
|
|
@ -31,7 +31,7 @@ with
|
|||
{{ adapter.quote("capture_method") }},
|
||||
{{ adapter.quote("payment_method") }},
|
||||
{{ adapter.quote("transfer_group") }},
|
||||
{{ adapter.quote("amount_received") }},
|
||||
{{ adapter.quote("amount_received") }} / 100 as amount_received,
|
||||
{{ adapter.quote("amount_capturable") }},
|
||||
{{ adapter.quote("last_payment_error") }},
|
||||
{{ adapter.quote("setup_future_usage") }},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue