Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ namespace Stripe.V2
using System.Threading;
using System.Threading.Tasks;

public class PaymentService : Service
public class PaymentsService : Service
{
private V2.Payments.OffSessionPaymentService offSessionPayments;
private V2.Payments.SettlementAllocationIntentService settlementAllocationIntents;

internal PaymentService(ApiRequestor requestor)
internal PaymentsService(ApiRequestor requestor)
: base(requestor)
{
}

internal PaymentService(IStripeClient client)
internal PaymentsService(IStripeClient client)
: base(client)
{
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ namespace Stripe.V2
using System.Threading;
using System.Threading.Tasks;

public class SignalService : Service
public class SignalsService : Service
{
private V2.Signals.AccountSignalService accountSignals;

internal SignalService(ApiRequestor requestor)
internal SignalsService(ApiRequestor requestor)
: base(requestor)
{
}

internal SignalService(IStripeClient client)
internal SignalsService(IStripeClient client)
: base(client)
{
}
Expand Down
8 changes: 4 additions & 4 deletions src/Stripe.net/Services/V2Services.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ public class V2Services : Service
private V2.MoneyManagementService moneyManagement;
private V2.NetworkService network;
private V2.OrchestratedCommerceService orchestratedCommerce;
private V2.PaymentService payments;
private V2.PaymentsService payments;
private V2.ReportingService reporting;
private V2.SignalService signals;
private V2.SignalsService signals;
private V2.TaxService tax;
private V2.TestHelperService testHelpers;

Expand Down Expand Up @@ -59,13 +59,13 @@ internal V2Services(IStripeClient client)
public virtual V2.OrchestratedCommerceService OrchestratedCommerce => this.orchestratedCommerce ??= new V2.OrchestratedCommerceService(
this.Requestor);

public virtual V2.PaymentService Payments => this.payments ??= new V2.PaymentService(
public virtual V2.PaymentsService Payments => this.payments ??= new V2.PaymentsService(
this.Requestor);

public virtual V2.ReportingService Reporting => this.reporting ??= new V2.ReportingService(
this.Requestor);

public virtual V2.SignalService Signals => this.signals ??= new V2.SignalService(
public virtual V2.SignalsService Signals => this.signals ??= new V2.SignalsService(
this.Requestor);

public virtual V2.TaxService Tax => this.tax ??= new V2.TaxService(
Expand Down
Loading