Skip to content

Commit

Permalink
Add fields to PaymentTransactionDetails
Browse files Browse the repository at this point in the history
AcquirerReference, Barcode, DigitableLine, VerificationCode, PayableDeferralPeriod, BankTransferId
  • Loading branch information
Romero Silva committed Feb 16, 2024
1 parent 2a843b8 commit ec55900
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
12 changes: 12 additions & 0 deletions src/MercadoPago/Resource/Payment/PaymentBarcode.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using MercadoPago.Client.Payment;

namespace MercadoPago.Resource.Payment
{
public class PaymentBarcode

Check warning on line 5 in src/MercadoPago/Resource/Payment/PaymentBarcode.cs

View workflow job for this annotation

GitHub Actions / Build and run tests

Missing XML comment for publicly visible type or member 'PaymentBarcode'

Check warning on line 5 in src/MercadoPago/Resource/Payment/PaymentBarcode.cs

View workflow job for this annotation

GitHub Actions / Build and run tests

Missing XML comment for publicly visible type or member 'PaymentBarcode'
{
/// <summary>
/// Barcode content
/// </summary>
public string Content { get; set; }
}
}
35 changes: 34 additions & 1 deletion src/MercadoPago/Resource/Payment/PaymentTransactionDetails.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace MercadoPago.Resource.Payment
using MercadoPago.Client.Payment;

namespace MercadoPago.Resource.Payment
{
/// <summary>
/// Transaction details.
Expand Down Expand Up @@ -45,5 +47,36 @@ public class PaymentTransactionDetails
/// BACEN identifier for Pix
/// </summary>
public string TransactionId { get; set; }

/// <summary>
/// Acquirer reference
/// </summary>
public string AcquirerReference { get; set; }

/// <summary>
/// Barcode information
/// </summary>
public PaymentBarcode Barcode { get; set; }

/// <summary>
/// Boleto digitable line
/// </summary>
public string DigitableLine { get; set; }

/// <summary>
/// Verification Code
/// </summary>
public string VerificationCode { get; set; }

/// <summary>
/// Payable Deferral Period
/// </summary>
public string PayableDeferralPeriod { get; set; }

/// <summary>
/// Bank transfer id
/// </summary>
public string BankTransferId { get; set; }

}
}

0 comments on commit ec55900

Please sign in to comment.