Skip to content

Commit

Permalink
Merge pull request #6
Browse files Browse the repository at this point in the history
Generate from current PAPI spec. version 1.2.0.
  • Loading branch information
tsasao authored Aug 18, 2022
2 parents 088916f + d6119bb commit 269b059
Show file tree
Hide file tree
Showing 102 changed files with 8,278 additions and 1,367 deletions.
2,073 changes: 1,904 additions & 169 deletions docs/index.md

Large diffs are not rendered by default.

2,475 changes: 2,364 additions & 111 deletions partner.yaml

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions src/PokepayPartnerCsharpSdk.Test/TestBulkCreateTransaction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Net.Http;
using NUnit.Framework;
using System.Threading.Tasks;
using System.Collections.Generic;

using PokepayPartnerCsharpSdk;

Expand All @@ -24,9 +25,9 @@ public async Task BulkCreateTransaction0()
{
try {
Request.BulkCreateTransaction request = new Request.BulkCreateTransaction(
"gtc1eHQx",
"a3",
"8fcy9G2ru7CIugZBUKc64A8KJDFHDE0sPhVL"
"TN1",
"ktFjJy7",
"P4SbKkoz4u4vqNtkYjPXUyJ1V0r5CHRNT2ec"
);
Response.BulkTransaction response = await request.Send(client);
Assert.NotNull(response, "Shouldn't be null at least");
Expand All @@ -41,11 +42,11 @@ public async Task BulkCreateTransaction1()
{
try {
Request.BulkCreateTransaction request = new Request.BulkCreateTransaction(
"gtc1eHQx",
"a3",
"8fcy9G2ru7CIugZBUKc64A8KJDFHDE0sPhVL"
"TN1",
"ktFjJy7",
"P4SbKkoz4u4vqNtkYjPXUyJ1V0r5CHRNT2ec"
) {
Description = "mxr0FU3DnW6KqsDEeelMkJvsg1mQveiZolVhKjCQVZwzstz19XaUt7HUg2vBtQ3icUlEOMImvGy37aG3VpRl",
Description = "Ldc33OSn94wpSCBGnb27KI1Ko9Ro9P2UOPHKcZd7kJ0a09BOfpTrIxahzBDxgf0eAPjokEVHRFLghiMn2sJjV2bGnLruRc9c27Gpu7i",
};
Response.BulkTransaction response = await request.Send(client);
Assert.NotNull(response, "Shouldn't be null at least");
Expand Down
3 changes: 2 additions & 1 deletion src/PokepayPartnerCsharpSdk.Test/TestCancelCashtray.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Net.Http;
using NUnit.Framework;
using System.Threading.Tasks;
using System.Collections.Generic;

using PokepayPartnerCsharpSdk;

Expand All @@ -24,7 +25,7 @@ public async Task CancelCashtray0()
{
try {
Request.CancelCashtray request = new Request.CancelCashtray(
"9cf07c12-3205-408c-873e-fed1154bba7e"
"6b1bf8c8-a061-49c0-a5ca-53c7e7365805"
);
Response.Cashtray response = await request.Send(client);
Assert.NotNull(response, "Shouldn't be null at least");
Expand Down
19 changes: 10 additions & 9 deletions src/PokepayPartnerCsharpSdk.Test/TestCreateBill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Net.Http;
using NUnit.Framework;
using System.Threading.Tasks;
using System.Collections.Generic;

using PokepayPartnerCsharpSdk;

Expand All @@ -24,8 +25,8 @@ public async Task CreateBill0()
{
try {
Request.CreateBill request = new Request.CreateBill(
"10b38e5a-a0a2-4643-b978-0431d3fe12c5",
"6be77097-48f0-43b4-96fd-0f6bfa0ed65f"
"99dcacd9-5096-4d5d-a76d-7d532be62f04",
"86feaa53-d0d7-461e-aee4-902ed59606a4"
);
Response.Bill response = await request.Send(client);
Assert.NotNull(response, "Shouldn't be null at least");
Expand All @@ -40,10 +41,10 @@ public async Task CreateBill1()
{
try {
Request.CreateBill request = new Request.CreateBill(
"10b38e5a-a0a2-4643-b978-0431d3fe12c5",
"6be77097-48f0-43b4-96fd-0f6bfa0ed65f"
"99dcacd9-5096-4d5d-a76d-7d532be62f04",
"86feaa53-d0d7-461e-aee4-902ed59606a4"
) {
Description = "AmGgvgI7Yg",
Description = "nFdHza9f0TF30iljDxgSpyfoekUtYXnQ6dyRqDXbojqilSXXfgL13rI",
};
Response.Bill response = await request.Send(client);
Assert.NotNull(response, "Shouldn't be null at least");
Expand All @@ -58,11 +59,11 @@ public async Task CreateBill2()
{
try {
Request.CreateBill request = new Request.CreateBill(
"10b38e5a-a0a2-4643-b978-0431d3fe12c5",
"6be77097-48f0-43b4-96fd-0f6bfa0ed65f"
"99dcacd9-5096-4d5d-a76d-7d532be62f04",
"86feaa53-d0d7-461e-aee4-902ed59606a4"
) {
Amount = 7044.0,
Description = "C9RfQiSpTWZrd0hVSBtTuiSKN3fmfJoVUvvyWz4acD4YN5",
Amount = 1850.0,
Description = "1kMYSkzLYWcqyBEPqq6jXo",
};
Response.Bill response = await request.Send(client);
Assert.NotNull(response, "Shouldn't be null at least");
Expand Down
Loading

0 comments on commit 269b059

Please sign in to comment.