mirror of
https://github.com/plutov/paypal.git
synced 2025-01-23 10:21:03 +01:00
#71 Quantity field of Item struct type must change from string to uint32 type
This commit is contained in:
parent
f7201fdd87
commit
2eacad2d5d
2
types.go
2
types.go
|
@ -288,7 +288,7 @@ type (
|
||||||
|
|
||||||
// Item struct
|
// Item struct
|
||||||
Item struct {
|
Item struct {
|
||||||
Quantity string `json:"quantity"`
|
Quantity uint32 `json:"quantity"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Price string `json:"price"`
|
Price string `json:"price"`
|
||||||
Currency string `json:"currency"`
|
Currency string `json:"currency"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user