Skip to content

Commit 928b193

Browse files
chore: update formatting
1 parent a4aa7a5 commit 928b193

File tree

209 files changed

+1968
-1893
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+1968
-1893
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ OrbClient client = new();
3333

3434
CustomerCreateParams param = new()
3535
{
36-
Email = "example-customer@withorb.com", Name = "My Customer"
36+
Email = "example-customer@withorb.com",
37+
Name = "My Customer",
3738
};
3839

3940
var customer = await client.Customers.Create(param);
@@ -57,10 +58,7 @@ Or manually:
5758
```C#
5859
using Orb;
5960

60-
OrbClient client = new()
61-
{
62-
APIKey = "My API Key"
63-
};
61+
OrbClient client = new() { APIKey = "My API Key" };
6462
```
6563

6664
Alternatively, you can use a combination of the two approaches.

src/Orb.Tests/Services/TopLevel/TopLevelServiceTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class TopLevelServiceTest : TestBase
77
[Fact]
88
public async Task Ping_Works()
99
{
10-
var response = await this.client.TopLevel.Ping(new() { });
10+
var response = await this.client.TopLevel.Ping(new());
1111
response.Validate();
1212
}
1313
}

src/Orb/Models/Beta/PlanVersion.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ public required List<PlanVersionPhase>? PlanPhases
6161
}
6262

