Skip to content

Commit

Permalink
Ajuste em nivel de visibilidade de campos em Payment
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagomoises committed Jun 21, 2019
1 parent 7558653 commit e9e7e54
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions src/MercadoPago.NetCore.Model/Resources/Payment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,55 +71,55 @@ public class Payment
public long Id
{
get { return this._id; }
private set { this._id = value; }
set{ this._id = value; }
}
/// <summary>
/// Payment’s creation date
/// </summary>
public DateTime DateCreated
{
get { return this._date_created; }
private set { this._date_created = value; }
set{ this._date_created = value; }
}
/// <summary>
/// Payment’s approval date
/// </summary>
public DateTime DateApproved
{
get { return this._date_approved; }
private set { this._date_approved = value; }
set{ this._date_approved = value; }
}
/// <summary>
/// Last modified date
/// </summary>
public DateTime DateLastUpdated
{
get { return this._date_last_updated; }
private set { this._date_last_updated = value; }
set{ this._date_last_updated = value; }
}
/// <summary>
/// Release date of payment
/// </summary>
public DateTime MoneyReleaseDate
{
get { return this._money_release_date; }
private set { this._money_release_date = value; }
set{ this._money_release_date = value; }
}
/// <summary>
/// Identifies the seller
/// </summary>
public int CollectorId
{
get { return this._collector_id; }
private set { this._collector_id = value; }
set{ this._collector_id = value; }
}
/// <summary>
/// Payment type
/// </summary>
public OperationType OperationType
{
get { return this._operation_type; }
private set { this._operation_type = value; }
set{ this._operation_type = value; }
}
/// <summary>
/// Identifies the buyer
Expand All @@ -144,7 +144,7 @@ public bool BinaryMode
public bool LiveMode
{
get { return this._live_mode; }
private set { this._live_mode = value; }
set{ this._live_mode = value; }
}
/// <summary>
/// Order identifier
Expand Down Expand Up @@ -184,7 +184,7 @@ public JObject Metadata
public CurrencyId CurrencyId
{
get { return this._currency_id; }
private set { this._currency_id = value; }
set{ this._currency_id = value; }
}
/// <summary>
/// Product cost
Expand All @@ -200,7 +200,7 @@ public float TransactionAmount
public float TransactionAmountRefunded
{
get { return this._transaction_amount_refunded; }
private set { this._transaction_amount_refunded = value; }
set{ this._transaction_amount_refunded = value; }
}
/// <summary>
/// Amount of the coupon discount
Expand All @@ -215,15 +215,15 @@ public float CouponAmount
/// </summary>
public int CampaignId
{
private get { return this._campaign_id; }
get{ return this._campaign_id; }
set { this._campaign_id = value; }
}
/// <summary>
/// Discount campaign with a specific code
/// </summary>
public string CouponCode
{
private get { return this._coupon_code; }
get{ return this._coupon_code; }
set { this._coupon_code = value; }
}
/// <summary>
Expand All @@ -232,15 +232,15 @@ public string CouponCode
public TransactionDetail TransactionDetails
{
get { return this._transaction_details; }
private set { this._transaction_details = value; }
set{ this._transaction_details = value; }
}
/// <summary>
/// List of fees
/// </summary>
public List<FeeDetail> FeeDetails
{
get { return this._fee_details; }
private set { this._fee_details = value; }
set{ this._fee_details = value; }
}
/// <summary>
/// Id of the scheme for the absorption of financing fee
Expand All @@ -255,7 +255,7 @@ public int DifferentialPricingId
/// </summary>
public float ApplicationFee
{
private get { return this._application_fee; }
get{ return this._application_fee; }
set { this._application_fee = value; }
}
/// <summary>
Expand All @@ -272,7 +272,7 @@ public PaymentStatus Status
public string StatusDetail
{
get { return this._status_detail; }
private set { this._status_detail = value; }
set{ this._status_detail = value; }
}
/// <summary>
/// Gives more detailed information on the current state or rejection cause
Expand All @@ -288,15 +288,15 @@ public bool Capture
public bool Captured
{
get { return this._captured; }
private set { this._captured = value; }
set{ this._captured = value; }
}
/// <summary>
/// Gives more detailed information on the current state or rejection cause
/// </summary>
public string CallForAuthorizeId
{
get { return this._call_for_authorize_id; }
private set { this._call_for_authorize_id = value; }
set{ this._call_for_authorize_id = value; }
}
/// <summary>
/// Gives more detailed information on the current state or rejection cause
Expand All @@ -320,14 +320,14 @@ public string IssuerId
public PaymentTypeId PaymentTypeId
{
get { return this._payment_type_id; }
private set { this._payment_type_id = value; }
set{ this._payment_type_id = value; }
}
/// <summary>
/// Card token ID
/// </summary>
public string Token
{
private get { return this._token; }
get { return this._token; }
set { this._token = value; }
}
/// <summary>
Expand All @@ -336,7 +336,7 @@ public string Token
public Dataclassures.Payment.Card Card
{
get { return this._card; }
private set { this._card = value; }
set{ this._card = value; }
}
/// <summary>
/// How will look the payment in the card bill (e.g.: MERCADOPAGO)
Expand Down Expand Up @@ -376,7 +376,7 @@ public string CallbackUrl
public List<Refund> Refunds
{
get { return this._refunds; }
private set { this._refunds = value; }
set{ this._refunds = value; }
}
/// <summary>
/// Data that could improve fraud analysis and conversion rates.
Expand Down

0 comments on commit e9e7e54

Please sign in to comment.