From e544e59630b373af57ac9f9dc5e3dd4d8d876048 Mon Sep 17 00:00:00 2001 From: pokepay-ci Date: Tue, 13 Feb 2024 03:45:44 +0000 Subject: [PATCH] generate --- docs/index.md | 386 +++++++------- .../TestUpdateCoupon.cs | 496 +++++++++--------- 2 files changed, 441 insertions(+), 441 deletions(-) diff --git a/docs/index.md b/docs/index.md index 0fc4d9a..d2dd979 100644 --- a/docs/index.md +++ b/docs/index.md @@ -250,7 +250,7 @@ try { CPMトークンの現在の状態を取得します。CPMトークンの有効期限やCPM取引の状態を返します。 ```csharp Request.GetCpmToken request = new Request.GetCpmToken( - "ulFo5mDyJw8V3XaTOkFDFD" // CPMトークン + "uGDOLqsy43AtWyT6hyzJkP" // CPMトークン ); Response.CpmToken response = await request.Send(client); ``` @@ -273,15 +273,15 @@ CPM取引時にエンドユーザーが店舗に提示するバーコードを 取引一覧を返します。 ```csharp Request.ListTransactions request = new Request.ListTransactions() { - From = "2021-02-09T18:58:32.000000Z", // 開始日時 - To = "2022-12-03T17:28:10.000000Z", // 終了日時 + From = "2021-10-29T04:05:32.000000Z", // 開始日時 + To = "2021-09-14T01:13:45.000000Z", // 終了日時 Page = 1, // ページ番号 PerPage = 50, // 1ページ分の取引数 ShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ID CustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // エンドユーザーID CustomerName = "太郎", // エンドユーザー名 TerminalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 端末ID - TransactionId = "kJRYuzmNr", // 取引ID + TransactionId = "dv4Vr2ADh", // 取引ID OrganizationCode = "pocketchange", // 組織コード PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID IsModified = true, // キャンセルフラグ @@ -494,10 +494,10 @@ Request.CreateTransaction request = new Request.CreateTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ) { - MoneyAmount = 713, - PointAmount = 7622, - PointExpiresAt = "2022-08-29T06:44:29.000000Z", // ポイント有効期限 - Description = "YcPpoEqcZqYNWKYupHW3vkZPbupwOmpLyfcnvR24ekndSEuijqLz34cJjz9WzSXV2waIpnDEjnPuGDOLqsy43AtWyT6hyzJkPIxdv4Vr2ADhNnBQ2AhJrtrRhEmEhncAz", + MoneyAmount = 5908, + PointAmount = 238, + PointExpiresAt = "2021-04-14T12:51:14.000000Z", // ポイント有効期限 + Description = "2AhJrtrRhEmEhncAz9T8Jn6tKv842hmKtJWGe0W2JoBVxOBG6QSEaMM6DcJjfAtdrmKAg3KBKDu0vlbYdV", }; Response.TransactionDetail response = await request.Send(client); ``` @@ -527,11 +527,11 @@ Request.ListTransactionsV2 request = new Request.ListTransactionsV2() { CustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // エンドユーザーID CustomerName = "太郎", // エンドユーザー名 Description = "店頭QRコードによる支払い", // 取引説明文 - TransactionId = "T8Jn6tKv84", // 取引ID + TransactionId = "6n9n", // 取引ID IsModified = true, // キャンセルフラグ Types = new string[]{"topup", "payment"}, // 取引種別 (複数指定可)、チャージ=topup、支払い=payment - From = "2023-12-17T00:21:30.000000Z", // 開始日時 - To = "2020-09-12T19:25:31.000000Z", // 終了日時 + From = "2023-11-21T23:39:56.000000Z", // 開始日時 + To = "2020-11-05T05:28:40.000000Z", // 終了日時 NextPageCursorId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 次ページへ遷移する際に起点となるtransactionのID PrevPageCursorId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 前ページへ遷移する際に起点となるtransactionのID PerPage = 50, // 1ページ分の取引数 @@ -769,9 +769,9 @@ Request.CreateTopupTransaction request = new Request.CreateTopupTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { BearPointShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ポイント支払時の負担店舗ID - MoneyAmount = 4072, // マネー額 - PointAmount = 9325, // ポイント額 - PointExpiresAt = "2022-02-17T02:29:28.000000Z", // ポイント有効期限 + MoneyAmount = 9868, // マネー額 + PointAmount = 2287, // ポイント額 + PointExpiresAt = "2020-08-17T18:52:59.000000Z", // ポイント有効期限 Description = "初夏のチャージキャンペーン", // 取引履歴に表示する説明文 Metadata = "{\"key\":\"value\"}", // 取引メタデータ RequestId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // リクエストID @@ -914,11 +914,11 @@ Request.CreatePaymentTransaction request = new Request.CreatePaymentTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // エンドユーザーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - 4299 // 支払い額 + 7611 // 支払い額 ) { Description = "たい焼き(小倉)", // 取引履歴に表示する説明文 Metadata = "{\"key\":\"value\"}", // 取引メタデータ - Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"is_discounted",false}, {"other","{}"}}}, // 商品情報データ + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"is_discounted",false}, {"other","{}"}}}, // 商品情報データ RequestId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // リクエストID }; Response.TransactionDetail response = await request.Send(client); @@ -1039,9 +1039,9 @@ CPMトークンに設定されたスコープの取引を作ることができ ```csharp Request.CreateCpmTransaction request = new Request.CreateCpmTransaction( - "JWGe0W2JoBVxOBG6QSEaMM", // CPMトークン + "3cE33CQPF6kxIlI0uguDnz", // CPMトークン "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ID - 1462.0 // 取引金額 + 7017.0 // 取引金額 ) { Description = "たい焼き(小倉)", // 取引説明文 Metadata = "{\"key\":\"value\"}", // 店舗側メタデータ @@ -1157,7 +1157,7 @@ Request.CreateTransferTransaction request = new Request.CreateTransferTransactio "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 送金元ユーザーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 受取ユーザーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - 3012.0 // 送金額 + 4244.0 // 送金額 ) { Metadata = "{\"key\":\"value\"}", // 取引メタデータ Description = "たい焼き(小倉)", // 取引履歴に表示する説明文 @@ -1261,9 +1261,9 @@ Request.CreateExchangeTransaction request = new Request.CreateExchangeTransactio "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - 7268 + 4322 ) { - Description = "jfAtdrmKAg3KBKDu0vlbYdVC6n9nVLo43cE33CQPF6kxIlI0uguDnziraNYM7VX5YLnlD8HOOCD", + Description = "NYM7VX5YLnlD8HOOCDlP4GZ7jbmXMO5zVMwfk3fyCehTHNb57OPgysrQCIrNbKg5EGtS1CRG8HTOfVnvp3qGXZFBsOSpPHbliv7UIdhUMzObVJcG5btiH5rur7GsubMGTjIcOXKD9o8Kba3", RequestId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // リクエストID }; Response.TransactionDetail response = await request.Send(client); @@ -1323,7 +1323,7 @@ Request.RefundTransaction request = new Request.RefundTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 取引ID ) { Description = "返品対応のため", // 取引履歴に表示する返金事由 - ReturningPointExpiresAt = "2023-05-11T18:52:28.000000Z", // 返却ポイントの有効期限 + ReturningPointExpiresAt = "2021-07-25T19:14:10.000000Z", // 返却ポイントの有効期限 }; Response.TransactionDetail response = await request.Send(client); ``` @@ -1422,8 +1422,8 @@ Response.UserStatsOperation response = await request.Send(client); Request.GetAccountTransferSummary request = new Request.GetAccountTransferSummary( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - From = "2023-06-01T05:18:02.000000Z", // 集計期間の開始時刻 - To = "2021-03-07T07:42:08.000000Z", // 集計期間の終了時刻 + From = "2023-10-08T11:07:38.000000Z", // 集計期間の開始時刻 + To = "2022-03-06T17:42:32.000000Z", // 集計期間の終了時刻 TransferTypes = new string[]{"topup", "payment"}, // 取引明細種別 (複数指定可) }; Response.AccountTransferSummary response = await request.Send(client); @@ -1499,19 +1499,19 @@ Response.AccountTransferSummary response = await request.Send(client); #### ```csharp Request.ListTransfers request = new Request.ListTransfers() { - From = "2020-01-25T14:29:08.000000Z", - To = "2024-01-19T14:59:19.000000Z", - Page = 7643, - PerPage = 422, + From = "2020-11-23T13:17:35.000000Z", + To = "2022-06-30T21:15:53.000000Z", + Page = 6600, + PerPage = 7718, ShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - ShopName = "XMO5zVMwfk3fyCehTHNb57OPgysrQCIrNbKg5EGtS1CRG8HTOfVnvp3qGXZFBsOSpPHbliv7UIdhUMzObVJcG5btiH5rur7GsubMGTjIcOXKD9o8Kba3zToGBURahT5P9DvE8UV0j2YqC15yVJZpc8KVpHARBDgg1Gn2XcmC1vS6JUWIFuWHifSCeHqDX4OovF1kPsfFAfUD6hedBMnO5c5siBhPS0PdEUgltcrxJuLRpP", + ShopName = "BURahT5P9DvE8UV0j2YqC15yVJZpc8KVpH", CustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - CustomerName = "yEyLzg5USUF0acnAYj9bCB7rUqwv3jfmweeo8gmjkrVbM4yoFbYRleOf9KOkq0RFzjJHwRArvOU8komJ1Atk5RVlui7mGRMrDuzhgMwi2QEwxvEfxvbfoaYN92mmS964bSnGq9n7PpIOomMWW66P3Il", + CustomerName = "ARBDgg1", TransactionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", IsModified = true, - TransactionTypes = new string[]{"transfer", "payment", "exchange", "cashback", "topup", "expire"}, - TransferTypes = new string[]{"transfer", "campaign", "expire", "exchange", "payment"}, // 取引明細の種類でフィルターします。 + TransactionTypes = new string[]{"expire"}, + TransferTypes = new string[]{"cashback", "coupon", "topup", "transfer", "exchange", "campaign", "payment", "expire"}, // 取引明細の種類でフィルターします。 Description = "店頭QRコードによる支払い", // 取引詳細説明文 }; Response.PaginatedTransfers response = await request.Send(client); @@ -1581,20 +1581,20 @@ Response.PaginatedTransfers response = await request.Send(client); ```csharp Request.ListTransfersV2 request = new Request.ListTransfersV2() { ShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ID - ShopName = "gDsmRtGnF7L4kFCWrbFqt27c2", // 店舗名 + ShopName = "cmC1vS6JUWIFuWHifSCeHqDX4OovF1kPsfFAfUD6hedBMnO5c5siBhPS0PdEUgltcrxJuLRpPyEyLzg5USUF0acnAYj9bCB7rUqwv3jfmweeo8gmjkrVbM4yoFbYRleOf9KOkq0RFzjJHwRArvOU8komJ1Atk5R", // 店舗名 CustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // エンドユーザーID - CustomerName = "HcIyayD2aKjXN0NBWyTy0xC6byToeZcV73t7vuEmirlewYMI5WNi6AMJzfUo3Mw8SUD48UFt", // エンドユーザー名 + CustomerName = "lui7mGRMrDuzhgMwi2QEwxvEfxvbfoaYN92mmS964bSnGq9n7PpIOomMWW66P3IlH0kXmsTMdugDsmRtGnF7L4k", // エンドユーザー名 TransactionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 取引ID PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - IsModified = true, // キャンセルフラグ - TransactionTypes = new string[]{"transfer"}, // 取引種別 (複数指定可)、チャージ=topup、支払い=payment + IsModified = false, // キャンセルフラグ + TransactionTypes = new string[]{"cashback", "topup"}, // 取引種別 (複数指定可)、チャージ=topup、支払い=payment NextPageCursorId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 次ページへ遷移する際に起点となるtransferのID PrevPageCursorId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 前ページへ遷移する際に起点となるtransferのID PerPage = 50, // 1ページ分の取引数 - TransferTypes = new string[]{"payment", "expire", "coupon"}, // 取引明細種別 (複数指定可) + TransferTypes = new string[]{"expire", "transfer"}, // 取引明細種別 (複数指定可) Description = "店頭QRコードによる支払い", // 取引詳細説明文 - From = "2020-06-13T02:02:54.000000Z", // 開始日時 - To = "2021-07-01T03:33:06.000000Z", // 終了日時 + From = "2023-02-15T14:34:28.000000Z", // 開始日時 + To = "2023-04-18T00:39:59.000000Z", // 終了日時 }; Response.PaginatedTransfersV2 response = await request.Send(client); ``` @@ -1867,13 +1867,13 @@ QRコードを読み取る方法以外にも、このURLリンクを直接スマ Request.CreateCheck request = new Request.CreateCheck( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 送金元の店舗アカウントID ) { - MoneyAmount = 1137.0, // 付与マネー額 - PointAmount = 1857.0, // 付与ポイント額 + MoneyAmount = 935.0, // 付与マネー額 + PointAmount = 2607.0, // 付与ポイント額 Description = "test check", // 説明文(アプリ上で取引の説明文として表示される) IsOnetime = false, // ワンタイムかどうかのフラグ - UsageLimit = 3412, // ワンタイムでない場合の最大読み取り回数 - ExpiresAt = "2021-03-19T15:02:16.000000Z", // チャージQRコード自体の失効日時 - PointExpiresAt = "2023-07-16T22:11:18.000000Z", // チャージQRコードによって付与されるポイント残高の有効期限 + UsageLimit = 4146, // ワンタイムでない場合の最大読み取り回数 + ExpiresAt = "2021-08-06T05:57:27.000000Z", // チャージQRコード自体の失効日時 + PointExpiresAt = "2023-09-18T07:29:12.000000Z", // チャージQRコードによって付与されるポイント残高の有効期限 PointExpiresInDays = 60, // チャージQRコードによって付与されるポイント残高の有効期限(相対日数指定) BearPointAccount = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ポイント額を負担する店舗のウォレットID }; @@ -1990,18 +1990,18 @@ NULLに設定すると無制限に読み取り可能なチャージQRコード #### チャージQRコード一覧の取得 ```csharp Request.ListChecks request = new Request.ListChecks() { - Page = 3706, // ページ番号 + Page = 7969, // ページ番号 PerPage = 50, // 1ページの表示数 PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - OrganizationCode = "0A3", // 組織コード - ExpiresFrom = "2023-09-08T15:18:47.000000Z", // 有効期限の期間によるフィルター(開始時点) - ExpiresTo = "2022-08-09T10:42:18.000000Z", // 有効期限の期間によるフィルター(終了時点) - CreatedFrom = "2022-06-07T12:42:11.000000Z", // 作成日時の期間によるフィルター(開始時点) - CreatedTo = "2023-06-18T14:55:56.000000Z", // 作成日時の期間によるフィルター(終了時点) + OrganizationCode = "cI", // 組織コード + ExpiresFrom = "2021-06-12T19:58:59.000000Z", // 有効期限の期間によるフィルター(開始時点) + ExpiresTo = "2022-12-03T23:21:29.000000Z", // 有効期限の期間によるフィルター(終了時点) + CreatedFrom = "2020-06-25T13:13:54.000000Z", // 作成日時の期間によるフィルター(開始時点) + CreatedTo = "2022-07-01T05:15:53.000000Z", // 作成日時の期間によるフィルター(終了時点) IssuerShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 発行店舗ID - Description = "2EcUb892j", // チャージQRコードの説明文 - IsOnetime = true, // ワンタイムのチャージQRコードかどうか - IsDisabled = true, // 無効化されたチャージQRコードかどうか + Description = "ayD2", // チャージQRコードの説明文 + IsOnetime = false, // ワンタイムのチャージQRコードかどうか + IsDisabled = false, // 無効化されたチャージQRコードかどうか }; Response.PaginatedChecks response = await request.Send(client); ``` @@ -2165,16 +2165,16 @@ Response.Check response = await request.Send(client); Request.UpdateCheck request = new Request.UpdateCheck( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // チャージQRコードのID ) { - MoneyAmount = 691.0, // 付与マネー額 - PointAmount = 974.0, // 付与ポイント額 + MoneyAmount = 9706.0, // 付与マネー額 + PointAmount = 2136.0, // 付与ポイント額 Description = "test check", // チャージQRコードの説明文 IsOnetime = true, // ワンタイムかどうかのフラグ - UsageLimit = 787, // ワンタイムでない場合の最大読み取り回数 - ExpiresAt = "2020-08-02T15:37:21.000000Z", // チャージQRコード自体の失効日時 - PointExpiresAt = "2020-03-29T12:42:24.000000Z", // チャージQRコードによって付与されるポイント残高の有効期限 + UsageLimit = 7430, // ワンタイムでない場合の最大読み取り回数 + ExpiresAt = "2020-12-10T21:14:54.000000Z", // チャージQRコード自体の失効日時 + PointExpiresAt = "2020-04-25T01:02:58.000000Z", // チャージQRコードによって付与されるポイント残高の有効期限 PointExpiresInDays = 60, // チャージQRコードによって付与されるポイント残高の有効期限(相対日数指定) BearPointAccount = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ポイント額を負担する店舗のウォレットID - IsDisabled = true, // 無効化されているかどうかのフラグ + IsDisabled = false, // 無効化されているかどうかのフラグ }; Response.Check response = await request.Send(client); ``` @@ -2378,18 +2378,18 @@ QRコード生成時に送金元店舗のウォレット情報や、送金額な 支払いQRコード一覧を表示します。 ```csharp Request.ListBills request = new Request.ListBills() { - Page = 2111, // ページ番号 - PerPage = 6570, // 1ページの表示数 - BillId = "yFeM64i", // 支払いQRコードのID + Page = 6138, // ページ番号 + PerPage = 8927, // 1ページの表示数 + BillId = "T", // 支払いQRコードのID PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - OrganizationCode = "a-RQbg-P55SQ", // 組織コード + OrganizationCode = "xs6VNjs2Mf2--N-VxoE9n6N1iQ3v", // 組織コード Description = "test bill", // 取引説明文 - CreatedFrom = "2022-04-08T18:46:56.000000Z", // 作成日時(起点) - CreatedTo = "2023-05-26T08:42:49.000000Z", // 作成日時(終点) + CreatedFrom = "2023-03-22T05:00:31.000000Z", // 作成日時(起点) + CreatedTo = "2024-02-06T00:24:19.000000Z", // 作成日時(終点) ShopName = "bill test shop1", // 店舗名 ShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ID - LowerLimitAmount = 8447, // 金額の範囲によるフィルタ(下限) - UpperLimitAmount = 5739, // 金額の範囲によるフィルタ(上限) + LowerLimitAmount = 3980, // 金額の範囲によるフィルタ(下限) + UpperLimitAmount = 6980, // 金額の範囲によるフィルタ(上限) IsDisabled = true, // 支払いQRコードが無効化されているかどうか }; Response.PaginatedBills response = await request.Send(client); @@ -2540,7 +2540,7 @@ Request.CreateBill request = new Request.CreateBill( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 支払いマネーのマネーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 支払い先(受け取り人)の店舗ID ) { - Amount = 7339.0, // 支払い額 + Amount = 1684.0, // 支払い額 Description = "test bill", // 説明文(アプリ上で取引の説明文として表示される) }; Response.Bill response = await request.Send(client); @@ -2566,9 +2566,9 @@ Response.Bill response = await request.Send(client); Request.UpdateBill request = new Request.UpdateBill( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 支払いQRコードのID ) { - Amount = 2784.0, // 支払い額 + Amount = 9656.0, // 支払い額 Description = "test bill", // 説明文 - IsDisabled = false, // 無効化されているかどうか + IsDisabled = true, // 無効化されているかどうか }; Response.Bill response = await request.Send(client); ``` @@ -2634,10 +2634,10 @@ Cashtrayを作成します。 Request.CreateCashtray request = new Request.CreateCashtray( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ユーザーID - 4879.0 // 金額 + 6869.0 // 金額 ) { Description = "たい焼き(小倉)", // 取引履歴に表示する説明文 - ExpiresIn = 4584, // 失効時間(秒) + ExpiresIn = 3655, // 失効時間(秒) }; Response.Cashtray response = await request.Send(client); ``` @@ -2806,9 +2806,9 @@ Cashtrayの内容を更新します。bodyパラメーターは全て省略可 Request.UpdateCashtray request = new Request.UpdateCashtray( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // CashtrayのID ) { - Amount = 4450.0, // 金額 + Amount = 5236.0, // 金額 Description = "たい焼き(小倉)", // 取引履歴に表示する説明文 - ExpiresIn = 4918, // 失効時間(秒) + ExpiresIn = 6303, // 失効時間(秒) }; Response.Cashtray response = await request.Send(client); ``` @@ -2894,9 +2894,9 @@ Response.AccountDetail response = await request.Send(client); Request.UpdateAccount request = new Request.UpdateAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - IsSuspended = true, // ウォレットが凍結されているかどうか - Status = "suspended", // ウォレット状態 - CanTransferTopup = true, // チャージ可能かどうか + IsSuspended = false, // ウォレットが凍結されているかどうか + Status = "pre-closed", // ウォレット状態 + CanTransferTopup = false, // チャージ可能かどうか }; Response.AccountDetail response = await request.Send(client); ``` @@ -2954,7 +2954,7 @@ Response.AccountDetail response = await request.Send(client); Request.DeleteAccount request = new Request.DeleteAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - Cashback = true, // 返金有無 + Cashback = false, // 返金有無 }; Response.AccountDeleted response = await request.Send(client); ``` @@ -2989,10 +2989,10 @@ Response.AccountDeleted response = await request.Send(client); Request.ListAccountBalances request = new Request.ListAccountBalances( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - Page = 4038, // ページ番号 - PerPage = 9332, // 1ページ分の取引数 - ExpiresAtFrom = "2021-12-12T20:53:51.000000Z", // 有効期限の期間によるフィルター(開始時点) - ExpiresAtTo = "2022-03-09T21:57:33.000000Z", // 有効期限の期間によるフィルター(終了時点) + Page = 6497, // ページ番号 + PerPage = 6466, // 1ページ分の取引数 + ExpiresAtFrom = "2023-06-19T15:21:50.000000Z", // 有効期限の期間によるフィルター(開始時点) + ExpiresAtTo = "2021-03-29T13:19:12.000000Z", // 有効期限の期間によるフィルター(終了時点) Direction = "desc", // 有効期限によるソート順序 }; Response.PaginatedAccountBalance response = await request.Send(client); @@ -3072,10 +3072,10 @@ Response.PaginatedAccountBalance response = await request.Send(client); Request.ListAccountExpiredBalances request = new Request.ListAccountExpiredBalances( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - Page = 6344, // ページ番号 - PerPage = 1186, // 1ページ分の取引数 - ExpiresAtFrom = "2022-12-02T04:36:47.000000Z", // 有効期限の期間によるフィルター(開始時点) - ExpiresAtTo = "2023-08-15T16:25:46.000000Z", // 有効期限の期間によるフィルター(終了時点) + Page = 4131, // ページ番号 + PerPage = 2277, // 1ページ分の取引数 + ExpiresAtFrom = "2023-03-19T23:33:09.000000Z", // 有効期限の期間によるフィルター(開始時点) + ExpiresAtTo = "2020-07-18T12:17:45.000000Z", // 有効期限の期間によるフィルター(終了時点) Direction = "desc", // 有効期限によるソート順序 }; Response.PaginatedAccountBalance response = await request.Send(client); @@ -3155,9 +3155,9 @@ Response.PaginatedAccountBalance response = await request.Send(client); Request.UpdateCustomerAccount request = new Request.UpdateCustomerAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - Status = "active", // ウォレット状態 - AccountName = "bxzOIV2r2JtDEGxgzX90xQ1qEwnOjzBjMdE2ZgqC6g1ENWOPFMuygZod8nuff2bwE3RDjoGhPLmonziI8gPB410GLPQCeC7jS6W3DftZcdyglmNXEppEtAwequ8PJiYpSm0jLeVc0IIOPv", // アカウント名 - ExternalId = "o", // 外部ID + Status = "pre-closed", // ウォレット状態 + AccountName = "rdqAuTxyB0A3WX2EcUb892jz3Nv10xFyFeM64iLpLDhctAZixWvzCjvZGuuLmpXAGJua2paAAkUgzb5zEsMYGbxzOIV2r2JtDEGxgzX90xQ1qEwnOjzBjMdE2ZgqC6g1ENWOPFMuygZod8nuff2bwE3RDjoGhPLmonziI8gPB410GLPQCeC7jS6W3DftZcdyglmNXEppEtAwequ", // アカウント名 + ExternalId = "JiYpSm0jLeVc0IIOP", // 外部ID Metadata = "{\"key1\":\"foo\",\"key2\":\"bar\"}", // ウォレットに付加するメタデータ }; Response.AccountWithUser response = await request.Send(client); @@ -3243,15 +3243,15 @@ Response.AccountWithUser response = await request.Send(client); Request.GetCustomerAccounts request = new Request.GetCustomerAccounts( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { - Page = 7158, // ページ番号 - PerPage = 1278, // 1ページ分のウォレット数 - CreatedAtFrom = "2023-02-19T06:09:39.000000Z", // ウォレット作成日によるフィルター(開始時点) - CreatedAtTo = "2022-05-26T12:04:19.000000Z", // ウォレット作成日によるフィルター(終了時点) + Page = 7999, // ページ番号 + PerPage = 5598, // 1ページ分のウォレット数 + CreatedAtFrom = "2020-02-01T20:26:30.000000Z", // ウォレット作成日によるフィルター(開始時点) + CreatedAtTo = "2020-11-04T16:08:32.000000Z", // ウォレット作成日によるフィルター(終了時点) IsSuspended = false, // ウォレットが凍結状態かどうかでフィルターする - Status = "active", // ウォレット状態 - ExternalId = "Ms9", // 外部ID - Tel = "0955159538", // エンドユーザーの電話番号 - Email = "sXeAgeVmz0@XdBq.com", // エンドユーザーのメールアドレス + Status = "suspended", // ウォレット状態 + ExternalId = "CcBMs9oEUXdmuJ5CsXeAgeVmz0XdBqvz2LZq", // 外部ID + Tel = "04-97-168", // エンドユーザーの電話番号 + Email = "Jk1u6JVnb0@4lQy.com", // エンドユーザーのメールアドレス }; Response.PaginatedAccountWithUsers response = await request.Send(client); ``` @@ -3375,7 +3375,7 @@ Request.CreateCustomerAccount request = new Request.CreateCustomerAccount( ) { UserName = "ポケペイ太郎", // ユーザー名 AccountName = "ポケペイ太郎のアカウント", // アカウント名 - ExternalId = "vz2LZqSb1Cr9Gv", // 外部ID + ExternalId = "4ktenk93ttYPJhOiPCYh", // 外部ID }; Response.AccountWithUser response = await request.Send(client); ``` @@ -3431,10 +3431,10 @@ PAPIクライアントシステムから利用するPokepayユーザーのIDで Request.GetShopAccounts request = new Request.GetShopAccounts( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { - Page = 5289, // ページ番号 - PerPage = 7371, // 1ページ分のウォレット数 - CreatedAtFrom = "2020-08-07T01:47:22.000000Z", // ウォレット作成日によるフィルター(開始時点) - CreatedAtTo = "2023-02-04T11:29:08.000000Z", // ウォレット作成日によるフィルター(終了時点) + Page = 3879, // ページ番号 + PerPage = 362, // 1ページ分のウォレット数 + CreatedAtFrom = "2022-12-20T22:26:04.000000Z", // ウォレット作成日によるフィルター(開始時点) + CreatedAtTo = "2024-02-05T20:41:24.000000Z", // ウォレット作成日によるフィルター(終了時点) IsSuspended = false, // ウォレットが凍結状態かどうかでフィルターする }; Response.PaginatedAccountWithUsers response = await request.Send(client); @@ -3512,10 +3512,10 @@ Request.ListCustomerTransactions request = new Request.ListCustomerTransactions( ) { SenderCustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 送金エンドユーザーID ReceiverCustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 受取エンドユーザーID - Type = "payment", // 取引種別 + Type = "expire", // 取引種別 IsModified = false, // キャンセル済みかどうか - From = "2021-12-12T20:22:48.000000Z", // 開始日時 - To = "2022-06-05T02:13:10.000000Z", // 終了日時 + From = "2023-10-17T16:01:34.000000Z", // 開始日時 + To = "2022-11-24T21:29:52.000000Z", // 終了日時 Page = 1, // ページ番号 PerPage = 50, // 1ページ分の取引数 }; @@ -3657,8 +3657,8 @@ Request.ListOrganizations request = new Request.ListOrganizations( ) { Page = 1, // ページ番号 PerPage = 50, // 1ページ分の取引数 - Name = "JVn", // 組織名 - Code = "04l", // 組織コード + Name = "teZ9v4lYI", // 組織名 + Code = "rYpnV35", // 組織コード }; Response.PaginatedOrganizations response = await request.Send(client); ``` @@ -3703,14 +3703,14 @@ Request.CreateOrganization request = new Request.CreateOrganization( "ox-supermarket", // 新規組織コード "oxスーパー", // 新規組織名 new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 加盟店組織で有効にするマネーIDの配列 - "Qy4ktenk93@ttYP.com", // 発行体担当者メールアドレス - "JhOiPCYhnx@itPJ.com" // 新規組織担当者メールアドレス + "pBMGKJEJkp@n6Ml.com", // 発行体担当者メールアドレス + "r99tmpLoTF@QeHI.com" // 新規組織担当者メールアドレス ) { BankName = "XYZ銀行", // 銀行名 BankCode = "1234", // 銀行金融機関コード BankBranchName = "ABC支店", // 銀行支店名 BankBranchCode = "123", // 銀行支店コード - BankAccountType = "other", // 銀行口座種別 (普通=saving, 当座=current, その他=other) + BankAccountType = "saving", // 銀行口座種別 (普通=saving, 当座=current, その他=other) BankAccount = "1234567", // 銀行口座番号 BankAccountHolderName = "フクザワユキチ", // 口座名義人名 ContactName = "佐藤清", // 担当者名 @@ -3726,11 +3726,11 @@ Request.ListShops request = new Request.ListShops() { OrganizationCode = "pocketchange", // 組織コード PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID Name = "oxスーパー三田店", // 店舗名 - PostalCode = "840-0964", // 店舗の郵便番号 + PostalCode = "3992548", // 店舗の郵便番号 Address = "東京都港区芝...", // 店舗の住所 - Tel = "07962-0052", // 店舗の電話番号 - Email = "nV35pBMGKJ@EJkp.com", // 店舗のメールアドレス - ExternalId = "6Mlr99tmpLoTFQeHIPsIBBDhi4oQ1", // 店舗の外部ID + Tel = "04-018-143", // 店舗の電話番号 + Email = "3zE32Vk24C@een1.com", // 店舗のメールアドレス + ExternalId = "SjytDUp3byZcFEP", // 店舗の外部ID WithDisabled = true, // 無効な店舗を含める Page = 1, // ページ番号 PerPage = 50, // 1ページ分の取引数 @@ -3868,11 +3868,11 @@ Response.PaginatedShops response = await request.Send(client); Request.CreateShop request = new Request.CreateShop( "oxスーパー三田店" // 店舗名 ) { - ShopPostalCode = "414-3353", // 店舗の郵便番号 + ShopPostalCode = "946-7553", // 店舗の郵便番号 ShopAddress = "東京都港区芝...", // 店舗の住所 - ShopTel = "01663553194", // 店舗の電話番号 - ShopEmail = "DUp3byZcFE@PnID.com", // 店舗のメールアドレス - ShopExternalId = "yEjs1xIVAG7PJaXsPvnXy7J", // 店舗の外部ID + ShopTel = "01918-7038", // 店舗の電話番号 + ShopEmail = "JaXsPvnXy7@JLPW.com", // 店舗のメールアドレス + ShopExternalId = "4POJKIKUBKfvAdAdVhR8q", // 店舗の外部ID OrganizationCode = "ox-supermarket", // 組織コード }; Response.User response = await request.Send(client); @@ -3884,14 +3884,14 @@ Response.User response = await request.Send(client); Request.CreateShopV2 request = new Request.CreateShopV2( "oxスーパー三田店" // 店舗名 ) { - PostalCode = "0107440", // 店舗の郵便番号 + PostalCode = "670-5440", // 店舗の郵便番号 Address = "東京都港区芝...", // 店舗の住所 - Tel = "06-5261414", // 店舗の電話番号 - Email = "VhR8qFWp5t@CaOk.com", // 店舗のメールアドレス - ExternalId = "j6", // 店舗の外部ID + Tel = "0831214078", // 店舗の電話番号 + Email = "zOOhzPjoLU@npes.com", // 店舗のメールアドレス + ExternalId = "4zWmpVcy9ixDX4fCfbAE0A", // 店舗の外部ID OrganizationCode = "ox-supermarket", // 組織コード - PrivateMoneyIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 店舗で有効にするマネーIDの配列 - CanTopupPrivateMoneyIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 店舗でチャージ可能にするマネーIDの配列 + PrivateMoneyIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 店舗で有効にするマネーIDの配列 + CanTopupPrivateMoneyIds = new string[]{}, // 店舗でチャージ可能にするマネーIDの配列 }; Response.ShopWithAccounts response = await request.Send(client); ``` @@ -3965,13 +3965,13 @@ Request.UpdateShop request = new Request.UpdateShop( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 店舗ユーザーID ) { Name = "oxスーパー三田店", // 店舗名 - PostalCode = "0784915", // 店舗の郵便番号 + PostalCode = "804-8661", // 店舗の郵便番号 Address = "東京都港区芝...", // 店舗の住所 - Tel = "00540-5427", // 店舗の電話番号 - Email = "mpVcy9ixDX@4fCf.com", // 店舗のメールアドレス - ExternalId = "AE0AZjhFFPDiC5XgRDuJC7DFGXWJ1DsLyOn", // 店舗の外部ID - PrivateMoneyIds = new string[]{}, // 店舗で有効にするマネーIDの配列 - CanTopupPrivateMoneyIds = new string[]{}, // 店舗でチャージ可能にするマネーIDの配列 + Tel = "01-35872", // 店舗の電話番号 + Email = "DuJC7DFGXW@J1Ds.com", // 店舗のメールアドレス + ExternalId = "LyOnXTqwNlXWPSNst44xBM1tMMoOy", // 店舗の外部ID + PrivateMoneyIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 店舗で有効にするマネーIDの配列 + CanTopupPrivateMoneyIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 店舗でチャージ可能にするマネーIDの配列 Status = "disabled", // 店舗の状態 }; Response.ShopWithAccounts response = await request.Send(client); @@ -4088,8 +4088,8 @@ Response.ShopWithAccounts response = await request.Send(client); Request.ListUserAccounts request = new Request.ListUserAccounts( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ユーザーID ) { - Page = 7454, // ページ番号 - PerPage = 225, // 1ページ分の取引数 + Page = 4395, // ページ番号 + PerPage = 5442, // 1ページ分の取引数 }; Response.PaginatedAccountDetails response = await request.Send(client); ``` @@ -4136,8 +4136,8 @@ Request.CreateUserAccount request = new Request.CreateUserAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ユーザーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { - Name = "WPSNst44xBM1tMMoOy", // ウォレット名 - ExternalId = "oAqWcD5ADFBSPh7o2MC5sMNA", // 外部ID + Name = "qWcD5ADFBSPh7o2MC5sMNAQhF0HCoj9Dj4ZpJqp2buSHK5WKI86hTWo47qb9nSKNBR3LjzCdQo4GwTY7y2Am8ZcyGh3BczuQ1HmAT4U7cCHORIBupKF2LGLWlWRqEU1R3HVfumJrkxA1RBhkJnrKn6T4", // ウォレット名 + ExternalId = "UBYf7XzEp3cMOeoQItbJApNFN", // 外部ID Metadata = "{\"key1\":\"foo\",\"key2\":\"bar\"}", // ウォレットに付加するメタデータ }; Response.AccountDetail response = await request.Send(client); @@ -4215,8 +4215,8 @@ Response.PaginatedPrivateMoneys response = await request.Send(client); Request.GetPrivateMoneyOrganizationSummaries request = new Request.GetPrivateMoneyOrganizationSummaries( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { - From = "2024-01-05T10:05:05.000000Z", // 開始日時(toと同時に指定する必要有) - To = "2023-04-20T05:34:54.000000Z", // 終了日時(fromと同時に指定する必要有) + From = "2020-09-18T02:56:34.000000Z", // 開始日時(toと同時に指定する必要有) + To = "2021-10-07T06:02:17.000000Z", // 終了日時(fromと同時に指定する必要有) Page = 1, // ページ番号 PerPage = 50, // 1ページ分の取引数 }; @@ -4231,8 +4231,8 @@ Response.PaginatedPrivateMoneyOrganizationSummaries response = await request.Sen Request.GetPrivateMoneySummary request = new Request.GetPrivateMoneySummary( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { - From = "2022-09-03T19:55:42.000000Z", // 開始日時 - To = "2023-05-10T19:11:36.000000Z", // 終了日時 + From = "2020-01-01T00:02:02.000000Z", // 開始日時 + To = "2020-06-08T05:00:33.000000Z", // 終了日時 }; Response.PrivateMoneySummary response = await request.Send(client); ``` @@ -4243,11 +4243,11 @@ Response.PrivateMoneySummary response = await request.Send(client); CSVファイルから一括取引をします。 ```csharp Request.BulkCreateTransaction request = new Request.BulkCreateTransaction( - "F", // 一括取引タスク名 - "H", // 取引する情報のCSV - "Coj9Dj4ZpJqp2buSHK5WKI86hTWo47qb9nSK" // リクエストID + "SEKvNBsiLTmRsG1pcvzP", // 一括取引タスク名 + "SNlMjgy", // 取引する情報のCSV + "Cm3l36NNuyyweAXXanZiLS6lbj9JXoVWEOjN" // リクエストID ) { - Description = "BR3LjzCdQo4GwTY7y2Am8ZcyGh3BczuQ1HmAT4U7cCHORIBupKF2LGLWlWRqEU1R3HVfumJrkxA1RBh", // 一括取引の説明 + Description = "WcJ8Pqob8ZB", // 一括取引の説明 PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID }; Response.BulkTransaction response = await request.Send(client); @@ -4338,11 +4338,11 @@ Request.CreateExternalTransaction request = new Request.CreateExternalTransactio "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // エンドユーザーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - 1610 // 取引額 + 129 // 取引額 ) { Description = "たい焼き(小倉)", // 取引説明文 Metadata = "{\"key\":\"value\"}", // ポケペイ外部取引メタデータ - Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"is_discounted",false}, {"other","{}"}}}, // 商品情報データ + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"is_discounted",false}, {"other","{}"}}}, // 商品情報データ RequestId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // リクエストID }; Response.ExternalTransactionDetail response = await request.Send(client); @@ -4478,32 +4478,32 @@ Response.ExternalTransactionDetail response = await request.Send(client); ```csharp Request.CreateCampaign request = new Request.CreateCampaign( - "Kn6T4UBYf7XzEp3cMOeoQItbJApNFNbizZqSEKvNBsiLTmRsG1pcvzPfSNlMjgyCm3l36NNuyyweAXXanZiLS6lbj9JXoVWEOjNWcJ8Pqob8ZBDc2LIkAJFpX3tMiPvkskrBs7cZNQht6pUXt6QkeG9pRp1c5EcN6nLJcb0NEcuMnzKSDbJDSeKRyRniwPaN0afN8mRVY0r2kLaYAQQnNWq5gJk8ucSDE2uEYUD0C3IXLL4lH8T", // キャンペーン名 + "c2LIkAJFpX3tMiPvkskrBs7cZNQht6pUXt6QkeG9pRp1c5EcN6nLJcb0NEcuMnzKSDbJD", // キャンペーン名 "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - "2021-11-30T05:15:59.000000Z", // キャンペーン開始日時 - "2020-10-17T00:37:07.000000Z", // キャンペーン終了日時 - 3019, // キャンペーンの適用優先度 - "topup" // イベント種別 + "2020-05-30T05:04:19.000000Z", // キャンペーン開始日時 + "2022-08-14T15:51:01.000000Z", // キャンペーン終了日時 + 843, // キャンペーンの適用優先度 + "external-transaction" // イベント種別 ) { BearPointShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ポイント負担先店舗ID - Description = "kSfET7NeTYdPy8UjYc9OlslQQZIq7zSOEeSzczj6ObIBdQwmJP2q6udBME6WRlyybO27figMsVRHKPW8EbdfuKdbyfcjYNDVx4A2ovqPMZA8irXJ9E6ZcMzkLyAqgwSoddiujWTgn11mpxaVIYgQo5GvBiHKw3I5f57jFE45d3P21Pzx2jnlKrw0LdNS4VtkXCD", // キャンペーンの説明文 + Description = "yRniwPaN0afN8mRVY0r2kLaYAQQnNWq5gJk8ucSDE2uEYUD0C3IXLL4lH8T3KxBkSfET7NeTYdPy8UjYc9OlslQQZIq7zSOEeSzczj6ObIBdQwmJP2q6udBME6WRlyybO27figMsVR", // キャンペーンの説明文 Status = "enabled", // キャンペーン作成時の状態 - PointExpiresAt = "2023-11-22T03:25:23.000000Z", // ポイント有効期限(絶対日時指定) - PointExpiresInDays = 6773, // ポイント有効期限(相対日数指定) - IsExclusive = false, // キャンペーンの重複設定 + PointExpiresAt = "2022-11-20T05:16:21.000000Z", // ポイント有効期限(絶対日時指定) + PointExpiresInDays = 4544, // ポイント有効期限(相対日数指定) + IsExclusive = true, // キャンペーンの重複設定 Subject = "all", // ポイント付与の対象金額の種別 - AmountBasedPointRules = new object[]{new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}}, // 取引金額ベースのポイント付与ルール + AmountBasedPointRules = new object[]{new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}}, // 取引金額ベースのポイント付与ルール ProductBasedPointRules = new object[]{new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, // 商品情報ベースのポイント付与ルール - ApplicableDaysOfWeek = new int[]{2}, // キャンペーンを適用する曜日 (複数指定) - ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, // キャンペーンを適用する時間帯 (複数指定) - ApplicableShopIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // キャンペーン適用対象となる店舗IDのリスト - MinimumNumberForCombinationPurchase = 1451, // 複数種類の商品を同時購入するときの商品種別数の下限 - ExistInEachProductGroups = false, // 複数の商品グループにつき1種類以上の商品購入によって発火するキャンペーンの指定フラグ - MaxPointAmount = 2770, // キャンペーンによって付与されるポイントの上限 - MaxTotalPointAmount = 4968, // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 + ApplicableDaysOfWeek = new int[]{5, 6, 4}, // キャンペーンを適用する曜日 (複数指定) + ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, // キャンペーンを適用する時間帯 (複数指定) + ApplicableShopIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // キャンペーン適用対象となる店舗IDのリスト + MinimumNumberForCombinationPurchase = 6166, // 複数種類の商品を同時購入するときの商品種別数の下限 + ExistInEachProductGroups = true, // 複数の商品グループにつき1種類以上の商品購入によって発火するキャンペーンの指定フラグ + MaxPointAmount = 134, // キャンペーンによって付与されるポイントの上限 + MaxTotalPointAmount = 9447, // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 DestPrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ポイント付与先となるマネーID ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, // ウォレットに紐付くメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。 - BudgetCapsAmount = 1494199178, // キャンペーン予算上限 + BudgetCapsAmount = 422935798, // キャンペーン予算上限 }; Response.Campaign response = await request.Send(client); ``` @@ -5045,8 +5045,8 @@ Request.ListCampaigns request = new Request.ListCampaigns( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { IsOngoing = false, // 現在適用可能なキャンペーンかどうか - AvailableFrom = "2021-09-12T16:32:28.000000Z", // 指定された日時以降に適用可能期間が含まれているか - AvailableTo = "2021-03-11T20:37:06.000000Z", // 指定された日時以前に適用可能期間が含まれているか + AvailableFrom = "2022-01-01T10:00:15.000000Z", // 指定された日時以降に適用可能期間が含まれているか + AvailableTo = "2020-05-31T11:36:43.000000Z", // 指定された日時以前に適用可能期間が含まれているか Page = 1, // ページ番号 PerPage = 20, // 1ページ分の取得数 }; @@ -5155,28 +5155,28 @@ Response.Campaign response = await request.Send(client); Request.UpdateCampaign request = new Request.UpdateCampaign( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // キャンペーンID ) { - Name = "CcszhfH09Y5OthVwPmvHXBFS5mnHJDaN", // キャンペーン名 - StartsAt = "2020-12-01T03:01:47.000000Z", // キャンペーン開始日時 - EndsAt = "2022-04-28T20:33:01.000000Z", // キャンペーン終了日時 - Priority = 7548, // キャンペーンの適用優先度 - Event = "payment", // イベント種別 - Description = "qCBViT8YJSc5gafw5E7JxTvjUc1aT5EbGpCQn8B7l65BYMvNkhEwbRq7C0zj85JoEScisdzkhxnXFFT7CXS50vaovkROQbPFa2Q0QZFPxPWcwwu3uh9fDL3S3NHvBIxMXxVOS8aVOp", // キャンペーンの説明文 + Name = "byfcjYNDVx4A2ovqPMZA8irXJ9E6ZcMzkLyAqgwSoddiujWTgn11mpxaVIYgQo5GvBiHKw3I5f57jFE45d3P21Pzx2jnlKrw0LdNS", // キャンペーン名 + StartsAt = "2020-05-12T19:19:16.000000Z", // キャンペーン開始日時 + EndsAt = "2022-06-26T17:10:33.000000Z", // キャンペーン終了日時 + Priority = 8101, // キャンペーンの適用優先度 + Event = "topup", // イベント種別 + Description = "tkXCDrt0LJOE3QgwrCcszhfH09Y5OthVwPmvHXBFS5mnHJDaN7ByqCBViT8YJSc5gafw5E7JxTvjUc1aT5EbGpCQn8B7l65BYMvNkhEwbRq7C0zj85JoEScisdzkhxnXFFT7CX", // キャンペーンの説明文 Status = "disabled", // キャンペーン作成時の状態 - PointExpiresAt = "2023-01-18T13:40:57.000000Z", // ポイント有効期限(絶対日時指定) - PointExpiresInDays = 6830, // ポイント有効期限(相対日数指定) + PointExpiresAt = "2024-01-25T19:14:44.000000Z", // ポイント有効期限(絶対日時指定) + PointExpiresInDays = 7438, // ポイント有効期限(相対日数指定) IsExclusive = false, // キャンペーンの重複設定 - Subject = "all", // ポイント付与の対象金額の種別 - AmountBasedPointRules = new object[]{new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}}, // 取引金額ベースのポイント付与ルール - ProductBasedPointRules = new object[]{new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, // 商品情報ベースのポイント付与ルール - ApplicableDaysOfWeek = new int[]{3, 5}, // キャンペーンを適用する曜日 (複数指定) + Subject = "money", // ポイント付与の対象金額の種別 + AmountBasedPointRules = new object[]{new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}}, // 取引金額ベースのポイント付与ルール + ProductBasedPointRules = new object[]{new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, // 商品情報ベースのポイント付与ルール + ApplicableDaysOfWeek = new int[]{1, 6}, // キャンペーンを適用する曜日 (複数指定) ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, // キャンペーンを適用する時間帯 (複数指定) - ApplicableShopIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // キャンペーン適用対象となる店舗IDのリスト - MinimumNumberForCombinationPurchase = 4392, // 複数種類の商品を同時購入するときの商品種別数の下限 - ExistInEachProductGroups = true, // 複数の商品グループにつき1種類以上の商品購入によって発火するキャンペーンの指定フラグ - MaxPointAmount = 2031, // キャンペーンによって付与されるポイントの上限 - MaxTotalPointAmount = 4215, // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 + ApplicableShopIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // キャンペーン適用対象となる店舗IDのリスト + MinimumNumberForCombinationPurchase = 2003, // 複数種類の商品を同時購入するときの商品種別数の下限 + ExistInEachProductGroups = false, // 複数の商品グループにつき1種類以上の商品購入によって発火するキャンペーンの指定フラグ + MaxPointAmount = 7120, // キャンペーンによって付与されるポイントの上限 + MaxTotalPointAmount = 30, // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, // ウォレットに紐付くメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。 - BudgetCapsAmount = 2034420397, // キャンペーン予算上限 + BudgetCapsAmount = 306881955, // キャンペーン予算上限 }; Response.Campaign response = await request.Send(client); ``` @@ -5695,8 +5695,8 @@ WebHookにはURLとタスク名、有効化されているかを設定するこ このとき、リクエストボディは `{"task": <タスク名>}` という値になります。 ```csharp Request.CreateWebhook request = new Request.CreateWebhook( - "bulk_shops", // タスク名 - "9kW30yX" // URL + "process_user_stats_operation", // タスク名 + "PFa" // URL ); Response.OrganizationWorkerTaskWebhook response = await request.Send(client); ``` @@ -5764,8 +5764,8 @@ Response.PaginatedOrganizationWorkerTaskWebhook response = await request.Send(cl Request.UpdateWebhook request = new Request.UpdateWebhook( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // Webhook ID ) { - Url = "j5pEZQN", // URL - IsActive = false, // 有効/無効 + Url = "2Q0QZF", // URL + IsActive = true, // 有効/無効 Task = "bulk_shops", // タスク名 }; Response.OrganizationWorkerTaskWebhook response = await request.Send(client); @@ -5847,12 +5847,12 @@ Couponは特定店舗で利用できるものや利用可能期間、配信条 Request.ListCoupons request = new Request.ListCoupons( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 対象クーポンのマネーID ) { - CouponId = "wcrR2Tap7t", // クーポンID - CouponName = "zfq7vVXcZ", // クーポン名 - IssuedShopName = "kAjYTEO65", // 発行店舗名 - AvailableShopName = "NQtFJaRQv", // 利用可能店舗名 - AvailableFrom = "2023-06-06T10:12:20.000000Z", // 利用可能期間 (開始日時) - AvailableTo = "2020-11-29T08:57:14.000000Z", // 利用可能期間 (終了日時) + CouponId = "PWcwwu3uh", // クーポンID + CouponName = "9f", // クーポン名 + IssuedShopName = "L3S3N", // 発行店舗名 + AvailableShopName = "vBIxMXxVO", // 利用可能店舗名 + AvailableFrom = "2020-12-04T01:56:35.000000Z", // 利用可能期間 (開始日時) + AvailableTo = "2022-10-18T15:11:52.000000Z", // 利用可能期間 (終了日時) Page = 1, // ページ番号 PerPage = 50, // 1ページ分の取得数 }; @@ -5962,7 +5962,7 @@ Response.PaginatedCoupons response = await request.Send(client); ```csharp Request.CreateCoupon request = new Request.CreateCoupon( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "5yyqZjpM3EGDvxc2vHpfKAF", + "VOpiS1EeKe2EnvF9kW30yXFj5pEZQNOtIwcrR2Tap7tnXzfq7vVXcZZXkAjYTEO65NQtFJaRQvj5yyqZjpM3EGDvxc2vHpfKAF", "2023-12-27T02:00:10.000000Z", "2020-12-24T15:11:19.000000Z", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 発行元の店舗ID diff --git a/src/PokepayPartnerCsharpSdk.Test/TestUpdateCoupon.cs b/src/PokepayPartnerCsharpSdk.Test/TestUpdateCoupon.cs index 9cdfd89..18747ef 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestUpdateCoupon.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestUpdateCoupon.cs @@ -628,12 +628,12 @@ public async Task UpdateCoupon25() DiscountPercentage = 1990.0, IsDisabled = false, DisplayEndsAt = "2020-02-28T03:47:20.000000Z", - DisplayStartsAt = "2023-08-07T02:47:43.000000Z", - EndsAt = "2021-01-22T02:10:35.000000Z", - StartsAt = "2022-09-22T22:47:56.000000Z", - DiscountUpperLimit = 8028, - Description = "gIb0heOl2hQPfOiPoRxRiCop5Q0A9gBKU33EhyGU9Sc7TWphUCFQOlhJCzSIu3L4oB0QKjjVXdg6wCnP4F0PUy8JyZq3ofPUU0rY2rRd10bnDEPKoSGRnM40Adb2lsHFBNfL0ieognilvSR4pMoCwkxpSpqKLDrvgRvBVvAYQP0NP5o8oIbQ6bcvTH9KRHlq0wqM01LRxPcYJN00R6J1knyJeLDqePaGS57qQUn9Qotexnhe", - Name = "cBro7jHBJHSTWFK0aJRYTf", + DisplayStartsAt = "2024-02-09T11:43:54.000000Z", + EndsAt = "2023-08-07T02:47:43.000000Z", + StartsAt = "2021-01-22T02:10:35.000000Z", + DiscountUpperLimit = 1308, + Description = "gogIb0heOl2hQPfOiPoRxRiCop5Q0A9gBKU33EhyGU9Sc7TWphUCFQOlhJCzSIu3L4oB0QKjjVXdg6wCnP4F0PUy8JyZq3ofPUU0rY2rRd10bnDEPKoSGRnM40Adb2lsHFBNfL0ieognilvSR4pMoCwkxpSpqKLDrvgRvBVvAYQP0NP5o8oIbQ6bcvTH9KRHlq0wqM01LRxPcYJN00R6J1knyJeLDqePaGS57qQU", + Name = "9QotexnhecBro7jHBJHSTWFK0aJRYTfxgM2RajM6sQRgc1VEyXHMXBj8otEAcFy5ooXoXuzlRpCyCoZoaTfbTmVX0XqqL2DDCdNGv9QaNMmxX2S", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -650,17 +650,17 @@ public async Task UpdateCoupon26() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountAmount = 3205, - DiscountPercentage = 3175.0, - IsHidden = false, + DiscountAmount = 358, + DiscountPercentage = 4560.0, + IsHidden = true, IsDisabled = true, - DisplayEndsAt = "2022-03-04T23:59:14.000000Z", - DisplayStartsAt = "2020-07-29T22:26:48.000000Z", - EndsAt = "2020-07-31T21:06:41.000000Z", - StartsAt = "2020-11-29T09:17:03.000000Z", - DiscountUpperLimit = 2026, - Description = "M6sQRgc1VEyXHMXBj8otEAcFy5ooXoXuzlRpCyCoZoaTfbTmVX0XqqL2DDCdN", - Name = "Gv9QaNMmxX2S2fPh6fy135I5", + DisplayEndsAt = "2023-07-25T03:35:04.000000Z", + DisplayStartsAt = "2021-10-04T01:56:11.000000Z", + EndsAt = "2022-01-26T08:17:29.000000Z", + StartsAt = "2020-08-08T01:13:26.000000Z", + DiscountUpperLimit = 2278, + Description = "y135I5DGGggnvkdWrHaspAw5Vcp7CE78JSe44PvWgrDoffEic8syvxPXUni2oM8QHA7lWY5GLHqITj0UgJwxmfaF0gGfg", + Name = "lG67XOfGi887nNv1eh26ZZWkeJQym7n7CGmjd25iFSdny2rQSPU5tCjVy8COfDZrZRHs0hjVGtY7fDH", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -677,18 +677,18 @@ public async Task UpdateCoupon27() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountAmount = 452, - DiscountPercentage = 5642.0, - IsPublic = false, + DiscountAmount = 3879, + DiscountPercentage = 6597.0, + IsPublic = true, IsHidden = false, IsDisabled = true, - DisplayEndsAt = "2024-01-12T08:43:51.000000Z", - DisplayStartsAt = "2022-04-28T20:20:36.000000Z", - EndsAt = "2023-10-08T03:05:33.000000Z", - StartsAt = "2021-05-12T19:30:15.000000Z", - DiscountUpperLimit = 4327, - Description = "nvkdWrHaspAw5Vcp7CE78JSe44PvWgrDoffEic8syvxPXUni2oM8QHA7lWY5GLHqITj0UgJwxmfaF0gGfgNlG67XOfGi887nNv1eh26ZZWkeJQym7n7CGmjd25iFSdny2rQSPU5tCjVy8COfDZrZRHs0hjVGtY7fDHExM6iUcBW9LDUejJe4laTFkcJAyP9v3lR5fJ1SCFuFJVqCc62CsLVYKPyOwySSjaFxy00I", - Name = "CXmzsObY8JjUm176PqMxSejYJwKQkQhcSsOlDNZZsSWHBkBrsiXhCnZzamORmWcssL2FF3HA", + DisplayEndsAt = "2021-06-24T10:33:33.000000Z", + DisplayStartsAt = "2022-04-30T18:44:41.000000Z", + EndsAt = "2020-02-22T20:20:16.000000Z", + StartsAt = "2022-04-05T13:58:19.000000Z", + DiscountUpperLimit = 4901, + Description = "UcBW9LDUejJe4laTFkcJAyP9v3lR5fJ1SCFuFJVqCc62CsLVYKPyOwySSjaFxy00IGCXmzsObY8JjUm176PqMxSejYJwKQkQhcSsOlDNZZsSWHBkBrsiXhCnZzamORmWcssL2FF3HAzhtt18u7MooUueVWo8T9dRNvfu3qkwBDNVzugQpgEVipsMl1opS6XVL1U8vfTPgZQoGXLb8hT5vzbbFysLVW03Q8sgkwbt7b", + Name = "cdIa6s2OiS448zYYuSerVgt5xpThqkxWuN4OkYmUnkAFHrW518DEhvGfJFhBLPIWgGXu2FRRBCtapsc2OJEtIYHTkPMCnHWRhGK3T2O4zTKZrpJNYtglnu99On", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -705,19 +705,19 @@ public async Task UpdateCoupon28() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountAmount = 8954, - DiscountPercentage = 8168.0, - Code = "t", - IsPublic = true, - IsHidden = false, - IsDisabled = false, - DisplayEndsAt = "2023-03-04T05:42:16.000000Z", - DisplayStartsAt = "2023-10-11T08:06:13.000000Z", - EndsAt = "2020-01-07T12:18:39.000000Z", - StartsAt = "2020-10-10T16:37:18.000000Z", - DiscountUpperLimit = 9006, - Description = "7MooUueVWo8T9dRNvfu3qkwBDNVzugQpgEVipsMl1opS6XVL1U8vfTPgZQoGXLb8hT5vzbbFysLVW03Q8sgkwbt7bycdIa6s2OiS448zYYuSerVgt5xpThqkxWuN4OkYmUnkAFHrW518DEhvGfJFh", - Name = "LPIWgGXu2FRRBCtapsc2OJEtIYHTkPMCnHWRhGK3T2O4zTKZrpJNYtglnu99Onqaf5i", + DiscountAmount = 8689, + DiscountPercentage = 6241.0, + Code = "5iTxaKH", + IsPublic = false, + IsHidden = true, + IsDisabled = true, + DisplayEndsAt = "2021-07-06T05:01:40.000000Z", + DisplayStartsAt = "2022-04-30T02:17:19.000000Z", + EndsAt = "2023-12-14T21:37:33.000000Z", + StartsAt = "2021-12-08T04:36:24.000000Z", + DiscountUpperLimit = 8664, + Description = "xpMz5eg3TFJnOMXlccrSM4NeRkShSKYnhr8JJ6rqJ58uKWhjJEVfg4kmmGr3fEZnBlmzkrtoyKm38BDyuj1U15iB0VVURHNCTBSkvCAJURQ0xc8v3XGoxNYBzQF26RRnLKM2vajHzuhk8mM7y90MUBMqpZFx6CyPOvMtoUIDYTTb", + Name = "YLUK2ZY6omFZc6c5lAiaH7ksthq2qt1fISbJLQ2IGy7A4O5EuFDi3ep7E8", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -734,20 +734,20 @@ public async Task UpdateCoupon29() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountAmount = 7953, - DiscountPercentage = 7721.0, - UsageLimit = 1600, - Code = "t4HXxpMz5", + DiscountAmount = 9861, + DiscountPercentage = 8122.0, + UsageLimit = 2123, + Code = "wqzGZ", IsPublic = true, - IsHidden = true, + IsHidden = false, IsDisabled = false, - DisplayEndsAt = "2020-08-30T01:35:35.000000Z", - DisplayStartsAt = "2020-07-06T20:29:39.000000Z", - EndsAt = "2021-09-28T07:48:36.000000Z", - StartsAt = "2021-02-26T04:02:14.000000Z", - DiscountUpperLimit = 3530, - Description = "OMXlccrSM4NeRkShSKYnhr8JJ6rqJ58uKWhjJEVfg4kmmGr3fEZnBlmzkrtoyKm38BDyuj1U15iB0VVURHNCTBSkvCAJURQ0xc8v3XGoxNYBzQF", - Name = "6RRnLKM2vajHzuhk8mM7y90MUBMqpZFx6CyPOvMtoUIDYTTb9YL", + DisplayEndsAt = "2023-01-08T01:54:59.000000Z", + DisplayStartsAt = "2020-09-20T15:59:46.000000Z", + EndsAt = "2023-01-28T03:10:24.000000Z", + StartsAt = "2022-02-05T00:48:30.000000Z", + DiscountUpperLimit = 8266, + Description = "TtHeL1jl3TaroJ97KS7PIYmqHtFEvZxOLgNEFPzTNAeMR2CvVgTRCY2rEPprVjp", + Name = "NeaYJXDFnN5l443TmOvQLPfQxkSjhKrHXePF1aNsQcGEPe2hgvk3yuDeTC8XzXR9", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -764,21 +764,21 @@ public async Task UpdateCoupon30() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountAmount = 2430, - DiscountPercentage = 8124.0, - MinAmount = 3838, - UsageLimit = 1877, - Code = "ZY6", + DiscountAmount = 3244, + DiscountPercentage = 4783.0, + MinAmount = 2050, + UsageLimit = 2538, + Code = "n", IsPublic = true, IsHidden = false, IsDisabled = false, - DisplayEndsAt = "2021-05-02T06:05:58.000000Z", - DisplayStartsAt = "2020-11-14T02:18:02.000000Z", - EndsAt = "2020-09-02T12:17:39.000000Z", - StartsAt = "2023-11-15T17:09:17.000000Z", - DiscountUpperLimit = 8317, - Description = "6c5lAiaH7ksthq2qt1fISbJLQ2IGy7A4O5EuFDi3ep7E8KTwqzGZlqsrJTtHeL1jl3TaroJ97KS7PIYmqHtFEvZxOLgNEFPzTNAeMR2CvVgTRCY2rEPprVjpNeaYJXDFnN5l443TmOvQLPfQxkSjhKrHXePF1aNsQcGEPe2hgvk3yuDeTC8XzXR9jncya31KgghsgYe3TbLJN21a8hZtm5so8Mz8sE9uDmHdcukVhdalQqRPyTvG2tPeRbQcNOD", - Name = "a3IhebkRxi8kuGoSk8mmCPAG5TaOSJrFwT6IMSTQQD3aZSLuV5KvsCMKR5EbTWV4WWsRyRXg", + DisplayEndsAt = "2021-12-29T19:59:33.000000Z", + DisplayStartsAt = "2022-07-16T17:40:09.000000Z", + EndsAt = "2020-11-14T20:24:01.000000Z", + StartsAt = "2021-07-06T09:38:59.000000Z", + DiscountUpperLimit = 2353, + Description = "KgghsgYe3TbLJN21a8hZtm5so8Mz8sE9uDmHdcukVhdalQqRPyTvG2tPeRbQcNODGa3IhebkRxi8kuGoSk8mmCPAG5TaOSJrFwT6IMSTQQD3aZSLuV5KvsCMKR5EbTWV4WWsRyR", + Name = "XgRYVg4CYuzSBW4stkoPc7UXRyRiV8Pax53IDmwuQOCW", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -795,22 +795,22 @@ public async Task UpdateCoupon31() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountAmount = 5165, - DiscountPercentage = 8219.0, - IsShopSpecified = false, - MinAmount = 5037, - UsageLimit = 3520, - Code = "g4CYuzS", - IsPublic = false, - IsHidden = true, - IsDisabled = true, - DisplayEndsAt = "2021-09-18T18:13:43.000000Z", - DisplayStartsAt = "2022-03-01T00:57:56.000000Z", - EndsAt = "2020-03-04T07:03:16.000000Z", - StartsAt = "2022-10-12T08:21:07.000000Z", - DiscountUpperLimit = 8846, - Description = "tkoPc7UXRyRiV8Pax53IDmwuQOCWjbIPmFGWkh7DMCSqp4SWi3zPKlO0ubMaaWt2sfRwBothNvTY3vFr4ELRXyBW70oqJ1JP1EYwzYF5YE8jQgUzmyBkd9RsSiJlXzLN5312aQsa3khCQuI0KxC45PIbfMDQsr0", - Name = "TvhXVGg9hnQlyenzuwrO3gGQmGe09eXlKtPgqSA0ERaGz46vIiA4hbe1yI3CGp5lj6m5fgOCupwcIPxBzhbkfELKrUPd9GpW6Q92PXWpLmGFM1Prn", + DiscountAmount = 8861, + DiscountPercentage = 2922.0, + IsShopSpecified = true, + MinAmount = 2093, + UsageLimit = 639, + Code = "PmFGWkh7DM", + IsPublic = true, + IsHidden = false, + IsDisabled = false, + DisplayEndsAt = "2022-05-29T16:12:03.000000Z", + DisplayStartsAt = "2020-07-01T14:25:53.000000Z", + EndsAt = "2021-08-14T22:25:52.000000Z", + StartsAt = "2023-05-21T06:48:20.000000Z", + DiscountUpperLimit = 1491, + Description = "Wi3zPKlO0ubMaaWt2sfRwBothNvTY3vFr4ELRXyBW70oqJ1JP1EYwzYF5YE8jQgUzmyBkd9RsSiJlXzLN5312aQsa3khCQuI0KxC45PIbfMDQsr0pTvhXVGg9hnQlyenzuwrO3gGQmGe09eXlKtPgqSA0ERaGz46vIiA4hbe1yI3CGp", + Name = "lj6m5fgOCupwcIPxBzhbkfELKrUPd9GpW6Q92PXWpLmGFM1PrngLs4", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -827,23 +827,23 @@ public async Task UpdateCoupon32() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountAmount = 8295, - DiscountPercentage = 7425.0, - AvailableShopIds = new string[]{"9f5df334-20c0-4725-9a5f-8daeb737ecf1", "780583b6-fef2-46ea-a160-9046d15644cb", "5e3cd67e-178b-4ace-94c8-ae933b155491", "dd704355-efd0-446a-9f38-61cfe7e5c261"}, - IsShopSpecified = true, - MinAmount = 2605, - UsageLimit = 9676, - Code = "D3inc4", - IsPublic = true, - IsHidden = false, + DiscountAmount = 8384, + DiscountPercentage = 2778.0, + AvailableShopIds = new string[]{"780583b6-fef2-46ea-a160-9046d15644cb", "5e3cd67e-178b-4ace-94c8-ae933b155491"}, + IsShopSpecified = false, + MinAmount = 1130, + UsageLimit = 7224, + Code = "HL", + IsPublic = false, + IsHidden = true, IsDisabled = false, - DisplayEndsAt = "2021-08-18T05:01:39.000000Z", - DisplayStartsAt = "2020-06-19T09:03:27.000000Z", - EndsAt = "2020-02-11T14:16:51.000000Z", - StartsAt = "2023-08-09T09:22:31.000000Z", - DiscountUpperLimit = 508, - Description = "p4s7jMjS5PtJzYsdA5qhl1QGqEwjgkrGn0uAn0iqI2b5rxtzGOZhKJMKwzvYsbBzTdo6bpAqcWNJrNTsv2Llex1ejGQ2ugzGxu81Sx50Yf2M71M8zENOSGlzUlDTz33P2rJ14YHcAJKWHCf11oIN1lhxfCtQoWt3KCnkWzy38cC0E7gsSEITDei3yOkB642y5M6ZGKLNmOSXPLkVgGHidiNxSMbU65iFGAAyuGpPep5Ml", - Name = "LDDmy5H5WNxLWXFOkEFZiHMkNkDC4XjA", + DisplayEndsAt = "2021-12-05T22:07:16.000000Z", + DisplayStartsAt = "2022-08-13T06:41:44.000000Z", + EndsAt = "2022-01-05T08:14:20.000000Z", + StartsAt = "2020-10-24T02:22:33.000000Z", + DiscountUpperLimit = 7320, + Description = "c4333SWlp4s7jMjS5PtJzYsdA5qhl1QGqEwjgkrGn0uAn0iqI2b5rxtzGOZhKJMKwzvYsbBzTdo6bpAqcWNJrNTsv2Llex1ejGQ2ugzGxu81Sx5", + Name = "0Yf2M71M8zENOSGlzUlDT", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -860,24 +860,24 @@ public async Task UpdateCoupon33() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountAmount = 1664, - DiscountPercentage = 7168.0, - StorageId = "41377912-9f99-4b83-aea8-dedcb4645ace", - AvailableShopIds = new string[]{"548de50d-4dd0-481b-b954-6a98ef7f3761", "414931f3-20a7-4cf1-b149-cc2caa3f61c6", "e94e7191-01e5-4e78-8af8-9919c1e50648", "aa68976f-2da4-46cf-bd73-a7147a409559", "5ab17d17-8533-4ad8-932f-a7ed13f41ce6", "8b3fff53-088f-412b-834d-e0cddb9a8ddb", "33cdbec0-a8c9-4d07-b0dc-35059caf39e8", "6a024150-328a-49fb-bc49-f9cf0c989163"}, + DiscountAmount = 1203, + DiscountPercentage = 1595.0, + StorageId = "61fb7933-9e0b-4615-905d-0f9650173d83", + AvailableShopIds = new string[]{"2b06e5b2-2d72-454a-b134-eafbcbe61959"}, IsShopSpecified = true, - MinAmount = 1904, - UsageLimit = 6823, - Code = "kBjff", + MinAmount = 4323, + UsageLimit = 3118, + Code = "JK", IsPublic = true, - IsHidden = true, - IsDisabled = false, - DisplayEndsAt = "2021-01-16T23:01:45.000000Z", - DisplayStartsAt = "2023-09-13T23:58:06.000000Z", - EndsAt = "2021-08-22T22:44:37.000000Z", - StartsAt = "2022-02-13T19:16:31.000000Z", - DiscountUpperLimit = 7621, - Description = "4zrJepcLNjePvmbsJ6aAodX3lOsSzeTfXuUhrzyKZN2IpvZDbUGNbf92zGejiy7b3srgm7LVnhxTyAZfZDkQ2r2xXuIalmcupP8PaFubqXmo0h47ayHi8sXxsnC42wCpyAiBnUBLAV97YftKTMpHhWMUK3SCmPb9BXoLZ7wKHtX23HwTLkUG7zxtQPL0ebUOhv3B3t2DzpE", - Name = "8r", + IsHidden = false, + IsDisabled = true, + DisplayEndsAt = "2020-12-24T19:28:03.000000Z", + DisplayStartsAt = "2021-08-20T19:25:24.000000Z", + EndsAt = "2022-02-12T01:20:38.000000Z", + StartsAt = "2022-05-08T16:43:29.000000Z", + DiscountUpperLimit = 945, + Description = "IN1lhxfCtQoWt3KCnkWzy38cC0E7gsSEITDei3yOkB642y5M6ZGKLNmOSXPLkVgGHidiNxSMbU65iFGAAyuGpPep5MlLDDmy5H5WNxLWXFOkEFZiHMkNkDC4XjAgnNgPyTasq1IFexxHoOsY3XmfSCMMI0hPIOcfptkBjffHuYKUEJ4zrJepcLNjePvmbsJ6aAodX3lOsSzeTfXuUhrzyKZN2IpvZDbUGNbf92zGejiy7b3s", + Name = "rgm7LVnhxTyAZfZDkQ2r2xXuIalmcupP8PaFubqXmo0h47ayHi8sXxsnC42wCpyA", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -894,7 +894,7 @@ public async Task UpdateCoupon34() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 6177.0, + DiscountPercentage = 5818.0, }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -911,8 +911,8 @@ public async Task UpdateCoupon35() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 4453.0, - Name = "7vFyo7eM4dNHW25nKJYDvzM004QSYdkecoFJzr3brOZ5f3RQvkhtySJKYRUQ3NzIgBoxko0Q38", + DiscountPercentage = 1188.0, + Name = "BnUBLAV97YftKTMpHhWMUK3SCmPb9BXoLZ7wKHtX23HwTLkUG7zxtQPL0ebUOhv3B3t2DzpE8reI7vFyo7eM4dNHW25nKJYDvzM004QSYd", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -929,9 +929,9 @@ public async Task UpdateCoupon36() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 7286.0, - Description = "iglT3j7uK9FEO8wpTMbUo34OhjcbIFy00bHfPtADraHJBywFUVQhJIvCWpCXLp2gUnx8oHUCw9IDU8v5tebk72bnq5V1PYuyQsrCeZvlknHwyCYeoTGD6IVelM1xkQHIURZCUVG9E4BcH9vh8Qcd9Qr1jGxJh75seT2MlMasdJCSgZ4n", - Name = "16A08HMuzRKVjoY87iExdEHTNDtgEpdMlXJAKinvVKW5jNBic0lbP5i9pPDb3qItRRs3FY6lAlrydgPmYNQmdCCSHSb7PeqbGNNyGMxdwCiRwJp", + DiscountPercentage = 7935.0, + Description = "ecoFJzr3brOZ5f3RQvkhtySJKYRUQ3NzIgBoxko0Q38viglT3j7uK9FEO8wpTMbUo34OhjcbIFy00bHfPtADraHJBywFUVQhJIvCWpCXLp2g", + Name = "nx8oHUCw9IDU8v5tebk72bnq5V1PYuyQsrCeZvlknHwyCYeoTGD6IVelM1xkQHIURZCUVG9E4BcH9vh8Qcd9Qr", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -948,10 +948,10 @@ public async Task UpdateCoupon37() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 2261.0, - DiscountUpperLimit = 5314, - Description = "S7wM2sjFT50Pr6H3Lr5Vqadi7ItSc4oUdi9EYp8oXZ4d1DUqCUDmWqMmM9IYmurAkMd4wDsAO01hvmpIXnG4Vdq7gNAtqrqKm6uKQNQH3PDcRwUCecSBjOParYUfATbiJrkxUEwT3M91XjHrTG7fMCl81IJPQuSHXTmEReE1YV9ebnUBpzD7d9DsGnOvPtZOQ7wRQgMzlEQYhb78oA0LE9nGzso", - Name = "IqSCZEncCQxjIhrUeBMFsGSoFMs14cvovqZ6GQpcxkL1iWim0Xpy9XRR4FHqayBd9Y6", + DiscountPercentage = 5922.0, + DiscountUpperLimit = 4714, + Description = "GxJh75seT2MlMasdJCSgZ4nn16A08HMuzRKVjoY87iExdEHTNDtgEpdMlXJAKinvVKW5jNBic0lbP5i9pPDb3qItRRs3FY6lAlrydgPmYNQmdCCSHSb7PeqbGNNyG", + Name = "MxdwCiRwJpoUBZS7wM2sjFT50Pr6H3Lr5Vqadi7ItSc4", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -968,11 +968,11 @@ public async Task UpdateCoupon38() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 3822.0, - StartsAt = "2023-10-27T14:23:58.000000Z", - DiscountUpperLimit = 9568, - Description = "DnCaj1IshUK5sOcLMoSdluvLDw0rIOalhSCHrt5J1YKxmhpIQaAHuF1XqBsQEc2YHzb0v51JNexx20BlobdlTY6n3LbK6Vu4m4", - Name = "hE7PkEzPYVXfzwtjxI8n9Z0CQKMUdsLKbKLcaV6nH18WcZidvZ55mAgOE16AnmYbzCLHYWconVaiJFwoOHJhs1D1kk2Z65xpUZ28FCmVx3QLXn5K0uj", + DiscountPercentage = 8815.0, + StartsAt = "2020-11-01T22:01:57.000000Z", + DiscountUpperLimit = 8638, + Description = "di9EYp8oXZ4d1DUqCUDmWqMmM9IYmurAkMd4wDsAO01hvmpIXnG4Vdq7gNAtqrqKm6uKQNQH3PDcRwUCecSBjOParYUfATbiJrkxUEwT3M91XjHrTG7fMCl81IJPQuSHXTmEReE1YV9ebnUBpzD7d9DsGnOvPtZOQ", + Name = "wRQgMzlEQYhb78oA0LE9nGzsoBIqSCZEncCQxjIhrUeBMFsGSoFMs14c", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -989,12 +989,12 @@ public async Task UpdateCoupon39() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 4838.0, - EndsAt = "2021-10-29T01:08:59.000000Z", - StartsAt = "2022-05-26T05:56:27.000000Z", - DiscountUpperLimit = 7508, - Description = "EebumDwnUvtTuwE1P6w3jvuc6WVynWZlMwTGtLKHNv0GHMA8YNVctqn0HylBE", - Name = "aWFtKmGqTMRGGhLK4md8CvDRXJmyMUq3nONdNUldEzZzYqTFGHLldYwHPZ5GyoY", + DiscountPercentage = 7296.0, + EndsAt = "2021-09-20T03:31:47.000000Z", + StartsAt = "2022-06-02T05:56:55.000000Z", + DiscountUpperLimit = 7542, + Description = "vqZ6GQpcxkL1iWim0Xpy9XRR4FHqayBd9Y6naDnCaj1IshUK5sOcLMoSdluvLDw0rIOalhSCHrt5J1YKxmhpIQaAHuF1XqBsQEc2YHzb0v51JNexx20BlobdlTY6n3LbK6Vu4m4rhE7PkEzPYVXfzwtjxI8n9Z0CQKMUdsLKbKLcaV6nH18WcZidvZ55mAgOE16AnmYbzCLHYWconVaiJFwoOHJhs1D1kk2Z65xpUZ28FCmV", + Name = "3QLXn5K0ujHfTEebumDwnUvtTuwE1P6w3jvuc6WVynWZlMwTGtLKHNv0GHMA8YNVctqn0HylBEaWFtKmGqTMRGGhLK4md8CvDRXJmyMUq3nONdNUldEzZzYqT", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1011,13 +1011,13 @@ public async Task UpdateCoupon40() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 6233.0, - DisplayStartsAt = "2021-08-19T13:32:54.000000Z", - EndsAt = "2021-02-17T07:03:04.000000Z", - StartsAt = "2022-04-21T23:18:59.000000Z", - DiscountUpperLimit = 5351, - Description = "PK3Dchqik562nQJ7JN9nEMDfH9ZULXMKOjFu2fGiShoySflnRPKvTH4Qb4HK1DE5zpHipftSBuuUyajKD4UG1MO97nrik73QyiaNKms0iFYGrWxxlKwOlCibtq2e0nqtXLNITG9Gffmmox8hwqx5x7fQZGPMXFo6oIvZGxUJAAeHeUyg78eCpqwfbVaGI8MUg6pkTJeF4LA5VGWml", - Name = "55tLRhXfPthFrTbvP80JDs4TLAvvWwguBec41EmwzzFrgc709a7P9KtTHr3zG8NnPjRfIRrqy3FohrRi", + DiscountPercentage = 2330.0, + DisplayStartsAt = "2020-07-22T21:57:26.000000Z", + EndsAt = "2024-02-06T10:43:19.000000Z", + StartsAt = "2020-01-29T15:22:48.000000Z", + DiscountUpperLimit = 8, + Description = "ldYwHPZ5GyoYYcgPPK3Dchqik562nQJ7JN9nEMDfH9ZULXMKOjFu2fGiShoySflnRPKvTH4Qb4HK1DE5zpHipftSBuuUyajKD4UG1MO97nrik73QyiaNKms0iFYGrWxxlKwOlCibtq2e0nqtXLNITG9Gffmmox8hwqx5x7fQ", + Name = "ZGPMXFo6oI", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1034,14 +1034,14 @@ public async Task UpdateCoupon41() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 2204.0, - DisplayEndsAt = "2022-02-20T22:32:39.000000Z", - DisplayStartsAt = "2021-10-01T23:48:24.000000Z", - EndsAt = "2023-06-06T08:40:02.000000Z", - StartsAt = "2023-07-15T08:29:26.000000Z", - DiscountUpperLimit = 924, - Description = "tN77E9sKP2LWTHQkvbYQTkmfSmGSFmTTeLGAy7h6m0YyagUC0Ij3N9K7EVH4f0IDf80jI5hMMqGagepFcb0C3pMehBLw9uhZslxpk65zsLMOaWLvqiZty5Zp232IvDDPPtMusem1WSPOdAkWLCHhP", - Name = "7q7jyjEo8V3Di9DtzhzAGKUtsDdhPal5eEvQkTNVI1DbDv2ICSa1fLqeRzw", + DiscountPercentage = 8478.0, + DisplayEndsAt = "2022-10-07T01:23:27.000000Z", + DisplayStartsAt = "2020-11-03T09:46:30.000000Z", + EndsAt = "2022-05-11T18:45:46.000000Z", + StartsAt = "2020-09-04T22:22:21.000000Z", + DiscountUpperLimit = 7232, + Description = "xUJAAeHeUyg78eCpqwfbVaGI8MUg6pkTJeF4LA5VGWmlO55tLRhXfPthFrTbvP80JDs4TLAvvWwguBec41EmwzzFrgc709a7P9KtTHr3zG8NnPjRfIRrqy3FohrRiHbftN77E9sKP2LWTHQkvbYQTkmfSmGSFmTTeLGAy7h6m0YyagUC0Ij3N9K7EVH4f0IDf80jI5hM", + Name = "qGagepFcb0C3pMehBLw9uhZslxpk65zsLMOaWLvqiZty5Zp232IvDDPPtMusem1WSPOdAkWLCHhP7q", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1058,15 +1058,15 @@ public async Task UpdateCoupon42() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 9497.0, + DiscountPercentage = 6199.0, IsDisabled = true, - DisplayEndsAt = "2022-05-26T11:53:50.000000Z", - DisplayStartsAt = "2023-03-05T10:35:52.000000Z", - EndsAt = "2021-10-31T13:19:42.000000Z", - StartsAt = "2021-05-09T08:15:36.000000Z", - DiscountUpperLimit = 3285, - Description = "Hy7seU6TPp7YTcvCbmuWQvyjmdKhWFzroFJfg0zCih9qHu842U5SnXNqipKVsIIUjVYx3ZiMVPZEq0xgguEtAXJ6WozfUGo1oVRA1PV2JD5SjzUvS2Jlq6P89tC2Mi1PRe6ex8zQnoMXPxIs0d6X24reGHeQvAPqGMsA1rgfPu4olvC1KDDE1G2mG", - Name = "U9YeDH", + DisplayEndsAt = "2020-12-02T01:56:58.000000Z", + DisplayStartsAt = "2020-08-12T00:00:14.000000Z", + EndsAt = "2022-02-15T18:53:30.000000Z", + StartsAt = "2023-01-08T07:25:15.000000Z", + DiscountUpperLimit = 4089, + Description = "jEo8V3Di9DtzhzAGKUtsDdhPal5eEvQkTNVI1DbDv2ICSa1fLqeRzwnNnU8Hy7seU6TPp7YTcvCbmuWQvyjmdKhWFzroFJfg0zCih9qHu842U5SnXNqipKVsIIUjVYx3ZiMVPZEq0xgguEtAXJ6WozfUGo1oVRA1PV2JD5SjzUvS2Jlq6P89tC2Mi1PRe6ex8zQnoMXPxIs0d6X24reGHeQvAPqGMs", + Name = "A1rgfPu4olvC1KDDE1G2mGU9YeDH5Tysjz5v4HW6eqkSkn", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1083,16 +1083,16 @@ public async Task UpdateCoupon43() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 9141.0, + DiscountPercentage = 6019.0, IsHidden = true, - IsDisabled = true, - DisplayEndsAt = "2022-02-08T23:04:25.000000Z", - DisplayStartsAt = "2023-07-04T15:47:08.000000Z", - EndsAt = "2021-05-02T16:53:33.000000Z", - StartsAt = "2021-10-30T23:58:56.000000Z", - DiscountUpperLimit = 6974, - Description = "jz5v4HW6eqkSknjWS4aW80Xp5YCo9TXEMx6Q3N4lydCpBzThmgOIjIatpE7508LaYMNkxpSQqkfWLu8WbqqwjfwNPVeBo88egFulBO0tWJ93Y52C590AS7UiB0DiDGREmImyJDbbC2wEGBfcAGc0EsTxqnb80BRFYcLTC4xCABLekowD1pN0MSUSSu62wEl3iPUkIv4a2NsBAg7OoWmbOWXvcqkH6OCG8bjnFs6Wxag7kVTYLZtj", - Name = "qA6blCNXCxB23NKDv", + IsDisabled = false, + DisplayEndsAt = "2021-02-23T18:14:02.000000Z", + DisplayStartsAt = "2022-10-22T07:05:19.000000Z", + EndsAt = "2022-02-17T16:54:47.000000Z", + StartsAt = "2021-01-29T00:52:35.000000Z", + DiscountUpperLimit = 5428, + Description = "aW80Xp5YCo9TXEMx6Q3N4lydCpBzThmgOIjIatpE7508LaYMNkxpSQqkfWLu8WbqqwjfwNPVeBo88egFulBO0tWJ93Y52C590AS7UiB0DiDGREmImyJDbbC2wEGBfcAGc0EsT", + Name = "xqnb80BRFYcLTC4xCABLekowD1pN0MSUSSu62wEl3iPUkIv4a2NsBAg7OoWmbOWXvcqkH6OCG8bjnFs6Wxag7kVTYLZtjq", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1109,17 +1109,17 @@ public async Task UpdateCoupon44() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 8485.0, - IsPublic = false, - IsHidden = false, - IsDisabled = true, - DisplayEndsAt = "2021-12-01T04:54:19.000000Z", - DisplayStartsAt = "2023-08-26T06:04:20.000000Z", - EndsAt = "2023-11-01T17:05:06.000000Z", - StartsAt = "2021-12-03T18:52:53.000000Z", - DiscountUpperLimit = 4843, - Description = "6rCZ5MRu3n3kWR611LhXRF1WjDXemYssWVQAa0S9OWEqIPoWhsZ81p0D8THD4dpuhxNvhxjPfdLCMpGSOhV764tKT9oHgjnPne51YZOU0zGq4PpZBc0rJPOstD7C9IM7suB5w40dZFTsuKZGsFElmQpA4RSTaTlLaqlkU49OXmcM1eYLCIvDzYzwAtEksQWSl6Am3gCBrhM35EfmrtOFWMml5EKRiDsWg9ZcujQMFm", - Name = "4vZ2HzNm8wdK6sB9HsuClaKx3AfzVa9lboQsNDBH1uzKMqlEF94aThPURq2Q4ZM2ZH2d8EggWOOiiO67HWQCePWkLnY7y5P2vTc", + DiscountPercentage = 9743.0, + IsPublic = true, + IsHidden = true, + IsDisabled = false, + DisplayEndsAt = "2023-07-24T23:18:14.000000Z", + DisplayStartsAt = "2021-04-22T12:28:18.000000Z", + EndsAt = "2022-09-23T16:27:24.000000Z", + StartsAt = "2021-01-24T12:52:37.000000Z", + DiscountUpperLimit = 606, + Description = "NXCxB23NKDv8dBki6rCZ5MRu3n3kWR611LhXRF1WjDXemYssWVQAa0S9OWEqIPoWhsZ8", + Name = "p0D8THD4dpuhxNvhxjPfdLCMpGSOhV764tKT9oHgjnPne51YZO", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1136,18 +1136,18 @@ public async Task UpdateCoupon45() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 9898.0, - Code = "DF85U", - IsPublic = true, + DiscountPercentage = 8405.0, + Code = "0zGq4PpZBc", + IsPublic = false, IsHidden = false, - IsDisabled = false, - DisplayEndsAt = "2020-10-30T12:50:32.000000Z", - DisplayStartsAt = "2022-07-04T05:18:43.000000Z", - EndsAt = "2020-02-02T16:47:45.000000Z", - StartsAt = "2022-01-04T12:45:48.000000Z", - DiscountUpperLimit = 1671, - Description = "RLtjhMxgRT9FEddBtVan5HyW6Uan9MoY", - Name = "beeBKUXDDy014vqgIch5W6XuTL0vlIdvdIMbz7wUi6BXoKUl0tR07369wBiPR32MXZafz3jffpT8lg", + IsDisabled = true, + DisplayEndsAt = "2023-08-26T05:56:22.000000Z", + DisplayStartsAt = "2023-09-30T11:22:26.000000Z", + EndsAt = "2023-01-31T10:52:46.000000Z", + StartsAt = "2021-06-22T23:31:22.000000Z", + DiscountUpperLimit = 848, + Description = "stD7C9IM7suB5w40dZFTsuKZGsFElmQpA4RSTaTlLaqlkU49OXmcM1eYLCIvDzYzwAtEksQWSl6Am3gCBrhM35EfmrtOFWMml5EKRiDsWg9ZcujQMFmb4vZ2HzNm8wdK6sB9HsuClaKx3AfzVa9lboQsNDBH1uzKMqlEF94aThPURq2Q4ZM2ZH2d8EggWOOiiO67HWQCePWkLnY7", + Name = "5P2vTc2kTDF85U9g31HpRLtjhMxgRT9FEddBtVan5HyW6Uan9MoYMbeeBKUXDDy014vqgIch5W6XuTL0vlIdvdIMbz7wUi6BXoKUl0tR07369wBiPR32MXZafz", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1164,19 +1164,19 @@ public async Task UpdateCoupon46() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 1949.0, - UsageLimit = 3853, - Code = "ERnFdcWh", + DiscountPercentage = 9651.0, + UsageLimit = 3352, + Code = "fpT8lgG", IsPublic = true, IsHidden = false, - IsDisabled = true, - DisplayEndsAt = "2021-03-14T08:37:16.000000Z", - DisplayStartsAt = "2022-07-02T22:09:21.000000Z", - EndsAt = "2022-08-04T10:08:23.000000Z", - StartsAt = "2023-01-15T22:21:48.000000Z", - DiscountUpperLimit = 4193, - Description = "fJ60D0H2T0aKhnL3FlnAD82QrpYaKuslNraOesyAiawWiyWkSV3bs4OkWhHFx3P67yxFmxWAZtU", - Name = "oiVrIFnb7w6ZClkoqVajvuG5cGcBP5wA9GwSB8bfxMId7hFKERGvYa7vbD1cIywVpXocQ5N98CAVKuKRC5FL", + IsDisabled = false, + DisplayEndsAt = "2021-06-02T05:42:42.000000Z", + DisplayStartsAt = "2021-01-25T22:40:46.000000Z", + EndsAt = "2022-03-01T13:27:34.000000Z", + StartsAt = "2022-02-25T10:45:56.000000Z", + DiscountUpperLimit = 3159, + Description = "SdaJfJ60D0H2T0aKhnL3FlnAD82QrpYaKuslNraOesyAiawWiyWkSV3bs4OkWhHFx3P67yxFmxWAZtUSoiVrIFnb7w6ZClkoqVajvuG5c", + Name = "GcBP5wA9GwSB8bfxMId7hFKERGvYa", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1193,20 +1193,20 @@ public async Task UpdateCoupon47() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 6047.0, - MinAmount = 1601, - UsageLimit = 7881, - Code = "iGK", + DiscountPercentage = 9149.0, + MinAmount = 2231, + UsageLimit = 6653, + Code = "bD1cIyw", IsPublic = true, IsHidden = false, - IsDisabled = false, - DisplayEndsAt = "2021-09-03T11:23:53.000000Z", - DisplayStartsAt = "2021-10-05T09:36:56.000000Z", - EndsAt = "2022-12-25T05:12:59.000000Z", - StartsAt = "2020-09-24T20:30:53.000000Z", - DiscountUpperLimit = 419, - Description = "NBTqLCZ99AjVbK3l31NeAICSoLJdEVZoJB0H5I2jNmYRtpCMs9TezTj3A085y5hWQ3gd", - Name = "DOWFExGORRYNLJdsZ6n3IGoF44i0499bTqwmusaHN4dAo0kcMwrj6lsuth9pSzmqVAxW3BZh2UFG0NdobuyCqKAyF8XBloHn7nUM7l", + IsDisabled = true, + DisplayEndsAt = "2023-07-03T17:15:20.000000Z", + DisplayStartsAt = "2021-08-20T09:11:22.000000Z", + EndsAt = "2021-06-13T20:21:16.000000Z", + StartsAt = "2022-12-19T18:04:08.000000Z", + DiscountUpperLimit = 1549, + Description = "cQ5N98CAVKuKRC5FLAIRiGKuI8CNBTqLCZ99AjVbK3l31NeAICSoLJdEVZoJB0H5I2jNmYRtpCMs9TezTj3A085y5hWQ3gdeDOWFExGORRYNLJdsZ6n3IGoF44i0499bTqwmusaHN4dAo0kcMwrj6lsuth9pSzmqVAxW3BZh2UFG0NdobuyCqKAyF8XBloHn7nUM7l934bPMQ7DIwFMXGuPCrmdUDxKggDFfFvOJkxhc8IPv", + Name = "tQD4QxNm6tX3Guvbo2vDNfvQpElqxJKgNyOMeXS2rUoCJ5iH", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1223,21 +1223,21 @@ public async Task UpdateCoupon48() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 1021.0, - IsShopSpecified = true, - MinAmount = 2838, - UsageLimit = 5561, - Code = "4bPM", + DiscountPercentage = 4770.0, + IsShopSpecified = false, + MinAmount = 7922, + UsageLimit = 9929, + Code = "swPc2", IsPublic = true, IsHidden = false, IsDisabled = true, - DisplayEndsAt = "2020-12-20T15:37:32.000000Z", - DisplayStartsAt = "2022-08-15T22:41:05.000000Z", - EndsAt = "2020-06-18T05:25:37.000000Z", - StartsAt = "2020-05-03T09:41:11.000000Z", - DiscountUpperLimit = 9668, - Description = "wFMXGuPCrmdUDxKggDFfFvOJkxhc8IPvtQD4QxNm6tX3Guvbo2vDNfvQpElqxJKgNyOMeXS2rU", - Name = "oCJ5iHqorIswPc2cBsLEwskU0m8hSr1melepO9LnwIsUcSmvb4GOUqCz9cG", + DisplayEndsAt = "2020-03-27T12:54:11.000000Z", + DisplayStartsAt = "2020-05-10T02:22:04.000000Z", + EndsAt = "2020-04-17T04:38:29.000000Z", + StartsAt = "2022-03-25T04:16:14.000000Z", + DiscountUpperLimit = 4958, + Description = "kU0m8hSr1melepO9LnwIsUcSmvb4GOUqCz9cGDIhlPt52zP7YS2DWusWLcKpd2P335Nv6jpCTg7cImjgcPmkAEumRe3ajMg8VGC0KZL7VMaMEGv2NsNR", + Name = "CHkqW6b190Xf2yHeAyBqIIySMiYLD3kq3Znz8pepfEmpSiLZTFdERWScAwFtubDUWmymMiDw", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1254,22 +1254,22 @@ public async Task UpdateCoupon49() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 4130.0, - AvailableShopIds = new string[]{"1a89a5c9-2ce8-49bc-be06-50fde05e2fec", "83bb16d0-bd89-4c74-88b5-253b718fe387", "8006550f-e0b2-417a-9037-2c59101d3453", "bfb8ba32-12c4-4e28-91a1-12d71c5c5f14", "24b4821a-fd75-4ff3-a4d7-3acc8085c863", "e2b6cfbc-efcb-4d7b-a5f0-63e43c32a532", "044b272d-318f-4ca5-9d50-b8332afa748c", "547fc533-38b5-4ace-b6b6-ae923d41adea"}, + DiscountPercentage = 6342.0, + AvailableShopIds = new string[]{"42761e86-170f-4746-a5dd-1166e55ee0a2", "da1330e3-754e-48ce-8c41-1d7ff794db93", "3f6cf7e6-fb07-49d4-b036-3e60ae980196", "678f86c7-1933-48ed-b29e-8453f9a41db1", "285bb3ba-1fb1-479c-9f80-01c8d1134c1b", "7b416a00-e792-402f-9744-192e78c7af69", "4fc6c6ce-da91-48c3-b25f-b0547fa396b6", "86db4725-51da-4f31-bb03-52084a666b85"}, IsShopSpecified = true, - MinAmount = 9456, - UsageLimit = 1827, - Code = "C", + MinAmount = 9374, + UsageLimit = 2246, + Code = "Wi9xNJq", IsPublic = true, IsHidden = false, IsDisabled = true, - DisplayEndsAt = "2022-10-26T23:25:08.000000Z", - DisplayStartsAt = "2023-03-14T20:11:39.000000Z", - EndsAt = "2021-04-24T00:56:28.000000Z", - StartsAt = "2022-06-27T03:47:51.000000Z", - DiscountUpperLimit = 6153, - Description = "cImjgcPmkAEumRe3ajMg8VGC0KZL7VMaMEGv2NsNRGCHkqW6b190Xf2y", - Name = "eAyBqIIySMiYLD3kq3Znz8pepfEmpSiLZTFdERWScAwFtubDUWmymMiDwFFfcNNLAfTp6G3m2", + DisplayEndsAt = "2021-02-22T21:43:44.000000Z", + DisplayStartsAt = "2022-08-14T04:38:13.000000Z", + EndsAt = "2023-08-01T15:33:49.000000Z", + StartsAt = "2022-09-08T13:08:36.000000Z", + DiscountUpperLimit = 7305, + Description = "G4qAHZdsob31RGFcTjCHIRk6EOKDYDfh7IyYBfSv2V1UV4oPfCtFaYiWkYeLppJ33CkMXXFMJbGPqbgq29Gzz59vVOvin5VZAtZIBDPoHNl5n64I544K0pgRwqKcwLRpyfhv", + Name = "p3huvf9ISSZ1V5b6lHxDKXrcl2EVGtJV2Ntce9IqiVZ5m5eyekXLeKtBuImxNnX45R5ZNIieikdp8w9LWlkr", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1286,23 +1286,23 @@ public async Task UpdateCoupon50() Request.UpdateCoupon request = new Request.UpdateCoupon( "0141503f-c0ce-43b5-953d-d98d85dd6745" ) { - DiscountPercentage = 4510.0, - StorageId = "52c58453-1db1-43ba-b19c-e2df93cfb180", - AvailableShopIds = new string[]{"d1134c1b-6a00-4792-af17-1a44a9e3192e", "78c7af69-c6ce-4a91-83b2-975f1be5b054", "7fa396b6-4725-41da-b1fb-f303582c5208", "4a666b85-f7ce-4fd2-9ec6-2f261f6a5bbe", "62360857-9d69-45b9-b8ce-f5caf1e8f6fc", "0bd2112d-fff1-4ac8-a976-44908cec9b35", "56bd44dd-0854-490e-8983-1c0388d6bc2b", "b17913c7-6134-4baf-9d71-1921a14b472d", "e21b8593-ef88-4528-9e94-4f41783cef48"}, - IsShopSpecified = true, - MinAmount = 3075, - UsageLimit = 356, - Code = "ob31", + DiscountPercentage = 7309.0, + StorageId = "15dcc571-fa3b-4727-ae82-bd92b528c9ba", + AvailableShopIds = new string[]{"6160df3a-d2a1-4b0d-9363-007aa169cba4", "405f6334-0db3-4aa3-9daa-795de6a959e4", "265693ac-b5a9-472f-82a3-b06d681948b2", "ec9dfab6-8506-4b8e-8f9a-503a3d7cd78f", "cb34a0f2-1a37-4960-86a4-102d93d03b45", "e255b237-eeef-4e78-98f7-0311f60f4509"}, + IsShopSpecified = false, + MinAmount = 6385, + UsageLimit = 2847, + Code = "eP95WFsrDT", IsPublic = true, IsHidden = false, - IsDisabled = true, - DisplayEndsAt = "2021-05-02T11:04:15.000000Z", - DisplayStartsAt = "2020-06-01T05:11:51.000000Z", - EndsAt = "2020-06-12T12:23:35.000000Z", - StartsAt = "2021-10-30T18:42:50.000000Z", - DiscountUpperLimit = 7710, - Description = "cTjCHIRk6EOKDYDfh7IyYBfSv2V1UV4oPfCtFaYiWkYeLppJ33CkMXXFMJbGPqbgq29Gzz59vVOvin5VZAtZIBDPoHNl5n64I544K0pgRwqKcwLRpyfhvSp3huvf9ISSZ1V5b6lHxDKXrcl2EVGtJV2Ntce9IqiVZ5m5eyekXLeKtBuImxNnX45R5ZNIieikdp8w9LW", - Name = "lkrqUcz43dBm26Or7FE7oxXwqyeP95WFsrDTZsTHaLMAx4xhJmPNb2Vt3kMgTzAxm3nuCtm4tM4rQ7TMWwQQegAiqW5Gh3EedIVkoAN4R6PBgm1bgbkQVRY8MuhwDyk", + IsDisabled = false, + DisplayEndsAt = "2024-02-03T06:31:48.000000Z", + DisplayStartsAt = "2020-08-15T14:35:18.000000Z", + EndsAt = "2021-10-31T14:42:36.000000Z", + StartsAt = "2022-04-12T10:51:52.000000Z", + DiscountUpperLimit = 8652, + Description = "Ax4xhJmPNb2Vt3kMgTzAxm3nuCtm4tM4rQ7TMWwQQegAiqW5Gh3EedIVkoAN4R6PBgm1bgbkQVRY8M", + Name = "hwDykulFo5mDyJw8V3XaTOkFDFDXkJRYuzmNrD0IPFMYcPpoEqcZqYNWKYupHW3vkZPbupwOmpLyfcnvR24ekndSEuijqLz34cJjz9WzSXV2waIpnDEjnP", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least");