Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-stripe committed May 9, 2018
1 parent fe34692 commit c647c60
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions issuerfraudrecord.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package stripe

// FraudType are strings that map to the fraud label category from the issuer.
type FraudType string
// IssuerFraudType are strings that map to the fraud label category from the issuer.
type IssuerFraudType string

const (
CardNeverReceived FraudType = "card_never_received"
FraudulentCardApplication FraudType = "fraudulent_card_application"
MadeWithCounterfeitCard FraudType = "made_with_counterfeit_card"
MadeWithLostCard FraudType = "made_with_lost_card"
MadeWithStolenCard FraudType = "made_with_stolen_card"
Misc FraudType = "misc"
UnauthorizedUseOfCard FraudType = "unauthorized_use_of_card"
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
Expand All @@ -31,10 +31,10 @@ type IssuerFraudRecordList struct {
// 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"`
FraudType FraudType `json:"fraud_type"`
ID string `json:"id"`
Live bool `json:"livemode"`
PostDate int64 `json:"post_date"`
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"`
}

0 comments on commit c647c60

Please sign in to comment.