Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added sub type in poi #71

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading