From 5c05a8d0e0d839b7902e1f6b087210723782071d Mon Sep 17 00:00:00 2001 From: hernan Date: Tue, 12 Mar 2024 00:11:14 -0300 Subject: [PATCH] Add fields to OAuthCredential --- src/MercadoPago/Resource/OAuth/OAuthCredential.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/MercadoPago/Resource/OAuth/OAuthCredential.cs b/src/MercadoPago/Resource/OAuth/OAuthCredential.cs index 67359e5a..2d846fc6 100644 --- a/src/MercadoPago/Resource/OAuth/OAuthCredential.cs +++ b/src/MercadoPago/Resource/OAuth/OAuthCredential.cs @@ -32,6 +32,21 @@ public class OAuthCredential : IResource /// public string RefreshToken { get; set; } + /// + /// Identification number (Mercado Pago ID). + /// + public long UserId { get; set; } + + /// + /// Public key of the application. + /// + public string PublicKey { get; set; } + + /// + /// Production or test mode. + /// + public bool LiveMode { get; set; } + /// /// Response from API. ///