-
Notifications
You must be signed in to change notification settings - Fork 462
/
issuerfraudrecord.go
40 lines (35 loc) · 1.64 KB
/
issuerfraudrecord.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package stripe
// IssuerFraudType are strings that map to the fraud label category from the issuer.
type IssuerFraudType string
const (
IssuerFraudTypeCardNeverReceived IssuerFraudType = "card_never_received"
IssuerFraudTypeFraudulentCardApplication IssuerFraudType = "fraudulent_card_application"
IssuerFraudTypeMadeWithCounterfeitCard IssuerFraudType = "made_with_counterfeit_card"
IssuerFraudTypeMadeWithLostCard IssuerFraudType = "made_with_lost_card"
IssuerFraudTypeMadeWithStolenCard IssuerFraudType = "made_with_stolen_card"
IssuerFraudTypeMisc IssuerFraudType = "misc"
IssuerFraudTypeUnauthorizedUseOfCard IssuerFraudType = "unauthorized_use_of_card"
)
// IssuerFraudRecordListParams is the set of parameters that can be used when
// listing issuer fraud records. For more details see
// https://stripe.com/docs#list_issuer_fraud_records.
type IssuerFraudRecordListParams struct {
ListParams `form:"*"`
Charge string `form:"-"`
}
// IssuerFraudRecordList is a list of issuer fraud records as retrieved from a
// list endpoint.
type IssuerFraudRecordList struct {
ListMeta
Values []*IssuerFraudRecord `json:"data"`
}
// IssuerFraudRecord is the resource representing an issuer fraud record. For
// more details see https://stripe.com/docs/api#issuer_fraud_records.
type IssuerFraudRecord struct {
Charge *Charge `json:"charge"`
Created int64 `json:"created"`
IssuerFraudType IssuerFraudType `json:"fraud_type"`
ID string `json:"id"`
Live bool `json:"livemode"`
PostDate int64 `json:"post_date"`
}