Skip to content

Commit

Permalink
Change to correct types
Browse files Browse the repository at this point in the history
  • Loading branch information
gdeandradero committed Mar 14, 2024
1 parent b9fd995 commit df8f982
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/payment/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ type AdditionalInfoResponse struct {

// ItemResponse represents an item.
type ItemResponse struct {
ID string `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
PictureURL string `json:"picture_url"`
CategoryID string `json:"category_id"`
Quantity string `json:"quantity"`
UnitPrice float64 `json:"unit_price"`
ID string `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
PictureURL string `json:"picture_url"`
CategoryID string `json:"category_id"`
Quantity string `json:"quantity"`
UnitPrice string `json:"unit_price"`
}

// AdditionalInfoPayerResponse represents payer's additional information.
Expand Down Expand Up @@ -147,7 +147,7 @@ type ReceiverAddressResponse struct {

// OrderResponse represents order information.
type OrderResponse struct {
ID int `json:"id"`
ID string `json:"id"`
Type string `json:"type"`
}

Expand Down

0 comments on commit df8f982

Please sign in to comment.