Skip to content

Commit

Permalink
Correção de mapeamento do cartão
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagomoises committed Jun 17, 2019
1 parent 7b2e746 commit 8ed5c68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/MercadoPago.NetCore/JsonMaps/CardMap.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using MercadoPago.NetCore.Model.Resources;
using Newtonsoft.FluentAPI.Abstracts;
using Newtonsoft.FluentAPI.Builders;
using System;
using System.Collections.Generic;
using System.Text;

namespace Moises.Toolkit.MercadoPago.NetCore.JsonMaps
{
Expand All @@ -23,6 +20,7 @@ public void Configure(JsonTypeBuilder<Card> jsonTypeBuilder)
jsonTypeBuilder.Property(x => x.CardHolder).HasFieldName("cardholder");
jsonTypeBuilder.Property(x => x.DateCreated).HasFieldName("date_created");
jsonTypeBuilder.Property(x => x.DateLastUpdated).HasFieldName("date_last_updated");
jsonTypeBuilder.Property(x => x.Token).HasFieldName("token");
}
}
}

0 comments on commit 8ed5c68

Please sign in to comment.