using System; namespace framework_library { [Serializable] public class PaymentAbstractRequest { protected string endpoint { get; set; } protected string method { get; set; } public PaymentAbstractRequest(string endpoint = null, string method = null) { this.endpoint = endpoint; this.method = method; } public string getEndpoint() { return this.endpoint; } public string getMethod() { return this.method; } } }