Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Release 2.39.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments committed May 16, 2023
1 parent a0bf62d commit 7e7e309
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
12 changes: 11 additions & 1 deletion communicator/Communicator_MultipartFormData_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package communicator
import (
"io"
"net/url"
"os"
"strings"
"testing"

Expand Down Expand Up @@ -666,8 +667,17 @@ func TestMultipartFormDataUploadPutMultipartFormDataRequestWithBodyHandler(t *te
}

func createCommunicator() (*Communicator, error) {
httpBinURL := os.Getenv(("httpbin.url"))
if httpBinURL == "" {
httpBinURL = "http://httpbin.org"
}
apiEndpoint, err := url.Parse(httpBinURL)
if err != nil {
return nil, err
}

configuration := configuration.DefaultConfiguration("dummy", "dummy", "ingenico")
configuration.APIEndpoint = url.URL{Scheme: "http", Host: "httpbin.org"}
configuration.APIEndpoint = *apiEndpoint

builder, err := NewSessionBuilder()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion communicator/MetaDataProvider.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func getPlatformIdentifier() string {
}

const sdkIdentifier = "GoServerSDK/v" + sdkVersion
const sdkVersion = "2.38.0"
const sdkVersion = "2.39.0"
const serverMetaInfoHeader = "X-GCS-ServerMetaInfo"

// NewMetaDataProviderWithBuilder creates a MetaDataProvider with the given MetaDataProviderBuilder
Expand Down
1 change: 1 addition & 0 deletions domain/definitions/AirlineData.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type AirlineData struct {
IssueDate *string `json:"issueDate,omitempty"`
MerchantCustomerID *string `json:"merchantCustomerId,omitempty"`
Name *string `json:"name,omitempty"`
NumberInParty *int32 `json:"numberInParty,omitempty"`
PassengerName *string `json:"passengerName,omitempty"`
Passengers *[]AirlinePassenger `json:"passengers,omitempty"`
PlaceOfIssue *string `json:"placeOfIssue,omitempty"`
Expand Down

0 comments on commit 7e7e309

Please sign in to comment.