diff options
Diffstat (limited to 'src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs')
| -rw-r--r-- | src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs b/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs new file mode 100644 index 0000000..90b4389 --- /dev/null +++ b/src/IOL.VippsEcommerce/Models/Api/VippsPaymentActionResponse.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace IOL.VippsEcommerce.Models.Api +{ + public class VippsPaymentActionResponse + { + /// <summary> + /// Text which describes what instrument was used to complete the payment. Not included until a user has chosen and approved in the app. + /// </summary> + /// <value>Text which describes what instrument was used to complete the payment. Not included until a user has chosen and approved in the app.</value> + [JsonPropertyName("paymentInstrument")] + public string PaymentInstrument { get; set; } + + /// <summary> + /// Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'. + /// </summary> + /// <value>Id which uniquely identifies a payment. Maximum length is 50 alphanumeric characters: a-z, A-Z, 0-9 and '-'.</value> + [JsonPropertyName("orderId")] + public string OrderId { get; set; } + + /// <summary> + /// Gets or Sets TransactionInfo + /// </summary> + [JsonPropertyName("transactionInfo")] + public TTransactionInfo TransactionInfo { get; set; } + + /// <summary> + /// Gets or Sets TransactionSummary + /// </summary> + [JsonPropertyName("transactionSummary")] + public TTransactionSummary TransactionSummary { get; set; } + + } +}
\ No newline at end of file |
