Skip to content

Commit

Permalink
update transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleywillians committed Jul 6, 2021
1 parent fb06fa3 commit 8dd6c73
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions codebank/dto/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ package dto
import "time"

type Transaction struct {
ID string
Name string
Number string
ExpirationMonth int32
ExpirationYear int32
CVV int32
Amount float64
Store string
Description string
CreatedAt time.Time
ID string `json:"transaction_id"`
Name string `json:"-"`
Number string `json:"credit_card_number"`
ExpirationMonth int32 `json:"-"`
ExpirationYear int32 `json:"-"`
CVV int32 `json:"-"`
Amount float64 `json:"amount"`
Store string `json:"store"`
Description string `json:"description"`
CreatedAt time.Time `json:"payment_date"`
}

0 comments on commit 8dd6c73

Please sign in to comment.