6363
/// <summary>
64-
/// Prices for this plan. If the plan has phases, this includes prices across all
65-
/// phases of the plan.
64+
/// Prices for this plan. If the plan has phases, this includes prices across
65+
/// all phases of the plan.
6666
/// </summary>
6767
public required List<Price> Prices
6868
{

src/Orb/Models/BillingCycleAnchorConfiguration.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ public sealed record class BillingCycleAnchorConfiguration
1313
{
1414
/// <summary>
1515
/// The day of the month on which the billing cycle is anchored. If the maximum
16-
/// number of days in a month is greater than this value, the last day of the month
17-
/// is the billing cycle day (e.g. billing_cycle_day=31 for April means the billing
18-
/// period begins on the 30th.
16+
/// number of days in a month is greater than this value, the last day of the
17+
/// month is the billing cycle day (e.g. billing_cycle_day=31 for April means
18+
/// the billing period begins on the 30th.
1919
/// </summary>
2020
public required long Day
2121
{
@@ -30,8 +30,8 @@ public required long Day
3030
}
3131

3232
/// <summary>
33-
/// The month on which the billing cycle is anchored (e.g. a quarterly price anchored
34-
/// in February would have cycles starting February, May, August, and November).
33+
/// The month on which the billing cycle is anchored (e.g. a quarterly price
34+
/// anchored in February would have cycles starting February, May, August, and November).
3535
/// </summary>
3636
public long? Month
3737
{

src/Orb/Models/Coupons/Coupon.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public required string ID
3434
}
3535

3636
/// <summary>
37-
/// An archived coupon can no longer be redeemed. Active coupons will have a value
38-
/// of null for `archived_at`; this field will be non-null for archived coupons.
37+
/// An archived coupon can no longer be redeemed. Active coupons will have a
38+
/// value of null for `archived_at`; this field will be non-null for archived coupons.
3939
/// </summary>
4040
public required DateTime? ArchivedAt
4141
{

src/Orb/Models/CreditNotes/CreditNoteCreateParams.cs

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,11 @@ public sealed record class CreditNoteCreateParams : ParamsBase
7272
}
7373

7474
/// <summary>
75-
/// A date string to specify the global credit note service period end date in the
76-
/// customer's timezone. This will be applied to all line items that don't have
77-
/// their own individual service periods specified. If not provided, line items
78-
/// will use their original invoice line item service periods. This date is inclusive.
75+
/// A date string to specify the global credit note service period end date in
76+
/// the customer's timezone. This will be applied to all line items that don't
77+
/// have their own individual service periods specified. If not provided, line
78+
/// items will use their original invoice line item service periods. This date
79+
/// is inclusive.
7980
/// </summary>
8081
public DateOnly? EndDate
8182
{
@@ -105,10 +106,11 @@ public string? Memo
105106
}
106107

107108
/// <summary>
108-
/// A date string to specify the global credit note service period start date in
109-
/// the customer's timezone. This will be applied to all line items that don't
110-
/// have their own individual service periods specified. If not provided, line items
111-
/// will use their original invoice line item service periods. This date is inclusive.
109+
/// A date string to specify the global credit note service period start date
110+
/// in the customer's timezone. This will be applied to all line items that don't
111+
/// have their own individual service periods specified. If not provided, line
112+
/// items will use their original invoice line item service periods. This date
113+
/// is inclusive.
112114
/// </summary>
113115
public DateOnly? StartDate
114116
{

src/Orb/Models/CreditNotes/CreditNoteCreateParamsProperties/LineItem.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public required string InvoiceLineItemID
4545
}
4646

4747
/// <summary>
48-
/// A date string to specify this line item's credit note service period end date
49-
/// in the customer's timezone. If provided, this will be used for this specific
48+
/// A date string to specify this line item's credit note service period end
49+
/// date in the customer's timezone. If provided, this will be used for this specific
5050
/// line item. If not provided, will use the global end_date if available, otherwise
5151
/// defaults to the original invoice line item's end date. This date is inclusive.
5252
/// </summary>
@@ -65,8 +65,9 @@ public DateOnly? EndDate
6565
/// <summary>
6666
/// A date string to specify this line item's credit note service period start
6767
/// date in the customer's timezone. If provided, this will be used for this specific
68-
/// line item. If not provided, will use the global start_date if available, otherwise
69-
/// defaults to the original invoice line item's start date. This date is inclusive.
68+
/// line item. If not provided, will use the global start_date if available,
69+
/// otherwise defaults to the original invoice line item's start date. This date
70+
/// is inclusive.
7071
/// </summary>
7172
public DateOnly? StartDate
7273
{

src/Orb/Models/Customers/BalanceTransactions/BalanceTransactionCreateResponse.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ public required string? Description
123123
}
124124

125125
/// <summary>
126-
/// The new value of the customer's balance prior to the transaction, in the customer's currency.
126+
/// The new value of the customer's balance prior to the transaction, in the
127+
/// customer's currency.
127128
/// </summary>
128129
public required string EndingBalance
129130
{
@@ -157,8 +158,8 @@ public required InvoiceTiny? Invoice
157158
}
158159

159160
/// <summary>
160-
/// The original value of the customer's balance prior to the transaction, in the
161-
/// customer's currency.
161+
/// The original value of the customer's balance prior to the transaction, in
162+
/// the customer's currency.
162163
/// </summary>
163164
public required string StartingBalance
164165
{

src/Orb/Models/Customers/BalanceTransactions/BalanceTransactionListPageResponseProperties/Data.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ public required string? Description
121121
}
122122

123123
/// <summary>
124-
/// The new value of the customer's balance prior to the transaction, in the customer's currency.
124+
/// The new value of the customer's balance prior to the transaction, in the
125+
/// customer's currency.
125126
/// </summary>
126127
public required string EndingBalance
127128
{
@@ -155,8 +156,8 @@ public required InvoiceTiny? Invoice
155156
}
156157

157158
/// <summary>
158-
/// The original value of the customer's balance prior to the transaction, in the
159-
/// customer's currency.
159+
/// The original value of the customer's balance prior to the transaction, in
160+
/// the customer's currency.
160161
/// </summary>
161162
public required string StartingBalance
162163
{

src/Orb/Models/Customers/Costs/CostListByExternalIDParams.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ public DateTime? TimeframeStart
152152

153153
/// <summary>
154154
/// Controls whether Orb returns cumulative costs since the start of the billing
155-
/// period, or incremental day-by-day costs. If your customer has minimums or discounts,
156-
/// it's strongly recommended that you use the default cumulative behavior.
155+
/// period, or incremental day-by-day costs. If your customer has minimums or
156+
/// discounts, it's strongly recommended that you use the default cumulative behavior.
157157
/// </summary>
158158
public CostListByExternalIDParamsProperties::ViewMode? ViewMode
159159
{

0 commit comments

Comments
 (0)