Skip to content

Commit

Permalink
added sub type (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicorrea25 authored Aug 22, 2024
1 parent b0186f9 commit b7e2256
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ Fix `differential_pricing_id` type. Now it is `int` instead of `string`.

## VERSION 1.0.3

Include `sub_merchant` in `ForwardData` in `Payment`.
Include `sub_merchant` in `ForwardData` in `Payment`.

## VERSION 1.0.4

Include `sub_type` in `PointOfInteractionRequest` in `Payment`.
2 changes: 1 addition & 1 deletion pkg/internal/httpclient/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

const (
currentSDKVersion string = "1.0.3"
currentSDKVersion string = "1.0.4"
productID string = "CNITR48HSRV0CRPT3NI0"
)

Expand Down
1 change: 1 addition & 0 deletions pkg/payment/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ type PointOfInteractionRequest struct {

LinkedTo string `json:"linked_to,omitempty"`
Type string `json:"type,omitempty"`
SubType string `json:"sub_type,omitempty"`
}

type TransactionDataRequest struct {
Expand Down

0 comments on commit b7e2256

Please sign in to comment.