Skip to content
Snippets Groups Projects

feat: add callback to sender

Closed Klaus Fischer requested to merge task/1096-add-callback-to-sender into main
Files
2
@@ -48,6 +48,7 @@ public static class SenderDemo {
.SetPaymentInformation(new PaymentInformation(PaymentMethod.Creditcard,
PaymentStatus.Booked, "12345445", "2345566"))
.SetReplyChannel(ReplyChannel.FromEMail("a@example.com"))
.SetCallback(new Uri("https://google.com"), "TopSecretAtLeast32CharactersLong")
.Build();
var sender =
@@ -92,6 +93,7 @@ public static class SenderDemo {
.SetEncryptedMetadata(encryptedMetadata!)
.SetEncryptedData(encryptedData!)
.AddEncryptedAttachments(encryptedAttachments)
.SetCallback(new Uri("https://google.com"), "TopSecretAtLeast32CharactersLong")
.Build();
var sentSubmission = await ClientFactory
.GetSenderClient(FitConnectEnvironment.Test, clientId, clientSecret, logger)
Loading