Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

made setters on EpaymentResponse properties internal #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Chargily.Epay.CSharp/EpayPaymentResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ namespace Chargily.Epay.CSharp
{
public class EpayPaymentResponse
{
public HttpStatusCode HttpStatusCode { get; set; }
public JsonDocument ResponseMessage { get; set; }
public bool IsSuccessful { get; set; } = false;
public bool IsRequestValid { get; set; } = false;
public JsonDocument Body { get; set; }
public DateTime CreatedOn { get; set; } = DateTime.Now;
public HttpStatusCode HttpStatusCode { get; internal set; }
public JsonDocument ResponseMessage { get; internal set; }
public bool IsSuccessful { get; internal set; } = false;
public bool IsRequestValid { get; internal set; } = false;
public JsonDocument Body { get; internal set; }
public DateTime CreatedOn { get; internal set; } = DateTime.Now;

public async Task CreatePaymentResponse(HttpResponseMessage httpResponse)
{
Expand Down