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
4 changes: 2 additions & 2 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"inline-path-parameters": true,
"use-discriminated-unions": true
},
"originGitCommit": "b05364cda2b85e35d8daa9ff2c24bbabbbd9652a",
"sdkVersion": "46.1.0"
"originGitCommit": "f74d4b7e34b9b8676dc4b58d83a38111dc1d595f",
"sdkVersion": "47.0.0"
}
8 changes: 7 additions & 1 deletion .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

164 changes: 0 additions & 164 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5611,48 +5611,6 @@ await client.Inventory.ChangesAsync(
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.Inventory.<a href="/src/Square/Inventory/InventoryClient.cs">GetTransferAsync</a>(GetTransferInventoryRequest { ... })</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```csharp
await client.Inventory.GetTransferAsync(
new GetTransferInventoryRequest { TransferId = "transfer_id" }
);
```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `GetTransferInventoryRequest`

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down Expand Up @@ -18165,128 +18123,6 @@ await client.Locations.Transactions.GetAsync(
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.Locations.Transactions.<a href="/src/Square/Locations/Transactions/TransactionsClient.cs">CaptureAsync</a>(CaptureTransactionsRequest { ... }) -> CaptureTransactionResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Captures a transaction that was created with the [Charge](api-endpoint:Transactions-Charge)
endpoint with a `delay_capture` value of `true`.


See [Delayed capture transactions](https://developer.squareup.com/docs/payments/transactions/overview#delayed-capture)
for more information.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```csharp
await client.Locations.Transactions.CaptureAsync(
new CaptureTransactionsRequest { LocationId = "location_id", TransactionId = "transaction_id" }
);
```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CaptureTransactionsRequest`

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.Locations.Transactions.<a href="/src/Square/Locations/Transactions/TransactionsClient.cs">VoidAsync</a>(VoidTransactionsRequest { ... }) -> VoidTransactionResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Cancels a transaction that was created with the [Charge](api-endpoint:Transactions-Charge)
endpoint with a `delay_capture` value of `true`.


See [Delayed capture transactions](https://developer.squareup.com/docs/payments/transactions/overview#delayed-capture)
for more information.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```csharp
await client.Locations.Transactions.VoidAsync(
new VoidTransactionsRequest { LocationId = "location_id", TransactionId = "transaction_id" }
);
```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `VoidTransactionsRequest`

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down
28 changes: 0 additions & 28 deletions src/Square.Test/Unit/MockServer/Inventory/GetTransferTest.cs

This file was deleted.

This file was deleted.

54 changes: 0 additions & 54 deletions src/Square.Test/Unit/MockServer/Locations/Transactions/VoidTest.cs

This file was deleted.

2 changes: 1 addition & 1 deletion src/Square/Core/Public/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ namespace Square;
[Serializable]
internal class Version
{
public const string Current = "46.1.0";
public const string Current = "47.0.0";
}
6 changes: 0 additions & 6 deletions src/Square/Inventory/IInventoryClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,4 @@ Task<Pager<InventoryChange>> ChangesAsync(
RequestOptions? options = null,
CancellationToken cancellationToken = default
);

Task GetTransferAsync(
GetTransferInventoryRequest request,
RequestOptions? options = null,
CancellationToken cancellationToken = default
);
}
Loading
Loading