-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separate register/unregister methods
clarify startexportsession, exportdata, endexportsession usage resolved comment from #4
- Loading branch information
1 parent
cdd386c
commit 6c3fd08
Showing
13 changed files
with
60 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 4 additions & 8 deletions
12
src/fiskaltrust.ifPOS/v1/de/Models/EndExportSessionRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Runtime.Serialization; | ||
using System.Text; | ||
using System.Runtime.Serialization; | ||
|
||
namespace fiskaltrust.ifPOS.v1.de | ||
{ | ||
[DataContract] | ||
public class EndExportSessionRequest | ||
{ | ||
[DataMember(Order = 10)] | ||
StartExportSessionResponse Session { get; set; } | ||
public string TokenId { get; set; } | ||
|
||
[DataMember(Order = 20)] | ||
string Sha256ChecksumBase64 { get; set; } | ||
public string Sha256ChecksumBase64 { get; set; } | ||
|
||
[DataMember(Order = 30)] | ||
bool Erase { get; set; } | ||
public bool Erase { get; set; } | ||
} | ||
} |
12 changes: 4 additions & 8 deletions
12
src/fiskaltrust.ifPOS/v1/de/Models/EndExportSessionResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Runtime.Serialization; | ||
using System.Text; | ||
using System.Runtime.Serialization; | ||
|
||
namespace fiskaltrust.ifPOS.v1.de | ||
{ | ||
[DataContract] | ||
public class EndExportSessionResponse | ||
{ | ||
[DataMember(Order = 10)] | ||
StartExportSessionResponse Session { get; set; } | ||
public string TokenId { get; set; } | ||
|
||
[DataMember(Order = 20)] | ||
bool IsValid { get; set; } | ||
public bool IsValid { get; set; } | ||
|
||
[DataMember(Order = 30)] | ||
bool IsErased { get; set; } | ||
public bool IsErased { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace fiskaltrust.ifPOS.v1.de | ||
{ | ||
[DataContract] | ||
public class ExportDataRequest | ||
{ | ||
[DataMember(Order = 10)] | ||
public string TokenId { get; set; } | ||
[DataMember(Order = 20)] | ||
public int MaxJunkSize { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
using System.Text; | ||
|
||
namespace fiskaltrust.ifPOS.v1.de | ||
{ | ||
[DataContract] | ||
public class ExportDataResponse | ||
{ | ||
[DataMember(Order = 10)] | ||
StartExportSessionResponse Session { get; set; } | ||
public string TokenId { get; set; } | ||
|
||
[DataMember(Order = 20)] | ||
IEnumerable<string> TarFileByteJunkBase64 { get; set; } | ||
public IEnumerable<string> TarFileByteJunksBase64 { get; set; } | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/fiskaltrust.ifPOS/v1/de/Models/RegisterClientIdRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace fiskaltrust.ifPOS.v1.de | ||
{ | ||
[DataContract] | ||
public class RegisterClientIdRequest | ||
{ | ||
[DataMember(Order = 10)] | ||
public string ClientId { get; set; } | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/fiskaltrust.ifPOS/v1/de/Models/RegisterClientIdResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
|
||
namespace fiskaltrust.ifPOS.v1.de | ||
{ | ||
[DataContract] | ||
public class RegisterClientIdResponse | ||
{ | ||
[DataMember(Order = 10)] | ||
public IEnumerable<string> ClientIds { get; set; } | ||
} | ||
} |
3 changes: 0 additions & 3 deletions
3
src/fiskaltrust.ifPOS/v1/de/Models/StartExportSessionByTimeStampRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
src/fiskaltrust.ifPOS/v1/de/Models/StartExportSessionByTransactionRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
src/fiskaltrust.ifPOS/v1/de/Models/StartExportSessionResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters