github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/communicator/communication/CallContext.go (about)

     1  package communication
     2  
     3  // CallContext can be used to send extra information with a request, and to receive extra information from a response.
     4  // Please note that this type is not thread-safe. Each request should get its own call context instance.
     5  type CallContext interface {
     6  	GetIdempotenceKey() string
     7  	GetIdempotenceRequestTimestamp() *int64
     8  	SetIdempotenceRequestTimestamp(*int64)
     9  }