diff options
author | Wouter Tinus <wouter.tinus@gmail.com> | 2020-04-22 20:03:51 +0200 |
---|---|---|
committer | Wouter Tinus <wouter.tinus@gmail.com> | 2020-04-22 20:03:51 +0200 |
commit | d68723f79ba1da231c05dfe3e533f501f353c8cc (patch) | |
tree | e7ee757c2aef6504c7afa48272ae5d785857d756 /src/main.lib/DomainObjects/Order.cs | |
parent | 0f98d4581cd1d269d435658c1125e7d4bcc94bd3 (diff) | |
parent | 06ef5360b246132c14554229020427ff3c5d0ac8 (diff) | |
download | letsencrypt-win-simple-d68723f79ba1da231c05dfe3e533f501f353c8cc.zip letsencrypt-win-simple-d68723f79ba1da231c05dfe3e533f501f353c8cc.tar.gz letsencrypt-win-simple-d68723f79ba1da231c05dfe3e533f501f353c8cc.tar.bz2 |
merge with latest
Diffstat (limited to 'src/main.lib/DomainObjects/Order.cs')
-rw-r--r-- | src/main.lib/DomainObjects/Order.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main.lib/DomainObjects/Order.cs b/src/main.lib/DomainObjects/Order.cs new file mode 100644 index 0000000..cb7cdc5 --- /dev/null +++ b/src/main.lib/DomainObjects/Order.cs @@ -0,0 +1,25 @@ +using acme = ACMESharp.Protocol; + +namespace PKISharp.WACS.DomainObjects +{ + public class Order + { + public string? CacheKeyPart { get; set; } + public string? FriendlyNamePart { get; set; } + public Target Target { get; set; } + public Renewal Renewal { get; set; } + public acme.OrderDetails? Details { get; set; } = null; + + public Order( + Renewal renewal, + Target target, + string? cacheKeyPart = null, + string? friendlyNamePart = null) + { + Target = target; + Renewal = renewal; + CacheKeyPart = cacheKeyPart; + FriendlyNamePart = friendlyNamePart; + } + } +} |