diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2021-03-31 18:00:22 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2021-03-31 18:00:22 +0200 |
| commit | e6ca7a484d9cc213fb00c34ebf7cb55ace892c04 (patch) | |
| tree | e885d823c224d55503286b1dab207fcc7c5c68d1 /src/IOL.VippsEcommerce/Models/Api/TTransaction.cs | |
| download | dotnet-vipps-ecommerce-e6ca7a484d9cc213fb00c34ebf7cb55ace892c04.tar.xz dotnet-vipps-ecommerce-e6ca7a484d9cc213fb00c34ebf7cb55ace892c04.zip | |
Initial commit
Diffstat (limited to 'src/IOL.VippsEcommerce/Models/Api/TTransaction.cs')
| -rw-r--r-- | src/IOL.VippsEcommerce/Models/Api/TTransaction.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs b/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs new file mode 100644 index 0000000..9e09758 --- /dev/null +++ b/src/IOL.VippsEcommerce/Models/Api/TTransaction.cs @@ -0,0 +1,21 @@ +using System.Text.Json.Serialization; + +namespace IOL.VippsEcommerce.Models.Api +{ + public class TTransaction + { + /// <summary> + /// Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647) + /// </summary> + /// <value>Amount in øre, if amount is 0 or not provided then full capture will be performed. 32 Bit Integer (2147483647)</value> + [JsonPropertyName("amount")] + public int? Amount { get; set; } + + /// <summary> + /// Transaction text to be displayed in Vipps + /// </summary> + /// <value>Transaction text to be displayed in Vipps</value> + [JsonPropertyName("transactionText")] + public string TransactionText { get; set; } + } +}
\ No newline at end of file |
