Ai
2 Star 0 Fork 0

mirrors_sourcegraph/stripe-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
threedsecure.go 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
Remi Jannel 提交于 2018-04-15 03:12 +08:00 . Moving all int/uint to int64 for consistency
package stripe
type ThreeDSecureStatus string
// ThreeDSecureParams is the set of parameters that can be used when creating a 3DS object.
// For more details see https://stripe.com/docs/api#create_three_d_secure.
type ThreeDSecureParams struct {
Params `form:"*"`
Amount *int64 `form:"amount"`
Card *string `form:"card"`
Currency *string `form:"currency"`
Customer *string `form:"customer"`
ReturnURL *string `form:"return_url"`
}
// ThreeDSecure is the resource representing a Stripe 3DS object
// For more details see https://stripe.com/docs/api#three_d_secure.
type ThreeDSecure struct {
Amount int64 `json:"amount"`
Authenticated bool `json:"authenticated"`
Card *Card `json:"card"`
Created int64 `json:"created"`
Currency Currency `json:"currency"`
ID string `json:"id"`
Livemode bool `json:"livemode"`
RedirectURL string `json:"redirect_url"`
Status ThreeDSecureStatus `json:"status"`
Supported string `json:"supported"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_sourcegraph/stripe-go.git
git@gitee.com:mirrors_sourcegraph/stripe-go.git
mirrors_sourcegraph
stripe-go
stripe-go
master

搜索帮助