Skip to content

Commit c3c3b92

Browse files
committed
[Fix] Use string instead of GUID for IDs in Payment Service
1 parent 1249179 commit c3c3b92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CoinbasePro.Specs/Services/Payments/PaymentsServiceSpecs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class when_requesting_for_all_payment_methods
3636

3737
It should_have_correct_payment_methods = () =>
3838
{
39-
payment_methods.First().Id.ShouldEqual(new Guid("bc6d7162-d984-5ffa-963c-a493b1c1370b"));
39+
payment_methods.First().Id.ShouldEqual("bc6d7162-d984-5ffa-963c-a493b1c1370b");
4040
payment_methods.First().Name.ShouldEqual("Bank of America - eBan... ********7134");
4141
payment_methods.First().Currency.ShouldEqual(Currency.USD);
4242
payment_methods.First().AllowBuy.ShouldBeTrue();

CoinbasePro/Services/Payments/Models/PaymentMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace CoinbasePro.Services.Payments.Models
88
{
99
public class PaymentMethod
1010
{
11-
public Guid Id { get; set; }
11+
public string Id { get; set; }
1212

1313
[JsonProperty("type")]
1414
public string PaymentMethodType { get; set; }

0 commit comments

Comments
 (0)