diff --git a/docs/account.md b/docs/account.md index 978404a..71bc4fc 100644 --- a/docs/account.md +++ b/docs/account.md @@ -8,8 +8,8 @@ Request.ListUserAccounts request = new Request.ListUserAccounts( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ユーザーID ) { - Page = 4737, // ページ番号 - PerPage = 7029, // 1ページ分の取引数 + Page = 1564, // ページ番号 + PerPage = 5762, // 1ページ分の取引数 }; Response.PaginatedAccountDetails response = await request.Send(client); ``` @@ -75,8 +75,8 @@ Request.CreateUserAccount request = new Request.CreateUserAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ユーザーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { - Name = "RhEmEhncAz9T8Jn6tKv842hmKtJWGe0W2JoBVxOBG6QSEaMM6DcJjfAtdrmKAg3KBKDu0vlbYdVC6n9nVLo43cE33CQPF6kxIlI0uguDnziraNYM7VX5YLnlD8HOOCDlP4GZ7jbmXMO5zVMwfk3fyCehTHNb57OPgysrQCIrNbKg5EGtS1CRG8HTOfVnvp3qGXZFBsOSpPHbliv7UIdhUMzObVJcG5btiH5rur7GsubMGTjIcOX", // ウォレット名 - ExternalId = "KD9o8Kba3zToGBU", // 外部ID + Name = "k24Ceen1NSjytDUp3byZcFEPnIDVyEjs1xIVAG7PJaXsPvnXy7JLPWT4POJKIKUBKfvAdAdVhR8qFWp5tCaOkj67zOOhzPjoLUnpes4zWmpVcy9ixDX4fCfbAE0AZjhFFPDiC5XgRDuJC7DFGXWJ1DsLyOnXTqwNlXWPSNst44xBM1tMMoOyWoAqWcD5ADFBSPh7o2MC5sMNAQhF0HCoj9D", // ウォレット名 + ExternalId = "4ZpJqp2buSHK5WKI86hTWo47qb9nSKNBR3LjzCdQo4G", // 外部ID Metadata = "{\"key1\":\"foo\",\"key2\":\"bar\"}", // ウォレットに付加するメタデータ }; Response.AccountDetail response = await request.Send(client); diff --git a/docs/bank_pay.md b/docs/bank_pay.md index 069ee3b..1dec2e1 100644 --- a/docs/bank_pay.md +++ b/docs/bank_pay.md @@ -66,7 +66,7 @@ Request.CreateBank request = new Request.CreateBank( "", // コールバックURL "ポケペイタロウ" // ユーザーの氏名 (片仮名で指定) ) { - Email = "x2jnlKrw0L@dNS4.com", // ユーザーのメールアドレス + Email = "EeKe2EnvF9@kW30.com", // ユーザーのメールアドレス Birthdate = "19901142", // 生年月日 }; Response.BankRegisteringInfo response = await request.Send(client); @@ -161,7 +161,7 @@ Response.BankRegisteringInfo response = await request.Send(client); Request.CreateBankTopupTransaction request = new Request.CreateBankTopupTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // デバイスID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - 8102, // チャージ金額 + 2810, // チャージ金額 "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 銀行ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // リクエストID ); diff --git a/docs/bill.md b/docs/bill.md index 862c78b..a9d4342 100644 --- a/docs/bill.md +++ b/docs/bill.md @@ -7,18 +7,18 @@ ```csharp Request.ListBills request = new Request.ListBills() { - Page = 231, // ページ番号 - PerPage = 1828, // 1ページの表示数 - BillId = "h7IyYB", // 支払いQRコードのID + Page = 7384, // ページ番号 + PerPage = 6138, // 1ページの表示数 + BillId = "T", // 支払いQRコードのID PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - OrganizationCode = "-k-----Yq2hrn5-RcDh", // 組織コード + OrganizationCode = "xs6VNjs2Mf2--N-VxoE9n6N1iQ3v", // 組織コード Description = "test bill", // 取引説明文 - CreatedFrom = "2021-08-04T01:59:13.000000Z", // 作成日時(起点) - CreatedTo = "2023-02-25T23:26:35.000000Z", // 作成日時(終点) + CreatedFrom = "2024-02-06T00:24:19.000000Z", // 作成日時(起点) + CreatedTo = "2020-07-28T20:51:25.000000Z", // 作成日時(終点) ShopName = "bill test shop1", // 店舗名 ShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ID - LowerLimitAmount = 5821, // 金額の範囲によるフィルタ(下限) - UpperLimitAmount = 4653, // 金額の範囲によるフィルタ(上限) + LowerLimitAmount = 3980, // 金額の範囲によるフィルタ(下限) + UpperLimitAmount = 6980, // 金額の範囲によるフィルタ(上限) IsDisabled = true, // 支払いQRコードが無効化されているかどうか }; Response.PaginatedBills response = await request.Send(client); @@ -213,7 +213,7 @@ Request.CreateBill request = new Request.CreateBill( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 支払いマネーのマネーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 支払い先(受け取り人)の店舗ID ) { - Amount = 2631.0, // 支払い額 + Amount = 1684.0, // 支払い額 Description = "test bill", // 説明文(アプリ上で取引の説明文として表示される) }; Response.Bill response = await request.Send(client); @@ -298,7 +298,7 @@ Response.Bill response = await request.Send(client); Request.UpdateBill request = new Request.UpdateBill( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 支払いQRコードのID ) { - Amount = 1596.0, // 支払い額 + Amount = 9656.0, // 支払い額 Description = "test bill", // 説明文 IsDisabled = true, // 無効化されているかどうか }; diff --git a/docs/bulk.md b/docs/bulk.md index 6678739..3cea090 100644 --- a/docs/bulk.md +++ b/docs/bulk.md @@ -6,11 +6,11 @@ CSVファイルから一括取引をします。 ```csharp Request.BulkCreateTransaction request = new Request.BulkCreateTransaction( - "P9DvE8UV0j2YqC15yVJZpc8KVpHARBD", // 一括取引タスク名 - "gg1Gn2X", // 取引する情報のCSV - "cmC1vS6JUWIFuWHifSCeHqDX4OovF1kPsfFA" // リクエストID + "y2", // 一括取引タスク名 + "m8", // 取引する情報のCSV + "ZcyGh3BczuQ1HmAT4U7cCHORIBupKF2LGLWl" // リクエストID ) { - Description = "UD6hedBMnO5c5siBhPS0PdEUgltcrxJuLRpPyEyLzg5USUF0acnAYj9bCB7rUqwv3jfmweeo8gmjkrVbM4yoFbYRleOf9KOkq0RFzjJ", // 一括取引の説明 + Description = "WRqEU1R3HVfumJrkxA1RBhkJnrKn6T4UBYf7XzEp3cMOeoQItbJApNFNbizZqS", // 一括取引の説明 PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID }; Response.BulkTransaction response = await request.Send(client); diff --git a/docs/campaign.md b/docs/campaign.md index 3db1f84..c303a75 100644 --- a/docs/campaign.md +++ b/docs/campaign.md @@ -11,8 +11,8 @@ Request.ListCampaigns request = new Request.ListCampaigns( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { IsOngoing = false, // 現在適用可能なキャンペーンかどうか - AvailableFrom = "2023-06-12T02:18:30.000000Z", // 指定された日時以降に適用可能期間が含まれているか - AvailableTo = "2023-03-14T19:36:47.000000Z", // 指定された日時以前に適用可能期間が含まれているか + AvailableFrom = "2020-07-01T00:25:56.000000Z", // 指定された日時以降に適用可能期間が含まれているか + AvailableTo = "2022-12-11T03:14:20.000000Z", // 指定された日時以前に適用可能期間が含まれているか Page = 1, // ページ番号 PerPage = 20, // 1ページ分の取得数 }; @@ -123,36 +123,36 @@ Response.PaginatedCampaigns response = await request.Send(client); ```csharp Request.CreateCampaign request = new Request.CreateCampaign( - "8komJ1Atk5RVlui7mGRMrDuzhgMwi2QEwxvEfxvbfoaYN92mmS964bSnGq9n7PpIOomMWW66P3IlH0kXmsTMdugDsmRtGnF7L4kFCWrbFqt27c2GHcIyayD2aKjXN0NBWyTy0xC6byToeZcV73t7vuEmirlewYMI5WNi6AMJzfUo3Mw8SUD48UFtXOBKAPivd5iJNrdqAuTxyB0A3WX2Ec", // キャンペーン名 + "vNBs", // キャンペーン名 "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - "2024-01-28T22:34:10.000000Z", // キャンペーン開始日時 - "2020-07-08T19:55:58.000000Z", // キャンペーン終了日時 - 2422, // キャンペーンの適用優先度 - "payment" // イベント種別 + "2022-08-09T16:43:13.000000Z", // キャンペーン開始日時 + "2022-04-04T15:28:43.000000Z", // キャンペーン終了日時 + 6782, // キャンペーンの適用優先度 + "external-transaction" // イベント種別 ) { BearPointShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ポイント負担先店舗ID - Description = "xFyFeM64iLpLDhctAZixWvzCjvZGuuLmpXAGJua2paAAkUgzb5zEsMYGbxzOIV2r2JtDEGxgzX90xQ1qEwnOjzBjMdE2ZgqC6g1ENWOPFMuygZod8nuff2bwE3RDjoGhPLmonziI8gPB410GLPQCeC7jS6W3DftZcdyglmNXEppEtAweq", // キャンペーンの説明文 - Status = "enabled", // キャンペーン作成時の状態 - PointExpiresAt = "2020-11-09T20:33:41.000000Z", // ポイント有効期限(絶対日時指定) - PointExpiresInDays = 6073, // ポイント有効期限(相対日数指定) + Description = "RsG1pcvzPfSNlMjgyCm3l36NNuyyweAXXanZiLS6lbj9JXoVWEOjNWcJ8Pqob8ZBDc2LIkAJFpX3tMiPvkskrBs7cZNQht6pUXt6QkeG9pRp1c5EcN6nLJcb0NEcuMnzKSDbJDSeKRyRniwPaN0afN8mRVY0r2kLaYAQQnNW", // キャンペーンの説明文 + Status = "disabled", // キャンペーン作成時の状態 + PointExpiresAt = "2021-11-18T01:45:25.000000Z", // ポイント有効期限(絶対日時指定) + PointExpiresInDays = 1429, // ポイント有効期限(相対日数指定) 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}}}, // 取引金額ベースのポイント付与ルール - ProductBasedPointRules = new object[]{new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, // 商品情報ベースのポイント付与ルール - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, // 商品情報ベースのキャンペーンで除外対象にする商品リスト - ApplicableDaysOfWeek = new int[]{1, 6}, // キャンペーンを適用する曜日 (複数指定) + 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}}, 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}}}, // 商品情報ベースのポイント付与ルール + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, // 商品情報ベースのキャンペーンで除外対象にする商品リスト + ApplicableDaysOfWeek = new int[]{3, 2}, // キャンペーンを適用する曜日 (複数指定) ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, // キャンペーンを適用する時間帯 (複数指定) ApplicableShopIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // キャンペーン適用対象となる店舗IDのリスト - MinimumNumberOfProducts = 6050, // キャンペーンを適用する1会計内の商品個数の下限 - MinimumNumberOfAmount = 5681, // キャンペーンを適用する1会計内の商品総額の下限 - MinimumNumberForCombinationPurchase = 318, // 複数種類の商品を同時購入するときの商品種別数の下限 + MinimumNumberOfProducts = 4275, // キャンペーンを適用する1会計内の商品個数の下限 + MinimumNumberOfAmount = 6006, // キャンペーンを適用する1会計内の商品総額の下限 + MinimumNumberForCombinationPurchase = 417, // 複数種類の商品を同時購入するときの商品種別数の下限 ExistInEachProductGroups = true, // 複数の商品グループにつき1種類以上の商品購入によって発火するキャンペーンの指定フラグ - MaxPointAmount = 797, // キャンペーンによって付与されるポイントの上限 - MaxTotalPointAmount = 4271, // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 + MaxPointAmount = 7464, // キャンペーンによって付与されるポイントの上限 + MaxTotalPointAmount = 6181, // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 DestPrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ポイント付与先となるマネーID ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, // ウォレットに紐付くメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。 ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, // 取引時に指定するメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。 - BudgetCapsAmount = 1893504508, // キャンペーン予算上限 + BudgetCapsAmount = 593459802, // キャンペーン予算上限 }; Response.Campaign response = await request.Send(client); ``` @@ -927,32 +927,32 @@ Response.Campaign response = await request.Send(client); Request.UpdateCampaign request = new Request.UpdateCampaign( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // キャンペーンID ) { - Name = "LeVc0IIOPvouCcBMs9oEUXdmuJ5CsXeAgeVmz0XdBqvz2LZqSb1Cr9GvJk1u6JVnb04lQy4ktenk93ttYPJhOiPCYhnxitPJhteZ9v4lYIFrYpnV35pBMGKJEJkpn6Mlr99tmpLoTFQeHIPsIBBDhi4oQ1t1s3zE32Vk24Ceen1NSj", // キャンペーン名 - StartsAt = "2022-11-18T02:27:13.000000Z", // キャンペーン開始日時 - EndsAt = "2020-08-12T06:11:00.000000Z", // キャンペーン終了日時 - Priority = 6665, // キャンペーンの適用優先度 - Event = "external-transaction", // イベント種別 - Description = "3byZcFEPnIDVyEjs1xIVAG7PJaXsPvnXy7JLPWT4POJKIKUBKfvAdAdVhR8qFWp5tCaOkj67zOOhzPjoLUnpes4zWmpVcy9ixDX4fCfbAE0AZjhFF", // キャンペーンの説明文 + Name = "D0C3IXLL4lH8T3KxBkSfET7NeTYdPy8UjYc9OlslQQZIq7zSOEeSzczj6ObIBdQwmJP2q6udBME6WRlyybO27f", // キャンペーン名 + StartsAt = "2023-01-24T11:58:33.000000Z", // キャンペーン開始日時 + EndsAt = "2024-03-08T03:05:55.000000Z", // キャンペーン終了日時 + Priority = 1560, // キャンペーンの適用優先度 + Event = "payment", // イベント種別 + Description = "KPW8EbdfuKdbyfcjYNDVx4A2ovqPMZA8irXJ9E6ZcMzkLyAqgwSoddiujWTgn11mpxaVIYgQo", // キャンペーンの説明文 Status = "disabled", // キャンペーン作成時の状態 - PointExpiresAt = "2023-12-14T09:27:35.000000Z", // ポイント有効期限(絶対日時指定) - PointExpiresInDays = 4933, // ポイント有効期限(相対日数指定) - IsExclusive = false, // キャンペーンの重複設定 - Subject = "all", // ポイント付与の対象金額の種別 + PointExpiresAt = "2021-06-13T14:31:35.000000Z", // ポイント有効期限(絶対日時指定) + PointExpiresInDays = 3039, // ポイント有効期限(相対日数指定) + IsExclusive = true, // キャンペーンの重複設定 + Subject = "money", // ポイント付与の対象金額の種別 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}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, // 商品情報ベースのポイント付与ルール - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, // 商品情報ベースのキャンペーンで除外対象にする商品リスト - ApplicableDaysOfWeek = new int[]{2}, // キャンペーンを適用する曜日 (複数指定) + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, // 商品情報ベースのキャンペーンで除外対象にする商品リスト + ApplicableDaysOfWeek = new int[]{6, 0}, // キャンペーンを適用する曜日 (複数指定) ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, // キャンペーンを適用する時間帯 (複数指定) - ApplicableShopIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // キャンペーン適用対象となる店舗IDのリスト - MinimumNumberOfProducts = 1867, // キャンペーンを適用する1会計内の商品個数の下限 - MinimumNumberOfAmount = 5956, // キャンペーンを適用する1会計内の商品総額の下限 - MinimumNumberForCombinationPurchase = 6072, // 複数種類の商品を同時購入するときの商品種別数の下限 - ExistInEachProductGroups = true, // 複数の商品グループにつき1種類以上の商品購入によって発火するキャンペーンの指定フラグ - MaxPointAmount = 3297, // キャンペーンによって付与されるポイントの上限 - MaxTotalPointAmount = 4112, // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 + ApplicableShopIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // キャンペーン適用対象となる店舗IDのリスト + MinimumNumberOfProducts = 2506, // キャンペーンを適用する1会計内の商品個数の下限 + MinimumNumberOfAmount = 2614, // キャンペーンを適用する1会計内の商品総額の下限 + MinimumNumberForCombinationPurchase = 1217, // 複数種類の商品を同時購入するときの商品種別数の下限 + ExistInEachProductGroups = false, // 複数の商品グループにつき1種類以上の商品購入によって発火するキャンペーンの指定フラグ + MaxPointAmount = 4152, // キャンペーンによって付与されるポイントの上限 + MaxTotalPointAmount = 8728, // キャンペーンによって付与されるの1人当たりの累計ポイントの上限 ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, // ウォレットに紐付くメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。 ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, // 取引時に指定するメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。 - BudgetCapsAmount = 52894808, // キャンペーン予算上限 + BudgetCapsAmount = 817773375, // キャンペーン予算上限 }; Response.Campaign response = await request.Send(client); ``` diff --git a/docs/cashtray.md b/docs/cashtray.md index 7402034..50f638a 100644 --- a/docs/cashtray.md +++ b/docs/cashtray.md @@ -19,10 +19,10 @@ Cashtrayを作成します。 Request.CreateCashtray request = new Request.CreateCashtray( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ユーザーID - 9997.0 // 金額 + 6869.0 // 金額 ) { Description = "たい焼き(小倉)", // 取引履歴に表示する説明文 - ExpiresIn = 2427, // 失効時間(秒) + ExpiresIn = 3655, // 失効時間(秒) }; Response.Cashtray response = await request.Send(client); ``` @@ -102,6 +102,8 @@ Cashtrayが失効するまでの時間を秒単位で指定します(任意項 |---|---|---|---| |403|unpermitted_admin_user|この管理ユーザには権限がありません|Admin does not have permission| |422|account_not_found|アカウントが見つかりません|The account is not found| +|422|account_transfer_limit_exceeded|取引金額が上限を超えました|Too much amount to transfer| +|422|account_money_topup_transfer_limit_exceeded|マネーチャージ金額が上限を超えました|Too much amount to money topup transfer| |422|shop_user_not_found|店舗が見つかりません|The shop user is not found| @@ -251,9 +253,9 @@ Cashtrayの内容を更新します。bodyパラメーターは全て省略可 Request.UpdateCashtray request = new Request.UpdateCashtray( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // CashtrayのID ) { - Amount = 9018.0, // 金額 + Amount = 5236.0, // 金額 Description = "たい焼き(小倉)", // 取引履歴に表示する説明文 - ExpiresIn = 3002, // 失効時間(秒) + ExpiresIn = 6303, // 失効時間(秒) }; Response.Cashtray response = await request.Send(client); ``` diff --git a/docs/check.md b/docs/check.md index c496d94..982750e 100644 --- a/docs/check.md +++ b/docs/check.md @@ -13,18 +13,18 @@ QRコードを読み取る方法以外にも、このURLリンクを直接スマ ```csharp Request.ListChecks request = new Request.ListChecks() { - Page = 3076, // ページ番号 + Page = 2744, // ページ番号 PerPage = 50, // 1ページの表示数 PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - OrganizationCode = "sob31", // 組織コード - ExpiresFrom = "2021-09-17T13:36:18.000000Z", // 有効期限の期間によるフィルター(開始時点) - ExpiresTo = "2020-06-01T05:11:51.000000Z", // 有効期限の期間によるフィルター(終了時点) - CreatedFrom = "2020-06-12T12:23:35.000000Z", // 作成日時の期間によるフィルター(開始時点) - CreatedTo = "2021-10-30T18:42:50.000000Z", // 作成日時の期間によるフィルター(終了時点) + OrganizationCode = "L4kFCWrbFq", // 組織コード + ExpiresFrom = "2021-09-09T15:13:43.000000Z", // 有効期限の期間によるフィルター(開始時点) + ExpiresTo = "2021-11-02T10:10:04.000000Z", // 有効期限の期間によるフィルター(終了時点) + CreatedFrom = "2021-08-03T06:23:31.000000Z", // 作成日時の期間によるフィルター(開始時点) + CreatedTo = "2023-09-18T07:29:12.000000Z", // 作成日時の期間によるフィルター(終了時点) IssuerShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 発行店舗ID - Description = "FcTjCHIR", // チャージQRコードの説明文 + Description = "c", // チャージQRコードの説明文 IsOnetime = false, // ワンタイムのチャージQRコードかどうか - IsDisabled = true, // 無効化されたチャージQRコードかどうか + IsDisabled = false, // 無効化されたチャージQRコードかどうか }; Response.PaginatedChecks response = await request.Send(client); ``` @@ -220,13 +220,13 @@ Response.PaginatedChecks response = await request.Send(client); Request.CreateCheck request = new Request.CreateCheck( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 送金元の店舗アカウントID ) { - MoneyAmount = 7052.0, // 付与マネー額 - PointAmount = 2501.0, // 付与ポイント額 + MoneyAmount = 530.0, // 付与マネー額 + PointAmount = 8713.0, // 付与ポイント額 Description = "test check", // 説明文(アプリ上で取引の説明文として表示される) - IsOnetime = false, // ワンタイムかどうかのフラグ - UsageLimit = 5853, // ワンタイムでない場合の最大読み取り回数 - ExpiresAt = "2022-09-06T14:41:07.000000Z", // チャージQRコード自体の失効日時 - PointExpiresAt = "2020-09-18T12:05:39.000000Z", // チャージQRコードによって付与されるポイント残高の有効期限 + IsOnetime = true, // ワンタイムかどうかのフラグ + UsageLimit = 318, // ワンタイムでない場合の最大読み取り回数 + ExpiresAt = "2020-05-18T06:49:05.000000Z", // チャージQRコード自体の失効日時 + PointExpiresAt = "2023-04-04T22:26:01.000000Z", // チャージQRコードによって付与されるポイント残高の有効期限 PointExpiresInDays = 60, // チャージQRコードによって付与されるポイント残高の有効期限(相対日数指定) BearPointAccount = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ポイント額を負担する店舗のウォレットID }; @@ -398,8 +398,8 @@ NULLに設定すると無制限に読み取り可能なチャージQRコード |422|account_can_not_topup|この店舗からはチャージできません|account can not topup| |422|account_private_money_is_not_issued_by_organization||The account's private money is not issued by this organization| |422|shop_account_not_found||The shop account is not found| -|422|account_money_topup_transfer_limit_exceeded|マネーチャージ金額が上限を超えました|Too much amount to money topup transfer| |422|bear_point_account_not_found|ポイントを負担する店舗アカウントが見つかりません|Bear point account not found.| +|422|account_money_topup_transfer_limit_exceeded|マネーチャージ金額が上限を超えました|Too much amount to money topup transfer| @@ -449,13 +449,13 @@ Response.Check response = await request.Send(client); Request.UpdateCheck request = new Request.UpdateCheck( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // チャージQRコードのID ) { - MoneyAmount = 7719.0, // 付与マネー額 - PointAmount = 5023.0, // 付与ポイント額 + MoneyAmount = 6084.0, // 付与マネー額 + PointAmount = 7684.0, // 付与ポイント額 Description = "test check", // チャージQRコードの説明文 IsOnetime = true, // ワンタイムかどうかのフラグ - UsageLimit = 3929, // ワンタイムでない場合の最大読み取り回数 - ExpiresAt = "2020-08-02T23:28:09.000000Z", // チャージQRコード自体の失効日時 - PointExpiresAt = "2020-10-22T18:15:03.000000Z", // チャージQRコードによって付与されるポイント残高の有効期限 + UsageLimit = 6450, // ワンタイムでない場合の最大読み取り回数 + ExpiresAt = "2022-06-07T12:39:06.000000Z", // チャージQRコード自体の失効日時 + PointExpiresAt = "2021-05-13T07:30:56.000000Z", // チャージQRコードによって付与されるポイント残高の有効期限 PointExpiresInDays = 60, // チャージQRコードによって付与されるポイント残高の有効期限(相対日数指定) BearPointAccount = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ポイント額を負担する店舗のウォレットID IsDisabled = true, // 無効化されているかどうかのフラグ diff --git a/docs/coupon.md b/docs/coupon.md index 219e431..cbbc675 100644 --- a/docs/coupon.md +++ b/docs/coupon.md @@ -11,12 +11,12 @@ Couponは特定店舗で利用できるものや利用可能期間、配信条 Request.ListCoupons request = new Request.ListCoupons( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 対象クーポンのマネーID ) { - CouponId = "XWP", // クーポンID - CouponName = "Nst4", // クーポン名 - IssuedShopName = "4xBM1t", // 発行店舗名 - AvailableShopName = "MMoOy", // 利用可能店舗名 - AvailableFrom = "2023-03-30T16:00:42.000000Z", // 利用可能期間 (開始日時) - AvailableTo = "2023-12-05T20:58:25.000000Z", // 利用可能期間 (終了日時) + CouponId = "x2jnlKrw0", // クーポンID + CouponName = "dNS4VtkXCD", // クーポン名 + IssuedShopName = "t0L", // 発行店舗名 + AvailableShopName = "OE3Qg", // 利用可能店舗名 + AvailableFrom = "2021-02-12T04:03:43.000000Z", // 利用可能期間 (開始日時) + AvailableTo = "2023-06-04T13:12:02.000000Z", // 利用可能期間 (終了日時) Page = 1, // ページ番号 PerPage = 50, // 1ページ分の取得数 }; @@ -164,25 +164,25 @@ Response.PaginatedCoupons response = await request.Send(client); ```csharp Request.CreateCoupon request = new Request.CreateCoupon( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "WcD5ADFBSPh7o2MC5sMNAQhF0HC", - "2022-11-04T16:57:14.000000Z", - "2023-02-19T10:51:37.000000Z", + "cszhfH09Y5OthVwPmvHXBFS5mnHJDaN7ByqCBViT8YJSc5gafw5E7JxTvjUc1aT5EbGp", + "2022-01-15T18:09:07.000000Z", + "2022-08-26T01:51:15.000000Z", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 発行元の店舗ID ) { - Description = "Dj4ZpJqp2buSHK5WKI86hTWo47qb9nSKNBR3LjzCdQo4GwTY7y2Am8ZcyGh3BczuQ1HmAT4U7cCHORIBupKF2LGLWlWRqEU1R3HVfumJrkxA1RBhkJnrKn6T4UBYf7XzEp3cMOeoQItbJApNFNbizZqSEKvNBsiLTmRsG1pcvzPfSNlMjgyCm3l36NNuyyweAXXanZiLS6lbj9JXoVWEOjNWcJ8Pq", - DiscountAmount = 7919, - DiscountPercentage = 8256.0, - DiscountUpperLimit = 4638, - DisplayStartsAt = "2020-04-05T02:04:40.000000Z", // クーポンの掲載期間(開始日時) - DisplayEndsAt = "2020-10-01T23:49:47.000000Z", // クーポンの掲載期間(終了日時) - IsDisabled = false, // 無効化フラグ - IsHidden = true, // クーポン一覧に掲載されるかどうか - IsPublic = true, // アプリ配信なしで受け取れるかどうか - Code = "Dc", // クーポン受け取りコード - UsageLimit = 3660, // ユーザごとの利用可能回数(NULLの場合は無制限) - MinAmount = 8009, // クーポン適用可能な最小取引額 - IsShopSpecified = false, // 特定店舗限定のクーポンかどうか - AvailableShopIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 利用可能店舗リスト + Description = "Qn8B7l65BYM", + DiscountAmount = 4227, + DiscountPercentage = 806.0, + DiscountUpperLimit = 1270, + DisplayStartsAt = "2020-02-09T15:09:11.000000Z", // クーポンの掲載期間(開始日時) + DisplayEndsAt = "2023-11-04T13:46:54.000000Z", // クーポンの掲載期間(終了日時) + IsDisabled = true, // 無効化フラグ + IsHidden = false, // クーポン一覧に掲載されるかどうか + IsPublic = false, // アプリ配信なしで受け取れるかどうか + Code = "EwbRq7C0z", // クーポン受け取りコード + UsageLimit = 1053, // ユーザごとの利用可能回数(NULLの場合は無制限) + MinAmount = 7786, // クーポン適用可能な最小取引額 + IsShopSpecified = true, // 特定店舗限定のクーポンかどうか + AvailableShopIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 利用可能店舗リスト StorageId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ストレージID }; Response.CouponDetail response = await request.Send(client); @@ -480,23 +480,23 @@ UUIDv4フォーマットである必要があり、フォーマットが異な Request.UpdateCoupon request = new Request.UpdateCoupon( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // クーポンID ) { - Name = "AJFpX3tMiPvkskrBs7cZNQht6pUXt6QkeG9pRp1c5EcN6nLJcb0NEcuMnzKSDbJDSeKRyRniwPaN0afN8mRVY0r2kLaY", - Description = "QQnNWq5gJk8ucSDE2uEYUD0C3IXLL4lH8T3KxBkSfET7NeTYdPy8UjYc9OlslQQZIq7zSOEeSzczj6ObIBdQwmJP2q6udBME6WRlyybO27figMsVRHKPW8EbdfuKdbyfcjYNDVx4A2ovqPMZA8irXJ9E6ZcMzkLyAqgwSoddiujWTgn11mpxaVIYgQo5GvBiHK", - DiscountAmount = 1536, - DiscountPercentage = 6647.0, - DiscountUpperLimit = 1791, - StartsAt = "2020-04-21T20:54:59.000000Z", - EndsAt = "2020-07-25T08:18:17.000000Z", - DisplayStartsAt = "2021-03-25T04:58:14.000000Z", // クーポンの掲載期間(開始日時) - DisplayEndsAt = "2024-01-05T15:52:32.000000Z", // クーポンの掲載期間(終了日時) + Name = "5JoEScisdzkhxnXFFT7CXS50vaovkRO", + Description = "QbPFa2Q0QZFPxPWcwwu3uh9fDL3S3N", + DiscountAmount = 2550, + DiscountPercentage = 8586.0, + DiscountUpperLimit = 2093, + StartsAt = "2021-01-29T13:48:50.000000Z", + EndsAt = "2022-04-03T12:59:15.000000Z", + DisplayStartsAt = "2021-06-14T03:00:40.000000Z", // クーポンの掲載期間(開始日時) + DisplayEndsAt = "2022-07-07T12:43:02.000000Z", // クーポンの掲載期間(終了日時) IsDisabled = false, // 無効化フラグ IsHidden = false, // クーポン一覧に掲載されるかどうか - IsPublic = false, // アプリ配信なしで受け取れるかどうか - Code = "FE45d3P2", // クーポン受け取りコード - UsageLimit = 5840, // ユーザごとの利用可能回数(NULLの場合は無制限) - MinAmount = 3578, // クーポン適用可能な最小取引額 + IsPublic = true, // アプリ配信なしで受け取れるかどうか + Code = "VO", // クーポン受け取りコード + UsageLimit = 5609, // ユーザごとの利用可能回数(NULLの場合は無制限) + MinAmount = 6829, // クーポン適用可能な最小取引額 IsShopSpecified = false, // 特定店舗限定のクーポンかどうか - AvailableShopIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 利用可能店舗リスト + AvailableShopIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 利用可能店舗リスト StorageId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ストレージID }; Response.CouponDetail response = await request.Send(client); diff --git a/docs/customer.md b/docs/customer.md index 4292d3d..2c163de 100644 --- a/docs/customer.md +++ b/docs/customer.md @@ -8,7 +8,7 @@ Request.DeleteAccount request = new Request.DeleteAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - Cashback = true, // 返金有無 + Cashback = false, // 返金有無 }; Response.AccountDeleted response = await request.Send(client); ``` @@ -105,9 +105,9 @@ Response.AccountDetail response = await request.Send(client); Request.UpdateAccount request = new Request.UpdateAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - IsSuspended = false, // ウォレットが凍結されているかどうか - Status = "pre-closed", // ウォレット状態 - CanTransferTopup = true, // チャージ可能かどうか + IsSuspended = true, // ウォレットが凍結されているかどうか + Status = "suspended", // ウォレット状態 + CanTransferTopup = false, // チャージ可能かどうか }; Response.AccountDetail response = await request.Send(client); ``` @@ -186,10 +186,10 @@ Response.AccountDetail response = await request.Send(client); Request.ListAccountBalances request = new Request.ListAccountBalances( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - Page = 7120, // ページ番号 - PerPage = 8183, // 1ページ分の取引数 - ExpiresAtFrom = "2023-04-19T21:58:01.000000Z", // 有効期限の期間によるフィルター(開始時点) - ExpiresAtTo = "2021-07-18T16:39:27.000000Z", // 有効期限の期間によるフィルター(終了時点) + Page = 6497, // ページ番号 + PerPage = 6466, // 1ページ分の取引数 + ExpiresAtFrom = "2021-03-29T13:19:12.000000Z", // 有効期限の期間によるフィルター(開始時点) + ExpiresAtTo = "2021-05-16T03:24:38.000000Z", // 有効期限の期間によるフィルター(終了時点) Direction = "asc", // 有効期限によるソート順序 }; Response.PaginatedAccountBalance response = await request.Send(client); @@ -294,11 +294,11 @@ Response.PaginatedAccountBalance response = await request.Send(client); Request.ListAccountExpiredBalances request = new Request.ListAccountExpiredBalances( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - Page = 8897, // ページ番号 - PerPage = 5085, // 1ページ分の取引数 - ExpiresAtFrom = "2022-12-10T19:44:05.000000Z", // 有効期限の期間によるフィルター(開始時点) - ExpiresAtTo = "2023-10-05T14:46:25.000000Z", // 有効期限の期間によるフィルター(終了時点) - Direction = "desc", // 有効期限によるソート順序 + Page = 2277, // ページ番号 + PerPage = 1898, // 1ページ分の取引数 + ExpiresAtFrom = "2023-04-23T17:13:03.000000Z", // 有効期限の期間によるフィルター(開始時点) + ExpiresAtTo = "2022-12-12T10:24:10.000000Z", // 有効期限の期間によるフィルター(終了時点) + Direction = "asc", // 有効期限によるソート順序 }; Response.PaginatedAccountBalance response = await request.Send(client); ``` @@ -402,9 +402,9 @@ Response.PaginatedAccountBalance response = await request.Send(client); Request.UpdateCustomerAccount request = new Request.UpdateCustomerAccount( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - Status = "active", // ウォレット状態 - AccountName = "tZIBDPoHNl5n64I544K0pgRwqKcwLRpyfhvSp3huvf9I", // アカウント名 - ExternalId = "SZ1V5b6lHxDKXrcl2EVG", // 外部ID + Status = "pre-closed", // ウォレット状態 + AccountName = "dqAuTxyB0A3WX2EcUb892", // アカウント名 + ExternalId = "z3Nv10xFyFeM64iLpLDhctAZixWvzCjvZGuuLmpXAGJ", // 外部ID Metadata = "{\"key1\":\"foo\",\"key2\":\"bar\"}", // ウォレットに付加するメタデータ }; Response.AccountWithUser response = await request.Send(client); @@ -513,15 +513,15 @@ Response.AccountWithUser response = await request.Send(client); Request.GetCustomerAccounts request = new Request.GetCustomerAccounts( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { - Page = 6645, // ページ番号 - PerPage = 5963, // 1ページ分のウォレット数 - CreatedAtFrom = "2020-10-15T16:52:47.000000Z", // ウォレット作成日によるフィルター(開始時点) - CreatedAtTo = "2023-04-17T14:35:15.000000Z", // ウォレット作成日によるフィルター(終了時点) - IsSuspended = true, // ウォレットが凍結状態かどうかでフィルターする - Status = "suspended", // ウォレット状態 - ExternalId = "9IqiVZ5m5eyekXLeKtBuImxNnX45R5ZNIieikd", // 外部ID - Tel = "08-91-312", // エンドユーザーの電話番号 - Email = "qUcz43dBm2@6Or7.com", // エンドユーザーのメールアドレス + Page = 1014, // ページ番号 + PerPage = 7219, // 1ページ分のウォレット数 + CreatedAtFrom = "2020-06-18T18:57:29.000000Z", // ウォレット作成日によるフィルター(開始時点) + CreatedAtTo = "2022-05-19T03:42:55.000000Z", // ウォレット作成日によるフィルター(終了時点) + IsSuspended = false, // ウォレットが凍結状態かどうかでフィルターする + Status = "active", // ウォレット状態 + ExternalId = "aAAkUgzb5zEsMYGbxzOIV2r2JtDEGxgzX", // 外部ID + Tel = "087-600118", // エンドユーザーの電話番号 + Email = "qEwnOjzBjM@dE2Z.com", // エンドユーザーのメールアドレス }; Response.PaginatedAccountWithUsers response = await request.Send(client); ``` @@ -684,7 +684,7 @@ Request.CreateCustomerAccount request = new Request.CreateCustomerAccount( ) { UserName = "ポケペイ太郎", // ユーザー名 AccountName = "ポケペイ太郎のアカウント", // アカウント名 - ExternalId = "FE7oxXwqyeP95WFsrDTZsTHaLMAx4xhJm", // 外部ID + ExternalId = "qC6g1ENWOPFMuygZod8nuff2bwE3RDjoGhPLmonz", // 外部ID }; Response.AccountWithUser response = await request.Send(client); ``` @@ -773,10 +773,10 @@ PAPIクライアントシステムから利用するPokepayユーザーのIDで Request.GetShopAccounts request = new Request.GetShopAccounts( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { - Page = 4175, // ページ番号 - PerPage = 8163, // 1ページ分のウォレット数 - CreatedAtFrom = "2020-12-13T15:33:06.000000Z", // ウォレット作成日によるフィルター(開始時点) - CreatedAtTo = "2022-08-19T17:52:52.000000Z", // ウォレット作成日によるフィルター(終了時点) + Page = 7320, // ページ番号 + PerPage = 8993, // 1ページ分のウォレット数 + CreatedAtFrom = "2023-04-19T18:25:51.000000Z", // ウォレット作成日によるフィルター(開始時点) + CreatedAtTo = "2020-03-30T19:22:03.000000Z", // ウォレット作成日によるフィルター(終了時点) IsSuspended = false, // ウォレットが凍結状態かどうかでフィルターする }; Response.PaginatedAccountWithUsers response = await request.Send(client); @@ -885,10 +885,10 @@ Request.ListCustomerTransactions request = new Request.ListCustomerTransactions( ) { SenderCustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 送金エンドユーザーID ReceiverCustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 受取エンドユーザーID - Type = "transfer", // 取引種別 + Type = "topup", // 取引種別 IsModified = false, // キャンセル済みかどうか - From = "2024-02-06T12:42:13.000000Z", // 開始日時 - To = "2021-11-01T15:59:39.000000Z", // 終了日時 + From = "2023-10-25T01:26:40.000000Z", // 開始日時 + To = "2022-05-07T07:54:42.000000Z", // 終了日時 Page = 1, // ページ番号 PerPage = 50, // 1ページ分の取引数 }; diff --git a/docs/error-response.csv b/docs/error-response.csv index 990a441..9943e3a 100644 --- a/docs/error-response.csv +++ b/docs/error-response.csv @@ -397,8 +397,8 @@ POST,/checks,400,invalid_parameter_both_point_and_money_are_zero,,One of 'money_ ,,422,account_can_not_topup,"この店舗からはチャージできません",account can not topup ,,422,account_private_money_is_not_issued_by_organization,,The account's private money is not issued by this organization ,,422,shop_account_not_found,,The shop account is not found -,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer ,,422,bear_point_account_not_found,"ポイントを負担する店舗アカウントが見つかりません",Bear point account not found. +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer GET,/checks/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission ,,404,notfound,,Not found ,,422,account_private_money_is_not_issued_by_organization,,The account's private money is not issued by this organization @@ -408,9 +408,9 @@ PATCH,/checks/:uuid,400,invalid_parameter_combination_usage_limit_and_is_onetime ,,400,invalid_parameter_both_point_and_money_are_zero,,One of 'money_amount' or 'point_amount' must be a positive (>0) number ,,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission ,,404,notfound,,Not found -,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer ,,422,onetime_check_cannot_reenabled,"使用済みのワンタイムチャージQRコードは再度有効化できません",One-time check already used and disabled cannot be re-enabled ,,422,account_private_money_is_not_issued_by_organization,,The account's private money is not issued by this organization +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer GET,/users,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission POST,/users,400,user_invalid_email,"入力されたメールアドレスが間違っています。入力内容をご確認ください", ,,400,not_shop_admin_user_must_not_be_linked_to_any_shops,,Admin user who does not have shop-authority must not be linked to any shops @@ -676,12 +676,16 @@ DELETE,/cashtrays/:uuid,403,unpermitted_admin_user,"この管理ユーザには ,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found POST,/cashtrays,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission ,,422,account_not_found,"アカウントが見つかりません",The account is not found +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer ,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found PATCH,/cashtrays/:uuid,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission ,,404,notfound,,Not found ,,422,cashtray_already_proceed,"この決済QRコードは既に処理されています",Cashtray is already proceed ,,422,cashtray_expired,"この決済QRコードは有効期限が切れています",Cashtray is expired ,,422,cashtray_already_canceled,"この決済QRコードは既に無効化されています",Cashtray is already canceled +,,422,account_transfer_limit_exceeded,"取引金額が上限を超えました",Too much amount to transfer +,,422,account_money_topup_transfer_limit_exceeded,"マネーチャージ金額が上限を超えました",Too much amount to money topup transfer ,,422,shop_user_not_found,"店舗が見つかりません",The shop user is not found GET,/cpm/:cpm-token,403,unpermitted_admin_user,"この管理ユーザには権限がありません",Admin does not have permission ,,422,cpm_token_not_found,"CPMトークンが見つかりませんでした。",The CPM token is not found. diff --git a/docs/event.md b/docs/event.md index 2fcd14a..3d25015 100644 --- a/docs/event.md +++ b/docs/event.md @@ -12,11 +12,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 - 1864, // 取引額 - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} // 商品情報データ + 5317 // 取引額 ) { Description = "たい焼き(小倉)", // 取引説明文 Metadata = "{\"key\":\"value\"}", // ポケペイ外部取引メタデータ + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, // 商品情報データ RequestId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // リクエストID }; Response.ExternalTransactionDetail response = await request.Send(client); diff --git a/docs/organization.md b/docs/organization.md index 3dbac1d..3b0f6e1 100644 --- a/docs/organization.md +++ b/docs/organization.md @@ -9,8 +9,8 @@ Request.ListOrganizations request = new Request.ListOrganizations( ) { Page = 1, // ページ番号 PerPage = 50, // 1ページ分の取引数 - Name = "MgTz", // 組織名 - Code = "xm", // 組織コード + Name = "4", // 組織名 + Code = "10", // 組織コード }; Response.PaginatedOrganizations response = await request.Send(client); ``` @@ -100,15 +100,15 @@ Response.PaginatedOrganizations response = await request.Send(client); 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の配列 - "uCtm4tM4rQ@7TMW.com", // 発行体担当者メールアドレス - "wQQegAiqW5@Gh3E.com" // 新規組織担当者メールアドレス + new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 加盟店組織で有効にするマネーIDの配列 + "GLPQCeC7jS@6W3D.com", // 発行体担当者メールアドレス + "ftZcdyglmN@XEpp.com" // 新規組織担当者メールアドレス ) { BankName = "XYZ銀行", // 銀行名 BankCode = "1234", // 銀行金融機関コード BankBranchName = "ABC支店", // 銀行支店名 BankBranchCode = "123", // 銀行支店コード - BankAccountType = "other", // 銀行口座種別 (普通=saving, 当座=current, その他=other) + BankAccountType = "current", // 銀行口座種別 (普通=saving, 当座=current, その他=other) BankAccount = "1234567", // 銀行口座番号 BankAccountHolderName = "フクザワユキチ", // 口座名義人名 ContactName = "佐藤清", // 担当者名 diff --git a/docs/private_money.md b/docs/private_money.md index b1135d6..22904d4 100644 --- a/docs/private_money.md +++ b/docs/private_money.md @@ -77,8 +77,8 @@ Response.PaginatedPrivateMoneys response = await request.Send(client); Request.GetPrivateMoneyOrganizationSummaries request = new Request.GetPrivateMoneyOrganizationSummaries( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { - From = "2023-11-17T02:30:57.000000Z", // 開始日時(toと同時に指定する必要有) - To = "2024-03-18T16:09:15.000000Z", // 終了日時(fromと同時に指定する必要有) + From = "2020-09-01T07:38:37.000000Z", // 開始日時(toと同時に指定する必要有) + To = "2024-03-21T02:25:01.000000Z", // 終了日時(fromと同時に指定する必要有) Page = 1, // ページ番号 PerPage = 50, // 1ページ分の取引数 }; @@ -162,8 +162,8 @@ Response.PaginatedPrivateMoneyOrganizationSummaries response = await request.Sen Request.GetPrivateMoneySummary request = new Request.GetPrivateMoneySummary( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { - From = "2022-06-21T16:03:01.000000Z", // 開始日時 - To = "2023-09-16T21:12:29.000000Z", // 終了日時 + From = "2023-10-27T19:24:09.000000Z", // 開始日時 + To = "2020-01-28T06:46:15.000000Z", // 終了日時 }; Response.PrivateMoneySummary response = await request.Send(client); ``` diff --git a/docs/shop.md b/docs/shop.md index dbe8c48..475a11e 100644 --- a/docs/shop.md +++ b/docs/shop.md @@ -8,12 +8,12 @@ Request.ListShops request = new Request.ListShops() { OrganizationCode = "pocketchange", // 組織コード PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID Name = "oxスーパー三田店", // 店舗名 - PostalCode = "005-4961", // 店舗の郵便番号 + PostalCode = "5801175", // 店舗の郵便番号 Address = "東京都港区芝...", // 店舗の住所 - Tel = "0229320-7100", // 店舗の電話番号 - Email = "bgbkQVRY8M@uhwD.com", // 店舗のメールアドレス - ExternalId = "ykulFo5mD", // 店舗の外部ID - WithDisabled = true, // 無効な店舗を含める + Tel = "016-580-990", // 店舗の電話番号 + Email = "Sm0jLeVc0I@IOPv.com", // 店舗のメールアドレス + ExternalId = "o", // 店舗の外部ID + WithDisabled = false, // 無効な店舗を含める Page = 1, // ページ番号 PerPage = 50, // 1ページ分の取引数 }; @@ -192,11 +192,11 @@ Response.PaginatedShops response = await request.Send(client); Request.CreateShop request = new Request.CreateShop( "oxスーパー三田店" // 店舗名 ) { - ShopPostalCode = "9774638", // 店舗の郵便番号 + ShopPostalCode = "3332833", // 店舗の郵便番号 ShopAddress = "東京都港区芝...", // 店舗の住所 - ShopTel = "04-639488", // 店舗の電話番号 - ShopEmail = "kJRYuzmNrD@0IPF.com", // 店舗のメールアドレス - ShopExternalId = "YcPpoEqcZqYNWK", // 店舗の外部ID + ShopTel = "069-584-5953", // 店舗の電話番号 + ShopEmail = "sXeAgeVmz0@XdBq.com", // 店舗のメールアドレス + ShopExternalId = "vz2LZqSb1Cr9Gv", // 店舗の外部ID OrganizationCode = "ox-supermarket", // 組織コード }; Response.User response = await request.Send(client); @@ -313,14 +313,14 @@ Response.User response = await request.Send(client); Request.CreateShopV2 request = new Request.CreateShopV2( "oxスーパー三田店" // 店舗名 ) { - PostalCode = "950-8736", // 店舗の郵便番号 + PostalCode = "841-8626", // 店舗の郵便番号 Address = "東京都港区芝...", // 店舗の住所 - Tel = "0253-070-949", // 店舗の電話番号 - Email = "fcnvR24ekn@dSEu.com", // 店舗のメールアドレス - ExternalId = "ijqL", // 店舗の外部ID + Tel = "07801932450", // 店舗の電話番号 + Email = "nk93ttYPJh@OiPC.com", // 店舗のメールアドレス + ExternalId = "hnxitPJhteZ9v4lYIFrYpnV35p", // 店舗の外部ID OrganizationCode = "ox-supermarket", // 組織コード - 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", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 店舗でチャージ可能にするマネーIDの配列 + PrivateMoneyIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 店舗で有効にするマネーIDの配列 + CanTopupPrivateMoneyIds = new string[]{}, // 店舗でチャージ可能にするマネーIDの配列 }; Response.ShopWithAccounts response = await request.Send(client); ``` @@ -518,14 +518,14 @@ Request.UpdateShop request = new Request.UpdateShop( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 店舗ユーザーID ) { Name = "oxスーパー三田店", // 店舗名 - PostalCode = "4349417", // 店舗の郵便番号 + PostalCode = "3202721", // 店舗の郵便番号 Address = "東京都港区芝...", // 店舗の住所 - Tel = "0383-697190", // 店舗の電話番号 - Email = "nDEjnPuGDO@Lqsy.com", // 店舗のメールアドレス - ExternalId = "43AtWyT6hyzJkPIxdv4Vr2ADhNnBQ2AhJ", // 店舗の外部ID - PrivateMoneyIds = new string[]{"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", // 店舗の状態 + Tel = "089-0671-673", // 店舗の電話番号 + Email = "r99tmpLoTF@QeHI.com", // 店舗のメールアドレス + ExternalId = "sIBBDhi4oQ1t1s3zE", // 店舗の外部ID + PrivateMoneyIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 店舗で有効にするマネーIDの配列 + CanTopupPrivateMoneyIds = new string[]{"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}, // 店舗でチャージ可能にするマネーIDの配列 + Status = "active", // 店舗の状態 }; Response.ShopWithAccounts response = await request.Send(client); ``` diff --git a/docs/transaction.md b/docs/transaction.md index 846b72b..030ac70 100644 --- a/docs/transaction.md +++ b/docs/transaction.md @@ -6,7 +6,7 @@ CPMトークンの現在の状態を取得します。CPMトークンの有効 ```csharp Request.GetCpmToken request = new Request.GetCpmToken( - "07369wBiPR32MXZafz3jff" // CPMトークン + "2Vt3kMgTzAxm3nuCtm4tM4" // CPMトークン ); Response.CpmToken response = await request.Send(client); ``` @@ -44,18 +44,18 @@ CPM取引時にエンドユーザーが店舗に提示するバーコードを ```csharp Request.ListTransactions request = new Request.ListTransactions() { - From = "2021-04-02T07:32:00.000000Z", // 開始日時 - To = "2022-07-30T13:45:34.000000Z", // 終了日時 + From = "2020-03-02T10:23:33.000000Z", // 開始日時 + To = "2022-04-21T10:38:47.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 = "8l", // 取引ID + TransactionId = "TMWwQQegA", // 取引ID OrganizationCode = "pocketchange", // 組織コード PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID - IsModified = false, // キャンセルフラグ + IsModified = true, // キャンセルフラグ Types = new string[]{"topup", "payment"}, // 取引種別 (複数指定可)、チャージ=topup、支払い=payment Description = "店頭QRコードによる支払い", // 取引説明文 }; @@ -311,10 +311,10 @@ Request.CreateTransaction request = new Request.CreateTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ) { - MoneyAmount = 1949, - PointAmount = 3853, - PointExpiresAt = "2020-04-12T08:23:54.000000Z", // ポイント有効期限 - Description = "RnFdcWhSdaJfJ60D0H2T0aKhnL3FlnAD82QrpYaKuslNraOesyAiawWiyWkSV3bs4OkWhHFx3P67yxFmxWAZtUSoiVrIFnb7w6ZClkoqVajvuG5cGcBP5wA9GwSB8bfxMId7hFKERGvYa7vbD1cIywVpXocQ5N98CAVKuKRC5FLAIRiGKuI8CNBTqLCZ99AjVbK3l3", + MoneyAmount = 6249, + PointAmount = 9585, + PointExpiresAt = "2023-09-27T06:12:39.000000Z", // ポイント有効期限 + Description = "5Gh3EedIVkoAN4R", }; Response.TransactionDetail response = await request.Send(client); ``` @@ -467,11 +467,11 @@ Request.ListTransactionsV2 request = new Request.ListTransactionsV2() { CustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // エンドユーザーID CustomerName = "太郎", // エンドユーザー名 Description = "店頭QRコードによる支払い", // 取引説明文 - TransactionId = "Ne", // 取引ID - IsModified = false, // キャンセルフラグ + TransactionId = "6PB", // 取引ID + IsModified = true, // キャンセルフラグ Types = new string[]{"topup", "payment"}, // 取引種別 (複数指定可)、チャージ=topup、支払い=payment - From = "2021-11-10T11:36:05.000000Z", // 開始日時 - To = "2021-11-29T15:30:34.000000Z", // 終了日時 + From = "2024-03-12T09:24:55.000000Z", // 開始日時 + To = "2020-05-09T22:11:54.000000Z", // 終了日時 NextPageCursorId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 次ページへ遷移する際に起点となるtransactionのID PrevPageCursorId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 前ページへ遷移する際に起点となるtransactionのID PerPage = 50, // 1ページ分の取引数 @@ -757,9 +757,9 @@ Request.CreateTopupTransaction request = new Request.CreateTopupTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // マネーID ) { BearPointShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ポイント支払時の負担店舗ID - MoneyAmount = 2243, // マネー額 - PointAmount = 9043, // ポイント額 - PointExpiresAt = "2021-06-23T16:01:51.000000Z", // ポイント有効期限 + MoneyAmount = 9307, // マネー額 + PointAmount = 2855, // ポイント額 + PointExpiresAt = "2020-03-08T01:49:37.000000Z", // ポイント有効期限 Description = "初夏のチャージキャンペーン", // 取引履歴に表示する説明文 Metadata = "{\"key\":\"value\"}", // 取引メタデータ RequestId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // リクエストID @@ -974,11 +974,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 - 4138, // 支払い額 - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} // 商品情報データ + 4544 // 支払い額 ) { Description = "たい焼き(小倉)", // 取引履歴に表示する説明文 Metadata = "{\"key\":\"value\"}", // 取引メタデータ + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, // 商品情報データ RequestId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // リクエストID }; Response.TransactionDetail response = await request.Send(client); @@ -1167,13 +1167,13 @@ CPMトークンに設定されたスコープの取引を作ることができ ```csharp Request.CreateCpmTransaction request = new Request.CreateCpmTransaction( - "LJdEVZoJB0H5I2jNmYRtpC", // CPMトークン + "bgbkQVRY8MuhwDykulFo5m", // CPMトークン "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ID - 9240.0, // 取引金額 - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} // 商品情報データ + 8996.0 // 取引金額 ) { Description = "たい焼き(小倉)", // 取引説明文 Metadata = "{\"key\":\"value\"}", // 店舗側メタデータ + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, // 商品情報データ RequestId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // リクエストID }; Response.TransactionDetail response = await request.Send(client); @@ -1356,7 +1356,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 - 9279.0 // 送金額 + 7876.0 // 送金額 ) { Metadata = "{\"key\":\"value\"}", // 取引メタデータ Description = "たい焼き(小倉)", // 取引履歴に表示する説明文 @@ -1526,9 +1526,9 @@ Request.CreateExchangeTransaction request = new Request.CreateExchangeTransactio "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - 7381 + 9419 ) { - Description = "zTj3A085y5hWQ3gdeDOWFExGORRYNLJdsZ6n3IGoF44i0499bTqwmusaHN4dAo0kcMwrj6lsuth9pSzmqVAxW3BZh2UFG0NdobuyCqKAyF8XBloHn7nUM7l934bPMQ7DIwF", + Description = "V3XaTOkFDFDXkJRYuzmNrD0IPFMYcPpoEqcZqYNWKYupHW3vkZPbupwOmpLyfcnvR24ekndSEuijqLz34cJjz9WzSXV2waIpnDEjnPuGDOLqsy43AtWyT6hyzJkPIxdv4Vr2ADhNnBQ2AhJrtrRhEmEhncAz9T8Jn6tKv842hmKtJWGe0W2JoBVxO", RequestId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // リクエストID }; Response.TransactionDetail response = await request.Send(client); @@ -1710,7 +1710,7 @@ Request.RefundTransaction request = new Request.RefundTransaction( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // 取引ID ) { Description = "返品対応のため", // 取引履歴に表示する返金事由 - ReturningPointExpiresAt = "2023-05-11T10:56:00.000000Z", // 返却ポイントの有効期限 + ReturningPointExpiresAt = "2021-02-10T20:54:53.000000Z", // 返却ポイントの有効期限 }; Response.TransactionDetail response = await request.Send(client); ``` diff --git a/docs/transfer.md b/docs/transfer.md index 174e6f3..f1d8e5f 100644 --- a/docs/transfer.md +++ b/docs/transfer.md @@ -8,8 +8,8 @@ Request.GetAccountTransferSummary request = new Request.GetAccountTransferSummary( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ウォレットID ) { - From = "2021-05-27T23:29:35.000000Z", // 集計期間の開始時刻 - To = "2020-08-03T23:00:14.000000Z", // 集計期間の終了時刻 + From = "2020-11-04T16:34:17.000000Z", // 集計期間の開始時刻 + To = "2021-03-23T02:43:19.000000Z", // 集計期間の終了時刻 TransferTypes = new string[]{"topup", "payment"}, // 取引明細種別 (複数指定可) }; Response.AccountTransferSummary response = await request.Send(client); @@ -124,19 +124,19 @@ Response.AccountTransferSummary response = await request.Send(client); ```csharp Request.ListTransfers request = new Request.ListTransfers() { - From = "2023-05-01T22:11:57.000000Z", - To = "2022-07-24T22:57:17.000000Z", - Page = 9433, - PerPage = 2504, + From = "2024-03-12T16:53:53.000000Z", + To = "2022-04-14T08:54:52.000000Z", + Page = 6738, + PerPage = 8532, ShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - ShopName = "uPCrmdUDxKggDFfFvOJkxhc8IPvtQD4QxNm6tX3Guvbo2vDNfvQpElqxJKgNyOMeXS2rUoCJ5iHqorIswPc2cBsLEwskU0m8hSr1melepO9LnwIsUcSmvb4GOUqCz9cGDIhlPt52zP7YS2DWusWLcKpd2P335Nv6jp", + ShopName = "aMM6DcJjfAtdrmKAg3KBKDu0vlbYdVC6n9nVLo43cE33CQPF6kxIlI0uguDnziraNYM7VX", CustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - CustomerName = "CTg7cImjgcPmkAEumRe3ajMg8VGC0KZ", + CustomerName = "YLnlD8HOOCDlP4GZ7jbmXMO5zVMwfk3fyCehTHNb57OPgysrQCIrNbKg5EGtS1CRG8HTOfVnvp3qGXZFBsOSpPHbliv7UIdhUMzObVJcG5btiH5rur7GsubMGTjIcOXKD9o8Kba3zToGBURahT5P9DvE8UV0j2YqC15yVJZpc8KVpHARBDgg1G", TransactionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", IsModified = true, - TransactionTypes = new string[]{"cashback", "expire", "payment"}, - TransferTypes = new string[]{"topup", "exchange", "expire", "transfer", "campaign", "payment"}, // 取引明細の種類でフィルターします。 + TransactionTypes = new string[]{"exchange"}, + TransferTypes = new string[]{"expire", "topup"}, // 取引明細の種類でフィルターします。 Description = "店頭QRコードによる支払い", // 取引詳細説明文 }; Response.PaginatedTransfers response = await request.Send(client); @@ -369,20 +369,20 @@ Response.PaginatedTransfers response = await request.Send(client); ```csharp Request.ListTransfersV2 request = new Request.ListTransfersV2() { ShopId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ID - ShopName = "Gv2NsNRGCHkqW6b190X", // 店舗名 + ShopName = "vS6JUWIFuWHifSCeHqDX4OovF1kPsfFAfUD6hedBMnO5c5siBhPS0PdEUgltcrxJuLRpPyEyLzg5USUF0acnAYj9bCB7rUqwv3jfmweeo8gmjkrVbM4yoFbYRleO", // 店舗名 CustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // エンドユーザーID - CustomerName = "2yHeAyBqIIySMiYLD3kq3Znz8pepfEmpSiLZTFdERWScAwFtubDUWmymMiDwFFfcNNLAfTp6G3m2S11HDiNC2T6Z1NRFWi9xNJqHv5T", // エンドユーザー名 + CustomerName = "9KOkq0RFzjJHwRArvOU8komJ1Atk5RVlui7mGRMrDuzhgMwi2QEwxvEfxvbfoaYN92mmS964bSnGq9n7PpIOomMWW66P3IlH0kXmsTM", // エンドユーザー名 TransactionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 取引ID PrivateMoneyId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // マネーID IsModified = true, // キャンセルフラグ - TransactionTypes = new string[]{"payment", "cashback", "expire", "exchange", "transfer", "topup"}, // 取引種別 (複数指定可)、チャージ=topup、支払い=payment + TransactionTypes = new string[]{"expire", "topup", "transfer", "exchange", "payment"}, // 取引種別 (複数指定可)、チャージ=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", "exchange", "expire", "cashback", "coupon"}, // 取引明細種別 (複数指定可) + TransferTypes = new string[]{"expire"}, // 取引明細種別 (複数指定可) Description = "店頭QRコードによる支払い", // 取引詳細説明文 - From = "2020-05-16T00:13:53.000000Z", // 開始日時 - To = "2023-01-28T02:51:42.000000Z", // 終了日時 + From = "2023-04-20T11:19:57.000000Z", // 開始日時 + To = "2023-07-26T09:32:54.000000Z", // 終了日時 }; Response.PaginatedTransfersV2 response = await request.Send(client); ``` diff --git a/docs/webhook.md b/docs/webhook.md index 39c5e89..0bbf894 100644 --- a/docs/webhook.md +++ b/docs/webhook.md @@ -67,7 +67,7 @@ Response.PaginatedOrganizationWorkerTaskWebhook response = await request.Send(cl ```csharp Request.CreateWebhook request = new Request.CreateWebhook( "bulk_shops", // タスク名 - "Ds" // URL + "FE45d3P2" // URL ); Response.OrganizationWorkerTaskWebhook response = await request.Send(client); ``` @@ -163,9 +163,9 @@ Response.OrganizationWorkerTaskWebhook response = await request.Send(client); Request.UpdateWebhook request = new Request.UpdateWebhook( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // Webhook ID ) { - Url = "yOnXTq", // URL + Url = "Pz", // URL IsActive = false, // 有効/無効 - Task = "process_user_stats_operation", // タスク名 + Task = "bulk_shops", // タスク名 }; Response.OrganizationWorkerTaskWebhook response = await request.Send(client); ``` diff --git a/partner.yaml b/partner.yaml index 3ecb963..2435b32 100644 --- a/partner.yaml +++ b/partner.yaml @@ -8,7 +8,7 @@ info: description: >- Partner APIs title: Partner APIs - version: 0.0.0 + version: 24.3.26 tags: - name: Transaction diff --git a/src/PokepayPartnerCsharpSdk.Test/TestActivateUserDevice.cs b/src/PokepayPartnerCsharpSdk.Test/TestActivateUserDevice.cs index 577162f..8f66bde 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestActivateUserDevice.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestActivateUserDevice.cs @@ -25,7 +25,7 @@ public async Task ActivateUserDevice0() { try { Request.ActivateUserDevice request = new Request.ActivateUserDevice( - "544a0698-8c7c-4f0c-9c95-6070b7a99193" + "70a2385f-fc45-4f42-a969-9bdc1f34dacf" ); Response.UserDevice response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestBulkCreateTransaction.cs b/src/PokepayPartnerCsharpSdk.Test/TestBulkCreateTransaction.cs index 5e224b3..09144a8 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestBulkCreateTransaction.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestBulkCreateTransaction.cs @@ -25,9 +25,9 @@ public async Task BulkCreateTransaction0() { try { Request.BulkCreateTransaction request = new Request.BulkCreateTransaction( - "uu2d72PSR", - "B", - "NNGTP71wcJLJGkIvTZnRNAv7oeQjUez1G0bw" + "SJ9o4hVc0u6tzaZ3sbYKC", + "bmAlkaNJiO", + "vuRswwQSmiJco3KwhjqpMqyENnnotJKNM2Dv" ); Response.BulkTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -42,11 +42,11 @@ public async Task BulkCreateTransaction1() { try { Request.BulkCreateTransaction request = new Request.BulkCreateTransaction( - "uu2d72PSR", - "B", - "NNGTP71wcJLJGkIvTZnRNAv7oeQjUez1G0bw" + "SJ9o4hVc0u6tzaZ3sbYKC", + "bmAlkaNJiO", + "vuRswwQSmiJco3KwhjqpMqyENnnotJKNM2Dv" ) { - PrivateMoneyId = "df0a8443-3500-4c60-861c-9f7507533df2", + PrivateMoneyId = "703c377c-3ed1-428b-a827-9c18a076be05", }; Response.BulkTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -61,12 +61,12 @@ public async Task BulkCreateTransaction2() { try { Request.BulkCreateTransaction request = new Request.BulkCreateTransaction( - "uu2d72PSR", - "B", - "NNGTP71wcJLJGkIvTZnRNAv7oeQjUez1G0bw" + "SJ9o4hVc0u6tzaZ3sbYKC", + "bmAlkaNJiO", + "vuRswwQSmiJco3KwhjqpMqyENnnotJKNM2Dv" ) { - Description = "maLHHuXDOcuycPW2WYY40yWZt9ZjHKqLir6qmCF3zfoEN4hG6jzrPFiN4YTSJ9o4hVc0u6tzaZ3sbYKCNybmAlkaNJiOvuRswwQSmiJco3KwhjqpMqyENnnot", - PrivateMoneyId = "99040124-561b-4aca-8b4e-b4a5256b8f4d", + Description = "u06FE8juzeNINZktFZU0JpHpSrpNbF8O3WzYFSGY9bWV5jbNBEz14f9BIpTXI2luGWaGy1CoCYoYmaLr1BLY", + PrivateMoneyId = "db01c22d-6011-4ce4-a38d-62e775c56e73", }; Response.BulkTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCancelCashtray.cs b/src/PokepayPartnerCsharpSdk.Test/TestCancelCashtray.cs index e1d0a68..84d750c 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCancelCashtray.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCancelCashtray.cs @@ -25,7 +25,7 @@ public async Task CancelCashtray0() { try { Request.CancelCashtray request = new Request.CancelCashtray( - "aaf6a586-88af-4705-b315-e668c4144e0c" + "920f1f56-382f-4ffb-b1cb-0ded173cc53f" ); Response.Cashtray response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateBank.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateBank.cs index 9320773..5f4fa99 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateBank.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateBank.cs @@ -25,10 +25,10 @@ public async Task CreateBank0() { try { Request.CreateBank request = new Request.CreateBank( - "438f86c4-85d0-4bd9-8a9d-3941867967ad", - "2212ed03-8825-40d6-ba56-a08028c272b6", - "vyI6ywfpyKilj5zg8pn57kF0DYbPLXjuwrpeD0A9IDYP4sAiFNwaac9r9GBqh0SVIl9M1spjv4mKXU1rVLf6U0K44BovHKqYzk7GBG1DZKj2tBRFerhSuL22gGga7pF0nmLMfnIYTQdqHJZ8WnDHEVfpIBtEOM", - "P2U7IkYygmkkDxd3MzpkzvPsPo2v" + "097df35b-8508-4795-88d4-22af0a58a115", + "6c048fe6-2757-43c8-b116-a8f021e802f1", + "lIhFKkOnPRe3g3OqYMD6Y7flopJpL06wROQZ33dSb51CrQZVorM80jAnbL9pF2AijYf8ydTws4HIQ4AniWPzD9CM0oL6ak44VafBlkQEtaE8xbTpd0", + "PiIwS5" ); Response.BankRegisteringInfo response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -43,12 +43,12 @@ public async Task CreateBank1() { try { Request.CreateBank request = new Request.CreateBank( - "438f86c4-85d0-4bd9-8a9d-3941867967ad", - "2212ed03-8825-40d6-ba56-a08028c272b6", - "vyI6ywfpyKilj5zg8pn57kF0DYbPLXjuwrpeD0A9IDYP4sAiFNwaac9r9GBqh0SVIl9M1spjv4mKXU1rVLf6U0K44BovHKqYzk7GBG1DZKj2tBRFerhSuL22gGga7pF0nmLMfnIYTQdqHJZ8WnDHEVfpIBtEOM", - "P2U7IkYygmkkDxd3MzpkzvPsPo2v" + "097df35b-8508-4795-88d4-22af0a58a115", + "6c048fe6-2757-43c8-b116-a8f021e802f1", + "lIhFKkOnPRe3g3OqYMD6Y7flopJpL06wROQZ33dSb51CrQZVorM80jAnbL9pF2AijYf8ydTws4HIQ4AniWPzD9CM0oL6ak44VafBlkQEtaE8xbTpd0", + "PiIwS5" ) { - Birthdate = "cZvK", + Birthdate = "4q66i2nX", }; Response.BankRegisteringInfo response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -63,13 +63,13 @@ public async Task CreateBank2() { try { Request.CreateBank request = new Request.CreateBank( - "438f86c4-85d0-4bd9-8a9d-3941867967ad", - "2212ed03-8825-40d6-ba56-a08028c272b6", - "vyI6ywfpyKilj5zg8pn57kF0DYbPLXjuwrpeD0A9IDYP4sAiFNwaac9r9GBqh0SVIl9M1spjv4mKXU1rVLf6U0K44BovHKqYzk7GBG1DZKj2tBRFerhSuL22gGga7pF0nmLMfnIYTQdqHJZ8WnDHEVfpIBtEOM", - "P2U7IkYygmkkDxd3MzpkzvPsPo2v" + "097df35b-8508-4795-88d4-22af0a58a115", + "6c048fe6-2757-43c8-b116-a8f021e802f1", + "lIhFKkOnPRe3g3OqYMD6Y7flopJpL06wROQZ33dSb51CrQZVorM80jAnbL9pF2AijYf8ydTws4HIQ4AniWPzD9CM0oL6ak44VafBlkQEtaE8xbTpd0", + "PiIwS5" ) { - Email = "af470Dw5YI@6SeA.com", - Birthdate = "OBDBgRA", + Email = "WkvfusE3ma@gRZX.com", + Birthdate = "vYQ", }; Response.BankRegisteringInfo response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateBankTopupTransaction.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateBankTopupTransaction.cs index 578a05c..41a210a 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateBankTopupTransaction.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateBankTopupTransaction.cs @@ -25,11 +25,11 @@ public async Task CreateBankTopupTransaction0() { try { Request.CreateBankTopupTransaction request = new Request.CreateBankTopupTransaction( - "bd69dc67-93ed-4eea-85de-e7f86a483e90", - "24e6d640-54bf-425a-8709-1efe509dbefb", - 8451, - "dc71cfa6-e4c7-4b43-8193-5623dabd3806", - "97a71771-7861-4942-9cf7-1aca19f711b9" + "d5ad334e-9489-4b31-b1a5-bde4851ff77f", + "02e1a069-d9a4-4c54-8950-1f19d585254d", + 9384, + "2b325e79-2bfc-47a3-a61c-658a3c1808ec", + "87b8caaf-ed24-47d0-b738-fbd858d3214a" ); Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateCampaign.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateCampaign.cs index 21aa174..e5d06a7 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateCampaign.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateCampaign.cs @@ -25,11 +25,11 @@ public async Task CreateCampaign0() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ); Response.Campaign response = await request.Send(client); @@ -45,14 +45,14 @@ public async Task CreateCampaign1() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - BudgetCapsAmount = 1009088247, + BudgetCapsAmount = 2106640707, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -67,15 +67,15 @@ public async Task CreateCampaign2() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 784220269, + BudgetCapsAmount = 1194054230, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -90,16 +90,16 @@ public async Task CreateCampaign3() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1554964878, + BudgetCapsAmount = 169004663, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -114,17 +114,17 @@ public async Task CreateCampaign4() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - DestPrivateMoneyId = "558d6d5d-6d7d-43c9-bf7b-311bb4aa8634", + DestPrivateMoneyId = "15adc634-3e15-4f07-862c-71388aa40edf", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1833154823, + BudgetCapsAmount = 1717432031, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -139,18 +139,18 @@ public async Task CreateCampaign5() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - MaxTotalPointAmount = 9503, - DestPrivateMoneyId = "d0acb405-ad1a-46dc-b5af-db6f42754a4f", + MaxTotalPointAmount = 4100, + DestPrivateMoneyId = "837e0a0b-3bff-42ca-9d22-59372920f655", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 333829830, + BudgetCapsAmount = 1751213744, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -165,19 +165,19 @@ public async Task CreateCampaign6() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - MaxPointAmount = 6161, - MaxTotalPointAmount = 1120, - DestPrivateMoneyId = "c629c6c0-0429-45bf-8bf2-89615559e2ce", + MaxPointAmount = 3322, + MaxTotalPointAmount = 4499, + DestPrivateMoneyId = "2f8ee6bc-4e0f-4ddb-849e-b33b51788907", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1233458079, + BudgetCapsAmount = 270788988, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -192,20 +192,20 @@ public async Task CreateCampaign7() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { ExistInEachProductGroups = false, - MaxPointAmount = 747, - MaxTotalPointAmount = 1030, - DestPrivateMoneyId = "67f6463f-333a-4e92-a12d-667043eef62a", + MaxPointAmount = 5190, + MaxTotalPointAmount = 2679, + DestPrivateMoneyId = "fcbb40dc-fb27-4329-b7e2-c1632b871690", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1496436754, + BudgetCapsAmount = 1923542005, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -220,21 +220,21 @@ public async Task CreateCampaign8() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - MinimumNumberForCombinationPurchase = 1840, + MinimumNumberForCombinationPurchase = 9136, ExistInEachProductGroups = false, - MaxPointAmount = 2127, - MaxTotalPointAmount = 7738, - DestPrivateMoneyId = "8c7d46d3-3f18-467f-a96a-4b8a600daa44", + MaxPointAmount = 6254, + MaxTotalPointAmount = 6602, + DestPrivateMoneyId = "b4264571-cfe4-4ba7-98ed-69c0cc3e3976", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1837780759, + BudgetCapsAmount = 76742688, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -249,22 +249,22 @@ public async Task CreateCampaign9() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - MinimumNumberOfAmount = 5881, - MinimumNumberForCombinationPurchase = 3957, + MinimumNumberOfAmount = 725, + MinimumNumberForCombinationPurchase = 5949, ExistInEachProductGroups = true, - MaxPointAmount = 9971, - MaxTotalPointAmount = 616, - DestPrivateMoneyId = "e97de3f3-4c37-4c2d-a508-8cfea6540930", + MaxPointAmount = 2617, + MaxTotalPointAmount = 2463, + DestPrivateMoneyId = "f669e4d2-c042-48fa-a399-9d1ab8d5425f", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 2109625183, + BudgetCapsAmount = 2053889393, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -279,23 +279,23 @@ public async Task CreateCampaign10() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - MinimumNumberOfProducts = 4883, - MinimumNumberOfAmount = 7709, - MinimumNumberForCombinationPurchase = 1770, + MinimumNumberOfProducts = 9951, + MinimumNumberOfAmount = 1768, + MinimumNumberForCombinationPurchase = 1963, ExistInEachProductGroups = false, - MaxPointAmount = 5314, - MaxTotalPointAmount = 8130, - DestPrivateMoneyId = "95bdf2e1-f71a-4438-aa77-f1d87095212f", + MaxPointAmount = 8579, + MaxTotalPointAmount = 2970, + DestPrivateMoneyId = "385cb24b-845a-4510-976f-21551532afab", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1604707511, + BudgetCapsAmount = 1356945300, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -310,24 +310,24 @@ public async Task CreateCampaign11() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - ApplicableShopIds = new string[]{"a49fcbdd-a2a6-4929-86cc-b543cf5ea942", "bd03b1df-cfdf-405b-b13e-ad18fec38858", "df324786-3dde-44dd-ac76-217ac2ccd605", "9d1e1b42-cd11-4461-babe-2e53af301fc3", "46fbbc45-b028-423d-bbba-fb9f27fbb731", "7661bbe8-a8bd-4360-850c-24479f5b5086", "340bfda0-a3bc-4bb2-a7c5-7c0633462791", "c59cf76b-5deb-42dd-9e0c-ebd05bd30532", "5678ba0d-93ae-4f56-a508-f31dad866a49", "78367916-efd0-41f9-823e-8b372ff08d7b"}, - MinimumNumberOfProducts = 7497, - MinimumNumberOfAmount = 8326, - MinimumNumberForCombinationPurchase = 9560, - ExistInEachProductGroups = false, - MaxPointAmount = 6949, - MaxTotalPointAmount = 7775, - DestPrivateMoneyId = "3b7a5ae5-91a7-4d5c-b7a8-a9a9b52a70fe", + ApplicableShopIds = new string[]{"5129d44f-0152-4a3a-8cb9-abffe94f0714", "70b32f38-20a3-46ad-919f-1e3efd957d44", "26219476-e939-405b-940e-5dd7316295b3", "ed4fd8df-5c04-462f-b4ef-92979752f56e", "ecab59f2-f216-4bf5-b5c4-883d7c71ac01", "59bd5f2e-aef8-4e78-9b52-b7a78d10f78d"}, + MinimumNumberOfProducts = 7576, + MinimumNumberOfAmount = 414, + MinimumNumberForCombinationPurchase = 5411, + ExistInEachProductGroups = true, + MaxPointAmount = 7730, + MaxTotalPointAmount = 4655, + DestPrivateMoneyId = "ff86566b-9d96-4f22-bd08-09e97547aa52", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1553487604, + BudgetCapsAmount = 12818869, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -342,25 +342,25 @@ public async Task CreateCampaign12() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - 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[]{"bfaec73a-3edd-4e20-88bc-621f345c0d12", "6017b142-1029-4642-a8b1-389ef1c39d18", "bd988fd9-4983-4d4e-af43-66ecacabce7f", "9754d593-6e3a-4bc5-b028-f16edc1ca33b", "de898838-9237-44c1-b38a-7d92016c2f06", "32d42e89-1830-460c-acb6-e3c0d183e10b", "6c8ee176-225c-46db-b390-55f024f5d85c", "0515f6be-3d1b-4d3f-8e2a-7014622fe43b", "776be15b-03ac-4fdd-9708-d6bfd58366c8", "5d0641b9-cf88-4f75-b8ae-39f823e6d8b4"}, - MinimumNumberOfProducts = 4826, - MinimumNumberOfAmount = 1959, - MinimumNumberForCombinationPurchase = 736, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"675c04d4-00d3-4304-94b4-759f580cb13f", "94d14830-0631-41fb-935e-4280dca915fa"}, + MinimumNumberOfProducts = 8666, + MinimumNumberOfAmount = 3771, + MinimumNumberForCombinationPurchase = 4922, ExistInEachProductGroups = false, - MaxPointAmount = 13, - MaxTotalPointAmount = 1431, - DestPrivateMoneyId = "5d1f8032-3b3c-4392-ad78-d56a86571c94", + MaxPointAmount = 336, + MaxTotalPointAmount = 694, + DestPrivateMoneyId = "ca3f3f3b-3821-40e2-adf8-c5bd24c1648b", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1089189598, + BudgetCapsAmount = 1339082278, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -375,26 +375,26 @@ public async Task CreateCampaign13() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - ApplicableDaysOfWeek = new int[]{5, 2, 5, 1, 4, 5, 4, 6, 1, 5}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"f8574894-d553-4f6e-8f48-87d3ab29e466"}, - MinimumNumberOfProducts = 5099, - MinimumNumberOfAmount = 348, - MinimumNumberForCombinationPurchase = 180, - ExistInEachProductGroups = true, - MaxPointAmount = 4204, - MaxTotalPointAmount = 8618, - DestPrivateMoneyId = "48d99ac9-9e9c-429d-9fb1-aeb18bd20add", + ApplicableDaysOfWeek = new int[]{1, 4, 5, 3, 4, 0, 4}, + 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[]{"8e418c25-5a94-4c92-885b-1c2b1e7339c4", "e36d7965-c721-4549-b2e7-cd33d973ea08", "dcb12cb8-2a3b-4f14-a955-307b2ca06944", "33fe05dc-eb69-40f8-a1de-7f52d65cf7fb", "4e375d82-c05e-4ed1-a09f-6d1f9e88ef95", "d5ed1593-36a1-414f-9960-c3f3028ece1f", "7bcee882-74cf-42f8-8a79-5c0ebe431d28", "a9dba53a-8a69-4c75-8a91-e3a15ce9d506", "2a2ca774-8733-43de-84b0-b36f81ec445f"}, + MinimumNumberOfProducts = 83, + MinimumNumberOfAmount = 6057, + MinimumNumberForCombinationPurchase = 1524, + ExistInEachProductGroups = false, + MaxPointAmount = 1108, + MaxTotalPointAmount = 205, + DestPrivateMoneyId = "ce9c2a23-8611-4b5f-a0e9-9d2620d945a8", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1139125484, + BudgetCapsAmount = 1110367029, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -409,27 +409,27 @@ public async Task CreateCampaign14() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{5}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{4, 1, 6, 2, 6, 2, 3}, 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[]{"4133b82a-ecc9-4a1e-978a-d49e29247dcf", "65af3ec3-8f43-42a0-a609-963907d4b5d8", "9548b2be-0b52-4c3c-a09b-3e587bd9dfd3", "4200ba06-178f-4a60-abbd-dcfd443aad8b", "b695699b-93db-49d7-8414-709f517b86ab", "ab0d2810-ee8d-40ff-a20b-85768933d367", "5bc645f7-f24d-4764-bd43-a3366b5fd159", "c50bdaf3-a41a-49a5-851b-ba5190841a56"}, - MinimumNumberOfProducts = 5710, - MinimumNumberOfAmount = 9223, - MinimumNumberForCombinationPurchase = 8887, + ApplicableShopIds = new string[]{"79e8a56c-c102-4cfd-8d84-85a9dc1fcc47", "ffd9c668-871b-4acf-8037-b0cdc78f776a", "57527f0a-d005-4fef-8d9f-45ae768bb684", "cc5754a9-a046-48e9-884c-6ca252efadf4", "0a61a44e-620d-4739-99bb-43f1a5f9db79", "fbc3dfb7-0fa0-418d-92de-2ab5ad53f953", "090a782d-dbe5-4c98-ae7b-b36c936e8fb4"}, + MinimumNumberOfProducts = 5099, + MinimumNumberOfAmount = 9330, + MinimumNumberForCombinationPurchase = 6981, ExistInEachProductGroups = true, - MaxPointAmount = 818, - MaxTotalPointAmount = 2310, - DestPrivateMoneyId = "786d25b5-b842-4d53-82cc-ae5222df5154", + MaxPointAmount = 3054, + MaxTotalPointAmount = 6430, + DestPrivateMoneyId = "68f75742-ff32-4a67-beab-d3a9432d107a", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1734000707, + BudgetCapsAmount = 1196444844, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -444,28 +444,28 @@ public async Task CreateCampaign15() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{0, 2, 2, 6, 4, 2, 1, 6, 5}, - ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, - ApplicableShopIds = new string[]{"9fa8b21c-88ff-4ba0-8817-870ecc0b6365", "cf4ab4af-da44-402e-a84b-9cace4b0b583", "20d33981-8c78-4bde-9896-47e4b3ee081f", "1feb6bc5-7fe7-4426-8a60-3db3ce16574f", "a019c6ff-2d97-4378-bb28-48dfa31d4647"}, - MinimumNumberOfProducts = 1133, - MinimumNumberOfAmount = 3828, - MinimumNumberForCombinationPurchase = 3675, + 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}}, 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{0, 6, 1, 4, 6, 3, 1, 0, 2}, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"059617f2-4c2c-47d8-8f42-3b2ce6591e1e"}, + MinimumNumberOfProducts = 1631, + MinimumNumberOfAmount = 4298, + MinimumNumberForCombinationPurchase = 2698, ExistInEachProductGroups = false, - MaxPointAmount = 7511, - MaxTotalPointAmount = 2853, - DestPrivateMoneyId = "954d9d53-0e3f-4670-af05-9f881614ee9d", + MaxPointAmount = 1249, + MaxTotalPointAmount = 4716, + DestPrivateMoneyId = "79f486cc-f242-4a84-93b5-ad99c15443f6", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 2030052446, + BudgetCapsAmount = 176533366, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -480,29 +480,29 @@ public async Task CreateCampaign16() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - 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}}, 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}}, 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}}, 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{6, 5}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{5, 4, 1, 5, 0, 0, 4, 3, 3}, 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"51aac3c1-4b65-4b5f-ab80-db3630f25d15", "bdd50904-966b-4dbb-b02e-d71a93ad6dd8", "c180197c-193e-40e9-87c3-dc54710cab69", "b7d97953-8a42-4c55-8965-0635d7705f2d", "05d9b269-b4db-4a71-8906-a49a2389514d", "53f24d4f-4f63-45ea-b9f1-0c05c3192ac2", "6d51375f-a63b-4d4b-ac53-a446a89b11c7", "7415de7c-e360-488a-8c20-b3f59cf4ef24", "463b8fbd-8e2c-4498-97f1-30bcd93a0744", "c0424796-94ee-4f91-b26f-d19544c6cd4d"}, - MinimumNumberOfProducts = 5697, - MinimumNumberOfAmount = 723, - MinimumNumberForCombinationPurchase = 2469, - ExistInEachProductGroups = false, - MaxPointAmount = 6343, - MaxTotalPointAmount = 9862, - DestPrivateMoneyId = "ae0a0a68-9baa-4eb8-bea1-d0ab270ba663", + ApplicableShopIds = new string[]{"fcede07c-e54b-41ca-8c1f-62470f9a1eca", "ad9609cf-e45b-4312-a534-03ef3f1e03b3", "5b8b5e41-bca1-4ab7-afc1-09f37fa5b574", "85afa6b7-7dc7-409e-9e5a-d460a99d384b", "57638b03-cd7d-44cb-bd2e-81869617c865", "a9d5b496-d67c-46f7-8a7d-122105f13f99", "9eec184d-c5d1-4662-9ef0-4903b4deb376", "cc61a1d7-3f64-4b8c-9218-e0db50c9a915"}, + MinimumNumberOfProducts = 447, + MinimumNumberOfAmount = 3815, + MinimumNumberForCombinationPurchase = 4657, + ExistInEachProductGroups = true, + MaxPointAmount = 8597, + MaxTotalPointAmount = 8627, + DestPrivateMoneyId = "c6ff9025-3d2d-414e-a347-9789832241f0", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1284983922, + BudgetCapsAmount = 1952515941, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -517,30 +517,30 @@ public async Task CreateCampaign17() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - Subject = "money", - 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{1}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"ae2a952a-22b7-4260-a16a-8159e7936b67", "d481c378-e191-42b3-ad23-d913af0fe1e7", "bdd6ab54-8620-42ca-8b2c-e108ce96b3f9"}, - MinimumNumberOfProducts = 6670, - MinimumNumberOfAmount = 6938, - MinimumNumberForCombinationPurchase = 5733, + 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}}, 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}}, 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}}, 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}}, 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}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{6, 0, 2, 4, 2, 2, 2, 1}, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"3742069a-c681-4724-876a-4b15c1416b32", "8a03eb07-581e-408d-bedb-372624655338", "4a42f20d-59e2-4611-bf03-dafcb8d0486a", "63ff650f-b3fa-4b6f-8d60-6f0d69b492eb", "fb5f34d5-60e6-4151-82a5-49da0209ae79", "aa2fd1c7-6bae-4bb6-ba11-47f17ebbc2ec"}, + MinimumNumberOfProducts = 826, + MinimumNumberOfAmount = 7788, + MinimumNumberForCombinationPurchase = 3914, ExistInEachProductGroups = true, - MaxPointAmount = 3724, - MaxTotalPointAmount = 7679, - DestPrivateMoneyId = "f0b7e49c-07c2-4abf-8e07-c7fc0fc5e721", + MaxPointAmount = 2491, + MaxTotalPointAmount = 3873, + DestPrivateMoneyId = "8c6a32e3-c4b3-4d75-bb8a-4ee765eda1d1", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 543467906, + BudgetCapsAmount = 402302595, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -555,31 +555,31 @@ public async Task CreateCampaign18() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { 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}}, 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}}, 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}}, 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{1, 6, 2, 2, 4, 4, 2, 4, 4, 3}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"747fae14-af66-4921-a5c4-8a13c881f9fd", "9659d447-1459-45d1-a1a1-1a3d2cab8ddb", "1029f3a2-29b0-4851-9740-e009da5deadf", "0fbd8e50-f3c3-4943-a21c-73b6765dbe99", "203f0e30-43a4-4e94-84c8-4a549efacafc", "ac381fb3-40b9-48db-bd80-4b7b338e4908", "bbb7f820-b301-43af-92a2-6a3915e9a2a2"}, - MinimumNumberOfProducts = 1743, - MinimumNumberOfAmount = 9657, - MinimumNumberForCombinationPurchase = 5022, + 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}}, 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}}, 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}}, 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}}, 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}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{3, 5, 5, 1}, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"6fe08e15-ebac-4895-945c-4959b09693e2", "549bd16c-01a3-407b-81ee-a54fb64fcf18", "ec7492ca-f155-4d5d-a0f7-767cfaf400a3", "cefaa82b-949c-44b5-b595-af85ca1483ba", "0961668f-9f3a-4f12-9ea4-9159427656de", "c4696d67-3ccc-4a55-aa3a-e095f9385aac"}, + MinimumNumberOfProducts = 6181, + MinimumNumberOfAmount = 7004, + MinimumNumberForCombinationPurchase = 5904, ExistInEachProductGroups = false, - MaxPointAmount = 8352, - MaxTotalPointAmount = 1707, - DestPrivateMoneyId = "8617f378-13a0-4f80-af7e-25d3afd7a49e", + MaxPointAmount = 1198, + MaxTotalPointAmount = 5373, + DestPrivateMoneyId = "f8db04c8-cfe3-41da-a97f-b0b5e8afea5f", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1031147602, + BudgetCapsAmount = 202723754, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -594,32 +594,32 @@ public async Task CreateCampaign19() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - PointExpiresInDays = 2340, - IsExclusive = true, + PointExpiresInDays = 2449, + 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{0, 4, 3, 0, 0, 5}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"f19f6b33-0432-47eb-99e4-8281bbe92ed2", "8bcb81c5-75ff-49d1-9f25-a59afe85b4c3", "fb061e0f-ffb3-48dd-b901-616061cffda2", "aedeae97-438c-4abb-aeda-e684fd90c942"}, - MinimumNumberOfProducts = 4694, - MinimumNumberOfAmount = 3703, - MinimumNumberForCombinationPurchase = 1589, - ExistInEachProductGroups = false, - MaxPointAmount = 9031, - MaxTotalPointAmount = 3808, - DestPrivateMoneyId = "665deede-d003-4a0b-8add-b92285395937", + 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}}, 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}}, 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}}, 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}}, 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}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{3, 5, 1, 5, 0, 6, 4, 1}, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"4799467f-8c8e-4e32-94e8-ea642c57b6fd", "3e93a12c-0980-4397-861b-c6d2adad19ff", "deea532f-a234-4cdc-9a82-8eae337654c7", "bee6e6ed-b31d-49c3-b39c-fb6c375ec5d9", "bfd7fa9a-5453-46dc-a46b-a27e07ce50d2", "fd5eae2c-fde4-44bd-89c8-2e6c8c30a3c2", "61a7f96f-a5b7-4490-a95c-884da1852dc7", "94aa6ff3-6fa8-4397-ac2e-4191001a3a51"}, + MinimumNumberOfProducts = 9702, + MinimumNumberOfAmount = 3405, + MinimumNumberForCombinationPurchase = 4859, + ExistInEachProductGroups = true, + MaxPointAmount = 8506, + MaxTotalPointAmount = 2119, + DestPrivateMoneyId = "5e95c68e-8c3d-46be-bd43-69d0f2fcdc36", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 690026070, + BudgetCapsAmount = 1849011939, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -634,33 +634,33 @@ public async Task CreateCampaign20() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - PointExpiresAt = "2020-12-11T15:07:03.000000Z", - PointExpiresInDays = 3322, - IsExclusive = true, - Subject = "money", - 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}}, 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{6, 4, 1, 2, 3, 0}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, - ApplicableShopIds = new string[]{"a360186d-7e10-49c9-b1e4-2ba77c3b3998", "5ac313ed-69c0-4976-9fa0-75baa08f82d4", "94ea973c-8356-4a38-9ed2-c042ff96f8fa", "d8341aa3-8899-4d1a-9f70-6a15390ea6de"}, - MinimumNumberOfProducts = 1768, - MinimumNumberOfAmount = 1963, - MinimumNumberForCombinationPurchase = 618, - ExistInEachProductGroups = true, - MaxPointAmount = 8579, - MaxTotalPointAmount = 2970, - DestPrivateMoneyId = "385cb24b-845a-4510-976f-21551532afab", + PointExpiresAt = "2020-12-02T03:07:27.000000Z", + PointExpiresInDays = 7883, + 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}}, 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}}, 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}}, 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}}, 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}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{4, 5}, + 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"}}, 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[]{"5413d2bc-7586-43d7-9ab0-dff8426f05bc", "4634a087-d7bd-4283-a201-ce6b442aa16f", "cd543f9b-9735-4f2c-9fa4-82f22a4519a8", "adf5dbbf-a3f4-43d8-a4df-112862a23feb", "1abe756a-ba43-4d0b-9ab6-2e062232054b", "cfb0c6de-448f-4794-9510-cb581e739114", "b64f66ad-26eb-46e9-8df8-24b1dc0525eb", "bf67137f-2f3d-4a48-9614-47d477ff1556", "7592ce3d-9b86-46e2-b021-2eaf469f4212", "626150d2-0f85-4ca1-88f8-ae37b70cf539"}, + MinimumNumberOfProducts = 3976, + MinimumNumberOfAmount = 3488, + MinimumNumberForCombinationPurchase = 7343, + ExistInEachProductGroups = false, + MaxPointAmount = 6128, + MaxTotalPointAmount = 8066, + DestPrivateMoneyId = "646ecec6-5ad4-4d2f-aa28-11d67e47d0e9", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1356945300, + BudgetCapsAmount = 1981693400, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -675,34 +675,34 @@ public async Task CreateCampaign21() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - Status = "disabled", - PointExpiresAt = "2020-08-13T21:49:03.000000Z", - PointExpiresInDays = 339, - IsExclusive = true, - Subject = "money", - 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}}, 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}}, 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{5, 1, 6, 4}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"14dd405b-8e54-400e-97b3-d8df002e5c04", "3da5762f-a6f4-4aff-af97-f56eecab59f2", "0c10f216-bbf5-44b5-843d-ac0159bd5f2e", "0cd2aef8-9e78-4f9b-92a7-f78d8c1b9d97", "d973c19d-9522-4edc-8731-d22eff86566b", "95479d96-ef22-497d-88e9-aa5200c399b4", "cd651564-4b61-44d4-9304-ed5456fd4db4", "75d3759f-b13f-4830-b1fb-a893c52a265e", "2d5a4280-15fa-41d9-babc-fcd5f9f45339", "66fdcfad-fd05-44df-8fb5-3f3b31843821"}, - MinimumNumberOfProducts = 227, - MinimumNumberOfAmount = 1470, - MinimumNumberForCombinationPurchase = 9356, + Status = "enabled", + PointExpiresAt = "2022-11-05T20:55:35.000000Z", + PointExpiresInDays = 9068, + 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}}, 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}}, 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{2, 3, 3}, + ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"028cd575-fe40-4fb2-a9e8-f280168cb8ef", "757ac34d-0129-43a0-b828-78c4e69be2aa", "3ef0155b-df73-4fe6-95b3-029be84e5c80", "97103bd4-55aa-4e14-838c-d7b19e377bc1", "6ae625fc-8f38-4b66-96b5-badc1584cc03", "5ceabfee-19eb-4683-baf9-d5e1eacd3507", "809e5b4d-316f-481c-b62c-d410f3bdb948", "fec823ce-c0ff-4a8b-86ea-51ce8acc4f31"}, + MinimumNumberOfProducts = 9806, + MinimumNumberOfAmount = 8498, + MinimumNumberForCombinationPurchase = 2584, ExistInEachProductGroups = false, - MaxPointAmount = 4775, - MaxTotalPointAmount = 4101, - DestPrivateMoneyId = "83637635-d603-469c-a0fc-fa5298c96cb8", + MaxPointAmount = 6537, + MaxTotalPointAmount = 1247, + DestPrivateMoneyId = "3f45a5fc-eaa4-4bfb-86d4-f33041f38692", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 239176742, + BudgetCapsAmount = 926400408, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -717,35 +717,35 @@ public async Task CreateCampaign22() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - Description = "HDeIrg38UDixRQOsOxJyiut30oRsSLi4FAWjvNFlMGhO7MjoFiHLtN9Yqy7R5Sel4rqjqD6mB2gz0FIdNSbIrXOBo1I3rdkLB5vuUQlHHWHdfJKJGJOe4o3A7Ast7GZKKewMQbpvWdRIf0j2NcGpd", - Status = "disabled", - PointExpiresAt = "2022-04-15T15:28:58.000000Z", - PointExpiresInDays = 9708, + Description = "SnWyLCIiaSmxOiabyCFBUZkKwMvzRhZdC9PIbxRIokrSMcAe6DLpfhwjho9qAj035em2B0e1zQxL4LWrEkUrKUADYaUM", + Status = "enabled", + PointExpiresAt = "2023-11-17T22:56:10.000000Z", + PointExpiresInDays = 1788, IsExclusive = true, - Subject = "money", - 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}}, 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}}, 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}}, 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{0, 2, 4, 2, 2, 2, 1}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"3742069a-c681-4724-876a-4b15c1416b32", "8a03eb07-581e-408d-bedb-372624655338", "4a42f20d-59e2-4611-bf03-dafcb8d0486a", "63ff650f-b3fa-4b6f-8d60-6f0d69b492eb", "fb5f34d5-60e6-4151-82a5-49da0209ae79", "aa2fd1c7-6bae-4bb6-ba11-47f17ebbc2ec"}, - MinimumNumberOfProducts = 826, - MinimumNumberOfAmount = 7788, - MinimumNumberForCombinationPurchase = 3914, - ExistInEachProductGroups = true, - MaxPointAmount = 2491, - MaxTotalPointAmount = 3873, - DestPrivateMoneyId = "8c6a32e3-c4b3-4d75-bb8a-4ee765eda1d1", + 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}}, 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}}, 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}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{3}, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"2b2eadf1-610a-4ab9-92bc-3c6cfc6ec7ff", "bd99782a-2ce9-4275-b1cf-a64288b2f529", "8f163d7f-1449-4dce-adb4-0651ba520022", "c1d9c737-8737-4d5b-afc2-148a4f5cf60d", "e59eb028-ea79-4271-a97b-702a67c1f3fa", "e1d5abab-aa86-4356-9185-7a6f07ff5b16", "20d87007-a665-483e-8e3a-b986f7da0a32"}, + MinimumNumberOfProducts = 7389, + MinimumNumberOfAmount = 7777, + MinimumNumberForCombinationPurchase = 8894, + ExistInEachProductGroups = false, + MaxPointAmount = 299, + MaxTotalPointAmount = 3842, + DestPrivateMoneyId = "2f95706d-2a2b-4ed1-9e0a-214ad1ed4069", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 402302595, + BudgetCapsAmount = 548949958, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -760,36 +760,36 @@ public async Task CreateCampaign23() { try { Request.CreateCampaign request = new Request.CreateCampaign( - "1KmKqNhpuD1AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAx", - "5c77907a-e61f-40df-9a46-8214b5afe7d5", - "2023-05-26T13:27:18.000000Z", - "2022-12-03T22:38:33.000000Z", - 104, + "fjKkp3QkI11kPUOWIOCC9XRXSkWvgwMdC6YsQVBM615BSLRTB4phpjbt6QHeDKxXdEg3OxGlsZaVSpjoQ6ffYAe6kpXiCTiSBUIe5iqIMOcjyqBKlSFGLuqDn2oMYRFh8cqnV2spFoKb7jYgx3gTJKy6dBb3ykYYVRZ4jdyfDGYQa0QPCC60HT399N8hkxoSQFYDUU0HuG332kYdREQC", + "fb061e0f-ffb3-48dd-b901-616061cffda2", + "2022-05-26T07:26:51.000000Z", + "2023-09-29T11:09:34.000000Z", + 218, "topup" ) { - BearPointShopId = "8dc73088-9515-472f-a6d6-a50389018e63", - Description = "KEOAlMUYblAnOJUw5uYgLUj2LWIHcZ5Kh7Upt9fM2ThdFR4ZGmC3lYSdkRdIHlBo7iMGslQeLzTg9FCP6boJkANEWZ0xko5rtXdkjCZ6KXkiMx1kHTVbpRx7", - Status = "disabled", - PointExpiresAt = "2023-01-14T00:00:07.000000Z", - PointExpiresInDays = 3488, + BearPointShopId = "a255d145-1a4c-432c-94d6-96fdac0a94ba", + Description = "cfdA0sn1Jp9ctBvXrxjspmUg2Jofbfd8lI7ca3oyQQIsUl3rCM2ZMpE4WDor4IADTHdTPsjhUsWbuhnbIUFlfvobOclFXKfvdQivs3hjtD1VYnThEQOLtlkRPIAeI3C1kLwoS", + Status = "enabled", + PointExpiresAt = "2020-06-06T07:13:47.000000Z", + PointExpiresInDays = 6056, 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}}}, - 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}}, 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}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{6, 1, 6, 3, 5, 3, 2, 3, 2}, - 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[]{"a88ac14b-f511-431b-a775-fe40b7519fb2", "97fdd469-1de8-4280-af4d-0129658543a0", "5e9b00f8-1428-48c4-aa5b-df73cb1affe6", "47f00055-87b3-429b-80d4-55aaefffde14"}, - MinimumNumberOfProducts = 6066, - MinimumNumberOfAmount = 9725, - MinimumNumberForCombinationPurchase = 3897, + Subject = "money", + 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}}, 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}}, 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{6, 2, 3, 0, 2, 5, 4, 3}, + ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"19ea0ed3-4ac1-46f3-aaf0-b2032ff1fc41", "6d723416-8975-4350-8aad-ddd13724ff20", "c8571477-0fcf-4e92-8d45-c378a5811193", "b7c826ba-6643-48b1-b7b6-f56919f973e6", "0021eb6c-8339-46da-95a7-ec168234f815", "f746b210-7910-4073-b40a-59025581f29d", "28f5fe15-e4a9-49f1-aa37-9903ca8ac86a", "215b3ca8-dbca-4faf-b158-8aa8475d2018", "ec8ae961-1b7a-4ce4-b005-38c05585897f"}, + MinimumNumberOfProducts = 5586, + MinimumNumberOfAmount = 3910, + MinimumNumberForCombinationPurchase = 1046, ExistInEachProductGroups = true, - MaxPointAmount = 9175, - MaxTotalPointAmount = 1462, - DestPrivateMoneyId = "05f4badc-cc03-4fee-ab83-907a2419f8f9", + MaxPointAmount = 8180, + MaxTotalPointAmount = 490, + DestPrivateMoneyId = "29f6c691-56b7-40be-97eb-8886839228f4", ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1185404386, + BudgetCapsAmount = 1360098556, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateCashtray.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateCashtray.cs index 2ac0d40..6a33c25 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateCashtray.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateCashtray.cs @@ -25,9 +25,9 @@ public async Task CreateCashtray0() { try { Request.CreateCashtray request = new Request.CreateCashtray( - "044202f7-3525-4117-8dd7-0ded95240fda", - "48aeadc5-538d-4ee4-af33-69d46096e93b", - 5771.0 + "da0ab7a6-8ede-446b-892b-e7e97aa2c302", + "bb4d1e55-d044-475b-98ae-1976f8c463f3", + 9603.0 ); Response.Cashtray response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -42,11 +42,11 @@ public async Task CreateCashtray1() { try { Request.CreateCashtray request = new Request.CreateCashtray( - "044202f7-3525-4117-8dd7-0ded95240fda", - "48aeadc5-538d-4ee4-af33-69d46096e93b", - 5771.0 + "da0ab7a6-8ede-446b-892b-e7e97aa2c302", + "bb4d1e55-d044-475b-98ae-1976f8c463f3", + 9603.0 ) { - ExpiresIn = 5237, + ExpiresIn = 1211, }; Response.Cashtray response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -61,12 +61,12 @@ public async Task CreateCashtray2() { try { Request.CreateCashtray request = new Request.CreateCashtray( - "044202f7-3525-4117-8dd7-0ded95240fda", - "48aeadc5-538d-4ee4-af33-69d46096e93b", - 5771.0 + "da0ab7a6-8ede-446b-892b-e7e97aa2c302", + "bb4d1e55-d044-475b-98ae-1976f8c463f3", + 9603.0 ) { - Description = "PfziyB2HYxaSuFevcjssU2Qn83gWH7hF0T8Nh7eoO6asjOox0RRzWzgJ8qllmxnkMg", - ExpiresIn = 1558, + Description = "d07Li3GyEdt6GGJ1GXo5UPiFJuScrEGcY5I6vYJqEcansSsP2ceIvKP9bgYanQbVQM9Z6RG0kCsPdzwEr5mXGzuLW3FkWi9ZhIojVZoApe0VcAXVJNN81LI44xL3mfrFPuEOVKpPzDCyUBg3VaVg5lQKirhrBQImBbFTGr24vRn0", + ExpiresIn = 3362, }; Response.Cashtray response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateCoupon.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateCoupon.cs index 5a676e7..4748447 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateCoupon.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateCoupon.cs @@ -25,13 +25,13 @@ public async Task CreateCoupon0() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 2681, + DiscountAmount = 7588, }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -46,14 +46,14 @@ public async Task CreateCoupon1() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 6011, - StorageId = "3b63aaf6-f8ae-4566-813e-9def6896acb1", + DiscountAmount = 4563, + StorageId = "fc7f998c-9b05-4732-ab72-0347d884e950", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -68,15 +68,15 @@ public async Task CreateCoupon2() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 7612, - MinAmount = 4954, - StorageId = "24c65b99-f16b-4277-ab18-606462089fa4", + DiscountAmount = 5577, + MinAmount = 6442, + StorageId = "5763cf15-7600-4191-bc0e-37df36d5e838", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -91,16 +91,16 @@ public async Task CreateCoupon3() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 4786, - UsageLimit = 6167, - MinAmount = 324, - StorageId = "7935ed8d-cdef-4c12-8b79-744e98ba5b71", + DiscountAmount = 2514, + UsageLimit = 7024, + MinAmount = 9157, + StorageId = "7e541e33-4974-42e5-8550-636955941961", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -115,17 +115,17 @@ public async Task CreateCoupon4() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 5170, - Code = "P", - UsageLimit = 2775, - MinAmount = 3257, - StorageId = "5de441e5-aed0-495a-8f48-6687d0fc785f", + DiscountAmount = 2393, + Code = "eN8nco", + UsageLimit = 4962, + MinAmount = 4060, + StorageId = "31e3f4ef-09d3-4a2b-9c42-d702404a9b87", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -140,18 +140,18 @@ public async Task CreateCoupon5() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 2140, - IsPublic = false, - Code = "16DlcE5", - UsageLimit = 6363, - MinAmount = 4717, - StorageId = "271d709b-8d7b-4772-89b4-a098edd9e114", + DiscountAmount = 6445, + IsPublic = true, + Code = "erEt", + UsageLimit = 2494, + MinAmount = 2280, + StorageId = "31f7ba96-5f27-4cc6-a77b-2a859b16ff4a", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -166,19 +166,19 @@ public async Task CreateCoupon6() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 3401, - IsHidden = false, - IsPublic = false, - Code = "qCPq1klPYI", - UsageLimit = 3049, - MinAmount = 7550, - StorageId = "fc1b0366-1c1c-4367-9a7a-8cde77df3c2e", + DiscountAmount = 9700, + IsHidden = true, + IsPublic = true, + Code = "kgg6", + UsageLimit = 5196, + MinAmount = 6221, + StorageId = "1969a8b7-d089-4b7f-8489-ae4833196868", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -193,20 +193,20 @@ public async Task CreateCoupon7() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 7355, - IsDisabled = false, + DiscountAmount = 6097, + IsDisabled = true, IsHidden = true, - IsPublic = true, - Code = "9vCRDU8", - UsageLimit = 4510, - MinAmount = 28, - StorageId = "f84498f4-d4e3-41ef-9feb-243c4bc11f86", + IsPublic = false, + Code = "g7pW5tL", + UsageLimit = 8893, + MinAmount = 1220, + StorageId = "3d001682-6bd3-42cc-b3dc-993ebe6120fe", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -221,21 +221,21 @@ public async Task CreateCoupon8() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 9087, - DisplayEndsAt = "2020-08-24T10:30:29.000000Z", + DiscountAmount = 6808, + DisplayEndsAt = "2021-05-02T10:23:42.000000Z", IsDisabled = false, IsHidden = true, IsPublic = true, - Code = "MMVhmKz2i", - UsageLimit = 9083, - MinAmount = 2092, - StorageId = "a2ae1eaf-bedf-4128-aac2-f0ef12eb22c7", + Code = "XvMXdIXxGA", + UsageLimit = 7035, + MinAmount = 6200, + StorageId = "70cea93c-5c65-41fb-8f11-208949b22993", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -250,22 +250,22 @@ public async Task CreateCoupon9() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 9557, - DisplayStartsAt = "2021-08-28T13:14:25.000000Z", - DisplayEndsAt = "2022-05-03T16:47:09.000000Z", - IsDisabled = false, + DiscountAmount = 8541, + DisplayStartsAt = "2020-11-19T20:34:12.000000Z", + DisplayEndsAt = "2023-08-24T18:20:23.000000Z", + IsDisabled = true, IsHidden = true, IsPublic = false, - Code = "Um", - UsageLimit = 7179, - MinAmount = 2558, - StorageId = "610fe149-376c-463a-8681-28b7766a6a09", + Code = "Z", + UsageLimit = 6518, + MinAmount = 4214, + StorageId = "6a7b700e-8233-4260-957a-9f7905141dda", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -280,23 +280,23 @@ public async Task CreateCoupon10() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 5994, - DiscountUpperLimit = 5437, - DisplayStartsAt = "2023-02-05T18:31:30.000000Z", - DisplayEndsAt = "2020-04-03T02:09:27.000000Z", - IsDisabled = true, + DiscountAmount = 9643, + DiscountUpperLimit = 7944, + DisplayStartsAt = "2021-04-07T09:51:20.000000Z", + DisplayEndsAt = "2023-03-10T15:15:22.000000Z", + IsDisabled = false, IsHidden = true, IsPublic = false, - Code = "fEK", - UsageLimit = 6221, - MinAmount = 1887, - StorageId = "7595e5d1-4982-4738-86a7-d99e94f85643", + Code = "P", + UsageLimit = 2611, + MinAmount = 3793, + StorageId = "0ccbf3df-e253-4a22-a548-82a26c6e5eac", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -311,24 +311,24 @@ public async Task CreateCoupon11() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 9587, - Description = "62PLb59yfzniw8Z7TrjWh0BQdrr7bOC0AUfJnZnSogxeCWxbc4wl0P2Dqh3DSK23Mk8m6Cln0nexx5CEw583J2WEBiiOFuwneTfWH1pqqlIhFKkOnPRe3g3OqYMD6Y7flopJpL06wROQZ33dSb51CrQZVorM80jAnbL9pF2AijYf8ydTw", - DiscountUpperLimit = 6324, - DisplayStartsAt = "2022-02-13T00:10:59.000000Z", - DisplayEndsAt = "2020-11-12T23:24:26.000000Z", + DiscountAmount = 3443, + Description = "zKal8UJ7mvjTFU0wWAMu89mD0TpxWczQUyWaVgBaLWMWptjgf0FiZZDEEO2PZA9", + DiscountUpperLimit = 649, + DisplayStartsAt = "2022-02-17T13:36:31.000000Z", + DisplayEndsAt = "2021-01-02T18:17:49.000000Z", IsDisabled = true, - IsHidden = false, - IsPublic = true, - Code = "WPzD9CM0oL", - UsageLimit = 5388, - MinAmount = 6703, - StorageId = "5e37f491-a613-43df-b661-77bfa3fdb404", + IsHidden = true, + IsPublic = false, + Code = "1E81", + UsageLimit = 8298, + MinAmount = 3734, + StorageId = "e9939a2c-918b-4ac3-81e0-9fd2c37e29fd", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -343,15 +343,15 @@ public async Task CreateCoupon12() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 5307, + DiscountAmount = 7008, IsShopSpecified = true, - AvailableShopIds = new string[]{"480d0db4-9ba6-43d6-bd5d-7061b57d6d06", "d5ed2fe6-aaff-4794-bd42-9300a1ba0dec", "fc1cc96b-f051-4c45-95bd-e1f4fdd4c6e1", "46fdb0c5-6087-4d0e-b8f8-712e24f1148f", "a2d38a62-4f19-4b54-b0e4-073ff1940585"}, + AvailableShopIds = new string[]{"e1dcd6bc-92e2-416b-b74d-3952f0959724", "aaf070b1-527c-4ab7-bf97-27a0f9ae99c3", "47d77836-9552-45dc-af46-52b606b2394c", "df5ddf79-980c-4f4d-baf8-aaa740b65217", "606192c2-c841-470f-9aa6-fff8ece17406", "c7a869af-9010-442c-8e3b-1d83cdaea6f2", "992a2241-8d9e-49d3-846a-2ddbfd0255b9", "41531856-02c7-4d7b-b2b6-d9f28a0ac851", "4f216c15-1ebe-4ed7-852b-a766361f40ac"}, }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -366,16 +366,16 @@ public async Task CreateCoupon13() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 2341, + DiscountAmount = 325, IsShopSpecified = true, - AvailableShopIds = new string[]{"10ef8fe9-7849-47a4-afde-18de028f3a0f", "1b86900c-6877-445d-9e9b-2453304ae6b5", "450fcb3f-f834-47a1-97f1-a23611042d13", "4c53e1bc-2e36-4da9-a93f-871423cc2a0f", "69593e29-cb05-4c32-805c-ffeeade8d65d", "8944cf58-62d7-4dbf-bfeb-ef7cb219baf6", "66d24ce6-33a1-4a16-b580-cd73cec38da9", "b36f5521-4545-4bb3-8613-d985f663f4ed", "06c9b882-4de1-48e7-925a-7fc0a0cd5158", "13985b42-d476-46a0-9980-bc51d5ad334e"}, - StorageId = "fcbb9489-1b31-49b1-a5e4-f77f02e1a069", + AvailableShopIds = new string[]{"dee955fb-0401-4b37-b397-e39638ade7b2"}, + StorageId = "95c51566-1c19-49b7-9d66-42b5ae5da5f2", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -390,17 +390,17 @@ public async Task CreateCoupon14() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 6564, + DiscountAmount = 1034, IsShopSpecified = true, - AvailableShopIds = new string[]{"21597d50-1f19-454d-a779-2bfca98e67a3", "17bd0226-231c-458a-acaf-ed2414a1b7d0", "79983937-5838-4bd8-8a49-2b064193cf32", "f12066e0-1366-4deb-af8b-dd59de5a258d", "0dd47611-ff07-4b8e-9486-a92c81c1e0bd", "e556c586-a724-4a92-9b0a-199d05ffdb85", "ea7f6fbe-ec93-4f0e-ad85-b807fcfd9f75", "66e36dba-6b93-485d-ac1c-806157b9a002", "ed1cc5ae-a4a9-4465-ac57-658db9f71fd0", "06b350da-aa39-498e-9f28-d521eb89a999"}, - MinAmount = 8237, - StorageId = "3eff1332-3b9d-4c12-8bb6-625a4d8d93f4", + AvailableShopIds = new string[]{"3c604534-2e0f-4f67-8fee-497b0a24f24a"}, + MinAmount = 7514, + StorageId = "8ea1b429-e31a-4084-a027-0a3ef7665c24", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -415,18 +415,18 @@ public async Task CreateCoupon15() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 2172, - IsShopSpecified = true, - AvailableShopIds = new string[]{"24c06eeb-8eac-42bb-82ed-3e35dbe5eade", "08231ffe-af97-4cd1-9bfb-940988eaa93f", "0ebeb9f3-e055-494a-9f49-662e34d5370a", "cdbc1178-c737-413f-867f-4d9f7d3d6c60", "e5d42a39-98a8-49f0-95ea-3575f55af9dd"}, - UsageLimit = 2444, - MinAmount = 6525, - StorageId = "fbc8c3d1-262a-424c-97ad-7fb3747b760b", + DiscountAmount = 2184, + IsShopSpecified = false, + AvailableShopIds = new string[]{"68caca0d-e33a-4343-ba16-9d38291c06de", "23f118ba-da8e-4631-bb18-e0580145209d", "d3c9c19b-1e10-40ce-af75-1d63a52af179"}, + UsageLimit = 1665, + MinAmount = 9615, + StorageId = "939209e2-1c45-48a9-88f0-db8fd62e7f87", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -441,19 +441,19 @@ public async Task CreateCoupon16() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 6154, + DiscountAmount = 3832, IsShopSpecified = true, - AvailableShopIds = new string[]{"1cc39515-8ac1-4c08-ace3-ea295f65c8b0", "e4a1fc6d-7cae-4f97-b85b-2e5b08dc75e6"}, - Code = "IB", - UsageLimit = 4507, - MinAmount = 3624, - StorageId = "c9b1bf3f-6147-4b2a-97cd-e7cf270cfa8b", + AvailableShopIds = new string[]{"1c3722c6-fa2f-4a5c-afd8-5f23c60a500f", "4c56c0b7-012d-44d0-88af-dd440b482109", "82a7e1e7-4d98-4b2d-a772-eafa695c876e", "72cc23ce-0757-4f8a-8256-02097379a4b0"}, + Code = "p9BBTT", + UsageLimit = 2544, + MinAmount = 4779, + StorageId = "348c5d29-80b6-4f9c-81c7-84f09203a94d", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -468,20 +468,20 @@ public async Task CreateCoupon17() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 9061, - IsShopSpecified = false, - AvailableShopIds = new string[]{"251dfa67-2096-4687-8cfb-ae56e90423fe", "365f907a-6a8a-402a-b647-8fed451831fd"}, + DiscountAmount = 4878, + IsShopSpecified = true, + AvailableShopIds = new string[]{"2b68eaa3-3ae0-428f-9d3e-09cfdad7109e", "950b447e-4e3d-4e81-b3e2-17745dfcd0c0", "9da3ff48-daad-4f59-a39c-a61729d6e947"}, IsPublic = false, - Code = "f46VZC1gRO", - UsageLimit = 8119, - MinAmount = 7551, - StorageId = "b431fa85-9887-43f9-bcdb-8bc4de099877", + Code = "4Qa", + UsageLimit = 1260, + MinAmount = 8194, + StorageId = "d40a1b75-b1b6-4f03-9c00-85120c5d789e", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -496,21 +496,21 @@ public async Task CreateCoupon18() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 6135, + DiscountAmount = 611, IsShopSpecified = true, - AvailableShopIds = new string[]{"fea3b0ef-d073-42f7-9acc-8350c818f340"}, - IsHidden = true, + AvailableShopIds = new string[]{"e9372fba-ec3b-4ca2-8417-5bd6a5e268b2", "880e6120-18d0-45e3-9aea-5a0d3513c814", "5836580c-8bdc-4ca4-9e01-13b234b7ce63", "f53038ff-1bf4-4691-b6ed-835aba2d3afa", "9e18b688-f22f-49bd-967b-6c75247c5717", "a4ee250d-9f47-4035-b32d-55f125e5dedd", "7cee915a-53d7-4dd4-80d9-b37ffdb0ea02", "eb80c67a-c302-4210-a047-bb215c85b113"}, + IsHidden = false, IsPublic = true, - Code = "08a", - UsageLimit = 7715, - MinAmount = 2658, - StorageId = "d8394992-a788-487c-be14-911ba93a3971", + Code = "uuBX6L", + UsageLimit = 509, + MinAmount = 8924, + StorageId = "465eedd5-4ad5-4b5f-8ca0-5cd5c354b3c2", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -525,22 +525,22 @@ public async Task CreateCoupon19() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 9956, + DiscountAmount = 4602, IsShopSpecified = false, - AvailableShopIds = new string[]{"10d52dfb-831a-405c-a05d-76aa00449d8d", "ecd45f9a-7a6e-4e64-ab0a-09a5e0972489", "8b525c67-78a8-4e3c-a094-eb37c5b6f14d", "4a05b26d-083a-4246-b344-d9ac47868a32", "82ac7997-679a-43ad-a2c3-dda5f476f381", "f5e6399d-caf0-4b5a-bf88-20984eba5966", "940b7839-962b-454b-8fed-85fa1b51a9f8", "8e70ae16-6d32-47e3-93f6-196390b4fc12"}, + AvailableShopIds = new string[]{"74fc4d52-caa6-4431-8a38-209c7c0d3772", "7d6788ce-b60f-48d1-826a-3c545e094841", "f2b3f3bb-fbd2-4f78-a3cb-d75fe35ee889", "943d08bf-acd7-40e3-a4e2-e20852639309", "11487c20-4a31-48ee-b9cc-fdcc84a859d6", "d5a9fd88-30c9-43ad-a73b-d0e62e5f33a4", "dc520a40-d837-46d0-8a0f-a39a4637eab4", "72b16440-ab50-42cb-9bc9-b8590968a897", "5ca8f1d2-1cc1-436c-b15d-d955b7f4f943", "72c47a75-0ddc-4993-917b-6b79700af5e3"}, IsDisabled = false, IsHidden = false, IsPublic = true, - Code = "2", - UsageLimit = 9912, - MinAmount = 78, - StorageId = "5f47b150-a5fb-4dd7-b1ef-f93662280b58", + Code = "lQrGdRq", + UsageLimit = 9087, + MinAmount = 2134, + StorageId = "4811f464-3533-42c3-82fd-964958b8b996", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -555,23 +555,23 @@ public async Task CreateCoupon20() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 4922, + DiscountAmount = 9669, IsShopSpecified = false, - AvailableShopIds = new string[]{"4b022302-b071-4e23-b209-6ed2f2170cb9", "c46d45ec-eae7-4298-b093-bdf46ba75bed", "86b6337a-b7b4-49ee-b9d6-ac3e859a5f2f", "b8545fd3-b6d5-4286-ac44-1da4e4b611d3", "fc7f998c-9b05-4732-ab72-0347d884e950", "8cdc15c9-592a-4f15-8091-723c5db35f0e", "45bd37df-e838-49d2-b870-23c57e541e33", "24884974-32e5-44c5-9069-1961bbfe4959"}, - DisplayEndsAt = "2022-06-16T16:03:17.000000Z", + AvailableShopIds = new string[]{"9127d928-3be0-46ab-a4a5-c24ffbe3d5ac"}, + DisplayEndsAt = "2022-12-29T15:05:28.000000Z", IsDisabled = true, IsHidden = true, - IsPublic = false, - Code = "ncoL5boSB", - UsageLimit = 5890, - MinAmount = 7047, - StorageId = "49dab42c-3348-492d-bc93-adbcdd2caee5", + IsPublic = true, + Code = "7PJayBT5Ig", + UsageLimit = 4417, + MinAmount = 8609, + StorageId = "9367407e-da4b-4d35-a239-9a9bbbef8bba", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -586,24 +586,24 @@ public async Task CreateCoupon21() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 8998, - IsShopSpecified = true, - AvailableShopIds = new string[]{"e926cede-9074-4e3d-be47-88e831f7ba96", "1ec55f27-dcc6-4b67-bb85-ff4a3a5d3c22", "76bb3bad-e5e4-49f8-88dd-c26c12486a73", "c22019eb-c167-4967-b64c-b3a645c3184d", "1969a8b7-d089-4b7f-8489-ae4833196868", "8880ff57-fd49-47d1-b286-b261e8e8645c"}, - DisplayStartsAt = "2021-04-07T21:50:14.000000Z", - DisplayEndsAt = "2023-04-02T01:14:15.000000Z", + DiscountAmount = 1640, + IsShopSpecified = false, + AvailableShopIds = new string[]{"c7e9af20-637e-42ba-bc5a-9da940023c01", "795ea3aa-43e8-4f63-9a5f-d1e8a4d90487", "5ea13da1-6d38-4b4d-920a-1975a768db53", "aa4be814-456c-45d6-9291-82232c3854af", "7178a2a2-e23e-4416-9ccb-4b67d1282607", "3fe30b43-9053-43f0-890f-8aaaf95b3ccc", "1e087eb1-67bb-40b3-9959-9575a2dc8b83", "85d966c7-01ce-4d31-b772-c4e63df21a54", "131e4e39-f828-4922-84ee-9e9be3587d4f", "1004698c-f525-4674-a9fc-c87d65221743"}, + DisplayStartsAt = "2024-02-03T11:17:15.000000Z", + DisplayEndsAt = "2024-01-18T04:11:46.000000Z", IsDisabled = false, IsHidden = false, - IsPublic = true, - Code = "5tLDSL3E", - UsageLimit = 976, - MinAmount = 6015, - StorageId = "83b5dd59-32fb-4f05-9876-a79829a407dc", + IsPublic = false, + Code = "uSxp7i1rc", + UsageLimit = 6241, + MinAmount = 5347, + StorageId = "b3b32ad2-d47d-4fab-b47e-4e8c77cbbec5", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -618,25 +618,25 @@ public async Task CreateCoupon22() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 5592, + DiscountAmount = 8981, IsShopSpecified = true, - AvailableShopIds = new string[]{"70ad2558-4ddc-4d06-b8df-33c7700614c1", "e72f9b7b-5838-493c-a5fb-cf4f5d63dd11", "b8312089-2993-4d74-be5d-4c6491aaf5c4", "36dbbe67-bcb4-4b08-a56d-03a069ac7627", "4c6342dd-a8de-4b5a-bd14-ec1c10f0f2f8", "b6486df8-d976-4fbe-b60e-8233ee676260", "e346fc55-ae7a-4f79-9aab-68ed275f1f08", "f2619f98-688a-447d-aaeb-325027b300d0", "9dbdfee5-7bcc-4a33-91df-e25386354a22", "44ff5ae5-4248-42a2-ac73-b43eda88e901"}, - DiscountUpperLimit = 2877, - DisplayStartsAt = "2023-02-18T05:07:23.000000Z", - DisplayEndsAt = "2023-02-26T14:51:12.000000Z", + AvailableShopIds = new string[]{"affaad01-e34a-43d2-999a-81c50fcd555c", "844b0030-9296-4baa-989e-e1f631d907df", "2d017067-6ccc-4a9d-9188-e4be6365b03d", "73692afc-75c7-4423-9804-c9a6ed17fd6e", "c4bd47b2-a51d-4080-934f-3de4a6b9e52d", "b1013bfd-8b0f-4160-901c-7c2cdb9948e0"}, + DiscountUpperLimit = 7160, + DisplayStartsAt = "2023-03-21T19:50:49.000000Z", + DisplayEndsAt = "2023-11-06T14:03:41.000000Z", IsDisabled = true, - IsHidden = false, + IsHidden = true, IsPublic = false, - Code = "UJ7mvjTFU", - UsageLimit = 4400, - MinAmount = 4215, - StorageId = "307a6ad7-12fc-4cc1-8d05-ce3fa57732f5", + Code = "ViuwKt", + UsageLimit = 9342, + MinAmount = 618, + StorageId = "bf113df3-69a3-4540-a952-d56afbbb867a", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -651,26 +651,26 @@ public async Task CreateCoupon23() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountAmount = 9896, + DiscountAmount = 1188, IsShopSpecified = true, - AvailableShopIds = new string[]{"ff73750a-f96d-4844-b0bf-f388bbeeaea8", "e9d1de54-baf0-410a-bdf8-0e5c71a724ae", "dac53c25-d3d7-4fa2-83e3-7efae01e42a1", "9be7f5d1-fc80-4d55-9379-6c98cb700fd7", "f9549461-e256-4ae7-820b-f0612d119b4c", "cf302757-3619-4ecd-9098-f7aa9daad557", "15b859f0-abde-4974-aae7-46bf2d14cb66", "daa4cdb0-43c6-4f69-9ada-2b0315cd9a44", "c2686193-0c60-4991-9b45-c90acfd535ae", "86f4f3ba-4596-4ac5-8fb2-58fc449050fb"}, - Description = "ZA9bioQMPG1E81jCARXbk7MR17C6RF6LyMxBAxNrASDj9VGr6rQWfEP7s2f7f5rT4gnJZ2Cz81XNoucyB", - DiscountUpperLimit = 1665, - DisplayStartsAt = "2021-11-24T07:33:54.000000Z", - DisplayEndsAt = "2022-05-26T22:20:53.000000Z", - IsDisabled = false, + AvailableShopIds = new string[]{"1704b51f-51f6-4baa-a2bf-89bffc5b3938", "48ddfa58-ef28-458e-9501-d9ee8c9c2d09", "172f53e5-42bc-4389-808a-77c78ed15c4e", "5d0c663f-4bce-4130-9667-531c01fef6e3", "ff98c062-465e-4105-a0ea-65c89188679f", "a31c3a83-ecbc-46c5-b079-ef26ebddeb6b", "3fb2de4f-abd7-4486-b21b-e43a400a139b", "a8947579-c7a5-47fe-bdd6-c9eca8c9db92", "60cf41c8-1dee-47af-a408-fb4de028601b", "7488f382-6d1e-457c-a70b-9ebff23ca28b"}, + Description = "AdWY9HjNAOFWD0f28rlwLb9YSbpNpmMET", + DiscountUpperLimit = 9981, + DisplayStartsAt = "2022-08-25T11:20:42.000000Z", + DisplayEndsAt = "2021-05-19T01:35:12.000000Z", + IsDisabled = true, IsHidden = true, - IsPublic = true, - Code = "xFX7PDgg", - UsageLimit = 3698, - MinAmount = 1902, - StorageId = "72cc23ce-0757-4f8a-8256-02097379a4b0", + IsPublic = false, + Code = "pC8utok", + UsageLimit = 4816, + MinAmount = 4488, + StorageId = "bc8bf171-c330-4631-a0b6-5663b21c6f05", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -685,13 +685,13 @@ public async Task CreateCoupon24() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 517.0, + DiscountPercentage = 5002.0, }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -706,14 +706,14 @@ public async Task CreateCoupon25() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 9913.0, - StorageId = "cc760a8d-8b08-41c2-820f-c754d694752c", + DiscountPercentage = 8687.0, + StorageId = "975565dd-9913-41f1-a766-a8bbe42f483e", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -728,15 +728,15 @@ public async Task CreateCoupon26() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 2644.0, - MinAmount = 2544, - StorageId = "913d92ab-5d29-40b6-9cc1-dfc737e084f0", + DiscountPercentage = 9449.0, + MinAmount = 1427, + StorageId = "6f579280-37a8-4713-9e8b-69a94b2e1c29", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -751,16 +751,16 @@ public async Task CreateCoupon27() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 4878.0, - UsageLimit = 5581, - MinAmount = 5666, - StorageId = "2b68eaa3-3ae0-428f-9d3e-09cfdad7109e", + DiscountPercentage = 2005.0, + UsageLimit = 3590, + MinAmount = 6951, + StorageId = "f10f2ad8-6c78-4e91-a346-d59dc58fd3df", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -775,17 +775,17 @@ public async Task CreateCoupon28() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 1150.0, - Code = "3b", - UsageLimit = 6004, - MinAmount = 4288, - StorageId = "9da3ff48-daad-4f59-a39c-a61729d6e947", + DiscountPercentage = 8747.0, + Code = "zN5", + UsageLimit = 789, + MinAmount = 6541, + StorageId = "85dd6745-ace6-4fa8-a46f-cdffd0594ebc", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -800,18 +800,18 @@ public async Task CreateCoupon29() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 1320.0, + DiscountPercentage = 7356.0, IsPublic = true, - Code = "Qalu6", - UsageLimit = 8192, - MinAmount = 1298, - StorageId = "0c5d789e-4263-4168-a7ba-ec3be5bcdca2", + Code = "qVIJLmWFeG", + UsageLimit = 1226, + MinAmount = 1340, + StorageId = "96563e26-0771-4cd9-a279-9911fc385298", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -826,19 +826,19 @@ public async Task CreateCoupon30() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 791.0, - IsHidden = true, - IsPublic = true, - Code = "P", - UsageLimit = 5603, - MinAmount = 6669, - StorageId = "3513c814-580c-4bdc-a49e-760186c413b2", + DiscountPercentage = 8934.0, + IsHidden = false, + IsPublic = false, + Code = "xqeV9Lg6T", + UsageLimit = 3567, + MinAmount = 1298, + StorageId = "c9123897-c3ef-47d2-b81c-fd4b61b6a42b", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -853,20 +853,20 @@ public async Task CreateCoupon31() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 3683.0, - IsDisabled = false, - IsHidden = true, + DiscountPercentage = 9233.0, + IsDisabled = true, + IsHidden = false, IsPublic = false, - Code = "mZzuG53", - UsageLimit = 7469, - MinAmount = 5617, - StorageId = "25e5dedd-915a-43d7-9400-71d9a37ab37f", + Code = "Rr3h8eg", + UsageLimit = 9933, + MinAmount = 6105, + StorageId = "21b19c55-9890-4bc3-8eb7-1614cae1d03a", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -881,21 +881,21 @@ public async Task CreateCoupon32() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 1658.0, - DisplayEndsAt = "2020-06-30T14:50:47.000000Z", + DiscountPercentage = 7121.0, + DisplayEndsAt = "2021-06-28T16:41:32.000000Z", IsDisabled = false, - IsHidden = false, - IsPublic = false, - Code = "u", - UsageLimit = 7389, - MinAmount = 6744, - StorageId = "6c6bb3b6-21a1-4dcc-bddc-edd57d744ad5", + IsHidden = true, + IsPublic = true, + Code = "Q", + UsageLimit = 6815, + MinAmount = 4860, + StorageId = "231f3f07-0e07-49a1-975c-bc81fd259dd7", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -910,22 +910,22 @@ public async Task CreateCoupon33() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 2911.0, - DisplayStartsAt = "2022-02-10T10:02:08.000000Z", - DisplayEndsAt = "2022-09-14T02:35:01.000000Z", - IsDisabled = true, - IsHidden = false, - IsPublic = true, - Code = "R18rNQjTAR", - UsageLimit = 8056, - MinAmount = 1635, - StorageId = "aaf9ddcb-d75f-4889-bfd7-f0e3c3451d24", + DiscountPercentage = 8812.0, + DisplayStartsAt = "2022-09-17T22:51:29.000000Z", + DisplayEndsAt = "2022-11-24T11:06:39.000000Z", + IsDisabled = false, + IsHidden = true, + IsPublic = false, + Code = "L88aL", + UsageLimit = 2603, + MinAmount = 7721, + StorageId = "f26e6043-fd14-442e-a6e4-89b3f1eea2ac", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -940,23 +940,23 @@ public async Task CreateCoupon34() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 4834.0, - DiscountUpperLimit = 8712, - DisplayStartsAt = "2021-04-08T21:22:17.000000Z", - DisplayEndsAt = "2020-09-06T03:53:04.000000Z", + DiscountPercentage = 5890.0, + DiscountUpperLimit = 2547, + DisplayStartsAt = "2023-10-10T18:05:25.000000Z", + DisplayEndsAt = "2021-08-18T04:51:24.000000Z", IsDisabled = false, - IsHidden = true, - IsPublic = false, - Code = "If7PJ4P", - UsageLimit = 7361, - MinAmount = 4972, - StorageId = "c4afa331-685d-4955-8375-0ddc9ccdf993", + IsHidden = false, + IsPublic = true, + Code = "XIU", + UsageLimit = 9705, + MinAmount = 5509, + StorageId = "5dcd4bbf-ed59-4e08-b092-f60dffc51c5e", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -971,24 +971,24 @@ public async Task CreateCoupon35() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 9681.0, - Description = "ycWgFlQrGdRqVd3CIlE3dO8Hdi7PJayBT5IgAK5b9hyZhcZh8MuSlVRKgCSpIL13YYuGN17rfT9nOtCiuSxp7i1rcacR4EWmJRYE0vgLGn2OdxgxwF29eViuwKtj", - DiscountUpperLimit = 2473, - DisplayStartsAt = "2023-08-26T07:01:38.000000Z", - DisplayEndsAt = "2021-10-12T16:23:06.000000Z", + DiscountPercentage = 9621.0, + Description = "TvNgfaK3PoowpKAx3kfA31wXd04SY1O8gGOF1kRrye61uzmBIXdnENFs3jBlwZrD72DB37CRt8PxiPIwClGZ1KOGgE2sj7Hu6WK5M7npguch6s2J670P8hn4WhIeMSn521mnmeh5QEBdCZJtrUa6Fgp7ym0hYqDU", + DiscountUpperLimit = 7105, + DisplayStartsAt = "2023-03-29T22:56:31.000000Z", + DisplayEndsAt = "2021-05-09T05:42:20.000000Z", IsDisabled = true, IsHidden = true, - IsPublic = true, - Code = "vb8XUneGNN", - UsageLimit = 2407, - MinAmount = 4892, - StorageId = "01fef6e3-c062-465e-8560-87ea746865c8", + IsPublic = false, + Code = "fGNC0wV", + UsageLimit = 1538, + MinAmount = 2438, + StorageId = "dccb7f06-37a0-4ee1-8d88-1d4222273e06", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1003,15 +1003,15 @@ public async Task CreateCoupon36() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 9925.0, + DiscountPercentage = 6863.0, IsShopSpecified = true, - AvailableShopIds = new string[]{"e71bef26-eb6b-4e4f-9786-59b22324491b", "06ece43a-139b-4579-a5fe-06bd9057b7d6", "08e2c9ec-db92-41c8-aeaf-dde408eb7808", "f46ffb4d-601b-4382-9e7c-252760cb620b", "5e8f9ebf-a28b-4a20-9b41-d9647864fc7d", "aca7f457-3f0a-4fd9-9f80-e83c674cf45e", "e98b68b9-e512-42c8-90ea-f0079c0a304e", "0b5e4108-8cc1-4dac-8f46-1ed7036c135f", "f1c72d23-ac44-4c30-a632-5c229f271a38", "96c12f23-1006-4e8e-8ca6-f293a0d1e2f2"}, + AvailableShopIds = new string[]{"e3318449-72a8-4820-a72d-b3fd44ef8838", "79ebe268-20bf-44d2-8f25-39db0ec70a98"}, }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1026,16 +1026,16 @@ public async Task CreateCoupon37() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 6764.0, - IsShopSpecified = false, - AvailableShopIds = new string[]{"7e1bc6e2-ae39-451a-ba8c-be2b2eb117d9"}, - StorageId = "052dd5d3-f5e2-4e2d-b0ce-4e706716847d", + DiscountPercentage = 1222.0, + IsShopSpecified = true, + AvailableShopIds = new string[]{"140389a5-642c-43cd-9e01-4faa37658b6c", "4fcef8ea-4148-4147-98f2-018973b1b1f0", "3bdf1d0a-bfd6-409d-82ac-20d32b3256eb", "ccabd753-a0e4-402d-8c51-7a89b96380af"}, + StorageId = "9d6f1a42-8fa4-4140-82d1-020fe84c139a", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1050,17 +1050,17 @@ public async Task CreateCoupon38() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 5357.0, - IsShopSpecified = false, - AvailableShopIds = new string[]{"742874a9-eaa0-4e5e-bbba-43255b995e45", "8aeebed4-a6fd-4ba9-b94d-7a0a52988a50", "67a4bce2-0140-4169-96ad-2a701666ee43"}, - MinAmount = 3974, - StorageId = "3aa39c8f-c908-4c98-95bb-69380e947921", + DiscountPercentage = 4220.0, + IsShopSpecified = true, + AvailableShopIds = new string[]{"262e0558-3948-4bdf-979f-6526c52b8443", "1b2b5deb-5538-4b38-9e8b-aa799f32623e"}, + MinAmount = 2241, + StorageId = "2ee0967f-fca4-49e4-ab2a-b37f75f8f05c", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1075,18 +1075,18 @@ public async Task CreateCoupon39() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 5382.0, + DiscountPercentage = 4128.0, IsShopSpecified = true, - AvailableShopIds = new string[]{"625a8d75-0d74-44ef-abd8-52d0a4141188"}, - UsageLimit = 816, - MinAmount = 1585, - StorageId = "81c75320-9ab6-4663-858a-a1ef975565dd", + AvailableShopIds = new string[]{"4911012f-f403-451b-9528-d99a01668adc", "44ab489c-c05f-4ad5-be87-f66c16cd0313", "facae258-bb0a-4a70-b22d-92c01c43930f"}, + UsageLimit = 7539, + MinAmount = 3295, + StorageId = "6bc1dd03-d12e-43d4-9bb5-4e852cd73d9b", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1101,19 +1101,19 @@ public async Task CreateCoupon40() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 6419.0, + DiscountPercentage = 5543.0, IsShopSpecified = false, - AvailableShopIds = new string[]{"66e88466-a8bb-483e-a9c1-85936f579280", "d3f237a8-7713-455e-8ba9-1c29782607d5", "14eb34d7-8e06-4b27-9878-9e91f086b0ff", "29926623-5746-459d-9f2b-b9d2b6d8a27a", "4e481ea4-ae0f-4b3c-913f-c0cedd7ea3b5", "e5e90315-343d-498d-85e6-8fa85818fea4", "9dd3c46f-cdff-4ebc-ac14-677567749cbc", "7151ddba-3e9f-46a9-b1d6-1749a162cd9e"}, - Code = "JLm", - UsageLimit = 6926, - MinAmount = 2775, - StorageId = "7abe410a-5e46-48e5-87ca-a9bb2e55453c", + AvailableShopIds = new string[]{"be14805e-510f-4154-a338-ed301f6677bc", "19ec7b39-4fa2-4e41-9c85-c61cca853811"}, + Code = "bvtJaU", + UsageLimit = 6649, + MinAmount = 688, + StorageId = "c858cc20-7a81-4e10-85cb-0ab52f71dd20", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1128,20 +1128,20 @@ public async Task CreateCoupon41() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 1905.0, + DiscountPercentage = 8943.0, IsShopSpecified = false, - AvailableShopIds = new string[]{"2270ea79-9911-4298-a69b-2fb908d9a7fb", "9209360e-a098-4578-b165-0f2a4e615ad6", "2966deb9-ebcc-47aa-9ae7-ea24b2154984"}, + AvailableShopIds = new string[]{"a9141c89-439f-4efc-92c9-abb23560f241", "b57222e6-53ad-4315-8f2d-ca0c5531a82b", "8ccf1b76-1f99-4921-b523-501a151ec737"}, IsPublic = true, - Code = "4ooRx", - UsageLimit = 9259, - MinAmount = 9233, - StorageId = "5f8ae4be-73b5-4acb-9c0c-17a68e56fdde", + Code = "S8pT", + UsageLimit = 9100, + MinAmount = 6283, + StorageId = "2973fab7-d969-48f7-8eec-858944142f9d", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1156,21 +1156,21 @@ public async Task CreateCoupon42() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 8530.0, + DiscountPercentage = 2873.0, IsShopSpecified = true, - AvailableShopIds = new string[]{"cbed5ead-a833-4329-9628-3d86ab536a68", "d46cb0fb-c48e-4db8-a567-bb8e10a8bc46", "92bb66cd-57d9-4c55-90c3-c2ce418886b7"}, - IsHidden = true, - IsPublic = true, - Code = "J0", - UsageLimit = 5696, - MinAmount = 1617, - StorageId = "a72b5a9f-722a-47fc-bc07-0e07fe0b49a1", + AvailableShopIds = new string[]{"8f1f38cb-f505-4e4e-8035-583f3c425d00", "b934fcaf-69f9-4018-80a0-58a833d7499f", "af737ec3-04a0-4a73-8214-8444256f39cd", "b8afc1be-5f18-4075-941c-315ebc383975"}, + IsHidden = false, + IsPublic = false, + Code = "g6vjoZFJ", + UsageLimit = 85, + MinAmount = 5941, + StorageId = "be4a09f1-6fbf-4f3b-8a1d-02f505bd6cf7", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1185,22 +1185,22 @@ public async Task CreateCoupon43() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 1116.0, - IsShopSpecified = false, - AvailableShopIds = new string[]{"9b0ae26c-4401-4881-b189-6f3f5e728f77", "cf56edf4-2f3f-4ec4-8c38-48389cb8dc61", "2d772fcc-f566-423f-abdb-7267b0104a2b", "21a39e29-6043-4d14-aea6-82e4780089b3", "f1eea2ac-d702-4bed-b365-a28c2310b0cc", "50b56751-f3fd-4d28-822c-d12473b9a058", "b755c049-e101-4a1e-95e9-15855dcd4bbf", "a40aed59-2e08-46f0-920d-1c5e6682e595"}, + DiscountPercentage = 5976.0, + IsShopSpecified = true, + AvailableShopIds = new string[]{"e557e7ba-6a4a-44b5-859d-a160d4ad3e9b", "98b867ac-c3a2-4d71-8336-c1971e6ab6c7", "2de80ce3-fe4e-4b50-aec3-e820f6c36e12", "896d3d9a-6f45-4956-9bfb-800fe51e3250", "a028813e-26a4-40f1-b436-bc40ed8305c7", "a4de3b64-17c9-4f50-a52c-684a0d4b58ed", "c7157023-9538-47e1-9c63-de9d32085c28"}, IsDisabled = false, IsHidden = true, - IsPublic = false, - Code = "v", - UsageLimit = 4517, - MinAmount = 7758, - StorageId = "02376599-3411-4a06-a7e6-78a04c1ec3e1", + IsPublic = true, + Code = "z4K3IA8J", + UsageLimit = 7744, + MinAmount = 9440, + StorageId = "166ea7c9-32a7-46cc-9ef7-e3c493cd0592", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1215,23 +1215,23 @@ public async Task CreateCoupon44() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 1553.0, + DiscountPercentage = 8281.0, IsShopSpecified = true, - AvailableShopIds = new string[]{"05cd51b3-80dc-4150-af6f-559829430677", "b45bc1f0-6d4b-40c1-b825-1e338f4a248f", "bf657a1f-f56b-4f0f-a466-8d872f0aa841", "4b3da133-13b1-45f7-9864-2ab013d03334", "5667229a-d7df-4ca7-92a7-ca5348a40e59"}, - DisplayEndsAt = "2022-02-28T16:11:13.000000Z", + AvailableShopIds = new string[]{"c7d7a0c8-1c11-49d7-b1bc-2d39b9495d07", "63afb068-bf14-48b3-bee1-0e7962946410", "9e4f50d9-2482-46f8-a14e-c5fbad91fde7", "8fb414a4-6012-417f-a71f-90a02f3e865c", "9b6fe81e-45cf-4319-804a-b839408d8efe", "0691c084-bbec-4c7a-8f2d-80b72d6e7596", "0e85051e-5148-4c0f-8df3-9d376dd4e2ad", "8616a8f2-12ae-4938-984d-dba6716a363c", "05d7c8f7-8c22-4370-9d0e-6a1e0d7f3bbf"}, + DisplayEndsAt = "2022-02-02T07:15:39.000000Z", IsDisabled = false, - IsHidden = true, + IsHidden = false, IsPublic = true, - Code = "g", - UsageLimit = 2444, - MinAmount = 3982, - StorageId = "82d40bac-d8bb-4021-8afb-422dda5c77a0", + Code = "fo", + UsageLimit = 9859, + MinAmount = 3570, + StorageId = "054efdb2-fdfc-4f7e-a71f-32168bf9c2b0", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1246,24 +1246,24 @@ public async Task CreateCoupon45() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 9694.0, + DiscountPercentage = 4104.0, IsShopSpecified = false, - AvailableShopIds = new string[]{"a418d31c-40b1-46eb-925f-e572f6d62bbd", "49afa228-f312-423b-a60a-c9f9782a7081", "80fd0f7d-3165-49a2-b6b1-ae26bcb61775", "5f7057fa-483f-448a-adc2-908975705f49", "68f95cdf-7683-4500-9864-329b601846bc", "59fde46e-2c9f-491a-85ce-6446fa3ba695", "c2bee2f3-fd29-4f88-b32e-6624bae15a8e"}, - DisplayStartsAt = "2020-04-19T12:49:46.000000Z", - DisplayEndsAt = "2021-06-20T07:52:06.000000Z", + AvailableShopIds = new string[]{"d9a9773d-bd66-45fe-a324-96bafa3bed7e", "65a077dd-aa5a-4596-a0d9-7099d1f1b390", "24b56786-6392-4831-b554-aeec496545a8", "a39a3544-46a1-4366-af58-ea7a044a3830", "868ec575-6044-47e5-af11-233d6319ecf6", "1dc51783-f87b-4cb2-8712-ef272d10b961", "f770e2e0-3f78-4f11-a885-e43f3814f8a6", "570004cc-1789-4a85-8da9-eb6add3ac78b", "f528585a-9d82-4ca6-a84d-fa7e8c924137", "a4d8b217-ea07-41e6-8218-9abe663e2bf4"}, + DisplayStartsAt = "2021-03-31T10:30:04.000000Z", + DisplayEndsAt = "2023-10-18T11:21:08.000000Z", IsDisabled = true, IsHidden = false, IsPublic = false, - Code = "ZrD72DB3", - UsageLimit = 7716, - MinAmount = 4832, - StorageId = "cadaea37-0726-4b13-87c3-4e8bd595fb52", + Code = "PQLWJArP", + UsageLimit = 9201, + MinAmount = 3123, + StorageId = "6dd3f59e-6e1a-4af4-b0ac-5a0f60ef3f9a", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1278,25 +1278,25 @@ public async Task CreateCoupon46() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 6260.0, + DiscountPercentage = 2217.0, IsShopSpecified = false, - AvailableShopIds = new string[]{"4163155e-efd0-4ca7-bc78-3c08c7c6f3ff", "9de1771f-a2e9-40d0-be49-581a03b901f7", "f6e311c3-cabe-446c-871c-109add2f9c25", "776437da-2d31-42cb-a2cf-7ec75cbea909", "a2e80ce7-e3c5-4a32-9cf3-346a1169a18e", "0c8e87fd-760f-4637-bddb-3dc89d1e2475", "d432b436-e6d7-4a4b-89a1-eab5f91dfd0c", "db3e202c-47dc-4bcd-8382-95a27361eebc", "30d6b222-741f-4b88-b785-546eb3e17cdd"}, - DiscountUpperLimit = 2466, - DisplayStartsAt = "2021-02-16T21:51:44.000000Z", - DisplayEndsAt = "2021-05-10T17:52:59.000000Z", + AvailableShopIds = new string[]{"1348c0e3-4f38-4be7-8ba4-3f77691e83ba", "9d43c561-aa64-4707-8eee-a8c0beafb8fb", "e029f795-c6de-46f7-b5e5-f2a0372530c3", "ef6c267f-f209-4220-8b71-659c4536f594", "687962e6-2e0d-49da-a46b-ce9bf426cc19", "39eb0edd-4d3c-42f3-bfd6-2c4ceacac711"}, + DiscountUpperLimit = 8879, + DisplayStartsAt = "2022-08-29T16:53:22.000000Z", + DisplayEndsAt = "2022-01-14T05:47:38.000000Z", IsDisabled = true, IsHidden = false, IsPublic = false, - Code = "uch6s2J6", - UsageLimit = 1719, - MinAmount = 1665, - StorageId = "ccd03250-f729-4bb8-a81c-256e4e391cbd", + Code = "Ja8YkV10V0", + UsageLimit = 4515, + MinAmount = 6632, + StorageId = "f265e527-cdba-4fa0-89bf-f766531418b8", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1311,26 +1311,26 @@ public async Task CreateCoupon47() { try { Request.CreateCoupon request = new Request.CreateCoupon( - "40e5f803-a1f6-42e3-93f9-f67b347fb41b", - "1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8HWWbXOMsyMVL1Y0FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq", - "2021-05-29T06:39:55.000000Z", - "2020-08-17T06:59:21.000000Z", - "bf53782b-ca33-43ed-882a-a2af306de60f" + "3e5abddd-282f-4612-9b28-1bb05661efbe", + "abqydMndg7MmFsD2bCpZf9Kmzx2cSvcsgfp28NPWqo6XqlqrR9lgptmz4", + "2020-01-05T02:33:18.000000Z", + "2023-12-03T02:07:18.000000Z", + "48bdac3e-5f2f-4fd3-9586-9eac55ddb844" ) { - DiscountPercentage = 215.0, - IsShopSpecified = true, - AvailableShopIds = new string[]{"eb499449-11e5-4085-8dd3-14865cd6f4a4", "b7447cbd-9b9f-48a2-aebd-b3042480af11", "c74f1123-9935-45b2-87b1-af97b0f90007", "be3bfc7f-d592-43a7-a28d-32fc42d4f3c0", "aad70bed-a26e-4bbb-ad85-81009b5d5688", "c8f30165-e609-4068-b581-c4d1e0d294c5", "794c54c2-b164-470a-9cc3-b75a59bc474a", "33ab4b3d-6f74-4420-ac72-0955e4d69461", "8daaa3b6-ccc6-45e7-b037-51a9383ca85c"}, - Description = "ym0hY", - DiscountUpperLimit = 6437, - DisplayStartsAt = "2020-12-01T23:21:21.000000Z", - DisplayEndsAt = "2021-05-15T09:10:32.000000Z", - IsDisabled = true, - IsHidden = true, + DiscountPercentage = 7429.0, + IsShopSpecified = false, + AvailableShopIds = new string[]{"7b1724ac-a17f-4af4-9147-95aa2da74bc8", "edccfea7-2070-4dba-8c29-66f64a475c33", "3ac17578-6ad0-4c51-baa1-c2502b58ffa5", "83b226ce-b83b-4d82-bb87-2abe67ab8d97", "306e84bf-ad5a-454d-bae1-b3b323e760e3", "77eebe54-fced-47bb-aa10-51d43d19673f", "c03a7df3-603d-4b6c-9f54-092670d9ee44", "a22afca9-8005-4348-badd-34718eaec1b0"}, + Description = "0PkzT3rjRscSaTDEUxwAJXNLOLDUjAEUO9KUSGzbSRmda66Hxc4wf0VsciZqVg9CY4JyxUqm9QYX9eOR0RPX1REGDLSjexe42N6h2JPSKXOz8JwoXWD3OcRqlTHYwOestfQFum", + DiscountUpperLimit = 7633, + DisplayStartsAt = "2021-05-07T23:33:42.000000Z", + DisplayEndsAt = "2021-10-06T04:45:26.000000Z", + IsDisabled = false, + IsHidden = false, IsPublic = false, - Code = "UAWMYxWf", - UsageLimit = 6335, - MinAmount = 9180, - StorageId = "0509c92d-cb03-43c7-aa8b-832ba61c384e", + Code = "Usw4hfYXr", + UsageLimit = 8120, + MinAmount = 852, + StorageId = "90c85dad-cf77-4f73-b76b-aa1f5bba0f00", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateCpmTransaction.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateCpmTransaction.cs index 54d4855..666980e 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateCpmTransaction.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateCpmTransaction.cs @@ -25,10 +25,9 @@ public async Task CreateCpmTransaction0() { try { Request.CreateCpmTransaction request = new Request.CreateCpmTransaction( - "5w5OTBAsM3ixdWcd35lzGg", - "42d0e3b9-41eb-4cb8-837a-ae58f935e499", - 2357.0, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + "LesoN7AsxjaX4bkzoW5SSz", + "8c6738c6-0a43-44e0-9f4b-4001c0bd316a", + 6991.0 ); Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -43,12 +42,11 @@ public async Task CreateCpmTransaction1() { try { Request.CreateCpmTransaction request = new Request.CreateCpmTransaction( - "5w5OTBAsM3ixdWcd35lzGg", - "42d0e3b9-41eb-4cb8-837a-ae58f935e499", - 2357.0, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + "LesoN7AsxjaX4bkzoW5SSz", + "8c6738c6-0a43-44e0-9f4b-4001c0bd316a", + 6991.0 ) { - RequestId = "f5f56727-4926-4028-aeda-0e8b40d88878", + RequestId = "97f918a6-cbc5-495e-befc-539cc6e2d645", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -63,13 +61,12 @@ public async Task CreateCpmTransaction2() { try { Request.CreateCpmTransaction request = new Request.CreateCpmTransaction( - "5w5OTBAsM3ixdWcd35lzGg", - "42d0e3b9-41eb-4cb8-837a-ae58f935e499", - 2357.0, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + "LesoN7AsxjaX4bkzoW5SSz", + "8c6738c6-0a43-44e0-9f4b-4001c0bd316a", + 6991.0 ) { - Metadata = "{\"key\":\"value\"}", - RequestId = "c09567a8-bcb6-4d72-bd0d-7addd8dda9e4", + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, + RequestId = "2241e432-273b-49b9-bc50-d916835da811", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -84,14 +81,35 @@ public async Task CreateCpmTransaction3() { try { Request.CreateCpmTransaction request = new Request.CreateCpmTransaction( - "5w5OTBAsM3ixdWcd35lzGg", - "42d0e3b9-41eb-4cb8-837a-ae58f935e499", - 2357.0, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + "LesoN7AsxjaX4bkzoW5SSz", + "8c6738c6-0a43-44e0-9f4b-4001c0bd316a", + 6991.0 + ) { + Metadata = "{\"key\":\"value\"}", + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, + RequestId = "5d4848b4-f3b4-4876-80a2-0c3cad8b4139", + }; + Response.TransactionDetail response = await request.Send(client); + Assert.NotNull(response, "Shouldn't be null at least"); + } catch (HttpRequestException e) { + Assert.AreNotEqual((int) e.Data["StatusCode"], (int) HttpStatusCode.BadRequest, "Shouldn't be BadRequest"); + Assert.True((int) e.Data["StatusCode"] >= 300, "Should be larger than 300"); + } + } + + [Test] + public async Task CreateCpmTransaction4() + { + try { + Request.CreateCpmTransaction request = new Request.CreateCpmTransaction( + "LesoN7AsxjaX4bkzoW5SSz", + "8c6738c6-0a43-44e0-9f4b-4001c0bd316a", + 6991.0 ) { - Description = "Z6Kiw60EKpO7FL05ARSiRG2UPRPUxcw9rvtxOfCP20hUm1E2Nlz5V1CO5TSFyNtopqI6bCrDgQTiBz8hopleWuv10dzqDmxXKufPIjjJpzSXKPSRMVYMVxniANd", + Description = "5w5OTBAsM3ixdWcd35lzGg9k8zX5Zx6rdzZ6Kiw60EKpO7FL05ARSiRG2UPRPUxcw9rvtxOfCP20hUm1E2Nlz5V1CO5TSFyNtopqI6bCrDgQTiBz8hopleWuv10dzqDmxXKufPIjjJpzSXKPSRMVYMVxniANdM0yy6srRZ", Metadata = "{\"key\":\"value\"}", - RequestId = "b15b9c4d-0b1a-441b-bd8e-d5b0d5fc16f9", + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, + RequestId = "4051b039-c9e0-4fe2-9c2e-9b112a3bf95d", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateExchangeTransaction.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateExchangeTransaction.cs index ab36916..7b4011c 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateExchangeTransaction.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateExchangeTransaction.cs @@ -25,10 +25,10 @@ public async Task CreateExchangeTransaction0() { try { Request.CreateExchangeTransaction request = new Request.CreateExchangeTransaction( - "ff4bd663-aa88-4536-8cbe-376835a07b9c", - "c77de860-6f65-4638-8bfd-1ff82bdf45f6", - "e5fc3b0d-435c-43b6-86aa-87179ded75aa", - 827 + "1cb02db7-0825-4691-a531-029fcfaa7244", + "281dfb2e-19ca-4bbf-8e06-7852999348ed", + "31d92e3d-7857-41c3-885d-02769a44e326", + 1581 ); Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -43,12 +43,12 @@ public async Task CreateExchangeTransaction1() { try { Request.CreateExchangeTransaction request = new Request.CreateExchangeTransaction( - "ff4bd663-aa88-4536-8cbe-376835a07b9c", - "c77de860-6f65-4638-8bfd-1ff82bdf45f6", - "e5fc3b0d-435c-43b6-86aa-87179ded75aa", - 827 + "1cb02db7-0825-4691-a531-029fcfaa7244", + "281dfb2e-19ca-4bbf-8e06-7852999348ed", + "31d92e3d-7857-41c3-885d-02769a44e326", + 1581 ) { - RequestId = "a098b950-7461-4bbb-bb40-9c5a16b099b8", + RequestId = "3721cb7b-ab91-49d8-a1d6-1035115f8e66", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -63,13 +63,13 @@ public async Task CreateExchangeTransaction2() { try { Request.CreateExchangeTransaction request = new Request.CreateExchangeTransaction( - "ff4bd663-aa88-4536-8cbe-376835a07b9c", - "c77de860-6f65-4638-8bfd-1ff82bdf45f6", - "e5fc3b0d-435c-43b6-86aa-87179ded75aa", - 827 + "1cb02db7-0825-4691-a531-029fcfaa7244", + "281dfb2e-19ca-4bbf-8e06-7852999348ed", + "31d92e3d-7857-41c3-885d-02769a44e326", + 1581 ) { - Description = "I6AxiybIUdjn2JlMSQ6V8dRYSFDiggsas4Nm4Pbqn0MLycuAIyd8Tc91YrDumA0BEPaxu5hz8quH88gYqQC45YQseyms9QyHVorEq6zLZyg3cEPs9bN7e1DJRmWCvXV5f7NFxRTTWOKh4cp2t8rtdj0F8", - RequestId = "1c71be84-8eab-45db-9a81-d032751b85e8", + Description = "7NFxRTTWOKh4cp2t8rtdj0F82hhuu2d72PSRBNNGTP71wcJLJGkIvTZnRNAv7oeQjUez1G0bwCFurxmaLHHuXDOcuycPW2WYY40yWZt9ZjHKqLir6qmCF3zfoEN4hG6jzrPF", + RequestId = "e93a2f5d-53e9-42ce-96b4-e08de78dc0d9", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateExternalTransaction.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateExternalTransaction.cs index 5194ba2..e895e29 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateExternalTransaction.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateExternalTransaction.cs @@ -25,11 +25,10 @@ public async Task CreateExternalTransaction0() { try { Request.CreateExternalTransaction request = new Request.CreateExternalTransaction( - "07e972ce-d603-42bf-82c5-89bc3d663788", - "960a8606-2490-4bfe-bafb-9cb1139041a8", - "7de66eb4-cee6-4091-b942-35974b52c749", - 1008, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + "bf379d59-d7e5-4ec8-8eae-7d37d0c4d215", + "5c346ac3-b334-4b0c-91e4-314f858de70d", + "8e1cda68-9f3e-4c07-9ee3-ec18d9365758", + 3340 ); Response.ExternalTransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -44,13 +43,12 @@ public async Task CreateExternalTransaction1() { try { Request.CreateExternalTransaction request = new Request.CreateExternalTransaction( - "07e972ce-d603-42bf-82c5-89bc3d663788", - "960a8606-2490-4bfe-bafb-9cb1139041a8", - "7de66eb4-cee6-4091-b942-35974b52c749", - 1008, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + "bf379d59-d7e5-4ec8-8eae-7d37d0c4d215", + "5c346ac3-b334-4b0c-91e4-314f858de70d", + "8e1cda68-9f3e-4c07-9ee3-ec18d9365758", + 3340 ) { - RequestId = "8a9efe3a-f8a6-43d8-a349-34b2c4df9aec", + RequestId = "1d4ef1f9-7316-4b45-96fa-945f33b491e8", }; Response.ExternalTransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -65,14 +63,13 @@ public async Task CreateExternalTransaction2() { try { Request.CreateExternalTransaction request = new Request.CreateExternalTransaction( - "07e972ce-d603-42bf-82c5-89bc3d663788", - "960a8606-2490-4bfe-bafb-9cb1139041a8", - "7de66eb4-cee6-4091-b942-35974b52c749", - 1008, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + "bf379d59-d7e5-4ec8-8eae-7d37d0c4d215", + "5c346ac3-b334-4b0c-91e4-314f858de70d", + "8e1cda68-9f3e-4c07-9ee3-ec18d9365758", + 3340 ) { - Metadata = "{\"key\":\"value\"}", - RequestId = "d3d43d3e-aa75-4ec7-9d57-2cff497ef1fc", + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, + RequestId = "1adbb60d-9417-4fa9-b24f-3a3e4ab8874a", }; Response.ExternalTransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -87,15 +84,37 @@ public async Task CreateExternalTransaction3() { try { Request.CreateExternalTransaction request = new Request.CreateExternalTransaction( - "07e972ce-d603-42bf-82c5-89bc3d663788", - "960a8606-2490-4bfe-bafb-9cb1139041a8", - "7de66eb4-cee6-4091-b942-35974b52c749", - 1008, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + "bf379d59-d7e5-4ec8-8eae-7d37d0c4d215", + "5c346ac3-b334-4b0c-91e4-314f858de70d", + "8e1cda68-9f3e-4c07-9ee3-ec18d9365758", + 3340 + ) { + Metadata = "{\"key\":\"value\"}", + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, + RequestId = "929e0727-ff16-4d77-9bfe-8bd5962f08cd", + }; + Response.ExternalTransactionDetail response = await request.Send(client); + Assert.NotNull(response, "Shouldn't be null at least"); + } catch (HttpRequestException e) { + Assert.AreNotEqual((int) e.Data["StatusCode"], (int) HttpStatusCode.BadRequest, "Shouldn't be BadRequest"); + Assert.True((int) e.Data["StatusCode"] >= 300, "Should be larger than 300"); + } + } + + [Test] + public async Task CreateExternalTransaction4() + { + try { + Request.CreateExternalTransaction request = new Request.CreateExternalTransaction( + "bf379d59-d7e5-4ec8-8eae-7d37d0c4d215", + "5c346ac3-b334-4b0c-91e4-314f858de70d", + "8e1cda68-9f3e-4c07-9ee3-ec18d9365758", + 3340 ) { - Description = "Gy1CoCYoYmaLr1BLYdgsrsB7nf3z7z76OYqLZhd2VmnwZ1YQAtf2GPfHYeeJWiJLn1TOWVNqKCYgaN6maSZWJn127yVjYZz", + Description = "0ktk1yse4CdNhZgpKbkXWC5tLFNUhqVPCyC44juCu", Metadata = "{\"key\":\"value\"}", - RequestId = "c65f0ad3-e76b-4f16-aa0a-a029066399eb", + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, + RequestId = "3e0bdb4f-2580-451f-809c-4cbf10134359", }; Response.ExternalTransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateOrganization.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateOrganization.cs index f570b2c..e8cff9f 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateOrganization.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateOrganization.cs @@ -25,11 +25,11 @@ public async Task CreateOrganization0() { try { Request.CreateOrganization request = new Request.CreateOrganization( - "EXCUXyPfCabj", - "tMliIf7wKoPmNQWU6zl3h0ZGoCe5IIfEbaRlpdhTTQpQoSRT6b0IY83jSy9CLjq8yjjxInoBnLVw5NxHP7CI9Yb5tOQ2qp6BlopujNmJIuVKWvjUjC0u3f2Lo9NqlV6uXM4yE9kd7lV6QKkz6REzoI7cZYW4c0GyNh6EpQVqX4KE4B5KRDxSSppVORQLy6PO73cHGK", - new string[]{"f5fcbeea-2a7a-46a5-beb0-f376e4475ab2", "2319fabb-cdb7-4f64-a948-27455b78af2d"}, - "8reh9b3v7z@qeYS.com", - "2n0EGsPPbv@QvYk.com" + "xrA24", + "28zEWnFZLX87qtedPzV8NdiYCurc", + new string[]{"c735f73c-6310-4b19-8ecf-94836f5376d0", "8cfd37da-350f-499c-8026-a6fa315ae997", "20b778f7-ba4d-4bd7-8867-94510f672fbc", "6dcc57b0-2800-4f56-8553-2b94e65e6508", "1a812366-c0bd-47f3-8689-a37037441857", "17cfd7fc-1eb9-4f62-8795-c25b9b9fe4b9", "8aad33ce-e6c2-4ae4-868c-3de3d9ed35fa"}, + "TSynCfTiWL@EN2p.com", + "Ebq7ZeB8PV@JkE9.com" ); Response.Organization response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -44,13 +44,13 @@ public async Task CreateOrganization1() { try { Request.CreateOrganization request = new Request.CreateOrganization( - "EXCUXyPfCabj", - "tMliIf7wKoPmNQWU6zl3h0ZGoCe5IIfEbaRlpdhTTQpQoSRT6b0IY83jSy9CLjq8yjjxInoBnLVw5NxHP7CI9Yb5tOQ2qp6BlopujNmJIuVKWvjUjC0u3f2Lo9NqlV6uXM4yE9kd7lV6QKkz6REzoI7cZYW4c0GyNh6EpQVqX4KE4B5KRDxSSppVORQLy6PO73cHGK", - new string[]{"f5fcbeea-2a7a-46a5-beb0-f376e4475ab2", "2319fabb-cdb7-4f64-a948-27455b78af2d"}, - "8reh9b3v7z@qeYS.com", - "2n0EGsPPbv@QvYk.com" + "xrA24", + "28zEWnFZLX87qtedPzV8NdiYCurc", + new string[]{"c735f73c-6310-4b19-8ecf-94836f5376d0", "8cfd37da-350f-499c-8026-a6fa315ae997", "20b778f7-ba4d-4bd7-8867-94510f672fbc", "6dcc57b0-2800-4f56-8553-2b94e65e6508", "1a812366-c0bd-47f3-8689-a37037441857", "17cfd7fc-1eb9-4f62-8795-c25b9b9fe4b9", "8aad33ce-e6c2-4ae4-868c-3de3d9ed35fa"}, + "TSynCfTiWL@EN2p.com", + "Ebq7ZeB8PV@JkE9.com" ) { - ContactName = "PBJ7wmgCWNKDP1enxAKZBD2FhNoFZKIbAgSoRCKxxDEWQZO9yz4Mc4BWxPS7UaVHpV", + ContactName = "zaeTptZ5kX9rLpagdWQnEnTlLyubwibc5uG9Y4cn6ApRZ5NX6gFb5nuODlmm9rpn022H3wQmNFzbLFm", }; Response.Organization response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -65,14 +65,14 @@ public async Task CreateOrganization2() { try { Request.CreateOrganization request = new Request.CreateOrganization( - "EXCUXyPfCabj", - "tMliIf7wKoPmNQWU6zl3h0ZGoCe5IIfEbaRlpdhTTQpQoSRT6b0IY83jSy9CLjq8yjjxInoBnLVw5NxHP7CI9Yb5tOQ2qp6BlopujNmJIuVKWvjUjC0u3f2Lo9NqlV6uXM4yE9kd7lV6QKkz6REzoI7cZYW4c0GyNh6EpQVqX4KE4B5KRDxSSppVORQLy6PO73cHGK", - new string[]{"f5fcbeea-2a7a-46a5-beb0-f376e4475ab2", "2319fabb-cdb7-4f64-a948-27455b78af2d"}, - "8reh9b3v7z@qeYS.com", - "2n0EGsPPbv@QvYk.com" + "xrA24", + "28zEWnFZLX87qtedPzV8NdiYCurc", + new string[]{"c735f73c-6310-4b19-8ecf-94836f5376d0", "8cfd37da-350f-499c-8026-a6fa315ae997", "20b778f7-ba4d-4bd7-8867-94510f672fbc", "6dcc57b0-2800-4f56-8553-2b94e65e6508", "1a812366-c0bd-47f3-8689-a37037441857", "17cfd7fc-1eb9-4f62-8795-c25b9b9fe4b9", "8aad33ce-e6c2-4ae4-868c-3de3d9ed35fa"}, + "TSynCfTiWL@EN2p.com", + "Ebq7ZeB8PV@JkE9.com" ) { - BankAccountHolderName = "」", - ContactName = "4pZYZOGKLSewvJuaN97ObUNQZ0A0Rwk2Z2omGatDjCcJfOMaGd4kHySUJYrKI48Uy", + BankAccountHolderName = ",", + ContactName = "FSz1uperYHhU5vbLxW8Yq15XpRuu89q3NykiRPYO2oQiAYMcKkXBWEu4RSjxgCW3jFlgob7yobgqdqFleVhpCebdmmx3jJLFYo72YjP5pod5QaLCZTmFLxumOnvrupx1", }; Response.Organization response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -87,15 +87,15 @@ public async Task CreateOrganization3() { try { Request.CreateOrganization request = new Request.CreateOrganization( - "EXCUXyPfCabj", - "tMliIf7wKoPmNQWU6zl3h0ZGoCe5IIfEbaRlpdhTTQpQoSRT6b0IY83jSy9CLjq8yjjxInoBnLVw5NxHP7CI9Yb5tOQ2qp6BlopujNmJIuVKWvjUjC0u3f2Lo9NqlV6uXM4yE9kd7lV6QKkz6REzoI7cZYW4c0GyNh6EpQVqX4KE4B5KRDxSSppVORQLy6PO73cHGK", - new string[]{"f5fcbeea-2a7a-46a5-beb0-f376e4475ab2", "2319fabb-cdb7-4f64-a948-27455b78af2d"}, - "8reh9b3v7z@qeYS.com", - "2n0EGsPPbv@QvYk.com" + "xrA24", + "28zEWnFZLX87qtedPzV8NdiYCurc", + new string[]{"c735f73c-6310-4b19-8ecf-94836f5376d0", "8cfd37da-350f-499c-8026-a6fa315ae997", "20b778f7-ba4d-4bd7-8867-94510f672fbc", "6dcc57b0-2800-4f56-8553-2b94e65e6508", "1a812366-c0bd-47f3-8689-a37037441857", "17cfd7fc-1eb9-4f62-8795-c25b9b9fe4b9", "8aad33ce-e6c2-4ae4-868c-3de3d9ed35fa"}, + "TSynCfTiWL@EN2p.com", + "Ebq7ZeB8PV@JkE9.com" ) { - BankAccount = "4111", - BankAccountHolderName = "\\", - ContactName = "9M9b56VUQzIG7Yr7fsBnFuG56tOVY8vi9Z9lrbTGfh4QbdPS2DfLew9jsvLcXjFRqAsdyU0EjzFGdoCEVoN09yrlyTlHcxkp2hdiJWs83eoAqvgg01zZW75gRDgWRTNwobRsB1baR1aePdc9fGHLcwyelAg5Jr7zEe", + BankAccount = "834", + BankAccountHolderName = "(", + ContactName = "PfCabjEtMliIf7wKoPmNQWU6zl3h0ZGoCe5IIfEbaRlpdhTTQpQoSRT6b0IY83jSy9CLjq8yjjxInoBnLVw5NxHP7CI9Yb5tOQ2qp6BlopujNmJIuVKWvjUjC0u3f2Lo9NqlV6uXM4yE9kd7lV6QKkz6REzoI7cZYW4c0GyNh6EpQVqX4KE4B5KRDxSSppVORQLy6PO73cHGKqjz0v27dHE8reh9b3v7zqeYS2n0EGsPPbvQvYkAPBJ7wm", }; Response.Organization response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -110,16 +110,16 @@ public async Task CreateOrganization4() { try { Request.CreateOrganization request = new Request.CreateOrganization( - "EXCUXyPfCabj", - "tMliIf7wKoPmNQWU6zl3h0ZGoCe5IIfEbaRlpdhTTQpQoSRT6b0IY83jSy9CLjq8yjjxInoBnLVw5NxHP7CI9Yb5tOQ2qp6BlopujNmJIuVKWvjUjC0u3f2Lo9NqlV6uXM4yE9kd7lV6QKkz6REzoI7cZYW4c0GyNh6EpQVqX4KE4B5KRDxSSppVORQLy6PO73cHGK", - new string[]{"f5fcbeea-2a7a-46a5-beb0-f376e4475ab2", "2319fabb-cdb7-4f64-a948-27455b78af2d"}, - "8reh9b3v7z@qeYS.com", - "2n0EGsPPbv@QvYk.com" + "xrA24", + "28zEWnFZLX87qtedPzV8NdiYCurc", + new string[]{"c735f73c-6310-4b19-8ecf-94836f5376d0", "8cfd37da-350f-499c-8026-a6fa315ae997", "20b778f7-ba4d-4bd7-8867-94510f672fbc", "6dcc57b0-2800-4f56-8553-2b94e65e6508", "1a812366-c0bd-47f3-8689-a37037441857", "17cfd7fc-1eb9-4f62-8795-c25b9b9fe4b9", "8aad33ce-e6c2-4ae4-868c-3de3d9ed35fa"}, + "TSynCfTiWL@EN2p.com", + "Ebq7ZeB8PV@JkE9.com" ) { - BankAccountType = "other", - BankAccount = "1898749", - BankAccountHolderName = ",", - ContactName = "43AIOVakyq8QHWKNric3MBQYWsKtvnxoQJLloM94TQVFchk", + BankAccountType = "saving", + BankAccount = "710", + BankAccountHolderName = "ヨ", + ContactName = "xAKZBD2FhNoFZKIbAgSoRCKxxDEWQZO9yz4Mc4BWxPS7UaVHpVi4pZYZOGKLSewvJuaN97ObUNQZ0A0Rwk2Z2omGatDjCcJfOMaGd4kHySUJYrKI48UyLazcdaqg9M9b56VUQzIG7Yr7fsBnFuG56tOVY8vi9Z9lrbTGfh4QbdPS2DfLew9jsvLcXjFRqAsdyU0EjzFGdoCEVoN09yrlyTlHcxkp2hdiJWs83eoAqvgg01z", }; Response.Organization response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -134,17 +134,17 @@ public async Task CreateOrganization5() { try { Request.CreateOrganization request = new Request.CreateOrganization( - "EXCUXyPfCabj", - "tMliIf7wKoPmNQWU6zl3h0ZGoCe5IIfEbaRlpdhTTQpQoSRT6b0IY83jSy9CLjq8yjjxInoBnLVw5NxHP7CI9Yb5tOQ2qp6BlopujNmJIuVKWvjUjC0u3f2Lo9NqlV6uXM4yE9kd7lV6QKkz6REzoI7cZYW4c0GyNh6EpQVqX4KE4B5KRDxSSppVORQLy6PO73cHGK", - new string[]{"f5fcbeea-2a7a-46a5-beb0-f376e4475ab2", "2319fabb-cdb7-4f64-a948-27455b78af2d"}, - "8reh9b3v7z@qeYS.com", - "2n0EGsPPbv@QvYk.com" + "xrA24", + "28zEWnFZLX87qtedPzV8NdiYCurc", + new string[]{"c735f73c-6310-4b19-8ecf-94836f5376d0", "8cfd37da-350f-499c-8026-a6fa315ae997", "20b778f7-ba4d-4bd7-8867-94510f672fbc", "6dcc57b0-2800-4f56-8553-2b94e65e6508", "1a812366-c0bd-47f3-8689-a37037441857", "17cfd7fc-1eb9-4f62-8795-c25b9b9fe4b9", "8aad33ce-e6c2-4ae4-868c-3de3d9ed35fa"}, + "TSynCfTiWL@EN2p.com", + "Ebq7ZeB8PV@JkE9.com" ) { - BankBranchCode = "165", - BankAccountType = "saving", - BankAccount = "300", - BankAccountHolderName = "ラ", - ContactName = "ZUH2UsKCxnRcuSoLNAly4QR5kzfucn7LZFZwhy5RI", + BankBranchCode = "", + BankAccountType = "current", + BankAccount = "1728474", + BankAccountHolderName = "ヲ", + ContactName = "RsB1baR1aePdc9fGHLcwyelAg5Jr7zEeO7nUDqxXj74j643AIOVakyq8QHWKNric3MBQYWsKtvnxoQJLloM94TQVFchkaVLnKXq1JcpZfZUH2UsKCxnRcuSoLNAly4QR5kzfucn7LZFZwhy5RIJGwbFSZ2qU", }; Response.Organization response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -159,18 +159,18 @@ public async Task CreateOrganization6() { try { Request.CreateOrganization request = new Request.CreateOrganization( - "EXCUXyPfCabj", - "tMliIf7wKoPmNQWU6zl3h0ZGoCe5IIfEbaRlpdhTTQpQoSRT6b0IY83jSy9CLjq8yjjxInoBnLVw5NxHP7CI9Yb5tOQ2qp6BlopujNmJIuVKWvjUjC0u3f2Lo9NqlV6uXM4yE9kd7lV6QKkz6REzoI7cZYW4c0GyNh6EpQVqX4KE4B5KRDxSSppVORQLy6PO73cHGK", - new string[]{"f5fcbeea-2a7a-46a5-beb0-f376e4475ab2", "2319fabb-cdb7-4f64-a948-27455b78af2d"}, - "8reh9b3v7z@qeYS.com", - "2n0EGsPPbv@QvYk.com" + "xrA24", + "28zEWnFZLX87qtedPzV8NdiYCurc", + new string[]{"c735f73c-6310-4b19-8ecf-94836f5376d0", "8cfd37da-350f-499c-8026-a6fa315ae997", "20b778f7-ba4d-4bd7-8867-94510f672fbc", "6dcc57b0-2800-4f56-8553-2b94e65e6508", "1a812366-c0bd-47f3-8689-a37037441857", "17cfd7fc-1eb9-4f62-8795-c25b9b9fe4b9", "8aad33ce-e6c2-4ae4-868c-3de3d9ed35fa"}, + "TSynCfTiWL@EN2p.com", + "Ebq7ZeB8PV@JkE9.com" ) { - BankBranchName = "GwbFSZ2qU3L", - BankBranchCode = "624", - BankAccountType = "saving", - BankAccount = "5", - BankAccountHolderName = "\\", - ContactName = "3O9wlyQ0TWfR4Gx21zM7WIQGDsPsJyAShBlCJPjtVj6RA58jW2j8noWbhryHKQAP2bBeZkmIh2UeN7Z047tEp9MnaMKkPTTOh4KlFXKgtixsqVTYrrSHZ1a0tz4EzkuhUCHWp85qyAYWUJWst1yIlHOt0XiM6Qkur8SbZd3wcuCesxkTgeUlIAlQvL5t780R8L5VrLxzRQlVu0ZdkmHWdPUiVDqeHPcQVtlOjSB31Mxq8SXpxSHJRZi52y7", + BankBranchName = "L9frpqlrETgz3O9wlyQ0TWfR4Gx21zM7WIQGDsPsJyAShBlCJPjt", + BankBranchCode = "", + BankAccountType = "other", + BankAccount = "287228", + BankAccountHolderName = "/", + ContactName = "hryHKQAP2bBeZkmIh2UeN7Z047tEp9MnaMKkPTTOh4KlFXKgtixsqVTYrrSHZ1a0tz4EzkuhUCHWp85qyAYWUJWst1yIlHOt0Xi", }; Response.Organization response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -185,19 +185,19 @@ public async Task CreateOrganization7() { try { Request.CreateOrganization request = new Request.CreateOrganization( - "EXCUXyPfCabj", - "tMliIf7wKoPmNQWU6zl3h0ZGoCe5IIfEbaRlpdhTTQpQoSRT6b0IY83jSy9CLjq8yjjxInoBnLVw5NxHP7CI9Yb5tOQ2qp6BlopujNmJIuVKWvjUjC0u3f2Lo9NqlV6uXM4yE9kd7lV6QKkz6REzoI7cZYW4c0GyNh6EpQVqX4KE4B5KRDxSSppVORQLy6PO73cHGK", - new string[]{"f5fcbeea-2a7a-46a5-beb0-f376e4475ab2", "2319fabb-cdb7-4f64-a948-27455b78af2d"}, - "8reh9b3v7z@qeYS.com", - "2n0EGsPPbv@QvYk.com" + "xrA24", + "28zEWnFZLX87qtedPzV8NdiYCurc", + new string[]{"c735f73c-6310-4b19-8ecf-94836f5376d0", "8cfd37da-350f-499c-8026-a6fa315ae997", "20b778f7-ba4d-4bd7-8867-94510f672fbc", "6dcc57b0-2800-4f56-8553-2b94e65e6508", "1a812366-c0bd-47f3-8689-a37037441857", "17cfd7fc-1eb9-4f62-8795-c25b9b9fe4b9", "8aad33ce-e6c2-4ae4-868c-3de3d9ed35fa"}, + "TSynCfTiWL@EN2p.com", + "Ebq7ZeB8PV@JkE9.com" ) { - BankCode = "4615", - BankBranchName = "klIR5ig74Fkbtbb0Sl", - BankBranchCode = "219", + BankCode = "", + BankBranchName = "6Qkur8SbZd3wcu", + BankBranchCode = "753", BankAccountType = "other", - BankAccount = "7948", + BankAccount = "", BankAccountHolderName = "\\", - ContactName = "Hxi6f0cuW1ZhxLtCHCm7yUfJm7Fg98YgjSKRGLQpNx8ciNrKweGJtnGqdSp9", + ContactName = "UlIAlQvL5t780R8L5VrLxzRQlVu0ZdkmHWdPUiVDqeHPcQVtlOjSB31Mxq8SXpxSHJRZi52y7KvoeklIR5ig74Fkbtbb0SlK2KbT8BQ8WxGHxi6f0cuW1ZhxLtCHCm7yUfJm7Fg98YgjSKRGLQpNx8ciNrKweGJtnGqdSp90ci6D0iGddOVzLT6tirwJLurByrAGwszVwlQAuTXTWtKg2YB5YxVquVYsbDyysR", }; Response.Organization response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -212,20 +212,20 @@ public async Task CreateOrganization8() { try { Request.CreateOrganization request = new Request.CreateOrganization( - "EXCUXyPfCabj", - "tMliIf7wKoPmNQWU6zl3h0ZGoCe5IIfEbaRlpdhTTQpQoSRT6b0IY83jSy9CLjq8yjjxInoBnLVw5NxHP7CI9Yb5tOQ2qp6BlopujNmJIuVKWvjUjC0u3f2Lo9NqlV6uXM4yE9kd7lV6QKkz6REzoI7cZYW4c0GyNh6EpQVqX4KE4B5KRDxSSppVORQLy6PO73cHGK", - new string[]{"f5fcbeea-2a7a-46a5-beb0-f376e4475ab2", "2319fabb-cdb7-4f64-a948-27455b78af2d"}, - "8reh9b3v7z@qeYS.com", - "2n0EGsPPbv@QvYk.com" + "xrA24", + "28zEWnFZLX87qtedPzV8NdiYCurc", + new string[]{"c735f73c-6310-4b19-8ecf-94836f5376d0", "8cfd37da-350f-499c-8026-a6fa315ae997", "20b778f7-ba4d-4bd7-8867-94510f672fbc", "6dcc57b0-2800-4f56-8553-2b94e65e6508", "1a812366-c0bd-47f3-8689-a37037441857", "17cfd7fc-1eb9-4f62-8795-c25b9b9fe4b9", "8aad33ce-e6c2-4ae4-868c-3de3d9ed35fa"}, + "TSynCfTiWL@EN2p.com", + "Ebq7ZeB8PV@JkE9.com" ) { - BankName = "ci6D0iGddOVzLT6tirwJLurByrAGwszVwlQAuTXTWtKg2YB5Y", - BankCode = "", - BankBranchName = "VquVYsbDyy", - BankBranchCode = "292", + BankName = "sRQ9ectqoj4yKOsEPCrpQPvSjUDltH57ysDpO4lTbJ", + BankCode = "0481", + BankBranchName = "wKn5NSHIJ7mbc5qbOnYCYxA4AjI47p6qtIsaCpt80GzH1FRWe6zLcwMHaeJGF", + BankBranchCode = "810", BankAccountType = "other", - BankAccount = "534", - BankAccountHolderName = ".", - ContactName = "qoj4yKOsEPCrpQPvSjUDltH57ysDpO4lTbJ9dqwKn5NSHIJ7mbc5qbOnYCYxA4AjI47p6qtIsaCpt80GzH1FRWe6zLcwMHaeJ", + BankAccount = "344456", + BankAccountHolderName = "E", + ContactName = "SAh41fZii84vybd1Jsf0jR3rzbwtxyn2FAh1zUedGEpNztrZH4AytTH", }; Response.Organization response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreatePaymentTransaction.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreatePaymentTransaction.cs index a2aab11..842ff16 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreatePaymentTransaction.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreatePaymentTransaction.cs @@ -28,8 +28,7 @@ public async Task CreatePaymentTransaction0() "0023f1f8-40cc-4a68-84a1-e8eae07d7e8a", "71ca7b90-1872-4df4-a134-a8af3d299b43", "b371718c-f146-41bc-857c-75debe8b1e16", - 9418, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + 9418 ); Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -47,10 +46,9 @@ public async Task CreatePaymentTransaction1() "0023f1f8-40cc-4a68-84a1-e8eae07d7e8a", "71ca7b90-1872-4df4-a134-a8af3d299b43", "b371718c-f146-41bc-857c-75debe8b1e16", - 9418, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + 9418 ) { - RequestId = "f1479d1b-73bd-48ee-9095-e5bdb22b740a", + RequestId = "804fd502-9d1b-43bd-ae50-809558cde5bd", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -68,11 +66,10 @@ public async Task CreatePaymentTransaction2() "0023f1f8-40cc-4a68-84a1-e8eae07d7e8a", "71ca7b90-1872-4df4-a134-a8af3d299b43", "b371718c-f146-41bc-857c-75debe8b1e16", - 9418, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + 9418 ) { - Metadata = "{\"key\":\"value\"}", - RequestId = "bc775706-ea9d-4108-9ac3-eb4ce8a97455", + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, + RequestId = "03e7ea9d-e108-479a-834c-74555284398b", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -90,12 +87,34 @@ public async Task CreatePaymentTransaction3() "0023f1f8-40cc-4a68-84a1-e8eae07d7e8a", "71ca7b90-1872-4df4-a134-a8af3d299b43", "b371718c-f146-41bc-857c-75debe8b1e16", - 9418, - new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}} + 9418 + ) { + Metadata = "{\"key\":\"value\"}", + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, + RequestId = "c3f3b2c7-991f-42be-abbc-b6bb9035e04c", + }; + Response.TransactionDetail response = await request.Send(client); + Assert.NotNull(response, "Shouldn't be null at least"); + } catch (HttpRequestException e) { + Assert.AreNotEqual((int) e.Data["StatusCode"], (int) HttpStatusCode.BadRequest, "Shouldn't be BadRequest"); + Assert.True((int) e.Data["StatusCode"] >= 300, "Should be larger than 300"); + } + } + + [Test] + public async Task CreatePaymentTransaction4() + { + try { + Request.CreatePaymentTransaction request = new Request.CreatePaymentTransaction( + "0023f1f8-40cc-4a68-84a1-e8eae07d7e8a", + "71ca7b90-1872-4df4-a134-a8af3d299b43", + "b371718c-f146-41bc-857c-75debe8b1e16", + 9418 ) { - Description = "xGLtrgoghS3pPHE574eeX1ksH4R2MgyW6z149JBRZmQUgzecqWdDVSstoEtPVoykbtA6l7WDayqQLAKXyhWYdlIHfSBBKI1KQl4cK6HLesoN7AsxjaX4bkzoW5SSzFCKjOEE829PJZq4", + Description = "rgoghS3pPHE574eeX1ksH4R2MgyW6z149JBRZmQUgzecqWdDVSstoEtPVoykbtA6l7WDayqQLAKXyhWYdlIHfSBBKI1KQ", Metadata = "{\"key\":\"value\"}", - RequestId = "f917f3b4-e876-4840-a23c-41395c6923a5", + Products = new object[]{new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}, new Dictionary(){{"jan_code","abc"}, {"name","name1"}, {"unit_price",100}, {"price",100}, {"quantity",1}, {"is_discounted",false}, {"other","{}"}}}, + RequestId = "4328a863-d14b-49a9-9d36-b39927c16cc8", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateShop.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateShop.cs index 0170f45..65c36ea 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateShop.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateShop.cs @@ -25,7 +25,7 @@ public async Task CreateShop0() { try { Request.CreateShop request = new Request.CreateShop( - "fIlsQjs1Uxv98uoxa9cfqdBZBSSyuPsLgc14jRH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJV" + "RH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJVQANtfUdHVcsouxX3xI9CHdZGk" ); Response.User response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task CreateShop1() { try { Request.CreateShop request = new Request.CreateShop( - "fIlsQjs1Uxv98uoxa9cfqdBZBSSyuPsLgc14jRH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJV" + "RH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJVQANtfUdHVcsouxX3xI9CHdZGk" ) { - OrganizationCode = "T-sG-A-Y4rx3806--", + OrganizationCode = "-d156", }; Response.User response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task CreateShop2() { try { Request.CreateShop request = new Request.CreateShop( - "fIlsQjs1Uxv98uoxa9cfqdBZBSSyuPsLgc14jRH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJV" + "RH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJVQANtfUdHVcsouxX3xI9CHdZGk" ) { - ShopExternalId = "cqmENfDor1zgwF9x3", - OrganizationCode = "2-", + ShopExternalId = "NfDor1zgwF9x3xZsR5bLJPhH3", + OrganizationCode = "Y-rlT-", }; Response.User response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -75,11 +75,11 @@ public async Task CreateShop3() { try { Request.CreateShop request = new Request.CreateShop( - "fIlsQjs1Uxv98uoxa9cfqdBZBSSyuPsLgc14jRH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJV" + "RH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJVQANtfUdHVcsouxX3xI9CHdZGk" ) { - ShopEmail = "fU4cD6smAe@qngi.com", - ShopExternalId = "ikqDE3OudXpYhNw", - OrganizationCode = "ZA7BK-", + ShopEmail = "udXpYhNwFW@UAKO.com", + ShopExternalId = "lhna0lYNQbEnbMVdbi9G5aE3", + OrganizationCode = "5WXLS-8RX----K-J-h-s", }; Response.User response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -94,12 +94,12 @@ public async Task CreateShop4() { try { Request.CreateShop request = new Request.CreateShop( - "fIlsQjs1Uxv98uoxa9cfqdBZBSSyuPsLgc14jRH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJV" + "RH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJVQANtfUdHVcsouxX3xI9CHdZGk" ) { - ShopTel = "0476633-271", - ShopEmail = "1FfneXYRV1@FBu9.com", - ShopExternalId = "VqwmK2QWEkaIk3Nf304AeRoMBnYR", - OrganizationCode = "I-sc750tZXruc", + ShopTel = "0304-221-979", + ShopEmail = "RrC4cXtKQ0@a4OP.com", + ShopExternalId = "rt2tro65RM4SYyWPQ4", + OrganizationCode = "76A-", }; Response.User response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -114,13 +114,13 @@ public async Task CreateShop5() { try { Request.CreateShop request = new Request.CreateShop( - "fIlsQjs1Uxv98uoxa9cfqdBZBSSyuPsLgc14jRH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJV" + "RH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJVQANtfUdHVcsouxX3xI9CHdZGk" ) { - ShopAddress = "EvFhF0JaiWpiphXqNgzf5XFTYAHJdFeGZi1JIa9NTrkMeAKNU2qNMrw4Jay2YBOfulEIFK5T7Dc8oOst1MM9PmjRDk75J779k3qO5Tt2uQGKACRqDnzgekX1v8dvD0ApeDNVXLZhDHmMPohPl8jvZE0kmWyBRnvtcRhoAfyfPvqbgkbgVyEBxJ", - ShopTel = "02557640", - ShopEmail = "g3h5b1QYmV@Ctk7.com", - ShopExternalId = "JxdSgtNZkgpDcQrvPvYu9rBGsdWvnLspa", - OrganizationCode = "Y1l-3S-a99d39XW2-OAW4--i", + ShopAddress = "XFTYAHJdFeGZi1JIa9NTrkMeAKNU2qNMrw4Jay2YBOfulEIFK5T7Dc8oOst1MM9PmjRDk75J779k3qO5Tt2uQGKACRqDnzgekX1v8dvD0ApeDNVXLZhDHmMPohPl8jvZE0kmWyBRnvtcRhoAfyfPvqbgkbgVyEBxJxS2d", + ShopTel = "05-7640-4852", + ShopEmail = "b1QYmVCtk7@8Jxd.com", + ShopExternalId = "gtNZkgpDcQrvPvYu9rBG", + OrganizationCode = "RSvLJo", }; Response.User response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -135,14 +135,14 @@ public async Task CreateShop6() { try { Request.CreateShop request = new Request.CreateShop( - "fIlsQjs1Uxv98uoxa9cfqdBZBSSyuPsLgc14jRH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJV" + "RH1daAJWkWpeGVt7BTtK3VwbUSgXIGfDPEPwHED0KtmDzxLUbUeg7w8cIU7UKhxLe1FMHoh3041czvU7tiTGNYlDyRk3aGMps1HN2Oi8GzWre6yIHCge3KvTMWtvAOdqc6t46b4EgFIpDVk2sqQhlAUNF0Kr6ekdB7WSGlsT24mzzvf0uixfzgMS7DAxRVXjpoYOkLYbJM46YGKDJVQANtfUdHVcsouxX3xI9CHdZGk" ) { - ShopPostalCode = "1393414", - ShopAddress = "bb8U4LoGEUFzMVQ4l9WdfwN1GBXrbSDIYZlYLOis5sBRV50E243Lt7Q0CkQGlHLmFUomkHrvNClWFSWTgMn5wd", - ShopTel = "0061231408", - ShopEmail = "qoWmfQbT09@Lp66.com", - ShopExternalId = "g0d7eGITtIklkYFTO7OJe9dSEOGAL", - OrganizationCode = "t518798nQhn-67", + ShopPostalCode = "631-0885", + ShopAddress = "xoJ3m2cOYFN3fJYwkLiuasNI3TQ4Ubb8U4LoGEUFzMVQ4l9WdfwN1GBXrbSDIYZlYLOis5sBRV50E243Lt7Q0CkQGlHLmFUomkHrvNClWFSWTgMn5wd60p6qo", + ShopTel = "021408-867", + ShopEmail = "mfQbT09Lp6@65rg.com", + ShopExternalId = "0d7eGIT", + OrganizationCode = "toK78LG2-", }; Response.User response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateShopV2.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateShopV2.cs index 33aff73..48eacec 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateShopV2.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateShopV2.cs @@ -25,7 +25,7 @@ public async Task CreateShopV20() { try { Request.CreateShopV2 request = new Request.CreateShopV2( - "kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvRJLln3CmVmPz2bcH2xVBHTbiOHYbzW7EYCf76ToHcl8dtzcqD6rq" + "rIQgwx8oosJLK5Rq67VXMpZGMSz7kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvR" ); Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task CreateShopV21() { try { Request.CreateShopV2 request = new Request.CreateShopV2( - "kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvRJLln3CmVmPz2bcH2xVBHTbiOHYbzW7EYCf76ToHcl8dtzcqD6rq" + "rIQgwx8oosJLK5Rq67VXMpZGMSz7kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvR" ) { - CanTopupPrivateMoneyIds = new string[]{}, + CanTopupPrivateMoneyIds = new string[]{"f262b24a-eccc-47ec-ae90-0b8764f2cc08", "3c5f8333-3a89-4743-add6-2dfea6aa3ced"}, }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task CreateShopV22() { try { Request.CreateShopV2 request = new Request.CreateShopV2( - "kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvRJLln3CmVmPz2bcH2xVBHTbiOHYbzW7EYCf76ToHcl8dtzcqD6rq" + "rIQgwx8oosJLK5Rq67VXMpZGMSz7kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvR" ) { - PrivateMoneyIds = new string[]{"f30fb147-1426-4944-bd88-6a56dd9456d2", "38fb19e4-5c6f-45a0-aa85-1b47556f5a6a", "233f947b-36e9-4067-8870-a11470b6451f", "c69e96da-3ebb-4104-ac1b-8d9d9ff28392", "b1c0c838-6e49-426e-95a5-81a6f2d8a82d", "92f1a6c8-9fa2-4e13-9142-5ee846a8fecd", "a780f03b-a949-4c7b-8e72-e364b7864dda", "9b1e774a-a60c-4f54-9827-ad3976c8a505"}, - CanTopupPrivateMoneyIds = new string[]{"474d3cff-204d-4f6e-9167-3047572dcdfe", "19307487-c38a-4ee6-a380-ad8429fb46c5", "793eb0ec-38aa-4feb-9363-55f43d0263b5", "fc1685ab-b040-48b6-b442-89b33eb85d40", "eef3a0d1-0c76-4c9b-80d9-62ea69c91f11", "42909ef9-8138-486d-bb55-fe9242f0b0aa", "5051c900-a3e7-4fc4-b995-18d8133f5e2e", "2aa5f88e-fc51-4f3a-a314-3c59ffd68307"}, + PrivateMoneyIds = new string[]{"c07e791a-ed9d-4b8c-ba2c-25b2e5c299e2"}, + CanTopupPrivateMoneyIds = new string[]{"48f8b063-dac8-4027-ad32-9e13a8e9ff9d", "a7d2d517-0a78-48d6-8248-f27ccfcf66d4", "ce8435e2-6980-4ee9-9ecf-7ac89747eba7", "040818a2-ca12-4c59-8d14-c35cfb9a6262"}, }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -75,11 +75,11 @@ public async Task CreateShopV23() { try { Request.CreateShopV2 request = new Request.CreateShopV2( - "kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvRJLln3CmVmPz2bcH2xVBHTbiOHYbzW7EYCf76ToHcl8dtzcqD6rq" + "rIQgwx8oosJLK5Rq67VXMpZGMSz7kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvR" ) { - OrganizationCode = "45obEl-JlK8KJ-2", - PrivateMoneyIds = new string[]{"571c1f61-0fa0-41ee-8cc9-4014511f14aa", "b04c775c-5a7e-4500-8cbc-420599d77cb8", "4509ce25-bbc6-4a89-b1c9-a858198be5f1"}, - CanTopupPrivateMoneyIds = new string[]{"999c5565-9e89-4619-a1ec-1c820b465bc7", "d0a85d7e-c9be-4129-9a3b-75c475e93c4f", "5d81e904-fb87-4ace-95df-2025879f3f2c", "6bb56041-f8bd-492d-a64a-26208cb731e6", "d3d9be5e-74ec-4832-88cd-10f47969b5db", "ffb072a0-7a1f-456f-b779-f2619dcda18c", "3b2d6593-9601-4a57-b047-daebe29536f4", "38efd286-ccb1-4970-8f8f-01cf76094593", "14b8b70c-2bc2-4da4-9a81-38fb67363d17", "6608ae1e-43fb-40ba-8108-d1efdbb8fbfe"}, + OrganizationCode = "DNw10---4I2pkH9-qesj5GI3Cn-O44h", + PrivateMoneyIds = new string[]{"76c8a505-8cae-45fc-ab98-3cff297e204d", "9fa9bf6e-8cd1-4a67-87fe-748794bec38a", "68e9eee6-e923-4b80-84c5-b0ec34a738aa", "69b41feb-c2d3-4c63-b4b5-85ab2524b040", "70ff18b6-06f4-4342-b340-a0d1ddca0c76", "c9972c9b-1e40-40d9-aa11-9ef99ada8138", "726c386d-86fb-4f55-92aa-c900b238a3e7", "85387fc4-5679-4c95-982e-f88edbd9fc51", "96307f3a-62a3-4314-9907-e9cffa824d8e", "410d95aa-ce18-4f01-9373-ddae58e2a968"}, + CanTopupPrivateMoneyIds = new string[]{"ffe5c119-a6f0-4bbd-87cd-3a43a5991e6b", "e7b36fe5-cdb1-48b0-bc9b-4fe647f7b7c1", "24258720-61f0-460b-9523-df996eb7d1a0", "4825f44b-468b-49a9-aaad-bc2239143f14", "33e6eac2-20a5-4dc8-bc6e-582c4257fdc1", "53068fed-b364-446c-8b7f-499172302a69", "c11e435c-358b-41d5-9d6a-ac820e483308", "459707b9-7cca-4371-a9fb-1f1614f4f9fc"}, }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -94,12 +94,12 @@ public async Task CreateShopV24() { try { Request.CreateShopV2 request = new Request.CreateShopV2( - "kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvRJLln3CmVmPz2bcH2xVBHTbiOHYbzW7EYCf76ToHcl8dtzcqD6rq" + "rIQgwx8oosJLK5Rq67VXMpZGMSz7kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvR" ) { - ExternalId = "U6W1vFMKN952VUdQ3t63Wpysg20fNhPhFK8m", - OrganizationCode = "J-Ig-h-2e-L-d0I8Gq-5N", - PrivateMoneyIds = new string[]{"cdc42a10-65cf-4515-9a0d-24c638ad6c7b", "ce865b7a-8e79-4325-a531-31bd12ff47b0", "0d816b84-b4f3-474d-ae8c-f13152031a68", "fa56a64c-9171-449c-a085-a297ec0a0da1", "9100008d-87e7-4ada-b45b-e3a57c5e040d", "20b0ca98-f8d3-41e3-a62b-08ec5295176b", "c57e1c2c-7086-4bb2-8a9d-2be4e4b0c66a", "84c83a7a-2889-4191-ae6a-23c0db27f082"}, - CanTopupPrivateMoneyIds = new string[]{"a0a0e846-1697-4d83-a5be-621a4342ee7a", "17f3abf4-bca8-4055-b9ab-f20992e0278a", "f17efb92-c7be-4285-9979-655c9e462199", "5a7371d5-3b92-432d-9312-4b2d6eebc7f7", "ddb098f7-d640-45f9-9313-5718cc8da6b9", "180e68c2-ec35-4a0d-a87d-9bbb6ae12140", "5404cc2a-38f4-49e7-8e26-d8c92c3622c4", "98bb9170-833d-49d5-aa80-ccf06bc3038a", "95de72fa-49cb-450e-a909-4879e24374ea", "e43cfd3b-9433-4542-853f-9576a0117059"}, + ExternalId = "anI", + OrganizationCode = "02na---BtXh-gQ----cb", + PrivateMoneyIds = new string[]{"6608ae1e-43fb-40ba-8108-d1efdbb8fbfe", "6ee8ecf3-d0f8-4963-9594-e9dff17a2eb6", "3ca01b7b-a9d7-4f31-9e3d-6f761f295128", "a3889abb-4bc6-489b-a24d-854bbc16bd27", "99ef0b4e-db39-4ca8-8035-a3aa9afa5497", "df32ea32-e4bf-4f56-af55-6a6424bf17d1", "d2de9c33-f25f-4e7c-be06-043c38df0a8b", "da44ad74-38b6-4b08-b33f-a20975566c9c"}, + CanTopupPrivateMoneyIds = new string[]{"54220f70-fb7f-4b79-b3e7-d55e4b891b07", "9be76b1c-eaa0-4232-98a2-4b301af29e24", "edb863a1-ea3e-437d-be28-921afe0124e6", "18357c09-dc87-404e-a80d-186859bca0d0", "61fbb49c-cf68-413d-a546-a24b2c6462b8", "59754bed-56d5-4cf7-b1de-56bb5ebb88aa", "b9884ddc-c534-41f3-a7e6-d3a14cbd45bd"}, }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -114,13 +114,13 @@ public async Task CreateShopV25() { try { Request.CreateShopV2 request = new Request.CreateShopV2( - "kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvRJLln3CmVmPz2bcH2xVBHTbiOHYbzW7EYCf76ToHcl8dtzcqD6rq" + "rIQgwx8oosJLK5Rq67VXMpZGMSz7kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvR" ) { - Email = "p1TbuySIy9@vMfj.com", - ExternalId = "s9RSVIuRLJamUgod9vJ", - OrganizationCode = "5sO0P-En--Zn-CZ--ga-2-0-GWq-wO-V", - PrivateMoneyIds = new string[]{"80343906-659b-4c85-94a6-44011287311e", "471eac5a-a4e7-4001-b5e5-069aa4784324", "dcb5e80a-8b0d-45b6-95b7-56e5c9b3c515", "40ca7903-b5a8-43a6-b09e-e0d90b79398a", "c602736c-62f2-4d05-acfb-415d36716a4f", "4240bbaa-243e-4838-8a45-351b9762407c", "f4eb71a9-671b-4c89-b34c-c8b7ecc0c5e7", "015b5bd7-36b6-4870-96ad-594f9f064d0d"}, - CanTopupPrivateMoneyIds = new string[]{"6c0731ae-4a87-465a-b480-0b6a722a52d2", "44d1e5c6-8082-4ece-a136-c67f8cf3f71d", "ec607884-0f24-49e8-a97b-312518633a6f", "a24d5b42-f44f-421b-be94-89e9dd964268", "10b5069b-d493-4ba0-9bbc-fce4da842b7f", "fc34212d-dc04-4248-a776-f2e5ab2ae0ea", "a379ed96-2990-463b-a210-521b6c634923", "0d0da1cc-01fe-4ae6-a837-84c8abca658a"}, + Email = "xVOVqIgogo@brlT.com", + ExternalId = "BvrKruisPGcjRxKz0hnHtPEmOFzy", + OrganizationCode = "6--U", + PrivateMoneyIds = new string[]{"273a1055-52f9-41ab-898a-fb92aeaec7be", "825cb285-ed59-4d79-9c99-71d588823b92", "1d74d32d-4013-4412-adf7-98f73b77d640", "e23a95f9-6b53-4913-98b9-68c288d4ec35", "4503ea0d-0868-437d-bb40-cc2a049a38f4", "05dc09e7-f84e-4a26-89c4-9170d50f833d", "1dd249d5-f62a-4480-b08a-72fa0b4a49cb", "c90b550e-5da9-4f09-b9ea-fd3b12029433", "e9424542-bdc5-4c3f-b659-9ffe03d4033e"}, + CanTopupPrivateMoneyIds = new string[]{}, }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -135,14 +135,14 @@ public async Task CreateShopV26() { try { Request.CreateShopV2 request = new Request.CreateShopV2( - "kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvRJLln3CmVmPz2bcH2xVBHTbiOHYbzW7EYCf76ToHcl8dtzcqD6rq" + "rIQgwx8oosJLK5Rq67VXMpZGMSz7kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvR" ) { - Tel = "058821-568", - Email = "czyOhMWAPb@HXyt.com", - ExternalId = "djUT8FkE6WXDem2rgSzz", - OrganizationCode = "P-25--m-O-9-G-66p--7x-3KKsm18", - PrivateMoneyIds = new string[]{"cdadda4c-ae3d-44a8-b1b6-71efe4f7ffab", "2dee894e-6e41-4933-a3ba-e57c1b159dbe", "249aeca6-98da-4e34-8eee-aabbd48f12de"}, - CanTopupPrivateMoneyIds = new string[]{"6235a749-7afc-4245-aae1-f94e471e7536", "8e7b5480-1964-49a9-a223-ff59d72762a2", "3d989b06-fd85-495a-94d9-8e20c1af50df", "085af4b4-8713-4dfc-81df-90f0b1a40500", "703d2439-fdaf-4f06-9a62-4b5aeca7db67", "f3b46622-ce73-4e88-a6e3-f88f56d19b42", "71355128-2756-40c0-9d8a-bbb3377d5e0c", "e76bc070-fe58-4c69-90d0-a4feed9ff3e9", "819bbbd7-f3b2-4519-be9f-358065f1e097"}, + Tel = "0742390910", + Email = "9vMfjs9RSV@IuRL.com", + ExternalId = "amUgod9vJRM", + OrganizationCode = "0P-En--Zn-CZ--ga-2-0-GW", + PrivateMoneyIds = new string[]{"98660730-7e5f-47a4-96d5-be2eac867b2f", "879529cd-6635-4077-869b-8c85531ee314", "da86bba6-4401-411e-9ae7-2001bba2d575", "fa9ad6e5-069a-4324-8a0d-25b6daf0f915", "e5440eb7-56e5-4515-83a8-e3a66b346db0"}, + CanTopupPrivateMoneyIds = new string[]{"0b79398a-736c-42f2-85ac-e3fb7e5a415d", "36716a4f-bbaa-443e-b88a-e345aad3351b", "9762407c-71a9-471b-89b3-2a4cff19c8b7", "ecc0c5e7-5bd7-46b6-b0d6-4aad8e7a594f", "9f064d0d-1c78-41ae-875a-ed340a127980", "92260b6a-52d2-45c6-82ce-ee61099aa936", "db08c67f-f71d-4884-a4e8-2229e710127b", "5dce3125-3a6f-4b42-8f1b-957e241fd294", "274689e9-4268-469b-93a0-be5b18b1a2ff"}, }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -157,15 +157,15 @@ public async Task CreateShopV27() { try { Request.CreateShopV2 request = new Request.CreateShopV2( - "kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvRJLln3CmVmPz2bcH2xVBHTbiOHYbzW7EYCf76ToHcl8dtzcqD6rq" + "rIQgwx8oosJLK5Rq67VXMpZGMSz7kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvR" ) { - Address = "Um4FbQucsmz0GYwY85K8kF9CcO2FCZ7wQECuEigH9T54l9EXWThBhNBtq0Hlr5VUDcRjPWhcWE5Ed0Dp6qm5enNIYlp4WuULLQB3hzZG357PPnWlMQ", - Tel = "05-7596-791", - Email = "BJMiWPv5dA@bUBW.com", - ExternalId = "ta68v79KNgsodWT1kP64c", - OrganizationCode = "KR7nb", - PrivateMoneyIds = new string[]{"e5b4f3eb-3362-484e-9f8a-2b5798d5df14", "e11f2da7-242a-4907-b418-5a80213c7f3f", "b7ee6134-0178-42b5-ac5b-9714ab36d9f0", "1ddf1794-cc21-4319-a91c-a0abadda7660"}, - CanTopupPrivateMoneyIds = new string[]{"9c78491a-8c65-4f6c-8878-9b7f00f1aa36", "06feb18e-bb7d-47da-b7b3-fdc15ea2eace", "0b6bd05d-ebeb-4524-a7df-657bdb1f1b72", "c8dd41ae-0a04-4ce5-8e4d-d25356c9c581", "1dea5adb-bc3a-4b7f-ad3d-e0ee5be50599", "af424593-329d-4569-a70e-99627c770734", "0df948d9-f062-4033-b436-71eb9bc7586d", "c2885e76-1879-4e8f-a87c-eba8c16c4d7c", "c3f1c30e-a60f-4103-aa22-17c4e2a21637", "bd8577a2-1109-49d9-a186-62fe51976f2d"}, + Address = "dHvejLf7HUNUhMpEnczyOhMWAPbHXytdjUT8FkE6WXDem2rgSzz35aQ4D94kR9S0XTdmHcC0cGFAfEKgLlOIWqFFofKhzWzCAqp2ZanhrL16oNA3cZ4NnyIEjaN6dYZY4p9bZgscBV3pXiPPiW2qUm4FbQucsmz0GYwY85K8kF9CcO2FCZ7wQECuEigH9", + Tel = "01954828", + Email = "NBtq0Hlr5V@UDcR.com", + ExternalId = "WhcWE5Ed0Dp6qm5en", + OrganizationCode = "TN--q7nM5--75977R-", + PrivateMoneyIds = new string[]{"a77b594a-11aa-4bcd-a72c-67092f5a4f3e", "b27c909d-1f69-42d7-9076-3ab5f1fc8993", "1d88bd09-efe4-4da4-96c1-e0a00300c1e2"}, + CanTopupPrivateMoneyIds = new string[]{"bc9dc455-6820-4b42-9714-86f4692c00e1", "f1b0431b-0336-45b8-b61b-8009606f5a21", "5b87c228-cf0c-4e86-b708-e0dd0d3c7e9f", "d967bdb9-0919-4b4b-8e67-ec73fa6e7f1a", "3d0360ef-c02c-4691-8a98-5f8ddb82cb1c", "4f5f7864-fd92-4a0e-92d7-ff54a62ded31", "3954f6eb-3950-4736-b492-e663456a4b22", "a3e61823-7b05-42e8-9a1d-1ecc35e0572b"}, }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -180,16 +180,16 @@ public async Task CreateShopV28() { try { Request.CreateShopV2 request = new Request.CreateShopV2( - "kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvRJLln3CmVmPz2bcH2xVBHTbiOHYbzW7EYCf76ToHcl8dtzcqD6rq" + "rIQgwx8oosJLK5Rq67VXMpZGMSz7kvOMHYRjzAZw05Ty0nenwzHOaIVwMTjPFMGevwVMeZt8EqIvyxvlj5KalqxA7HuqvdSNveWzWI5L6stQvZvR" ) { - PostalCode = "1601719", - Address = "h5MLpUpAeuRnJqWXlTPA3BNnPJo0CH10GQb96Jzcef7f3He1f0QYEkgJnc3iiJ3NDVFkNizSfk2HEbXxayxzM2cghdc2Ljaj2GsuiV9UsDnl2m8nhmhWmlD5AgJ4dO8VEt3", - Tel = "0918-0596", - Email = "SJX1OiNUbq@HXuS.com", - ExternalId = "WeM8VL", - OrganizationCode = "oq8n09-S2v-Go", - PrivateMoneyIds = new string[]{"3cd1c838-0bd6-489d-86ee-5eeaaa745ac6", "b5fd5c91-025b-4fef-8589-6d7d373b6973"}, - CanTopupPrivateMoneyIds = new string[]{"c4e163e6-5eab-43bf-879e-cd3652d0d908", "d20e9714-2bb4-4809-ad76-157c12616dd8", "2ad2094b-2a0e-43bd-83a3-de3027d6a479", "760dccc9-318b-422e-a02f-c03a2245ef08", "3364f713-fcd9-4644-b2a2-1dcf33e448ed"}, + PostalCode = "524-0957", + Address = "XAsCUOeSILicKJugP", + Tel = "013-7477048", + Email = "5lpizelx6Z@w3AN.com", + ExternalId = "kreMSnigb4Yb3t6kmvyhjD7Y1lgzqI", + OrganizationCode = "q0", + PrivateMoneyIds = new string[]{"f43a7baf-a0ef-4c23-9db0-60fcb6157943"}, + CanTopupPrivateMoneyIds = new string[]{"6b3661c8-0960-41b1-ab15-1d305711bcc7", "4e9936d1-6b62-4a39-975f-c0364fdf18ca", "e73755fa-3863-455e-a57d-da1679da01e6", "52e812b7-d326-4c66-a0b3-45c8ec500426"}, }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateTransferTransaction.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateTransferTransaction.cs index 806b78f..6d68b8d 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateTransferTransaction.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateTransferTransaction.cs @@ -25,10 +25,10 @@ public async Task CreateTransferTransaction0() { try { Request.CreateTransferTransaction request = new Request.CreateTransferTransaction( - "b197b1f9-901d-4a36-b372-eb1f540fbc52", - "4b6a223c-2015-467b-975a-d2cef1d66243", - "4051b039-c9e0-4fe2-9c2e-9b112a3bf95d", - 8212.0 + "cb2e2014-4159-4728-9602-efca28d8b055", + "184311a7-9321-4246-97f0-06346bfc44af", + "d2d0b553-e94a-45dd-841b-286411cac5bd", + 9488.0 ); Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -43,12 +43,12 @@ public async Task CreateTransferTransaction1() { try { Request.CreateTransferTransaction request = new Request.CreateTransferTransaction( - "b197b1f9-901d-4a36-b372-eb1f540fbc52", - "4b6a223c-2015-467b-975a-d2cef1d66243", - "4051b039-c9e0-4fe2-9c2e-9b112a3bf95d", - 8212.0 + "cb2e2014-4159-4728-9602-efca28d8b055", + "184311a7-9321-4246-97f0-06346bfc44af", + "d2d0b553-e94a-45dd-841b-286411cac5bd", + 9488.0 ) { - RequestId = "5d254159-6728-4b16-82ca-b055184311a7", + RequestId = "85bbf99e-4d40-4339-96dc-cb77f9c8771b", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -63,13 +63,13 @@ public async Task CreateTransferTransaction2() { try { Request.CreateTransferTransaction request = new Request.CreateTransferTransaction( - "b197b1f9-901d-4a36-b372-eb1f540fbc52", - "4b6a223c-2015-467b-975a-d2cef1d66243", - "4051b039-c9e0-4fe2-9c2e-9b112a3bf95d", - 8212.0 + "cb2e2014-4159-4728-9602-efca28d8b055", + "184311a7-9321-4246-97f0-06346bfc44af", + "d2d0b553-e94a-45dd-841b-286411cac5bd", + 9488.0 ) { - Description = "FWp4SJDd9Vw0ghvUwHY4GPMgqa4p3NBV6j", - RequestId = "7c6223bb-b16e-41c4-ba45-41880740d26d", + Description = "ghvUwHY4GPMgqa4p3NBV6jnDEmNinmBAkCQlWqd4VgtaT7nx9nCCSGOYqsqY3PQB7j8S1LcJM99jV6h5DQ4TL9sXbFiutZ4wFjGxBLsRpox6uXLc6he8Kxv6FPaZ8I6AxiybIUdjn2JlMSQ6V8dRYSFDiggsas4Nm4Pbqn0MLycuAIyd8", + RequestId = "300ec42e-5054-42ad-9e97-496361c8428f", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -84,14 +84,14 @@ public async Task CreateTransferTransaction3() { try { Request.CreateTransferTransaction request = new Request.CreateTransferTransaction( - "b197b1f9-901d-4a36-b372-eb1f540fbc52", - "4b6a223c-2015-467b-975a-d2cef1d66243", - "4051b039-c9e0-4fe2-9c2e-9b112a3bf95d", - 8212.0 + "cb2e2014-4159-4728-9602-efca28d8b055", + "184311a7-9321-4246-97f0-06346bfc44af", + "d2d0b553-e94a-45dd-841b-286411cac5bd", + 9488.0 ) { Metadata = "{\"key\":\"value\"}", - Description = "inmBAkCQlWqd4VgtaT7nx9nCCSGOYqsqY3PQB7j8S1LcJM99jV6h5DQ4TL9sXbFiutZ4wFjGxBLsRpo", - RequestId = "29933978-8f36-43f5-87d8-101fa80a7e4c", + Description = "1YrDumA0BEPaxu5hz8quH88gYqQC45YQseyms9QyHVorEq6zLZyg3cEPs9", + RequestId = "e4d41562-967b-4c4e-bb24-e3c0e3e867bc", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateUserDevice.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateUserDevice.cs index 59d6abb..4fc32a3 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateUserDevice.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateUserDevice.cs @@ -25,7 +25,7 @@ public async Task CreateUserDevice0() { try { Request.CreateUserDevice request = new Request.CreateUserDevice( - "f67e3c61-3344-4f68-8af0-1e46403a8c1c" + "2b484c8d-7ac3-4045-b735-e47e95bba404" ); Response.UserDevice response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,7 +40,7 @@ public async Task CreateUserDevice1() { try { Request.CreateUserDevice request = new Request.CreateUserDevice( - "f67e3c61-3344-4f68-8af0-1e46403a8c1c" + "2b484c8d-7ac3-4045-b735-e47e95bba404" ) { Metadata = "{\"user_agent\": \"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0\"}", }; diff --git a/src/PokepayPartnerCsharpSdk.Test/TestCreateWebhook.cs b/src/PokepayPartnerCsharpSdk.Test/TestCreateWebhook.cs index ef61806..72309c5 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestCreateWebhook.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestCreateWebhook.cs @@ -26,7 +26,7 @@ public async Task CreateWebhook0() try { Request.CreateWebhook request = new Request.CreateWebhook( "bulk_shops", - "iR11TAH" + "Dqh" ); Response.OrganizationWorkerTaskWebhook response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestDeleteWebhook.cs b/src/PokepayPartnerCsharpSdk.Test/TestDeleteWebhook.cs index fb32a87..adf86c7 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestDeleteWebhook.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestDeleteWebhook.cs @@ -25,7 +25,7 @@ public async Task DeleteWebhook0() { try { Request.DeleteWebhook request = new Request.DeleteWebhook( - "f1cd1df0-e123-470b-851d-f80e1b5f1c86" + "d8465433-6f93-489b-8440-fbbfbbe35ffc" ); Response.OrganizationWorkerTaskWebhook response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetBulkTransaction.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetBulkTransaction.cs index 1d6067e..b459408 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetBulkTransaction.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetBulkTransaction.cs @@ -25,7 +25,7 @@ public async Task GetBulkTransaction0() { try { Request.GetBulkTransaction request = new Request.GetBulkTransaction( - "e58bf7ca-9507-4ca7-8c7c-f29834f6cc7b" + "a25f57a5-46ba-451b-ba55-8544c176bcea" ); Response.BulkTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetCampaign.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetCampaign.cs index 18a2384..6f5d662 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetCampaign.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetCampaign.cs @@ -25,7 +25,7 @@ public async Task GetCampaign0() { try { Request.GetCampaign request = new Request.GetCampaign( - "eacd3507-5b4d-416f-9c36-412c6bd7d410" + "80025eef-3d21-416d-9453-9c1fd38b6ca4" ); Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetCashtray.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetCashtray.cs index 646026c..276d04f 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetCashtray.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetCashtray.cs @@ -25,7 +25,7 @@ public async Task GetCashtray0() { try { Request.GetCashtray request = new Request.GetCashtray( - "889cfd0f-1711-4dc9-901f-71072893803b" + "8cb6134b-bc16-4dbc-b1dd-0989392e23bb" ); Response.CashtrayWithResult response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetCoupon.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetCoupon.cs index 709cd8e..131a6d1 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetCoupon.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetCoupon.cs @@ -25,7 +25,7 @@ public async Task GetCoupon0() { try { Request.GetCoupon request = new Request.GetCoupon( - "df7c34c3-b028-41a7-bba7-67852b9ce230" + "93e6b698-47a5-4a9d-b47b-3fb83ebe9192" ); Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetExternalTransactionByRequestId.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetExternalTransactionByRequestId.cs index ad26bd8..bb6d1a7 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetExternalTransactionByRequestId.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetExternalTransactionByRequestId.cs @@ -25,7 +25,7 @@ public async Task GetExternalTransactionByRequestId0() { try { Request.GetExternalTransactionByRequestId request = new Request.GetExternalTransactionByRequestId( - "c83d8702-6cc0-4a87-97c0-6287c6cb972a" + "a1f90aa9-d114-45f3-8f90-fa912f9329ef" ); Response.ExternalTransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneyOrganizationSummaries.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneyOrganizationSummaries.cs index 796b500..b1f57db 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneyOrganizationSummaries.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneyOrganizationSummaries.cs @@ -25,7 +25,7 @@ public async Task GetPrivateMoneyOrganizationSummaries0() { try { Request.GetPrivateMoneyOrganizationSummaries request = new Request.GetPrivateMoneyOrganizationSummaries( - "25c2238f-cf81-4930-aefa-23951ca983f1" + "6c69519c-629e-42bf-a323-61b53531887b" ); Response.PaginatedPrivateMoneyOrganizationSummaries response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task GetPrivateMoneyOrganizationSummaries1() { try { Request.GetPrivateMoneyOrganizationSummaries request = new Request.GetPrivateMoneyOrganizationSummaries( - "25c2238f-cf81-4930-aefa-23951ca983f1" + "6c69519c-629e-42bf-a323-61b53531887b" ) { - Page = 3863, + Page = 9718, }; Response.PaginatedPrivateMoneyOrganizationSummaries response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task GetPrivateMoneyOrganizationSummaries2() { try { Request.GetPrivateMoneyOrganizationSummaries request = new Request.GetPrivateMoneyOrganizationSummaries( - "25c2238f-cf81-4930-aefa-23951ca983f1" + "6c69519c-629e-42bf-a323-61b53531887b" ) { - PerPage = 4164, - Page = 1671, + PerPage = 5526, + Page = 9523, }; Response.PaginatedPrivateMoneyOrganizationSummaries response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -75,10 +75,10 @@ public async Task GetPrivateMoneyOrganizationSummaries3() { try { Request.GetPrivateMoneyOrganizationSummaries request = new Request.GetPrivateMoneyOrganizationSummaries( - "25c2238f-cf81-4930-aefa-23951ca983f1" + "6c69519c-629e-42bf-a323-61b53531887b" ) { - From = "2023-02-24T15:38:45.000000Z", - To = "2020-06-01T22:27:12.000000Z", + From = "2021-05-16T22:08:37.000000Z", + To = "2022-03-18T14:41:36.000000Z", }; Response.PaginatedPrivateMoneyOrganizationSummaries response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -93,11 +93,11 @@ public async Task GetPrivateMoneyOrganizationSummaries4() { try { Request.GetPrivateMoneyOrganizationSummaries request = new Request.GetPrivateMoneyOrganizationSummaries( - "25c2238f-cf81-4930-aefa-23951ca983f1" + "6c69519c-629e-42bf-a323-61b53531887b" ) { - From = "2022-04-29T04:44:50.000000Z", - To = "2023-02-28T01:22:24.000000Z", - Page = 2940, + From = "2023-12-25T08:58:49.000000Z", + To = "2022-02-05T06:15:53.000000Z", + Page = 3359, }; Response.PaginatedPrivateMoneyOrganizationSummaries response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -112,12 +112,12 @@ public async Task GetPrivateMoneyOrganizationSummaries5() { try { Request.GetPrivateMoneyOrganizationSummaries request = new Request.GetPrivateMoneyOrganizationSummaries( - "25c2238f-cf81-4930-aefa-23951ca983f1" + "6c69519c-629e-42bf-a323-61b53531887b" ) { - From = "2020-06-22T06:48:08.000000Z", - To = "2023-10-27T22:37:01.000000Z", - PerPage = 1815, - Page = 1792, + From = "2021-06-11T14:08:29.000000Z", + To = "2022-12-27T10:10:34.000000Z", + PerPage = 9682, + Page = 4040, }; Response.PaginatedPrivateMoneyOrganizationSummaries response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneySummary.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneySummary.cs index 724636d..3cbaf4c 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneySummary.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneySummary.cs @@ -25,7 +25,7 @@ public async Task GetPrivateMoneySummary0() { try { Request.GetPrivateMoneySummary request = new Request.GetPrivateMoneySummary( - "ff19d13e-32f3-4315-a0c8-db1c10293429" + "dbd3f582-dc6f-4a85-9f52-b6e55af92926" ); Response.PrivateMoneySummary response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task GetPrivateMoneySummary1() { try { Request.GetPrivateMoneySummary request = new Request.GetPrivateMoneySummary( - "ff19d13e-32f3-4315-a0c8-db1c10293429" + "dbd3f582-dc6f-4a85-9f52-b6e55af92926" ) { - To = "2023-06-06T15:44:55.000000Z", + To = "2020-03-24T13:03:12.000000Z", }; Response.PrivateMoneySummary response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task GetPrivateMoneySummary2() { try { Request.GetPrivateMoneySummary request = new Request.GetPrivateMoneySummary( - "ff19d13e-32f3-4315-a0c8-db1c10293429" + "dbd3f582-dc6f-4a85-9f52-b6e55af92926" ) { - From = "2022-07-27T19:34:17.000000Z", - To = "2022-10-30T18:15:11.000000Z", + From = "2020-12-25T12:28:03.000000Z", + To = "2021-06-11T03:44:43.000000Z", }; Response.PrivateMoneySummary response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneys.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneys.cs index 571aa12..b36d7fa 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneys.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetPrivateMoneys.cs @@ -38,7 +38,7 @@ public async Task GetPrivateMoneys1() { try { Request.GetPrivateMoneys request = new Request.GetPrivateMoneys() { - PerPage = 6996, + PerPage = 3812, }; Response.PaginatedPrivateMoneys response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -53,8 +53,8 @@ public async Task GetPrivateMoneys2() { try { Request.GetPrivateMoneys request = new Request.GetPrivateMoneys() { - Page = 2568, - PerPage = 7422, + Page = 2373, + PerPage = 3996, }; Response.PaginatedPrivateMoneys response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -69,9 +69,9 @@ public async Task GetPrivateMoneys3() { try { Request.GetPrivateMoneys request = new Request.GetPrivateMoneys() { - OrganizationCode = "qr-5a-89", - Page = 972, - PerPage = 207, + OrganizationCode = "r-2Rz3-Qv", + Page = 4086, + PerPage = 9948, }; Response.PaginatedPrivateMoneys response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetShop.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetShop.cs index 1ea98a9..f557325 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetShop.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetShop.cs @@ -25,7 +25,7 @@ public async Task GetShop0() { try { Request.GetShop request = new Request.GetShop( - "026fffa8-2866-4283-98da-548e8efcfc76" + "06c8253e-0065-45de-a8be-65fc3befde31" ); Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetTransaction.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetTransaction.cs index 16fb949..f600688 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetTransaction.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetTransaction.cs @@ -25,7 +25,7 @@ public async Task GetTransaction0() { try { Request.GetTransaction request = new Request.GetTransaction( - "2e4de732-c544-4c8a-abf6-377c6d8b3ed1" + "b565b672-b514-4cf3-820e-903c13690a37" ); Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetTransactionByRequestId.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetTransactionByRequestId.cs index f0cf518..67c0ec9 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetTransactionByRequestId.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetTransactionByRequestId.cs @@ -25,7 +25,7 @@ public async Task GetTransactionByRequestId0() { try { Request.GetTransactionByRequestId request = new Request.GetTransactionByRequestId( - "48bc8c62-2ad7-4556-b56a-10e29599e25b" + "f3027cdc-cecb-44d8-9caf-16a24a154305" ); Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestGetUserDevice.cs b/src/PokepayPartnerCsharpSdk.Test/TestGetUserDevice.cs index adacaf9..67b436e 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestGetUserDevice.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestGetUserDevice.cs @@ -25,7 +25,7 @@ public async Task GetUserDevice0() { try { Request.GetUserDevice request = new Request.GetUserDevice( - "80fefd13-f87b-4e02-9bd0-49fc54345d7f" + "750c1c12-f9b8-4633-bcca-f33284d572d7" ); Response.UserDevice response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestListBanks.cs b/src/PokepayPartnerCsharpSdk.Test/TestListBanks.cs index 25af837..79f855b 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestListBanks.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestListBanks.cs @@ -25,7 +25,7 @@ public async Task ListBanks0() { try { Request.ListBanks request = new Request.ListBanks( - "ea5fdab5-842f-485c-a2e6-34a79bdf9ccb" + "175cd196-2ac6-427b-90f5-2577774f7d6e" ); Response.Banks response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task ListBanks1() { try { Request.ListBanks request = new Request.ListBanks( - "ea5fdab5-842f-485c-a2e6-34a79bdf9ccb" + "175cd196-2ac6-427b-90f5-2577774f7d6e" ) { - PrivateMoneyId = "dbf85487-ccd6-4486-b439-a15ddc57b52a", + PrivateMoneyId = "034b0e80-413f-4187-9bad-4f65852eee3b", }; Response.Banks response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestListBulkTransactionJobs.cs b/src/PokepayPartnerCsharpSdk.Test/TestListBulkTransactionJobs.cs index cda5c51..29e55e5 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestListBulkTransactionJobs.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestListBulkTransactionJobs.cs @@ -25,7 +25,7 @@ public async Task ListBulkTransactionJobs0() { try { Request.ListBulkTransactionJobs request = new Request.ListBulkTransactionJobs( - "df2ec8bc-ffd3-4ef9-a8fc-e6efc0fc73f1" + "aceb8e81-b166-48f9-a12a-0ec707888f02" ); Response.PaginatedBulkTransactionJob response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task ListBulkTransactionJobs1() { try { Request.ListBulkTransactionJobs request = new Request.ListBulkTransactionJobs( - "df2ec8bc-ffd3-4ef9-a8fc-e6efc0fc73f1" + "aceb8e81-b166-48f9-a12a-0ec707888f02" ) { - PerPage = 986, + PerPage = 9888, }; Response.PaginatedBulkTransactionJob response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task ListBulkTransactionJobs2() { try { Request.ListBulkTransactionJobs request = new Request.ListBulkTransactionJobs( - "df2ec8bc-ffd3-4ef9-a8fc-e6efc0fc73f1" + "aceb8e81-b166-48f9-a12a-0ec707888f02" ) { - Page = 9569, - PerPage = 6767, + Page = 4993, + PerPage = 2511, }; Response.PaginatedBulkTransactionJob response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestListCampaigns.cs b/src/PokepayPartnerCsharpSdk.Test/TestListCampaigns.cs index d58800e..cef7acf 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestListCampaigns.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestListCampaigns.cs @@ -25,7 +25,7 @@ public async Task ListCampaigns0() { try { Request.ListCampaigns request = new Request.ListCampaigns( - "f3463bc2-349f-41a0-bdd1-7649fd7843ed" + "18bcc7a6-42df-4471-8c96-80325b2c3b3c" ); Response.PaginatedCampaigns response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task ListCampaigns1() { try { Request.ListCampaigns request = new Request.ListCampaigns( - "f3463bc2-349f-41a0-bdd1-7649fd7843ed" + "18bcc7a6-42df-4471-8c96-80325b2c3b3c" ) { - PerPage = 3, + PerPage = 19, }; Response.PaginatedCampaigns response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task ListCampaigns2() { try { Request.ListCampaigns request = new Request.ListCampaigns( - "f3463bc2-349f-41a0-bdd1-7649fd7843ed" + "18bcc7a6-42df-4471-8c96-80325b2c3b3c" ) { - Page = 4010, - PerPage = 31, + Page = 9966, + PerPage = 43, }; Response.PaginatedCampaigns response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -75,11 +75,11 @@ public async Task ListCampaigns3() { try { Request.ListCampaigns request = new Request.ListCampaigns( - "f3463bc2-349f-41a0-bdd1-7649fd7843ed" + "18bcc7a6-42df-4471-8c96-80325b2c3b3c" ) { - AvailableTo = "2020-03-21T02:19:51.000000Z", - Page = 2212, - PerPage = 28, + AvailableTo = "2023-05-16T03:50:44.000000Z", + Page = 74, + PerPage = 35, }; Response.PaginatedCampaigns response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -94,12 +94,12 @@ public async Task ListCampaigns4() { try { Request.ListCampaigns request = new Request.ListCampaigns( - "f3463bc2-349f-41a0-bdd1-7649fd7843ed" + "18bcc7a6-42df-4471-8c96-80325b2c3b3c" ) { - AvailableFrom = "2020-01-12T10:32:20.000000Z", - AvailableTo = "2023-11-03T13:07:02.000000Z", - Page = 5677, - PerPage = 19, + AvailableFrom = "2021-07-28T11:34:13.000000Z", + AvailableTo = "2024-03-02T00:05:43.000000Z", + Page = 8762, + PerPage = 37, }; Response.PaginatedCampaigns response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -114,13 +114,13 @@ public async Task ListCampaigns5() { try { Request.ListCampaigns request = new Request.ListCampaigns( - "f3463bc2-349f-41a0-bdd1-7649fd7843ed" + "18bcc7a6-42df-4471-8c96-80325b2c3b3c" ) { IsOngoing = false, - AvailableFrom = "2022-05-01T12:37:02.000000Z", - AvailableTo = "2023-07-28T00:52:46.000000Z", - Page = 561, - PerPage = 34, + AvailableFrom = "2022-09-25T09:37:37.000000Z", + AvailableTo = "2023-05-26T13:38:27.000000Z", + Page = 2512, + PerPage = 9, }; Response.PaginatedCampaigns response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestListCoupons.cs b/src/PokepayPartnerCsharpSdk.Test/TestListCoupons.cs index 08e7268..2e11715 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestListCoupons.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestListCoupons.cs @@ -25,7 +25,7 @@ public async Task ListCoupons0() { try { Request.ListCoupons request = new Request.ListCoupons( - "1de436e9-6158-45ea-98bc-6c530b8963c5" + "5287d249-2b06-4f32-a066-9deb582af3ef" ); Response.PaginatedCoupons response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task ListCoupons1() { try { Request.ListCoupons request = new Request.ListCoupons( - "1de436e9-6158-45ea-98bc-6c530b8963c5" + "5287d249-2b06-4f32-a066-9deb582af3ef" ) { - PerPage = 7143, + PerPage = 4492, }; Response.PaginatedCoupons response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task ListCoupons2() { try { Request.ListCoupons request = new Request.ListCoupons( - "1de436e9-6158-45ea-98bc-6c530b8963c5" + "5287d249-2b06-4f32-a066-9deb582af3ef" ) { - Page = 355, - PerPage = 5086, + Page = 7514, + PerPage = 9614, }; Response.PaginatedCoupons response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -75,11 +75,11 @@ public async Task ListCoupons3() { try { Request.ListCoupons request = new Request.ListCoupons( - "1de436e9-6158-45ea-98bc-6c530b8963c5" + "5287d249-2b06-4f32-a066-9deb582af3ef" ) { - AvailableTo = "2022-05-06T14:42:44.000000Z", - Page = 1568, - PerPage = 657, + AvailableTo = "2020-06-15T13:24:22.000000Z", + Page = 8382, + PerPage = 1415, }; Response.PaginatedCoupons response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -94,12 +94,12 @@ public async Task ListCoupons4() { try { Request.ListCoupons request = new Request.ListCoupons( - "1de436e9-6158-45ea-98bc-6c530b8963c5" + "5287d249-2b06-4f32-a066-9deb582af3ef" ) { - AvailableFrom = "2023-04-12T06:05:04.000000Z", - AvailableTo = "2020-02-02T18:01:54.000000Z", - Page = 749, - PerPage = 7858, + AvailableFrom = "2022-07-07T12:03:30.000000Z", + AvailableTo = "2024-03-16T11:48:43.000000Z", + Page = 5387, + PerPage = 6558, }; Response.PaginatedCoupons response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -114,13 +114,13 @@ public async Task ListCoupons5() { try { Request.ListCoupons request = new Request.ListCoupons( - "1de436e9-6158-45ea-98bc-6c530b8963c5" + "5287d249-2b06-4f32-a066-9deb582af3ef" ) { - AvailableShopName = "OUEcUOGT", - AvailableFrom = "2021-10-29T11:51:53.000000Z", - AvailableTo = "2020-09-13T17:50:25.000000Z", - Page = 3254, - PerPage = 4365, + AvailableShopName = "uaeWPZ", + AvailableFrom = "2023-10-16T13:14:07.000000Z", + AvailableTo = "2023-02-01T02:23:36.000000Z", + Page = 5410, + PerPage = 8238, }; Response.PaginatedCoupons response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -135,14 +135,14 @@ public async Task ListCoupons6() { try { Request.ListCoupons request = new Request.ListCoupons( - "1de436e9-6158-45ea-98bc-6c530b8963c5" + "5287d249-2b06-4f32-a066-9deb582af3ef" ) { - IssuedShopName = "Jsn8lh", - AvailableShopName = "I", - AvailableFrom = "2020-04-12T18:14:56.000000Z", - AvailableTo = "2020-04-16T05:20:13.000000Z", - Page = 6760, - PerPage = 7370, + IssuedShopName = "K6Z", + AvailableShopName = "1zTkB", + AvailableFrom = "2022-05-23T02:13:37.000000Z", + AvailableTo = "2020-06-09T01:09:47.000000Z", + Page = 4092, + PerPage = 5130, }; Response.PaginatedCoupons response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -157,15 +157,15 @@ public async Task ListCoupons7() { try { Request.ListCoupons request = new Request.ListCoupons( - "1de436e9-6158-45ea-98bc-6c530b8963c5" + "5287d249-2b06-4f32-a066-9deb582af3ef" ) { - CouponName = "kY0oNU4Zt", - IssuedShopName = "ZO", - AvailableShopName = "Hmd", - AvailableFrom = "2020-06-09T13:11:14.000000Z", - AvailableTo = "2022-11-13T01:28:16.000000Z", - Page = 9340, - PerPage = 5495, + CouponName = "UJIx", + IssuedShopName = "9pUjuQLW", + AvailableShopName = "JQAl", + AvailableFrom = "2021-04-02T07:43:37.000000Z", + AvailableTo = "2022-06-18T14:13:01.000000Z", + Page = 8088, + PerPage = 2652, }; Response.PaginatedCoupons response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -180,16 +180,16 @@ public async Task ListCoupons8() { try { Request.ListCoupons request = new Request.ListCoupons( - "1de436e9-6158-45ea-98bc-6c530b8963c5" + "5287d249-2b06-4f32-a066-9deb582af3ef" ) { - CouponId = "lnlZRhGDMx", - CouponName = "uj8A", - IssuedShopName = "7eD", - AvailableShopName = "OAWeoDp", - AvailableFrom = "2024-01-09T12:00:37.000000Z", - AvailableTo = "2023-12-31T15:12:06.000000Z", - Page = 7905, - PerPage = 4151, + CouponId = "IBEGWMO", + CouponName = "qgVzvG", + IssuedShopName = "f46VZC1gRO", + AvailableShopName = "yDwwPosw", + AvailableFrom = "2024-01-31T15:16:32.000000Z", + AvailableTo = "2022-07-23T13:58:10.000000Z", + Page = 327, + PerPage = 2797, }; Response.PaginatedCoupons response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestListCustomerTransactions.cs b/src/PokepayPartnerCsharpSdk.Test/TestListCustomerTransactions.cs index 4ae3176..2a7411a 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestListCustomerTransactions.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestListCustomerTransactions.cs @@ -25,7 +25,7 @@ public async Task ListCustomerTransactions0() { try { Request.ListCustomerTransactions request = new Request.ListCustomerTransactions( - "05d4da0c-f8ac-43e9-a1a8-54df0786da2d" + "26d06a0d-a9b9-4b4f-beb2-059cc9fc551c" ); Response.PaginatedTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task ListCustomerTransactions1() { try { Request.ListCustomerTransactions request = new Request.ListCustomerTransactions( - "05d4da0c-f8ac-43e9-a1a8-54df0786da2d" + "26d06a0d-a9b9-4b4f-beb2-059cc9fc551c" ) { - PerPage = 3721, + PerPage = 5122, }; Response.PaginatedTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task ListCustomerTransactions2() { try { Request.ListCustomerTransactions request = new Request.ListCustomerTransactions( - "05d4da0c-f8ac-43e9-a1a8-54df0786da2d" + "26d06a0d-a9b9-4b4f-beb2-059cc9fc551c" ) { - Page = 1673, - PerPage = 8569, + Page = 5799, + PerPage = 2453, }; Response.PaginatedTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -75,11 +75,11 @@ public async Task ListCustomerTransactions3() { try { Request.ListCustomerTransactions request = new Request.ListCustomerTransactions( - "05d4da0c-f8ac-43e9-a1a8-54df0786da2d" + "26d06a0d-a9b9-4b4f-beb2-059cc9fc551c" ) { - To = "2020-06-09T08:43:25.000000Z", - Page = 2641, - PerPage = 1403, + To = "2022-04-26T16:16:13.000000Z", + Page = 487, + PerPage = 8812, }; Response.PaginatedTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -94,12 +94,12 @@ public async Task ListCustomerTransactions4() { try { Request.ListCustomerTransactions request = new Request.ListCustomerTransactions( - "05d4da0c-f8ac-43e9-a1a8-54df0786da2d" + "26d06a0d-a9b9-4b4f-beb2-059cc9fc551c" ) { - From = "2023-08-31T11:35:24.000000Z", - To = "2021-11-27T00:17:30.000000Z", - Page = 6128, - PerPage = 9468, + From = "2020-07-14T14:34:50.000000Z", + To = "2023-05-11T00:31:45.000000Z", + Page = 6745, + PerPage = 953, }; Response.PaginatedTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -114,13 +114,13 @@ public async Task ListCustomerTransactions5() { try { Request.ListCustomerTransactions request = new Request.ListCustomerTransactions( - "05d4da0c-f8ac-43e9-a1a8-54df0786da2d" + "26d06a0d-a9b9-4b4f-beb2-059cc9fc551c" ) { - IsModified = true, - From = "2021-10-15T20:46:20.000000Z", - To = "2023-11-14T17:02:46.000000Z", - Page = 8406, - PerPage = 1440, + IsModified = false, + From = "2024-01-20T10:38:15.000000Z", + To = "2020-12-24T04:11:14.000000Z", + Page = 1772, + PerPage = 2425, }; Response.PaginatedTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -135,14 +135,14 @@ public async Task ListCustomerTransactions6() { try { Request.ListCustomerTransactions request = new Request.ListCustomerTransactions( - "05d4da0c-f8ac-43e9-a1a8-54df0786da2d" + "26d06a0d-a9b9-4b4f-beb2-059cc9fc551c" ) { - Type = "transfer", + Type = "expire", IsModified = true, - From = "2022-03-30T21:58:48.000000Z", - To = "2024-01-29T17:38:21.000000Z", - Page = 786, - PerPage = 2848, + From = "2021-02-13T04:32:34.000000Z", + To = "2023-04-22T03:17:43.000000Z", + Page = 1927, + PerPage = 8887, }; Response.PaginatedTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -157,15 +157,15 @@ public async Task ListCustomerTransactions7() { try { Request.ListCustomerTransactions request = new Request.ListCustomerTransactions( - "05d4da0c-f8ac-43e9-a1a8-54df0786da2d" + "26d06a0d-a9b9-4b4f-beb2-059cc9fc551c" ) { - ReceiverCustomerId = "476067c0-5180-472f-9748-fbe19e693314", + ReceiverCustomerId = "54ab9fb6-55af-4469-9b47-636ae9de1cb1", Type = "cashback", IsModified = true, - From = "2020-07-04T11:49:13.000000Z", - To = "2020-10-22T23:48:51.000000Z", - Page = 4783, - PerPage = 8752, + From = "2022-04-09T19:16:32.000000Z", + To = "2020-01-17T21:38:30.000000Z", + Page = 4141, + PerPage = 1276, }; Response.PaginatedTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -180,16 +180,16 @@ public async Task ListCustomerTransactions8() { try { Request.ListCustomerTransactions request = new Request.ListCustomerTransactions( - "05d4da0c-f8ac-43e9-a1a8-54df0786da2d" + "26d06a0d-a9b9-4b4f-beb2-059cc9fc551c" ) { - SenderCustomerId = "d2869b53-2e22-4d40-bc23-f9d272cd44e5", - ReceiverCustomerId = "03a89a91-73ea-4831-99d4-32f7b9069362", + SenderCustomerId = "b49877aa-e363-4ea5-b392-14b2f67f27bf", + ReceiverCustomerId = "b564977a-558b-48e5-85d1-67053a715351", Type = "exchange", IsModified = false, - From = "2020-01-13T05:00:34.000000Z", - To = "2020-03-01T04:56:22.000000Z", - Page = 5098, - PerPage = 7841, + From = "2021-01-04T01:35:51.000000Z", + To = "2023-11-16T04:08:27.000000Z", + Page = 7990, + PerPage = 9650, }; Response.PaginatedTransaction response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestListOrganizations.cs b/src/PokepayPartnerCsharpSdk.Test/TestListOrganizations.cs index 72d9477..2c08f6a 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestListOrganizations.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestListOrganizations.cs @@ -25,7 +25,7 @@ public async Task ListOrganizations0() { try { Request.ListOrganizations request = new Request.ListOrganizations( - "654f5056-d996-4868-bef0-1890baeca3c3" + "2b735359-6eb4-4812-a1dc-0b37275f6e63" ); Response.PaginatedOrganizations response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task ListOrganizations1() { try { Request.ListOrganizations request = new Request.ListOrganizations( - "654f5056-d996-4868-bef0-1890baeca3c3" + "2b735359-6eb4-4812-a1dc-0b37275f6e63" ) { - Code = "bdmmx3", + Code = "pIh03BvqB", }; Response.PaginatedOrganizations response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task ListOrganizations2() { try { Request.ListOrganizations request = new Request.ListOrganizations( - "654f5056-d996-4868-bef0-1890baeca3c3" + "2b735359-6eb4-4812-a1dc-0b37275f6e63" ) { - Name = "jJ", - Code = "Yo72YjP", + Name = "CzLjYHoO", + Code = "8zE", }; Response.PaginatedOrganizations response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -75,11 +75,11 @@ public async Task ListOrganizations3() { try { Request.ListOrganizations request = new Request.ListOrganizations( - "654f5056-d996-4868-bef0-1890baeca3c3" + "2b735359-6eb4-4812-a1dc-0b37275f6e63" ) { - PerPage = 5388, - Name = "pod5QaLC", - Code = "TmFLxumOn", + PerPage = 43, + Name = "65UlKt", + Code = "MCe", }; Response.PaginatedOrganizations response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -94,12 +94,12 @@ public async Task ListOrganizations4() { try { Request.ListOrganizations request = new Request.ListOrganizations( - "654f5056-d996-4868-bef0-1890baeca3c3" + "2b735359-6eb4-4812-a1dc-0b37275f6e63" ) { - Page = 4761, - PerPage = 6007, - Name = "upx", - Code = "16", + Page = 6222, + PerPage = 922, + Name = "UV", + Code = "2", }; Response.PaginatedOrganizations response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestListShops.cs b/src/PokepayPartnerCsharpSdk.Test/TestListShops.cs index bd2ca47..6c830dd 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestListShops.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestListShops.cs @@ -38,7 +38,7 @@ public async Task ListShops1() { try { Request.ListShops request = new Request.ListShops() { - PerPage = 5064, + PerPage = 9081, }; Response.PaginatedShops response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -53,8 +53,8 @@ public async Task ListShops2() { try { Request.ListShops request = new Request.ListShops() { - Page = 6150, - PerPage = 1031, + Page = 8540, + PerPage = 6567, }; Response.PaginatedShops response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -70,8 +70,8 @@ public async Task ListShops3() try { Request.ListShops request = new Request.ListShops() { WithDisabled = true, - Page = 516, - PerPage = 3314, + Page = 6857, + PerPage = 3927, }; Response.PaginatedShops response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -86,10 +86,10 @@ public async Task ListShops4() { try { Request.ListShops request = new Request.ListShops() { - ExternalId = "w", + ExternalId = "PvTnTR", WithDisabled = false, - Page = 986, - PerPage = 1660, + Page = 3043, + PerPage = 1796, }; Response.PaginatedShops response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -104,11 +104,11 @@ public async Task ListShops5() { try { Request.ListShops request = new Request.ListShops() { - Email = "75stQD6SAh@41fZ.com", - ExternalId = "i84vybd1Jsf0jR3rzbwtxyn2FAh1zUed", - WithDisabled = false, - Page = 4934, - PerPage = 8487, + Email = "AGxJFBzSBd@N9rH.com", + ExternalId = "7Ml90EeuZgaP20pyyEjfyZnRC", + WithDisabled = true, + Page = 1938, + PerPage = 4630, }; Response.PaginatedShops response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -123,12 +123,12 @@ public async Task ListShops6() { try { Request.ListShops request = new Request.ListShops() { - Tel = "04934109886", - Email = "vHVgjPvTnT@RbAG.com", - ExternalId = "JFBzSB", - WithDisabled = false, - Page = 5349, - PerPage = 5597, + Tel = "006113605", + Email = "o9BhqQxq9F@R8VF.com", + ExternalId = "gH7EAnlF", + WithDisabled = true, + Page = 4634, + PerPage = 9286, }; Response.PaginatedShops response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -143,13 +143,13 @@ public async Task ListShops7() { try { Request.ListShops request = new Request.ListShops() { - Address = "N9rH7Ml90EeuZgaP20pyyEjfyZnRCBHpzVqBZqNRFUo9BhqQxq9FR8VF2gH", - Tel = "064-399-326", - Email = "N0T80aLvrK@oRyT.com", - ExternalId = "gPVT4AzeoZEOYuu1RyqlWwyCN", + Address = "Mmyi8jmBN0T80aLvrKoRyTXgPVT4AzeoZEOYuu1RyqlWwyCNVezTDDCUN00F2Vhn3XqmCSMDzeEDKcNHBIUBy90lbfxByyLgJllatyS0exoVZwnX2Y3MjJVkSKFu78PD8Nsi0ghqRiHIikuwLQAi0YorDHLBFs4pFpuxUcIrb43g0nK7tb3btHVGJJQejQb3sdWfi2Z2Wvmx0ZqLEwxwj8U4A4KZBQdvuQb5QYDY", + Tel = "047396-6480", + Email = "tAXqf6uerX@tmVp.com", + ExternalId = "3iPqRhb6DnnO4ty38Ikh", WithDisabled = true, - Page = 9062, - PerPage = 6597, + Page = 4053, + PerPage = 2535, }; Response.PaginatedShops response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -164,14 +164,14 @@ public async Task ListShops8() { try { Request.ListShops request = new Request.ListShops() { - PostalCode = "483-3967", - Address = "00F2Vhn3XqmCSMDzeEDKcNHBIUBy90lbfxByyLgJllatyS0exoVZwnX2Y3MjJVkSKFu78PD8Nsi0ghqRiHIikuwLQAi0Yor", - Tel = "0322631", - Email = "4pFpuxUcIr@b43g.com", - ExternalId = "0nK7tb3btHVGJJQejQb3sdWfi2Z2Wvmx", + PostalCode = "511-1568", + Address = "FbA6TsT4rGSzhCtzrrQIFeK35Z3EF7SWnLL5qkYPGTd8wILW6Ubji6nDVo6kwtt0eE996vZBp0zzwPN5DIhcy9tg03Xeu2UN5sKl9fYJxmaO84WKiqpzyFwc0O5qDH6cAdyVZn4o55A5DSTN7FZ8Y8t8MIK7GdyM50", + Tel = "0194-3438", + Email = "a99m3Ela8z@cR94.com", + ExternalId = "Jg", WithDisabled = false, - Page = 1942, - PerPage = 1073, + Page = 329, + PerPage = 664, }; Response.PaginatedShops response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -186,15 +186,15 @@ public async Task ListShops9() { try { Request.ListShops request = new Request.ListShops() { - Name = "qLEwxwj8U4A4KZBQdvuQb5QYDYt7CyctlhtAXqf6uerXtmVp3iPqRhb6DnnO4ty38IkhtTfaQWLqhFbA6TsT4rGSzhC", - PostalCode = "4322619", - Address = "FeK35Z3EF7SWnLL5qkYPGTd8wILW6Ubji6nDVo6kwtt0eE996vZBp0zzwPN5DIhcy9tg03Xeu2UN5sKl9fYJxmaO84WKiqpzyFwc0O5qDH6cAdyVZn4o55A5DSTN7FZ8Y8t8MI", - Tel = "0518-4313", - Email = "TlXa99m3El@a8zc.com", - ExternalId = "R94JgHtiXrfi45gdORj3Jla3Pfb8OgNhh", + Name = "tiXrfi45", + PostalCode = "949-3423", + Address = "Jla3Pfb8OgNhhqnfBQjVsClPPd45bUBovESo5O7DwwlNZPFf6xG0YeVkLQLhc7hbuv3B8S8pH3eqOx8cOR3TFR9a8hMUMtt7RdIKeKSciqwdkkgvqZQpEwqxxIpXTryBWY7YmTtJYjps5n0FjmTFvO6PZjVX87", + Tel = "02-94-6201", + Email = "6fPXjhVlLp@Kgtr.com", + ExternalId = "0aXml0I8A7sPYx7KWs9G", WithDisabled = true, - Page = 9357, - PerPage = 3629, + Page = 5996, + PerPage = 7396, }; Response.PaginatedShops response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -209,16 +209,16 @@ public async Task ListShops10() { try { Request.ListShops request = new Request.ListShops() { - PrivateMoneyId = "4294a866-e4fb-4ddb-8251-6a6a3228145f", - Name = "sClPPd45bUBovESo5O7DwwlNZPFf6xG0YeVkLQLhc7hbuv3B8S8pH3eqOx8cOR3TFR9a8hMUMtt7RdIKeKSciqw", - PostalCode = "5487162", - Address = "qZQpEwqxxIpXTryBWY7YmTtJYjps5n0FjmTFvO6PZjVX87PLzR29oTCv16fPXjhVlLpKgtr0aXml0I8A7sPYx7KWs9GrfkcG", - Tel = "0080-547599", - Email = "gPlxnzpf9X@cHDi.com", - ExternalId = "w8sqMTw9CGMrpupnZP3tXLGdI4BQeMKNj", - WithDisabled = true, - Page = 7375, - PerPage = 4400, + PrivateMoneyId = "d0877ec7-ef46-4cab-80f8-b290b255e209", + Name = "kTYjYgPlxnzpf9XcHDiw8sqMTw9CGMrpupnZP3tXLGdI4BQeMKNjNC6v4LdJ9q0nifAUuGHUnCvc4A5HlCo2a7OllUlOCGYapVIyu0AtoOYT3", + PostalCode = "4888053", + Address = "XDGe31wijgcuuWSuuP7qXIDVYzNjNiLWADYEWxDRpy5o7rEN4eiDqYJVEg5UZOhJAbHwNLgu8Nky9WURMByjAKTzdQ2llGcXl5Cw9ahtSHvWHxDbu1GOKxoKM3BkiQ5JCNLUQPpDOoGNkBoKxTvABwe33", + Tel = "075-3765725", + Email = "JOyIcULWzr@NeMA.com", + ExternalId = "CItmOkY1pUONfZUthj8", + WithDisabled = false, + Page = 3077, + PerPage = 8091, }; Response.PaginatedShops response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -233,17 +233,17 @@ public async Task ListShops11() { try { Request.ListShops request = new Request.ListShops() { - OrganizationCode = "3O3UbVmd-", - PrivateMoneyId = "6c582c7c-e112-45b2-8024-7261075be237", - Name = "llUlOCGYapVIyu0AtoOYT3d8xXDGe31wijgcuuWSuuP7qXIDVYzNjNiLWADYEWxDRpy5o7rEN4eiDqYJVEg5UZOhJAbHwNLgu8Nky9WURMByjAKTzdQ2llGcXl5Cw9ahtSHvWHxDbu1GOKxoKM3BkiQ5JCNLUQPpDOoGNkBoKxTvABwe33UWeSzKCZwv4PwJOyIcULWzrNeMACIt", - PostalCode = "946-1005", - Address = "NfZUthj8CTdPwk2g7DYhFuXWtax2gH7mosTYAgSjd1Lu4N1G4DllEfWLsx2f1PjIk5LFEcZYZR1K1ULgGU5oSrsDCn36n92LJoBnxVWA0Bmx0P3sSh52djDx2E8q2Tl06IVYw4zb7KKLj26g9D4jd9Fi73fT2ekfbMypSoZArmvOOmVqy7LHITpCScM5po6zQrUB5yHtoGfycJYa", - Tel = "0939137673", - Email = "qnjKtXS5ct@b0sU.com", - ExternalId = "amQiJ", - WithDisabled = true, - Page = 2018, - PerPage = 9438, + OrganizationCode = "D--zW----4BMW", + PrivateMoneyId = "3a2a4b75-6eb4-4e3e-8eb1-752b0489a37e", + Name = "4DllEfWLsx2f1PjIk5LFEcZYZR1K1ULgGU5oSrsDCn36n92LJoBnxVWA0Bmx0P3sSh52djDx", + PostalCode = "2591234", + Address = "06IVYw4zb7KKLj26g9D4jd9Fi73fT2ekfbMypSoZArmvOOmVqy7LHITpCScM5po6zQrUB5yHtoGfycJYa2GIKQCGBFwcqnjKtXS5ctb0sUDam", + Tel = "0196166-731", + Email = "js1Uxv98uo@xa9c.com", + ExternalId = "qdBZBSSyuPsLg", + WithDisabled = false, + Page = 3762, + PerPage = 267, }; Response.PaginatedShops response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestListTransfers.cs b/src/PokepayPartnerCsharpSdk.Test/TestListTransfers.cs index a74aa6e..a9daa45 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestListTransfers.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestListTransfers.cs @@ -38,7 +38,7 @@ public async Task ListTransfers1() { try { Request.ListTransfers request = new Request.ListTransfers() { - Description = "pwhPzDe8V1DYdcKn6nAl4cEX71br7jv7EDkwXN76HyKk1SGbd2fzw9nBiKXYeHN7C4dOhcXyEVzhZku2OJwUM0ktk1yse4CdNhZgpKbkXWC5tLFNUhqVPCyC44juCu", + Description = "fYseOtl3ilNOPpyIVjtUkLTSkOKux630Id9YuKsTGECVvJsAnqjel2la3rWWdK2yb", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -53,8 +53,8 @@ public async Task ListTransfers2() { try { Request.ListTransfers request = new Request.ListTransfers() { - TransferTypes = new string[]{"coupon", "exchange", "payment", "transfer", "topup"}, - Description = "ti8QhcNElbkx4K7ompotaJBLyz8KN17fLxPU1GvU5oJnH6hO", + TransferTypes = new string[]{"payment", "campaign"}, + Description = "kZzBktm983ksDdKfbC96DBMvuC0QTfx8l2ZZBjyQqeO19KhFrkxiVRAQ6FFjz1wnjIRjO9MofqJJncHBCR1qP1zId4mLJCzHpOgkhaasWI8ELqJwRA62Ghe0ne6pcNR1V7JprfFD47gNL9WM6cSeojzOZZrLxO3x6r1ViuOnspa8l8Ox", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -69,9 +69,9 @@ public async Task ListTransfers3() { try { Request.ListTransfers request = new Request.ListTransfers() { - TransactionTypes = new string[]{"transfer", "topup"}, - TransferTypes = new string[]{"exchange", "expire", "campaign", "coupon"}, - Description = "xOmphkziTG6p4HsLeIcNrFvlQBIX1JBgnrD1yLFlL5kbgs6xUgxf5sOofYseOtl3ilNOPpyIVjtUkLTSkOKux630Id9YuKsTGECVvJsAnqjel2la3rWWdK", + TransactionTypes = new string[]{"payment", "topup", "cashback"}, + TransferTypes = new string[]{"topup", "campaign", "coupon"}, + Description = "hXHGSVgVcs3OQMdHqZLlv01wGqOn2jIsFsWbo7bpQq9anT6PszkN335U1t4DYsuiE88p3Hog0k8dxuKgCFI0Qv1brn8ATMTNMMEyVApkaDeYuO", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -87,9 +87,9 @@ public async Task ListTransfers4() try { Request.ListTransfers request = new Request.ListTransfers() { IsModified = true, - TransactionTypes = new string[]{"transfer", "topup", "payment", "expire", "exchange"}, - TransferTypes = new string[]{"coupon", "campaign", "exchange", "payment"}, - Description = "kZzBktm983ksDdKfbC96DBMvuC0QTfx8l2ZZBjyQqeO19KhFrkxiVRAQ6FFjz1wnjIRjO9MofqJJncHBCR1qP1zId4mLJCzHpOgkhaasWI8ELqJwRA62Ghe0ne6pcNR1V7JprfFD47gNL9WM6cSeojzOZZrLxO", + TransactionTypes = new string[]{"transfer", "cashback", "payment", "exchange"}, + TransferTypes = new string[]{"coupon", "exchange", "cashback", "payment", "expire", "campaign", "topup", "transfer"}, + Description = "SE7B5wsqfAkho5yO5EQGpb9AHk6UF1UjWUyw97H5Wi0UlM5hWRopq8fm3QjwrUJDS6QIEgbGEOQG1PZp7fj", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -104,11 +104,11 @@ public async Task ListTransfers5() { try { Request.ListTransfers request = new Request.ListTransfers() { - PrivateMoneyId = "8513e314-3097-4000-b3f8-8123742a7b0f", - IsModified = true, - TransactionTypes = new string[]{"transfer", "topup", "expire"}, - TransferTypes = new string[]{"expire"}, - Description = "uOnspa8l8OxqMpLrB8ZQmhXHGSVgVcs3OQMdHqZLlv01wGqOn2jIsFsWbo7bpQq9anT6PszkN335U1t4DYsuiE88p3Hog0k8d", + PrivateMoneyId = "04d93664-7509-48b9-a431-d41b9040920f", + IsModified = false, + TransactionTypes = new string[]{"topup"}, + TransferTypes = new string[]{"expire", "payment", "topup"}, + Description = "HtL55R7YEprCJ0U4QnLZWmGvTqLQwaZ9vOnv67spoRoPKUgWvYVa3Gv9xbfzvgScohGvfvszF", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -123,12 +123,12 @@ public async Task ListTransfers6() { try { Request.ListTransfers request = new Request.ListTransfers() { - TransactionId = "f3a4f9f8-fd20-4475-8b9c-7385002d9309", - PrivateMoneyId = "f7a4d240-a8e7-44a7-9c43-ad0d133c6246", + TransactionId = "1bbc147c-7c9e-483e-a15a-0e88db95cda3", + PrivateMoneyId = "5ceaf1cb-65da-4330-a6f3-b303d9cb8c18", IsModified = false, - TransactionTypes = new string[]{"cashback", "payment"}, - TransferTypes = new string[]{"coupon", "transfer", "topup", "payment", "exchange", "campaign"}, - Description = "TMTNMMEyVApkaDeYuOtBoCZgc4gwc8RSE7B5wsqfAkho5yO5EQGpb9AHk6UF1UjWUyw97H5Wi0UlM5hWRopq8fm3QjwrUJDS6QIEgbGEOQG1PZp7fjd91zgh1RHHtL55R7YEprCJ0U4QnLZWmGvTqL", + TransactionTypes = new string[]{"payment", "exchange", "cashback", "expire", "topup"}, + TransferTypes = new string[]{"payment"}, + Description = "4uLXeppDXZ9aq2pYugtiiL7qWoYElTKmZkEzCv7OKUa8NeEnF41oUMWRj1sxtSyQgT1GkRhboXHY39x", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -143,13 +143,13 @@ public async Task ListTransfers7() { try { Request.ListTransfers request = new Request.ListTransfers() { - CustomerName = "QwaZ9vOnv67spoRoPKUgWvYVa3Gv9xbfzvgScohGvfvszFZKZ0fsirdyb8N5N4uLXeppDXZ9aq2pYugtiiL7qWoYElTKmZkEzCv7OKUa8NeEnF41oUMWRj1sxtSyQgT1GkRhboXHY39x3Xs6KbKOjUQYLsphxNcJXceDU", - TransactionId = "fe2005fe-a382-4194-b730-dccb1fff9f52", - PrivateMoneyId = "f0ae37db-86c7-45d5-b0fc-3087596f0432", + CustomerName = "3Xs6KbKOjUQYLsphxNcJXceDU70KRGU02ETtMe3p5BruF5QOJx8zwWTQtwhgEUQrpqVtFI20RqU84wWVej7KjR7PO79YOuc2btzI2HvKaIy1dRKuzOlLMmdBSZr2", + TransactionId = "8b9f6fe0-4c3d-4d32-a05f-c8309c7dbbfe", + PrivateMoneyId = "8ab2aff8-5574-45da-bf70-175a24ba0113", IsModified = false, - TransactionTypes = new string[]{"cashback", "expire", "payment", "exchange", "transfer"}, - TransferTypes = new string[]{"campaign", "cashback", "payment"}, - Description = "uF5QOJx8zwWTQtwhgEUQrpqVtFI20RqU84wWVej7KjR7PO79YOuc2btzI2HvKaIy1dRKuzOlLMmdBSZr220xtZpZdQ9ssluYJHAlylPpV6xWxt7f2oLFlgp2lLhVbHghg4lZSVxXqYiDQPFv2xIXmI4PlPvyiodipyOhBLv", + TransactionTypes = new string[]{"cashback", "transfer"}, + TransferTypes = new string[]{"transfer", "expire", "payment", "exchange"}, + Description = "luYJHAlylPpV6xWxt7f2oLFlgp2lLhVbHghg4lZSVxXqYiDQPFv2xIXmI4PlPvyiodipyOhBLvJd18F7msVClYIZ6Bq4ZCm153pAwidsKM1ZphpLhv7NIoqmlJpzKOYIsRtFF9xx8GHcZXN3Xa70o7nFXURkjCcagg1x0DCy4shXKR7nTWCyIt3Gr6ubU", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -164,14 +164,14 @@ public async Task ListTransfers8() { try { Request.ListTransfers request = new Request.ListTransfers() { - CustomerId = "a76fc7ae-3bca-4b02-8064-e3b10a1d36b8", - CustomerName = "7msVClYIZ6Bq4ZCm153pAwidsKM1ZphpLhv7NIoqmlJpzKOYIsRtFF9xx8GHcZXN3Xa70o7", - TransactionId = "7fc65c90-b7ee-46a2-8f16-d4bce6538980", - PrivateMoneyId = "c8e54946-8dae-4458-95d2-561929532720", + CustomerId = "a872b993-c3d1-4b52-8c69-7b79324f1a83", + CustomerName = "cmsaOa8T2aG0PP6tnqH", + TransactionId = "81265810-55ee-430a-b56f-379cbdba6293", + PrivateMoneyId = "41d52a55-b7c9-4890-8c0e-d04fd5cc7292", IsModified = false, - TransactionTypes = new string[]{"exchange", "topup", "expire", "cashback", "transfer"}, - TransferTypes = new string[]{"transfer", "exchange", "payment", "topup", "campaign"}, - Description = "y4shXKR7nTWCyIt3Gr6ubUQRiycmsaOa8T2aG0PP6tnqHnuoUILOizvfJbTrh0kbVP56HQVtzlq6MKoBezSZGJZ1h8km3mkAPAZ0UMnnwlo100h7H4BT2IdLeJZDTCEki4ZW2q7YUbIlt759XkPd0Pd9Lm5F7XmpoqfPmIraGVhsLJiqbQ3MQR9CltXlG6ahNcft", + TransactionTypes = new string[]{"transfer", "topup", "expire"}, + TransferTypes = new string[]{"payment", "campaign", "cashback"}, + Description = "h0kbVP56HQVtzlq6MKoBezSZGJZ1h8km3mkAPAZ0UMnnwlo100h7H4BT2IdLeJZDTCEki4ZW2q7YUbIlt759XkPd0Pd9Lm5F7XmpoqfPmIraGVhsLJi", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -186,15 +186,15 @@ public async Task ListTransfers9() { try { Request.ListTransfers request = new Request.ListTransfers() { - ShopName = "2PrlsKWxGtQj4OhVmQAfFvVtR4Fr5En7ms3KrOq6LmEP7tafjyhKgvwh227cUJMuQ1t83oitBAmKCKeNp7Z6KeHafoOKYuUs7zf9dIsiva1vYlz4sIXfB3ep9eHnNy54z9YZjsWtY1WGlubcf8poH65gFI1eD4xOb3KkBBLymzX1iKABzsa", - CustomerId = "c1a6bd6c-76d1-443f-a839-7165e1773108", - CustomerName = "t3sJPwGPZVdfeHb6D60qrRKjcydAgQf1k", - TransactionId = "783c8b6a-bf2c-49e7-b985-d26ca216db3e", - PrivateMoneyId = "1bb9e055-507d-44c4-9420-a54b3ef84e7c", + ShopName = "bQ3MQR9CltXlG6ahNcft22PrlsKWxGtQj4OhVmQAfFvVtR4Fr5En7ms3KrOq6LmEP7tafjyhKgvwh227cUJMuQ1t83oitBAmKCKeNp7Z6KeHafoOKYuUs7zf9dIsiva1vYlz4sIXfB3ep9eHnNy54z9YZjsWtY1WGlubcf8poH65gFI1eD4xOb3KkBBLymzX1iKABzsalQh9et3sJPwGPZVdfeHb6D60qrRKjcydAgQf1kjgyl", + CustomerId = "a216db3e-e055-407d-8454-7f203608a54b", + CustomerName = "4jhJH0jAjNW1ZH6MoDDkoySCPKncEWYebt4RUGRqT3wcuceySCabxrgTXSxZbg1Ud9jBS9CQqv6T7eIQXHJd8SnpNPnO39WNWvjXlHUhCIHkbLQ7KL6y3Sdoxdn1t", + TransactionId = "89a2b970-7359-474d-b17d-a59dde6fbcfa", + PrivateMoneyId = "00ea253d-9735-4658-92cd-0b8ba8f1f7a5", IsModified = true, - TransactionTypes = new string[]{"cashback"}, - TransferTypes = new string[]{"exchange", "payment", "coupon", "campaign", "transfer", "expire", "cashback", "topup"}, - Description = "1ZH6MoDDkoySCPKncEWYebt4RUGRqT3wcuceySCabxrgTXSxZbg1Ud9jBS9CQqv6T7eIQXHJd8SnpNPnO39WNWvjXlHUhCIHkbLQ7KL6y3Sdoxdn1tpYM1z5XMrmRY7bQCW9sPYWAKIaPAnlgG8mho7qKj", + TransactionTypes = new string[]{"transfer"}, + TransferTypes = new string[]{"coupon", "exchange", "topup", "payment", "transfer"}, + Description = "sPYWAKIaPAnlgG8mho7qKjeP1Vs1el3tVDmtz0qcHqLIsXtLIzc5kRp3WnRoU2x23XKfAMBShU6I6qbRRo0KsKQjbIFpDLYbM", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -209,16 +209,16 @@ public async Task ListTransfers10() { try { Request.ListTransfers request = new Request.ListTransfers() { - ShopId = "9c1efafb-10db-4f7e-88ad-a9958194753e", - ShopName = "eP1Vs1el3tVDmtz0qcHqLIsXtLIzc5kRp3WnRoU2x23XKfAMBShU6I6qbRRo0KsKQjbIFpDLYbMMvlh9JCT1xGcQLRIyKzcfWhCzi1Z89pSvPCqCpyLyZq50fssjoNHBAUn0qZzCUWIZlu3nVCPUHg3HpQOkzK7LlGZ5l2cQL9XINJ3Yd9vs5R5vReMbbV", - CustomerId = "cdf887a9-a958-4d92-b829-5fc0be9f4428", - CustomerName = "S4JwKvfQBXbwG5FfObbKUS2wO8JUS6TcMNwfudd0OcDN26kEZNJtfvLzUTMMVxGv3INa5f54YI1Ph3OUBAsVaG6TxK3slQw2Vv1qEnKcaw1pz9vX015UD9qqTdXnkHVwtuWRPDBo28vDsYr2EOFyjAKpCpIzZXmsoGSwaJTi7OUK0vKQ13gfO1QSAIUcA7AjSSLuHYzu2", - TransactionId = "4f4a3752-fbbc-44e1-94b1-0642498a5e4d", - PrivateMoneyId = "2988ca45-e672-4f36-a2e0-97a6ca43127d", + ShopId = "842d3d3b-c82a-4a4d-b66c-7e68331ed7bd", + ShopName = "JCT1xGcQLRIyKzcfWhCzi1Z89pSvPCqCpyLyZq50fssjoNHBAUn0qZzCUW", + CustomerId = "0e5e3040-f1c9-415a-ac0f-5ef5c040ff28", + CustomerName = "3nVCPUHg3HpQOkzK7LlGZ5l2cQL9XINJ3Yd9vs5R5vReMbbVX8HS4JwKvfQBXbwG5FfObbKUS2wO8JUS6TcMNwfudd0OcDN26kEZNJtfvLzUTMMVxGv3INa5f54YI1Ph3OUBAsVaG6TxK3slQw2Vv1qEnKcaw1pz9", + TransactionId = "31f1b676-cd89-4084-981a-e0b0a791fab1", + PrivateMoneyId = "6b8ad335-c41a-4024-90a4-d77fb1d4dc55", IsModified = true, - TransactionTypes = new string[]{"topup", "expire", "payment", "exchange", "cashback", "transfer"}, - TransferTypes = new string[]{"expire", "exchange", "payment", "coupon", "transfer", "campaign", "topup"}, - Description = "nkoel9aDgdNSfmE5De5bTvMyH", + TransactionTypes = new string[]{"cashback"}, + TransferTypes = new string[]{"exchange", "campaign", "cashback", "transfer", "payment"}, + Description = "HVwtuWRPDBo28vDsYr2EOFyjAKpCpIzZXmsoGSwaJTi7OUK0vKQ13gfO1QSAIUcA7AjSSLuHYzu2Ra1BMEr62gevnEoyfpAANnkoel9aDgdNSfmE5De5bTvMyHpd2S0WD3FaqRKAgoYEGpNOGz", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -233,17 +233,17 @@ public async Task ListTransfers11() { try { Request.ListTransfers request = new Request.ListTransfers() { - PerPage = 9500, - ShopId = "f2e34398-29f0-42e4-92b2-c05347aff9a5", - ShopName = "WD3FaqRKAgoYEGpNOGzwWmNqL0QHxylFWlu94S8FVSDMY5BU7", - CustomerId = "0c99275a-0918-4558-92a8-7ad4bdd55de6", - CustomerName = "NFoNra90XKkUB3tuq1X9Hm0SHBKCUruJxi1ST1WXtfeKSzrq1Zc5Ju53UYOCwl5C8rEq5yNfh8NoRe5rX0rVCmpqdlLHNNlbdnW1ooZFRDSiyltrhPzNi7jenj4X3xdXKxR7POl5XLEB6rdcoyFq3Dy2RXyPUAe3PgOIxNaz33MDlMm45c417ClVPZadCz21oTLg0Zh082rSUmgTJgltXUvopMAE6nKVgCC79b4Ei190OQ7", - TransactionId = "690d1c80-d2a5-49b1-951a-ba24c2bf351a", - PrivateMoneyId = "3180df2a-96c3-414c-abfd-578c81837bae", - IsModified = false, + PerPage = 1561, + ShopId = "132c0fae-e657-436d-8e1b-1e71182d6316", + ShopName = "0QHxylFWlu94S8FVSDMY5BU7ZXRTfnNFoNra90XKkUB3tuq1X9Hm0SHBKCUruJxi1ST1WXtfeKSzr", + CustomerId = "7f9a0197-fd9e-4a8f-8a71-dd311d7e3e5a", + CustomerName = "5Ju53UYOCwl5C8rEq5yNfh8NoRe5rX0rVCmpqdlLHNNlbdnW1ooZFRDSiyltrhPzNi7jenj4X3xdXKxR7POl5XLEB6rdcoyFq3Dy", + TransactionId = "bff07413-59b2-4822-9258-41f94cca9fd0", + PrivateMoneyId = "2ca5e255-8b41-461b-a5bd-2433e05ecdd0", + IsModified = true, TransactionTypes = new string[]{"transfer"}, - TransferTypes = new string[]{"coupon"}, - Description = "HUHlo8UiDVjyL8K2mxNxSNDBAB21jRDnDfUt4YgIyZaTsiHOmcCShoExxXDzwmu0NmtxroKVUk7sDu4lw8ZxL5ooBCUmbexHlOYPdRDRXfcFEKebPAHiatKRmL7K8IMJIBW1vB1RC8WQ75Zq2CPEph5LyiHrKKZHYeA6KMsRSBkbfNhFwjSSUkqouGV2UL", + TransferTypes = new string[]{"campaign", "expire", "transfer", "topup", "cashback", "coupon"}, + Description = "lMm45c417ClVPZadCz21oTLg0Zh082rSUmgTJgltXUvopMAE6nKVgCC79b4Ei190OQ71C", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -258,18 +258,18 @@ public async Task ListTransfers12() { try { Request.ListTransfers request = new Request.ListTransfers() { - Page = 2347, - PerPage = 1781, - ShopId = "4795060b-12e6-4db3-8b7f-914cb8b56a94", - ShopName = "Om0u6OdTYvY1WMa6BMdHbor9Bi8VjYjeAF8N8XvRYyNjj6LzPNoFY0NPc7gW3tdaerbfAUj6MGuDCQRgbbh69IfOOqdFvcvTYHWhMSc2JtDSCuxpXIBKjX0wbEINtuhWyJmxhctiEpL1KlL20SY28CEIpXvCz2lX0WFgkUTJYHHOr63hjnglJCcSZdRjCOwyap0lsb8d4Dc5yMU1TN0yX6wxY6IPoPyEr8klncfGkE", - CustomerId = "5d7c5eaa-f7f7-4b48-9642-40af7cf3843a", - CustomerName = "WOqOmjPQjCJIqduyEzf", - TransactionId = "ecdad846-1834-4769-a83d-b6a3b8ddc6a2", - PrivateMoneyId = "889f92c5-0dcd-49ee-b1c9-8c64aa302da7", - IsModified = true, - TransactionTypes = new string[]{"cashback", "topup", "exchange", "transfer", "payment"}, - TransferTypes = new string[]{"coupon", "cashback", "campaign", "expire"}, - Description = "Tmgqj81RXJ34GFY2SrpQfm9Le0rSPWlrPa8fbLwdjVaS9JydpHqXjqW7D3u", + Page = 9260, + PerPage = 3326, + ShopId = "d5a5578c-7bae-47a3-aa99-f5637047a47a", + ShopName = "dkHUHlo8UiDVjyL8K2mxNxSNDBAB21jRDnDfUt4YgIyZaTsiHOmcCShoExxXDzwmu0NmtxroKVUk7sDu4lw8ZxL5ooBCUmbexHlOYPdRDRXfcFEKebPAHiatKRmL7K8IMJIBW1vB1RC8WQ75Zq2CPEph5LyiHrKKZHYeA6KMsRSBkbfNhFwjSSUkqouGV2ULftf3KLiOm0u6OdTYvY1WMa6BMdHbor9Bi8VjYjeAF8N8XvRY", + CustomerId = "46cf188d-37f9-4290-8e7c-416a33d4dc6a", + CustomerName = "LzPNoFY0NPc7gW3tdaerbfAUj6MGuDCQRgbbh69IfOOqdFvcvTYHWhM", + TransactionId = "37e281d3-ae63-46b2-944a-792362a8a6f4", + PrivateMoneyId = "993c813a-a344-4a81-98d3-2cc37103ef75", + IsModified = false, + TransactionTypes = new string[]{"expire"}, + TransferTypes = new string[]{"topup", "exchange", "transfer", "payment"}, + Description = "wbEINtuhWyJmxhctiEpL1KlL20SY28CEIpXvCz2lX0WFgkUTJYHHOr63hjnglJCcSZdRjCOwyap0lsb8d4Dc5yMU1TN0yX6wxY6IPoPyEr8klncfGkEwHBWOqOmjPQjCJIqduyEzfF4ihEMnqIdNLL8T5msTmgqj81RXJ34GFY2SrpQfm", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -284,19 +284,19 @@ public async Task ListTransfers13() { try { Request.ListTransfers request = new Request.ListTransfers() { - To = "2024-01-14T05:29:03.000000Z", - Page = 1476, - PerPage = 3400, - ShopId = "205e3ebd-da43-4409-a4a0-6f1a212ae5c5", - ShopName = "3Z7gIcLSudPl4JIrQmLFWJxcGB9NLriuIsMTY", - CustomerId = "c884d81c-e079-4643-956f-ec8785993e20", - CustomerName = "Ea9YZaUNPTMagDSPeHLGCGYvgqbqCIdoPTyGfjAlvbOwBRftL3mTfJhTjDs9c8QNUGvnht1UycVdhwjqe7Rve16qe5BUa3mrtCxkktMbdZ0Ff5nebRZC0vDYNEWMfxXSVHRY4YZdsEswklf9tWgAr9KxjsUzeefEvU98BI4BdtnYVFOF5IXA6lNw66Yqs62ry4EX0H5SsjBGi2vt", - TransactionId = "222b6c33-7a49-4c0f-9520-d25668c91d0e", - PrivateMoneyId = "eb816512-2ccc-447f-b56a-e8e671200aef", + To = "2023-09-01T01:03:55.000000Z", + Page = 2918, + PerPage = 2353, + ShopId = "21b93e60-808f-421a-bd2c-1472fc648820", + ShopName = "PWlrPa8fbLwdjVaS9JydpHqXjqW7D3uCGCdE3Z7gIcLSudPl4JIrQmLFWJxcGB9NLriuIsMTYyCUoOEa9YZaUNPTMagDSPeHLGCGYvgqbqCIdoPTyGfjAlvbOwBRftL3mTfJhTjDs9c8QNUGvnht1UycVdhwjqe7Rve16qe5BUa3mrtCxkktMbdZ0Ff5nebRZC0vDYNEWMfxXSVHRY4Y", + CustomerId = "fa5dc01a-235a-4222-900f-566473205bf3", + CustomerName = "Eswklf9tWgAr9KxjsUzeefEvU98BI4BdtnYVFOF5IXA6lNw66Yqs62ry4EX0H5SsjBGi2vt3IVLujfoeXIyA6Ao821XE55hc29pv4sZBooZY5wA4Og2kdAYLVTxSOsaSsUmdY0CLc", + TransactionId = "15705c66-3d97-463f-9cef-512191c03a5f", + PrivateMoneyId = "8ddef3d5-d37e-434d-86a2-f40b89980b53", IsModified = false, - TransactionTypes = new string[]{"cashback", "payment"}, - TransferTypes = new string[]{"cashback", "exchange", "transfer", "coupon", "campaign", "topup", "expire", "payment"}, - Description = "821XE55hc29pv4sZBooZY5wA4Og2kdAYLVTxSOsaSsUm", + TransactionTypes = new string[]{"cashback", "exchange"}, + TransferTypes = new string[]{"coupon"}, + Description = "C6otpSw3LnpbrPkZnNjPW", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -311,20 +311,20 @@ public async Task ListTransfers14() { try { Request.ListTransfers request = new Request.ListTransfers() { - From = "2022-12-10T09:24:52.000000Z", - To = "2021-07-25T19:32:46.000000Z", - Page = 6618, - PerPage = 3324, - ShopId = "ba286b8d-ed96-40b0-a543-52ccbc8bdf9f", - ShopName = "foUMFSIdEJMG98zC6otpSw3LnpbrPkZnNjPWO55U7DSfY3LgW5M2IvR52CgIBy3eLTys12HHDFFeqLoUtYmfM0XLYceQxhubY3jVYhbh4RW4SjcPHu2gIp7HlCgxYlFZzBuHZ8tjsh68ScZg3aAMErPcV9o0TcGJkIJgRMahTjY4B83KCbssdnciBK2yKUyBpazsFHLyPhoCqWWrzikH0DrThI9ndCARX9iZ", - CustomerId = "7afd2ae8-1a80-458d-9549-3a776cc20ad5", - CustomerName = "rsQ8Uijo55dyiBxXbKWYhqIQcADAJhWFwASll2hGkEzja1NmQHCUATGGz590dt", - TransactionId = "26c5edc2-8a24-423f-a8a4-b3751a2517e3", - PrivateMoneyId = "22566fa2-8dbd-435a-a428-c3241f164cb4", + From = "2023-08-18T15:05:51.000000Z", + To = "2023-03-01T19:39:56.000000Z", + Page = 2230, + PerPage = 1954, + ShopId = "a2066044-b953-4abd-a685-8ad95fb37133", + ShopName = "gW5M2IvR52CgIBy3eLTys12HHDFFeqLoUtYmfM0XLYceQxhubY3jVYhbh4RW4SjcPHu2gIp7HlCgx", + CustomerId = "457d80bc-fed9-4e6c-9646-809a30b6a25a", + CustomerName = "zBuHZ8tjsh68ScZg3aAMErPcV9o", + TransactionId = "ffbf5030-1754-4000-8285-77636e4fd8c7", + PrivateMoneyId = "fd6f07a7-b84a-4124-a026-46072c485deb", IsModified = false, - TransactionTypes = new string[]{"expire", "topup", "transfer", "payment", "cashback"}, - TransferTypes = new string[]{"exchange", "topup", "transfer"}, - Description = "mxJUnd92RrjDmsbpR1t9xme9U0GR2pRvNpULEoTr6H5p2Y5YBaOZdS1seolNILNbVpFGvZ3N4x3uva", + TransactionTypes = new string[]{"transfer", "expire", "payment", "topup"}, + TransferTypes = new string[]{"payment", "exchange"}, + Description = "4B83KCbssdnciBK2yKUyBpazsFHLyPhoCqWWrzikH0DrThI9ndCARX9iZhUIwUrsQ8Uijo55dyiBxXbKWYhqIQcADAJhWFwASll2hGkEzja1NmQHCUATGGz590dtBhucZ4e0BzAWy80f2MmxJUnd92RrjDmsbpR1t9xme9U0GR2", }; Response.PaginatedTransfers response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestListTransfersV2.cs b/src/PokepayPartnerCsharpSdk.Test/TestListTransfersV2.cs index 321da68..a42e814 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestListTransfersV2.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestListTransfersV2.cs @@ -38,7 +38,7 @@ public async Task ListTransfersV21() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - To = "2023-05-03T19:18:45.000000Z", + To = "2021-03-28T22:16:50.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -53,8 +53,8 @@ public async Task ListTransfersV22() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - From = "2020-06-21T14:46:24.000000Z", - To = "2021-11-24T11:20:02.000000Z", + From = "2022-10-27T02:06:39.000000Z", + To = "2024-02-01T22:04:49.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -69,9 +69,9 @@ public async Task ListTransfersV23() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - Description = "2Ii4C82SzJJG4lODNS2Ij7U5b72UTWbjXGfzCmZ2vkYmrCrWwA7IkDmk9acr8tX9JQSHyiFoseHqYyK8GIOW0PGU45uzPdd0dJeNNvUC0bqs1hvmd5I8evbrAQGpnYomE2cpD4cThkIOO2LW0e3G1sTmjjHcN57ZbAikJ2opGyr1ja3zum", - From = "2021-06-17T22:57:58.000000Z", - To = "2020-05-02T02:10:38.000000Z", + Description = "pULEoTr6H5p2Y5YBaOZdS1seolNILNbVpFGvZ3N4x3uvaLnbw12Ii4C82SzJJG4lODNS2Ij7U5b72UT", + From = "2024-04-07T00:56:55.000000Z", + To = "2020-01-22T13:39:45.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -86,10 +86,10 @@ public async Task ListTransfersV24() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - TransferTypes = new string[]{"expire", "cashback", "campaign", "coupon", "exchange", "topup", "transfer", "payment"}, - Description = "mwZnfGMQasC1yb1Dq2UL9Kx0jYk7sZRicOTg23f5GXrX6ozTzm0HG0TosxKz4jitwHtujKhwCFGwiyv4vlRBRxfHZeKBVf4jVtecQNubIdHetIBPUrvpeN86f46tWgyM43AJZ0KTwWOYBSX4EzfsIiIDCSxoowq", - From = "2020-06-14T10:18:31.000000Z", - To = "2022-08-27T21:00:31.000000Z", + TransferTypes = new string[]{"cashback", "transfer", "exchange", "coupon", "payment", "expire"}, + Description = "mZ2vkYmrCrWwA7IkDmk9acr8tX9JQSHyiFoseHqYyK8GIOW0PGU45uzPdd0dJeNNvUC0", + From = "2021-06-25T08:31:30.000000Z", + To = "2022-05-10T23:17:05.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -104,11 +104,11 @@ public async Task ListTransfersV25() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - PerPage = 867, - TransferTypes = new string[]{"payment", "expire", "exchange"}, - Description = "K8plKuk4zON6lsKCXAkk07Q9YuV27x2ZZwJNPJ0aXH1uRWCYsw6VRBfXAF7xeoT0y6lNlDnKEOyMV89HUL5OwvTmfkSpdcLQvsJQRiuvWpRkphzntqbTr2vHF1iF0Y7dBxe8hiTzwkLtzBfAa7kaQm6vULSy1FKdTtu83N0tnRGbdpbMjOs6N", - From = "2022-09-16T09:16:26.000000Z", - To = "2023-08-15T02:45:41.000000Z", + PerPage = 10, + TransferTypes = new string[]{"topup", "coupon", "transfer", "exchange", "cashback", "campaign", "payment"}, + Description = "md5I8evbrAQGpnYomE2cpD4cThkIOO2LW0e3G1sTmjjHcN57ZbAikJ2opGyr1ja3zumve771kQ7mwZnfGMQasC1yb1Dq2UL9Kx0jYk7sZRicOTg23f5GXrX6ozTzm0HG0TosxKz4jitwHtujKhw", + From = "2020-06-10T10:23:24.000000Z", + To = "2020-02-27T12:23:59.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -123,12 +123,12 @@ public async Task ListTransfersV26() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - PrevPageCursorId = "3e379615-3622-40e1-a9ab-5ac4da3f4b3a", - PerPage = 157, - TransferTypes = new string[]{"coupon", "transfer"}, - Description = "7BQ6AmswdAM3IJrwVbs9pMxfMCthiv1a2EEHFmQw4OmJsXraAGliEBPmHrH76ocsr7yZptwOIMGRxZLktLdV7uiWarFr5GP0wp4l70ZsGyPlyZYRURgUMf0P5ozHDn0iOeoWIRRMyR", - From = "2021-04-05T06:39:38.000000Z", - To = "2020-02-17T22:22:19.000000Z", + PrevPageCursorId = "945ca1f7-55e9-4f79-bb85-da191976c705", + PerPage = 797, + TransferTypes = new string[]{"cashback", "campaign", "topup"}, + Description = "RBRxfHZeKBVf4jVtecQNubIdHetI", + From = "2023-11-03T10:10:38.000000Z", + To = "2020-11-09T06:14:26.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -143,13 +143,13 @@ public async Task ListTransfersV27() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - NextPageCursorId = "8cb21b81-e7aa-40a7-91eb-df802a5c5881", - PrevPageCursorId = "d8c043e8-4eb8-465e-a11b-8dda7a8dfa23", - PerPage = 299, - TransferTypes = new string[]{"exchange", "cashback"}, - Description = "OPKR0rUW9UTcnGDBsZuPfABdiNvfS9Anufij6THnocikBJOkD3FvwnaI0WeOGlWmmegc1KGhe3TxnuKac7CS1DK4Gnrr3oBLGMXHrz9mqfRhRmUp8pN9pjtBKEK15Dd3XxCT0Zmu6u", - From = "2021-06-03T11:54:54.000000Z", - To = "2023-02-10T00:37:35.000000Z", + NextPageCursorId = "4b714bd0-b38c-440c-9593-703fc8007572", + PrevPageCursorId = "719a092d-0ef6-4cf0-a50a-22ceae10f8fd", + PerPage = 569, + TransferTypes = new string[]{"cashback", "transfer", "topup", "expire", "campaign"}, + Description = "gyM43AJZ0KTwWOYBSX4EzfsIiIDCSxoowqwobMRj4K8plKuk4zON6lsKCXAkk07Q9YuV27x2ZZwJNPJ0aXH1uRWC", + From = "2020-12-20T16:54:05.000000Z", + To = "2022-11-10T17:29:27.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -164,14 +164,14 @@ public async Task ListTransfersV28() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - TransactionTypes = new string[]{"topup", "payment", "expire", "cashback", "transfer", "exchange"}, - NextPageCursorId = "5bec4cee-6f81-4bde-a5dc-47dd217737ce", - PrevPageCursorId = "bb855f61-1a74-4e47-a8de-6dbfb8c6c606", - PerPage = 637, - TransferTypes = new string[]{"expire", "campaign", "payment", "topup", "exchange", "transfer", "coupon"}, - Description = "SeZXyMS6WkNJ2GvSwQUcruYP4H5cCw5ExNqh41OXXFwVmaHYw6oEFbK8", - From = "2021-11-27T05:19:55.000000Z", - To = "2023-11-24T11:05:02.000000Z", + TransactionTypes = new string[]{"expire", "exchange", "cashback"}, + NextPageCursorId = "48f6f858-9a18-4860-8146-fbb73e1a5e78", + PrevPageCursorId = "28058465-86ae-48ef-a0d4-aca810e6a992", + PerPage = 817, + TransferTypes = new string[]{"payment", "cashback", "topup", "expire"}, + Description = "KEOyMV89HUL5OwvTmfkSpdcLQvsJQRiuvWpRkphzntqbTr2vHF1iF0Y7dBxe8", + From = "2023-03-16T16:33:44.000000Z", + To = "2022-12-04T08:35:53.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -187,14 +187,14 @@ public async Task ListTransfersV29() try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { IsModified = true, - TransactionTypes = new string[]{"payment", "expire"}, - NextPageCursorId = "3405f240-8da3-4c0a-aac9-83e9c7fb400a", - PrevPageCursorId = "ac2d57bd-0f35-4b3d-b1d9-31545b075671", - PerPage = 409, - TransferTypes = new string[]{"exchange", "cashback", "transfer"}, - Description = "ftsBTkZDKCnQigIBcgyeH", - From = "2020-05-21T18:04:32.000000Z", - To = "2021-12-18T22:38:42.000000Z", + TransactionTypes = new string[]{"transfer", "exchange", "payment"}, + NextPageCursorId = "688b6dbf-ab42-453b-a6c1-99e1260a219a", + PrevPageCursorId = "83e60a37-835b-40a5-ab8a-a3a9fbb5c661", + PerPage = 804, + TransferTypes = new string[]{"topup", "exchange", "expire"}, + Description = "vULSy1FKdTtu83N0tnRGbdpbMjOs6NsjUaiDroY6Q3IK7BQ6AmswdAM3IJrwVbs9pMxfMCthiv1a2EEHFmQw4OmJsXraAGliEBPmHrH76ocsr7yZptwOIMGRxZLktLdV7u", + From = "2022-02-26T07:53:59.000000Z", + To = "2020-08-14T03:48:49.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -209,16 +209,16 @@ public async Task ListTransfersV210() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - PrivateMoneyId = "c5f8a9aa-5e59-4142-a71f-ff58bbe5baa7", - IsModified = false, - TransactionTypes = new string[]{"topup", "exchange", "payment", "expire", "cashback"}, - NextPageCursorId = "746118e1-b352-4716-8448-99896c751b33", - PrevPageCursorId = "cd354978-16e1-4b35-9d5d-d2da81e9c794", - PerPage = 473, - TransferTypes = new string[]{"campaign", "payment", "cashback", "expire", "transfer"}, - Description = "kmDiQZVmfdCV9wGJUROgp1VTN", - From = "2022-09-01T17:25:32.000000Z", - To = "2023-05-17T17:53:40.000000Z", + PrivateMoneyId = "2d5427e9-a2a0-4357-a1af-a8f2ce508046", + IsModified = true, + TransactionTypes = new string[]{"exchange"}, + NextPageCursorId = "6fcb410c-dc83-45b4-8fec-9db7171410b0", + PrevPageCursorId = "3966e75a-48bf-4d73-8708-e0f988dbed50", + PerPage = 6, + TransferTypes = new string[]{"coupon", "expire", "campaign", "payment", "transfer"}, + Description = "ZYRURgUMf0P", + From = "2020-10-25T02:59:22.000000Z", + To = "2021-12-19T15:36:33.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -233,17 +233,17 @@ public async Task ListTransfersV211() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - TransactionId = "4d00454b-83dd-473e-b35e-378fe7e694e2", - PrivateMoneyId = "e4e51c6b-efb2-4ff7-b68c-d33dc6558cda", - IsModified = false, - TransactionTypes = new string[]{"cashback", "exchange", "payment", "topup", "transfer"}, - NextPageCursorId = "18f7768c-ad87-4008-bc06-b1dedd718fa9", - PrevPageCursorId = "535854c3-8a80-4f5a-b775-f61caba12f7d", - PerPage = 293, - TransferTypes = new string[]{"campaign", "topup", "expire"}, - Description = "vag9C19xRl1IlJpGXqlhd5uwOg53j3Qic0iyKLnZxaZi9iCa2kj9IDD4FLU53H4cTCafuN856J50SdiADG37eydGENMPuSUGCPNHip0Y3dBW", - From = "2022-04-03T13:05:47.000000Z", - To = "2024-04-05T13:30:11.000000Z", + TransactionId = "4bcc7daf-a435-429b-8aef-907a12de16c8", + PrivateMoneyId = "ed7f5c44-1c6e-4ba2-8ab0-db90f1aa10e9", + IsModified = true, + TransactionTypes = new string[]{"cashback", "topup", "payment", "expire", "exchange", "transfer"}, + NextPageCursorId = "87e72bef-f6d7-4fc9-92d2-8d4d0f8e7884", + PrevPageCursorId = "9859849b-0e1b-438a-b9d2-cfaa3919a430", + PerPage = 367, + TransferTypes = new string[]{"coupon"}, + Description = "h8Zz7eaFGoiOPKR0rUW9UTcnGDBsZuPfABdiNvfS9Anufij6THnocikBJOkD3FvwnaI0WeOGlWmmegc1KGhe3TxnuKac7CS1DK4Gnrr3oBLGMXHrz9mqfRhRmUp8pN9pjt", + From = "2023-11-08T18:30:00.000000Z", + To = "2022-09-19T08:45:54.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -258,18 +258,18 @@ public async Task ListTransfersV212() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - CustomerName = "dXe1sIjLSVztCspdpKcDGU85LATApzQ2dQG1XtK0UfX1fzmKZw4jAX5TdVMZA3FsBWHTaR7q8iHovbTWoPNbCUX3WmvU0lnYW7MWulxJqejEoXiemEzy22TP2wtSY9IoDSrJUA2sSTBsOwjVmr0bTbO79fqhITnnz7WaCAiQd9B8sle88sl7rSWKN9oQjHsNX48VkSyiuzE1L2w", - TransactionId = "269b4e76-5740-4702-9e11-cdb3b42129b6", - PrivateMoneyId = "6f5b11d9-0a3a-4a2c-9c75-0945346f70b4", - IsModified = false, - TransactionTypes = new string[]{"transfer"}, - NextPageCursorId = "3c8b65bf-35b0-472f-8969-cc83cf27bba4", - PrevPageCursorId = "fc4fad85-a10e-48d2-b4dc-9f34aaaa3814", - PerPage = 202, - TransferTypes = new string[]{"campaign", "expire", "topup", "payment", "transfer", "exchange", "coupon", "cashback"}, - Description = "OrRKq3qxtTGifN6KrraD5uojwDmQdLNOKHIlDiaOh78QfhNbZ3YfGhlbqaOElvScjtjkG1WEjltqaYkhp7caXjUtBcNe9XyY4wthFo0glXBErIUB1p7aPMzXnAdDrY96Gn0OAQ9xSN0zfKx7ivixiVqjgvBNcsQLQxAtJmVTcXW", - From = "2023-05-07T02:16:20.000000Z", - To = "2023-10-08T23:00:15.000000Z", + CustomerName = "EK15Dd3XxCT0Zmu6u7tOxquneNatGolCf6SjeF7SeZXyMS6WkNJ2GvSwQUcruYP4H5cCw5ExNqh41OXXFwVmaHYw6oEFbK8qER1LlAIi5qYTqeIN9jftsBTkZDKCnQigIBcgyeHE0tecRrYBgXoYNaRDH3xa5ZXl3L94kmDiQZVmfdCV9wGJUROgp1VTNstKsbk2wvZcZmJC", + TransactionId = "ac848a80-6f5a-4377-b51c-2f7d54772124", + PrivateMoneyId = "5850f865-a85c-4de5-8a34-a477e25b1303", + IsModified = true, + TransactionTypes = new string[]{"payment", "exchange"}, + NextPageCursorId = "dfaed88e-f467-4539-80c3-a1ad92211b93", + PrevPageCursorId = "be8e6bb1-2939-45f8-92ec-3c3163b6a7c9", + PerPage = 109, + TransferTypes = new string[]{"exchange", "expire", "cashback", "transfer", "payment", "campaign", "coupon"}, + Description = "hd5uwOg53j3Qic0iyKLnZxaZi9iCa2kj9IDD4FLU53H4cTCafuN856J50SdiADG37eydGENMPuSUGCPNHip0Y3dBWcNdXe1sIjLSVztCspdpKcDGU85LATApzQ2dQG1XtK0UfX1fzmKZw4jAX5TdVMZA3FsBWHTaR7q8iHovbTWoPNb", + From = "2021-12-25T16:56:56.000000Z", + To = "2024-04-05T09:30:04.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -284,19 +284,19 @@ public async Task ListTransfersV213() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - CustomerId = "5113ba87-694b-49fd-957a-5381174e078a", - CustomerName = "kNd35gyuBKlwozbM8BIp6WWFtoNM3mKKWyblmmAHRSYCV0EDw10SY48ZoA8oj9alrEKYDjBWPKCwbirzvScUvjsqVkcSInvOjFPIL9qlVMwg0ANEHCj5eM805Swtsg2NkJBDvuxWoqdLq3QmHRbZpwbPRidVG7B6hajG", - TransactionId = "bd3e233c-75ca-4ef2-bb86-0229952c428f", - PrivateMoneyId = "175ea31e-fa9b-4fc3-80ca-f63e9e4dc526", - IsModified = true, - TransactionTypes = new string[]{"topup", "expire", "payment"}, - NextPageCursorId = "4a83ca5b-c230-442d-8e9e-62d90c18e6d5", - PrevPageCursorId = "a1005a57-c2de-4a2b-96ad-55a354f344df", - PerPage = 441, - TransferTypes = new string[]{"expire", "exchange", "payment", "coupon", "topup", "transfer", "cashback"}, - Description = "uJPCjlaztijN3vebjT869RjYRPCqvnZ1YzdrhGH7XKNoGDpqqjYUa42NN7jWbTA8sT9CjYdhYyR9ZtWhMAKSZHQ2Tjahc0hASAcEibjku1fdQetgL0O7DlAFrkXVihIdQWu7J4NYirXryPP6taqbm6hsnA9hELkacVB4dzDqQ", - From = "2024-02-18T10:47:40.000000Z", - To = "2023-12-04T20:12:21.000000Z", + CustomerId = "d685d86d-ca8f-4c76-bd55-e630f70142ec", + CustomerName = "YW7MWulxJqejEoXiemEzy22TP2wtSY9IoDSrJUA2sSTBsOwjVmr0bTbO79fqhITnnz7WaCAiQd9B8sle88sl7rSWKN9oQjHsNX48VkSyiuzE1L2", + TransactionId = "cf7aa022-a8f7-4e76-8002-0f5e7cade511", + PrivateMoneyId = "0aadcdb3-29b6-41d9-ba2c-f51c8fd34b75", + IsModified = false, + TransactionTypes = new string[]{"cashback", "transfer", "topup", "exchange"}, + NextPageCursorId = "34944b80-f7a0-4a8f-a0bf-35b098a0d72f", + PrevPageCursorId = "45e001c9-5f69-4c83-a485-a10e3f35d8d2", + PerPage = 949, + TransferTypes = new string[]{"coupon", "campaign", "cashback", "topup", "payment"}, + Description = "KLiOrRKq3qxtTGifN6KrraD5uojwDmQdLNOKHIlDiaOh78QfhNbZ3YfGhlbqaOElvScjtjkG1WEjltqaYkhp7caXjUtBcNe9XyY4wthFo0glXBErIUB1p7aPMzXnAdDrY96Gn0OAQ9xSN0zfKx7ivixiVqjgvBNcsQLQxAtJmVTcXWtKUzkNd35gyuBK", + From = "2022-08-18T23:28:07.000000Z", + To = "2021-06-06T03:46:35.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -311,20 +311,20 @@ public async Task ListTransfersV214() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - ShopName = "bTy", - CustomerId = "e0991056-3b14-4b90-89e7-2d09b188aed6", - CustomerName = "7fIz1xemnrDx9P7HPwLX5lwWZKuWWf4n5wNPq2rjN28QfQLnQ9Qr2gs4rAyEVt2ws7WkJzpgGUX4mtxob", - TransactionId = "71a7105a-a739-4725-9a43-da3f5bacfdf0", - PrivateMoneyId = "c0c4ac4e-81ca-4a47-9adc-a8a4fb07eb8c", - IsModified = false, - TransactionTypes = new string[]{"payment"}, - NextPageCursorId = "a412eaab-aa22-4936-8c9e-6dfa9b256054", - PrevPageCursorId = "adaed457-6903-43be-895d-2ee2d3616293", - PerPage = 101, - TransferTypes = new string[]{"topup", "transfer"}, - Description = "afdiivNn4NbNLXIdoiqtrelImUNmLeKEfXUc2dQExu22E4bXnTsrAuXzcUztcjpDcIzv8TjKb1dIcQKtgPEpt9Ynsu0LI4T70lQwB453YpOK96EoFGx", - From = "2022-11-25T05:47:02.000000Z", - To = "2024-03-14T01:51:23.000000Z", + ShopName = "wozbM8BIp6WWFtoNM3mKKWyblmmAHRSYCV0EDw10SY48ZoA8oj9alrEKYDjBWPKCwbirzvScUvjsqVkcSInvOjFPIL9qlVMwg0ANEHCj5eM80", + CustomerId = "dd6baf35-ff53-4a77-b473-045c86bb4e67", + CustomerName = "2NkJBDvuxWoqdLq3QmHRbZpwbPRidVG7B6hajGJrCJBxTKH0YUW8iwJJuJPCjlaztijN3vebjT869RjYRPCqvnZ1Yzdr", + TransactionId = "3a116368-839b-4e5f-871e-cfa95bb93e48", + PrivateMoneyId = "0c0210b7-3a0f-48a9-98cb-77031463f77e", + IsModified = true, + TransactionTypes = new string[]{"cashback", "expire"}, + NextPageCursorId = "cce36518-b3ea-40d9-ba55-7ce1b1bd3b34", + PrevPageCursorId = "202928b2-ccce-4592-a03b-05ceaf8e9598", + PerPage = 824, + TransferTypes = new string[]{"expire", "transfer", "exchange"}, + Description = "A8sT9CjYdhYyR9ZtWhMAKSZHQ2Tjahc0hASAcEibjku1fdQetgL0O7DlAFrkXVihIdQWu7J4NYirXryPP6taqbm6hsnA9hELkacVB4dzDqQ1LbTyVIgVP7fIz1xemnrDx9P7HPwLX5lwW", + From = "2022-07-27T18:07:25.000000Z", + To = "2023-11-18T23:19:50.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -339,21 +339,21 @@ public async Task ListTransfersV215() { try { Request.ListTransfersV2 request = new Request.ListTransfersV2() { - ShopId = "0485304a-f9ac-4400-8f2f-8d0eceedec3d", - ShopName = "NTeRlFM4Xw2YneFRtau24yc1kusN7qW2yhhPFbHNPhRgnqYnUlh4JbOrMj5jFwrAdcz57ZOWsDr0Djt9M12BOno1AcjM96oftC7mHhiSDgXKvVy5paxKD2XcOfyMo26iqol80j1t4n3lpnoezOx6Ov6eGwjQCqxdtQnDY4S9N4HhJ5rCsXRcUZY47cpIh03BvqB7CzLjYHoO28zEE65UlKtMCe12", - CustomerId = "c668b0dc-584d-45de-a899-5a0cb7d2aaa1", - CustomerName = "V2dxrA2428zEWnFZLX87qtedPzV8NdiYCurcmVOPZzwMWHgQ0VESfspW9b9NBdczTSynCfTiWLEN2pEbq7ZeB8PVJkE9NzaeTptZ5kX9rLpagdWQnEnTlLyubwibc5uG9Y4cn6ApRZ5NX6gFb5nuODlmm9rpn022H3wQmNFzbLFmfFSz1uperYHhU5vbLxW8Yq15XpRuu89q3NykiRPYO2", - TransactionId = "88fb4def-3727-4351-8f5c-f1fb364f8b23", - PrivateMoneyId = "1c2353a2-3e69-407d-8159-c0cd26e472e3", + ShopId = "a82d0d5a-b54b-4a75-9757-3a664f0d00b4", + ShopName = "n5wNPq2rjN28QfQLnQ9Qr2gs4rAyEVt2ws7Wk", + CustomerId = "2ac6695b-fe8d-4029-8a7a-dc99e0f319a5", + CustomerName = "gGUX4mtxobZ9ZCpNJGZG6LzTWIbd8ZNVrafdiivNn4NbNLXIdoiqtrelImUNmLeKEfXUc2dQExu22E4bXnTsrAuXzcUztcjpDcIzv8TjKb1dIcQKtgPEpt9Ynsu0LI4T70lQwB453YpOK96EoFGxVJNTeRlFM4Xw2YneFRtau24yc1kusN7qW2yhhPFbHNPhRgnqYnUlh4JbOrMj5jFwrAdcz57ZOWsDr0Djt9M12BOno1Acj", + TransactionId = "0efd3522-b7bb-4585-8d39-04b64b56493b", + PrivateMoneyId = "e1d4c1ef-0889-40e6-b40f-220803757943", IsModified = false, - TransactionTypes = new string[]{"transfer", "expire", "payment"}, - NextPageCursorId = "697af85b-f88e-4bd7-8917-667b37d78588", - PrevPageCursorId = "5de39281-fe45-489a-aef5-e2085672a299", - PerPage = 681, - TransferTypes = new string[]{"coupon"}, - Description = "CW3jFlgob7yobgqdqF", - From = "2021-02-08T17:48:13.000000Z", - To = "2022-07-25T16:35:49.000000Z", + TransactionTypes = new string[]{"expire"}, + NextPageCursorId = "67acf5d3-46c4-4e8e-a72f-d31bd1363058", + PrevPageCursorId = "ac669f4b-4876-4fa3-9679-2a356287daf0", + PerPage = 610, + TransferTypes = new string[]{"topup"}, + Description = "cOfyMo26iqol80j1t4n3lpnoezOx6Ov6eGwjQCqxdtQnDY4S9N4HhJ5rCsXRcU", + From = "2022-09-09T13:07:13.000000Z", + To = "2022-07-09T22:34:02.000000Z", }; Response.PaginatedTransfersV2 response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestListWebhooks.cs b/src/PokepayPartnerCsharpSdk.Test/TestListWebhooks.cs index 62923f1..e262773 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestListWebhooks.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestListWebhooks.cs @@ -38,7 +38,7 @@ public async Task ListWebhooks1() { try { Request.ListWebhooks request = new Request.ListWebhooks() { - PerPage = 654, + PerPage = 7230, }; Response.PaginatedOrganizationWorkerTaskWebhook response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -53,8 +53,8 @@ public async Task ListWebhooks2() { try { Request.ListWebhooks request = new Request.ListWebhooks() { - Page = 4132, - PerPage = 7036, + Page = 8126, + PerPage = 3761, }; Response.PaginatedOrganizationWorkerTaskWebhook response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestRefundExternalTransaction.cs b/src/PokepayPartnerCsharpSdk.Test/TestRefundExternalTransaction.cs index d843afc..89c220f 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestRefundExternalTransaction.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestRefundExternalTransaction.cs @@ -25,7 +25,7 @@ public async Task RefundExternalTransaction0() { try { Request.RefundExternalTransaction request = new Request.RefundExternalTransaction( - "5aa52873-e16f-4c11-9cea-2642c1943892" + "41167bab-0bdc-48eb-af74-be24a3480c0d" ); Response.ExternalTransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task RefundExternalTransaction1() { try { Request.RefundExternalTransaction request = new Request.RefundExternalTransaction( - "5aa52873-e16f-4c11-9cea-2642c1943892" + "41167bab-0bdc-48eb-af74-be24a3480c0d" ) { - Description = "PnV9sBfF1BkHf1A87wLQ9bOIRS2WYI5ck8HRSP5FHw4UX4tGWi4N1", + Description = "8QhcNElbkx4K7ompotaJBLyz8KN17fLxPU1GvU5oJnH6hOfBgmDSuxOmphkziTG6p4HsLeIcNrFvlQBIX1JBgnrD1yLFlL5kbgs6xUgxf5", }; Response.ExternalTransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestRefundTransaction.cs b/src/PokepayPartnerCsharpSdk.Test/TestRefundTransaction.cs index 91ea179..b3477d5 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestRefundTransaction.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestRefundTransaction.cs @@ -25,7 +25,7 @@ public async Task RefundTransaction0() { try { Request.RefundTransaction request = new Request.RefundTransaction( - "e11a828b-aba8-4627-9805-fa5356585475" + "2634458e-85bb-446e-a604-45b3d926b280" ); Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task RefundTransaction1() { try { Request.RefundTransaction request = new Request.RefundTransaction( - "e11a828b-aba8-4627-9805-fa5356585475" + "2634458e-85bb-446e-a604-45b3d926b280" ) { - ReturningPointExpiresAt = "2023-07-09T17:41:01.000000Z", + ReturningPointExpiresAt = "2021-07-12T01:42:18.000000Z", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task RefundTransaction2() { try { Request.RefundTransaction request = new Request.RefundTransaction( - "e11a828b-aba8-4627-9805-fa5356585475" + "2634458e-85bb-446e-a604-45b3d926b280" ) { - Description = "06FE8juzeNINZktFZU0JpHpSrpNbF8O3WzYFSGY9", - ReturningPointExpiresAt = "2022-10-20T18:08:46.000000Z", + Description = "z76OYqLZhd2VmnwZ1YQAtf2GPfHYeeJWiJLn1TOWVNqKCYgaN6maSZWJn127yVjYZzSkjksojB4PnV9sBfF1BkHf1A87wLQ9bOIRS2WYI5ck8HRSP5FHw4UX4tGWi4N1WpwhPzDe8V1DYdcKn6nAl4cEX71br7jv7EDkwXN76HyKk1SGbd2fzw9n", + ReturningPointExpiresAt = "2020-10-24T13:36:41.000000Z", }; Response.TransactionDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestRequestUserStats.cs b/src/PokepayPartnerCsharpSdk.Test/TestRequestUserStats.cs index 7a88cc4..11aeb81 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestRequestUserStats.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestRequestUserStats.cs @@ -25,8 +25,8 @@ public async Task RequestUserStats0() { try { Request.RequestUserStats request = new Request.RequestUserStats( - "2024-02-27T09:42:41.000000Z", - "2024-03-13T00:41:35.000000Z" + "2021-10-31T04:43:35.000000Z", + "2024-01-28T07:50:44.000000Z" ); Response.UserStatsOperation response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestUpdateCampaign.cs b/src/PokepayPartnerCsharpSdk.Test/TestUpdateCampaign.cs index 3627f73..8e5f99f 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestUpdateCampaign.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestUpdateCampaign.cs @@ -25,7 +25,7 @@ public async Task UpdateCampaign0() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ); Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task UpdateCampaign1() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - BudgetCapsAmount = 181161778, + BudgetCapsAmount = 1257695092, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task UpdateCampaign2() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1536785591, + BudgetCapsAmount = 1282312967, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -75,11 +75,11 @@ public async Task UpdateCampaign3() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1107912270, + BudgetCapsAmount = 74841204, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -94,12 +94,12 @@ public async Task UpdateCampaign4() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - MaxTotalPointAmount = 8498, + MaxTotalPointAmount = 9972, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1551231567, + BudgetCapsAmount = 372920635, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -114,13 +114,13 @@ public async Task UpdateCampaign5() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - MaxPointAmount = 2584, - MaxTotalPointAmount = 5896, + MaxPointAmount = 5041, + MaxTotalPointAmount = 5091, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 401521103, + BudgetCapsAmount = 591760852, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -135,14 +135,14 @@ public async Task UpdateCampaign6() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { ExistInEachProductGroups = true, - MaxPointAmount = 6537, - MaxTotalPointAmount = 1247, + MaxPointAmount = 9981, + MaxTotalPointAmount = 929, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1061529085, + BudgetCapsAmount = 1726007251, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -157,15 +157,15 @@ public async Task UpdateCampaign7() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - MinimumNumberForCombinationPurchase = 7815, - ExistInEachProductGroups = true, - MaxPointAmount = 1683, - MaxTotalPointAmount = 6492, + MinimumNumberForCombinationPurchase = 392, + ExistInEachProductGroups = false, + MaxPointAmount = 7358, + MaxTotalPointAmount = 9217, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 2066876170, + BudgetCapsAmount = 403122126, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -180,16 +180,16 @@ public async Task UpdateCampaign8() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - MinimumNumberOfAmount = 919, - MinimumNumberForCombinationPurchase = 3544, + MinimumNumberOfAmount = 2117, + MinimumNumberForCombinationPurchase = 6334, ExistInEachProductGroups = false, - MaxPointAmount = 8993, - MaxTotalPointAmount = 3140, + MaxPointAmount = 6807, + MaxTotalPointAmount = 3593, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 489231690, + BudgetCapsAmount = 931773574, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -204,17 +204,17 @@ public async Task UpdateCampaign9() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - MinimumNumberOfProducts = 6634, - MinimumNumberOfAmount = 9698, - MinimumNumberForCombinationPurchase = 4180, + MinimumNumberOfProducts = 9393, + MinimumNumberOfAmount = 2437, + MinimumNumberForCombinationPurchase = 2173, ExistInEachProductGroups = false, - MaxPointAmount = 771, - MaxTotalPointAmount = 3490, + MaxPointAmount = 6408, + MaxTotalPointAmount = 3353, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 914638544, + BudgetCapsAmount = 2073505514, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -229,18 +229,18 @@ public async Task UpdateCampaign10() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - ApplicableShopIds = new string[]{"00a528e9-c261-4ee2-b981-bdc3d4377e2c", "269db146-c9bd-40a6-9bc2-1e17d2144255", "2065abda-ec80-4c7e-ab8d-e34b264152aa", "de32a909-911c-4277-8d76-cffa58900b10", "cf7582d2-f468-40a8-8f2a-02aed1412ffc", "d0a999bd-fc40-4eae-9ae4-3baa1dc8c4ff", "7e0cda43-8a9e-42b9-8cd0-e2c9b78e7b8b", "d03331e2-d3f8-479b-9249-1e6fea4a79eb", "97cb9e09-f43d-42ae-b215-85d34ab5b8cd", "81a1fdbe-d904-48ab-a3c1-a8aef698cc24"}, - MinimumNumberOfProducts = 8389, - MinimumNumberOfAmount = 7136, - MinimumNumberForCombinationPurchase = 3596, - ExistInEachProductGroups = false, - MaxPointAmount = 1741, - MaxTotalPointAmount = 6039, + ApplicableShopIds = new string[]{"2bc9b844-4414-4312-b2e5-17182cffdc74", "b6dccb11-6e36-478c-8511-dad23193dd38", "717c9339-01f6-49d2-8207-f481f806a765"}, + MinimumNumberOfProducts = 9449, + MinimumNumberOfAmount = 1370, + MinimumNumberForCombinationPurchase = 7754, + ExistInEachProductGroups = true, + MaxPointAmount = 7360, + MaxTotalPointAmount = 8829, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1850390631, + BudgetCapsAmount = 1620818382, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -255,19 +255,19 @@ public async Task UpdateCampaign11() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"d59d6577-693b-451f-ac96-9d9a1a141fab", "a37d0d16-0c6a-4168-91ef-b139b38ea19c", "c853d371-3f41-46ea-81bd-efb0fa232303", "54ad141b-f9b3-4da5-bbb5-1265e25c4eab", "b1784e6d-e221-4b32-a7ba-88875a215f06", "462b9b3c-cdc2-4d8b-9db0-7365773df90f"}, - MinimumNumberOfProducts = 6962, - MinimumNumberOfAmount = 1468, - MinimumNumberForCombinationPurchase = 8443, + ApplicableShopIds = new string[]{"3a41cf25-25cd-4710-afe6-f7bf3aa0f1a5", "becf2803-03bb-477d-9eaa-56533f825c68", "f4ff8941-edb8-4244-b440-e4e0175165c5", "e65a7cf6-32b7-400f-9a21-37cf67d8d1dc", "47c663b7-e680-4ebe-9414-c74733f70754", "dca30b37-b730-424c-afa1-1ac07a54ee90", "f544750a-6151-4e5d-b214-64655a2e4af0"}, + MinimumNumberOfProducts = 9490, + MinimumNumberOfAmount = 2169, + MinimumNumberForCombinationPurchase = 5263, ExistInEachProductGroups = false, - MaxPointAmount = 9114, - MaxTotalPointAmount = 4434, + MaxPointAmount = 2965, + MaxTotalPointAmount = 7599, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1266165981, + BudgetCapsAmount = 1021885705, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -282,20 +282,20 @@ public async Task UpdateCampaign12() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - ApplicableDaysOfWeek = new int[]{3, 5, 2, 4, 4, 3, 5, 5, 4}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"23faa017-b42e-42f2-85eb-cbd580ef6ef2", "899abc4b-335d-44d5-8941-4144be82fcac", "bc7247d9-d524-4661-95cd-4140ef791dd3", "0d4ffd34-0e8a-4517-bbd6-f60b82e8bf31", "b27ea8af-4fdb-47f8-9930-8a031c5e5a03", "7434137a-3eb6-4df1-8ab9-4e524483acbc"}, - MinimumNumberOfProducts = 2048, - MinimumNumberOfAmount = 4726, - MinimumNumberForCombinationPurchase = 7026, + ApplicableDaysOfWeek = new int[]{6, 2, 2, 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"78057d7f-8201-4318-9f0c-f3a728e94ff7", "4e2153bc-5ac3-45aa-858b-cdf74d79032b"}, + MinimumNumberOfProducts = 379, + MinimumNumberOfAmount = 990, + MinimumNumberForCombinationPurchase = 3872, ExistInEachProductGroups = false, - MaxPointAmount = 9795, - MaxTotalPointAmount = 5194, + MaxPointAmount = 2423, + MaxTotalPointAmount = 3894, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1177710031, + BudgetCapsAmount = 849466229, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -310,21 +310,21 @@ public async Task UpdateCampaign13() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{2, 3}, - 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[]{"6c51ea79-7271-4fe9-bb2a-f3fae1d5abab", "8d23aa86-0356-4fd1-856f-5b1620d87007", "d9dba665-183e-410e-ba86-0a329fe19cdc", "6c751e60-ec06-46d8-bd39-412a95824f01", "2f95706d-2a2b-4ed1-9e0a-214ad1ed4069", "a0b84fc5-d145-4a4c-ac14-c0d6eaf996fd", "ac0a94ba-acec-41f9-841d-b6e3f4fc265b", "b02ce98f-048e-4b66-9be4-9b7c54d5587e", "f280f724-3491-4da4-a8ae-2e8883f44c41"}, - MinimumNumberOfProducts = 689, - MinimumNumberOfAmount = 3787, - MinimumNumberForCombinationPurchase = 2782, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{6, 0, 2, 1}, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"844dbeb1-d3c1-48e4-ab1b-ad04f07d955d", "bb85a1d1-e1a1-4b1c-a0a6-37ba3a4d2f8a", "59d05e53-968e-4076-b2b2-d3bd2d2d6e00", "177555ea-64c4-4d32-80de-ffc3743059d0", "56f6235e-f142-4510-8cc5-38a2a47ebee7"}, + MinimumNumberOfProducts = 786, + MinimumNumberOfAmount = 4293, + MinimumNumberForCombinationPurchase = 217, ExistInEachProductGroups = true, - MaxPointAmount = 4981, - MaxTotalPointAmount = 631, + MaxPointAmount = 8660, + MaxTotalPointAmount = 4681, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1588912217, + BudgetCapsAmount = 1173097401, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -339,22 +339,22 @@ public async Task UpdateCampaign14() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{0, 5, 5, 2}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, - ApplicableShopIds = new string[]{"f8677082-1d94-41e2-ada5-d311492d1de6", "84ffed64-0405-43b8-bc6c-719944102ec9", "9abef437-11e3-4461-b32f-a9ef8b86a379", "4099be51-b99f-4d51-8973-d8007b011212", "d9b0ac9c-77d5-4fec-b3ba-38f2901290c3", "e395c5cd-c21f-421f-84b2-131019fb3020", "5836bd05-4dda-462b-8e4d-b9f05af66ac5"}, - MinimumNumberOfProducts = 3353, - MinimumNumberOfAmount = 8470, - MinimumNumberForCombinationPurchase = 9669, - ExistInEachProductGroups = true, - MaxPointAmount = 8980, - MaxTotalPointAmount = 4336, + 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}}, 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{2, 1, 4, 1, 5, 3, 0}, + ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"939ba344-d589-4228-be82-712e59bddd54", "5e13186e-f44d-49d0-bc7c-a810509bf1f4", "257df241-205e-49b7-a654-85900f04b71a", "921cb625-1533-4584-85ae-5db2f6902bee"}, + MinimumNumberOfProducts = 38, + MinimumNumberOfAmount = 8741, + MinimumNumberForCombinationPurchase = 7698, + ExistInEachProductGroups = false, + MaxPointAmount = 2981, + MaxTotalPointAmount = 6859, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1297013107, + BudgetCapsAmount = 361855649, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -369,23 +369,23 @@ public async Task UpdateCampaign15() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{4, 4}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"a6a9d58b-235f-4c64-94d0-50739dbb2310", "d8cd47ea-da68-470d-ad55-4c24280e130e", "a29c39f3-3cbe-47d7-a275-2b3b0e15f01e", "8fa69795-ade8-4f07-aee2-2e9278d1953f", "5f995649-a955-4746-bb6c-90ff1cfebb28", "dd50e966-9bc0-4676-afe2-83a4f0cdadcf", "67ab9220-d5df-4d9b-94e3-583a56b94e5d"}, - MinimumNumberOfProducts = 1261, - MinimumNumberOfAmount = 985, - MinimumNumberForCombinationPurchase = 9292, + 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{3, 1, 1, 2, 1, 2, 2, 6, 3, 3}, + 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[]{"e6d341ad-c777-4fb5-96f5-676e91621e6e", "f193e6a4-bee8-4a32-b91a-33ac9cf0bc98", "1a077071-59fd-4bd7-915a-4dfa110ff710", "874b9f31-d5ab-4334-81f8-e1420a152338", "0b04c1b9-00b1-4cf2-90e0-5cd6ca36e237", "c85bc346-063e-4263-a487-db211357dd08", "de992644-6a80-4b65-9210-22ded3bcc15b", "cf625ec2-feb6-4531-b663-01ffd923a73a", "f09ba024-80a2-44cf-9a60-7e9d56f684b1"}, + MinimumNumberOfProducts = 4875, + MinimumNumberOfAmount = 5568, + MinimumNumberForCombinationPurchase = 3535, ExistInEachProductGroups = true, - MaxPointAmount = 4727, - MaxTotalPointAmount = 2728, + MaxPointAmount = 9475, + MaxTotalPointAmount = 7235, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1360548114, + BudgetCapsAmount = 1961563029, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -400,24 +400,24 @@ public async Task UpdateCampaign16() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{6, 4, 3, 6, 3, 3, 0, 2, 1, 5}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, - ApplicableShopIds = new string[]{"53895544-4104-44b1-8c56-7ea51fb24f59", "0e92a4fb-f5fd-48ff-ae3a-bbd48b92295d", "6e468868-43c5-41e0-8a9d-68d1af0a78fe"}, - MinimumNumberOfProducts = 976, - MinimumNumberOfAmount = 6861, - MinimumNumberForCombinationPurchase = 1133, + 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{3}, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"1d24ee19-477a-4162-a6f1-389da60ac0cb", "993506ec-066e-4bff-b31e-fd476391deb4", "d0b6e2bf-8c2e-4e30-83ac-ecf70f0145da", "401764ef-f182-4230-9202-8d80da94a5db", "2bca3e54-2304-4639-b02d-66ed4125cdd4", "0bf3bd76-be80-4e7c-b98c-16699f641011", "34ab3c1f-f07c-4f2d-bf6d-e9655dffd7ce"}, + MinimumNumberOfProducts = 8938, + MinimumNumberOfAmount = 9639, + MinimumNumberForCombinationPurchase = 858, ExistInEachProductGroups = true, - MaxPointAmount = 5868, - MaxTotalPointAmount = 2526, + MaxPointAmount = 5299, + MaxTotalPointAmount = 100, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1889384019, + BudgetCapsAmount = 54646961, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -432,25 +432,25 @@ public async Task UpdateCampaign17() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - 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}}}, - 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{6, 0, 4, 1, 3, 1, 2, 3, 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"f77d846f-d253-4b4a-b02b-57a7e55fc8f4", "ed1dc640-6697-40b0-8cf8-c9f7665a8397", "f992738e-d6fa-413b-8067-e69fa1d313da", "825937ad-569c-4b33-bd00-9b1c8bfc85a8", "19ea0ed3-4ac1-46f3-aaf0-b2032ff1fc41", "6d723416-8975-4350-8aad-ddd13724ff20", "c8571477-0fcf-4e92-8d45-c378a5811193", "b7c826ba-6643-48b1-b7b6-f56919f973e6"}, - MinimumNumberOfProducts = 826, - MinimumNumberOfAmount = 1755, - MinimumNumberForCombinationPurchase = 4212, - ExistInEachProductGroups = true, - MaxPointAmount = 6403, - MaxTotalPointAmount = 9386, + IsExclusive = false, + Subject = "money", + 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}}, 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}}, 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}}, 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}}, 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{0, 0, 6, 3, 3, 6, 4, 4}, + ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"1842ef30-7f0d-4a5f-a317-b7b2cf339476", "0e99ed35-c63c-444e-b6be-6fc5ed8cf352", "aff7efff-e0d2-4c1b-8fb1-afefd45bfd0b", "839dc4f6-5ad5-4d3b-af10-205301569a4d", "ebeaa614-70f8-4289-b52b-08f712c97414", "776b113c-071f-46ef-a973-7bb4c9443f33", "614c8f0c-933d-4886-9568-fbcbe853b0cf", "4b56778e-c574-4008-81ef-283f34e24629", "28db048d-7f58-4a88-a737-7d271935306f"}, + MinimumNumberOfProducts = 2417, + MinimumNumberOfAmount = 2069, + MinimumNumberForCombinationPurchase = 1254, + ExistInEachProductGroups = false, + MaxPointAmount = 6703, + MaxTotalPointAmount = 2742, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1373673970, + BudgetCapsAmount = 1673861038, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -465,26 +465,26 @@ public async Task UpdateCampaign18() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - PointExpiresInDays = 8760, + PointExpiresInDays = 3641, IsExclusive = false, - Subject = "money", - 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}}, 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{0, 1, 2, 4, 0, 5, 0, 5, 0}, - ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, - ApplicableShopIds = new string[]{"48608f45-8415-40b8-a287-a926e9dd5ff3", "db65c1e9-c691-46b7-be57-fdeb56918886", "839228f4-74fb-4eef-a16d-f65449b03e53", "feec9c1f-6ca4-4949-88fd-b62dbf3cfcf3", "d732deb3-9c00-4773-8673-f93d7a4b66f3", "163a513a-d3b0-43e2-935a-f5b14948a6fc"}, - MinimumNumberOfProducts = 929, - MinimumNumberOfAmount = 2003, - MinimumNumberForCombinationPurchase = 392, + 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}}, 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{3, 0, 4, 6, 1, 5, 2, 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"ead15dc2-d7fd-41ba-9c8e-9f97f161eeb1", "8d14362d-ca0e-49e8-a952-44ea487b2493", "e9a2c518-7754-4597-8ed3-5da746c40c15"}, + MinimumNumberOfProducts = 150, + MinimumNumberOfAmount = 7977, + MinimumNumberForCombinationPurchase = 4438, ExistInEachProductGroups = false, - MaxPointAmount = 7358, - MaxTotalPointAmount = 9217, + MaxPointAmount = 1205, + MaxTotalPointAmount = 1449, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 403122126, + BudgetCapsAmount = 838627805, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -499,27 +499,27 @@ public async Task UpdateCampaign19() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - PointExpiresAt = "2020-04-15T03:04:29.000000Z", - PointExpiresInDays = 6760, - IsExclusive = true, + PointExpiresAt = "2021-11-11T08:09:26.000000Z", + PointExpiresInDays = 1733, + IsExclusive = false, Subject = "money", - 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{0, 1, 2, 4, 4, 2, 2, 5}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"b6dccb11-6e36-478c-8511-dad23193dd38", "717c9339-01f6-49d2-8207-f481f806a765", "2c98a4e8-4559-4e49-9ae2-dcbfc96ae27c", "609bb9cd-6268-4e36-a5cd-b7108586262f", "b67449e6-f7bf-41a5-83bb-977d9658ed1e"}, - MinimumNumberOfProducts = 1195, - MinimumNumberOfAmount = 5716, - MinimumNumberForCombinationPurchase = 7273, - ExistInEachProductGroups = false, - MaxPointAmount = 4677, - MaxTotalPointAmount = 9653, + 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}}, 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}}, 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{3, 3, 1, 3, 1, 4, 3, 3, 5, 1}, + ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"4058c719-9d18-4cba-975d-77c32101eff9", "9dbeb801-b407-4dbe-bd3f-7f7d483130cb", "5e14ac6d-6034-4df4-87dd-14327c04e81b", "256a4fc6-7c7a-4ae5-83ae-6adf354676d7"}, + MinimumNumberOfProducts = 6521, + MinimumNumberOfAmount = 9681, + MinimumNumberForCombinationPurchase = 2895, + ExistInEachProductGroups = true, + MaxPointAmount = 3790, + MaxTotalPointAmount = 4695, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 961141057, + BudgetCapsAmount = 42169961, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -534,28 +534,28 @@ public async Task UpdateCampaign20() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { Status = "enabled", - PointExpiresAt = "2023-11-22T00:09:41.000000Z", - PointExpiresInDays = 16, + PointExpiresAt = "2020-12-11T10:58:34.000000Z", + PointExpiresInDays = 2592, IsExclusive = true, - Subject = "all", + Subject = "money", 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{4, 0, 4, 1, 0}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{5, 5, 1, 6, 3}, ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, - ApplicableShopIds = new string[]{"ec920e5d-92b2-4614-a5f0-e511a2a60878", "faab7968-148e-4713-9894-af76bd351dae"}, - MinimumNumberOfProducts = 4967, - MinimumNumberOfAmount = 4595, - MinimumNumberForCombinationPurchase = 3040, - ExistInEachProductGroups = true, - MaxPointAmount = 9109, - MaxTotalPointAmount = 514, + ApplicableShopIds = new string[]{"86b77f17-e426-4a92-aca8-c5464fc42fcc", "7eb76da7-5908-4f18-8d2b-3b1e4dcee2b0", "d517d25c-168f-4abe-844c-a67c78c18a88", "b433f764-07f7-42c0-9556-6fd87988f124", "09d015a2-2b31-45aa-a41f-923f2b2d4de0", "18cd3bee-e2bf-4866-905a-5b1e0b4dfef4", "24139a88-20fa-4747-b56e-fcd67d093088"}, + MinimumNumberOfProducts = 6603, + MinimumNumberOfAmount = 7849, + MinimumNumberForCombinationPurchase = 1988, + ExistInEachProductGroups = false, + MaxPointAmount = 1156, + MaxTotalPointAmount = 6004, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1684968217, + BudgetCapsAmount = 1458651803, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -570,29 +570,29 @@ public async Task UpdateCampaign21() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - Description = "wCwzvGv5tXB9341AdQSvr2jD2CPBEg6q", - Status = "enabled", - PointExpiresAt = "2022-03-23T09:01:12.000000Z", - PointExpiresInDays = 8660, - IsExclusive = true, + Description = "dFVcjFxpkr7nBijaa4uqZKlbpHQT4mZQDB6u1kMJt8otXLMw", + Status = "disabled", + PointExpiresAt = "2023-02-02T22:14:56.000000Z", + PointExpiresInDays = 3178, + IsExclusive = false, Subject = "money", - 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}}, 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{4, 1, 5, 3, 0, 5, 5, 5, 0, 3}, + 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}}, 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}}, 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}}, 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}}, 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}}, 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}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{0}, 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, - ApplicableShopIds = new string[]{"be5aa228-893e-4182-ae54-186e0ef9f44d", "2b5db9d0-befc-457c-90f4-f241a80b205e", "1d34e9b7-5a26-4e54-901a-b62500981533", "c6829584-c4c5-4aae-b2ee-4025038ae224", "5c201e11-7ec3-4ba4-809b-b9b83ff61aca", "95917aa0-505a-4ee3-9bf1-031687a1b3c9", "d04ee163-fb19-4571-9a29-65c2fe70eb32", "1e7b1f6e-bc7b-486b-be1e-38824492bd68", "e6d341ad-c777-4fb5-96f5-676e91621e6e", "f193e6a4-bee8-4a32-b91a-33ac9cf0bc98"}, - MinimumNumberOfProducts = 6654, - MinimumNumberOfAmount = 3032, - MinimumNumberForCombinationPurchase = 7890, + ApplicableShopIds = new string[]{"a37553d8-003b-4d76-beca-f5b9013b0a99", "01fef0c1-e450-493e-bc27-9257fb6937d6"}, + MinimumNumberOfProducts = 1278, + MinimumNumberOfAmount = 2535, + MinimumNumberForCombinationPurchase = 5798, ExistInEachProductGroups = true, - MaxPointAmount = 3579, - MaxTotalPointAmount = 7986, + MaxPointAmount = 5538, + MaxTotalPointAmount = 3214, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1878840748, + BudgetCapsAmount = 1868555247, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -607,30 +607,30 @@ public async Task UpdateCampaign22() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - Event = "topup", - Description = "xB", - Status = "enabled", - PointExpiresAt = "2020-01-06T07:28:49.000000Z", - PointExpiresInDays = 3315, + Event = "payment", + Description = "cpiZrwht02dhTsSxNXBuhLAxPxLgPF7PH9jsPo3qRbXC06hH5q5N6rSqlhclxbbI1pwNVNkX1wbtHq7h4XHkBbxR0RnLtirGJS2N5S6EEO5Bp0TaBrmndiCNxXXwjFaRAeTxfe0YQCHzm8OG8zcqkOxIGcWZjjM6j3edDcpZu9iiEwcokne", + Status = "disabled", + PointExpiresAt = "2022-12-14T16:41:02.000000Z", + PointExpiresInDays = 9123, IsExclusive = true, - Subject = "money", - 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}}, 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}}, 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{4, 1, 0, 4}, - ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, - ApplicableShopIds = new string[]{"130e4012-1e10-42de-9bc2-feb651572531", "70117676-7163-41ff-ba24-80a231d2e4cf", "a9d764da-5e60-4e9d-b1bc-530a17feaa75", "7b9715bf-8dce-4f20-9c88-e502926edc42", "f4eb1394-fca1-4d41-a472-0000a17a949b", "236a9dba-1a7c-475f-b61a-dd0bae7481fe"}, - MinimumNumberOfProducts = 9709, - MinimumNumberOfAmount = 2279, - MinimumNumberForCombinationPurchase = 1915, - ExistInEachProductGroups = true, - MaxPointAmount = 498, - MaxTotalPointAmount = 204, + 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}}, 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}}, 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{5, 2, 4}, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"94dd02ea-81bc-45e8-b9bf-aac2e6bd7634"}, + MinimumNumberOfProducts = 6789, + MinimumNumberOfAmount = 2524, + MinimumNumberForCombinationPurchase = 7287, + ExistInEachProductGroups = false, + MaxPointAmount = 9745, + MaxTotalPointAmount = 5037, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 422905581, + BudgetCapsAmount = 445794314, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -645,31 +645,31 @@ public async Task UpdateCampaign23() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - Priority = 1646, - Event = "external-transaction", - Description = "40wZo0RT90mTv9imeNiY62Bc0n5yxxXvKDa0c2v5NvERR1ovUoSMxuwois43hKOtAoX7opua", + Priority = 6971, + Event = "payment", + Description = "cGlo7SrCjimdlgwn9qvauQ2kDhj5HLJcSNTCm30yK3y8WItCe9VYgMydEalG76qE4T1vOrKA4IwgS5AgijWRyxneekV8cIDT0hnm8h8evW68NKpdkq0PMSo6iR11TAHpgNTXOxFwqhkpZVaDhpFPp5bfKVt9DPYJAVzV6vyI6ywfpyKilj5zg8pn", Status = "disabled", - PointExpiresAt = "2022-05-04T22:16:14.000000Z", - PointExpiresInDays = 2742, - IsExclusive = false, - Subject = "money", - 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}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{0, 3, 0, 4, 6, 1, 5}, - 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[]{"382227c6-6bd3-436a-a2c2-d7fda50a91ba", "e229141c-028e-4f97-b12d-ca0ef81f99e8", "d8d0cd69-2b52-44ea-9318-7754299d9597", "019950ce-7cd3-4da7-9595-5f28dceb1155", "16a36881-84b4-45a8-9cb6-06c4c57b02cb", "90f9a9d0-3aa2-4c07-8f76-132d0e6819f9", "28a54c8b-57ab-4119-8f6b-86a10020c2f4", "210b4a9b-d5cb-451d-8121-9f634058c719", "2f4e9d18-fcba-43d7-9dc3-eff99dbeb801", "d50eb407-0dbe-45fd-bf7d-30cb5e14ac6d"}, - MinimumNumberOfProducts = 8245, - MinimumNumberOfAmount = 7669, - MinimumNumberForCombinationPurchase = 584, + PointExpiresAt = "2023-06-23T22:33:27.000000Z", + PointExpiresInDays = 9477, + 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}}, 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}}, 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{0, 4, 4, 1, 2, 0, 4, 0, 4}, + ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"e9fa69db-6777-4a03-b270-f3a5c2a01f65", "0c9b2c44-939d-45fc-a2b0-580806e3e241", "922c1aa1-eabe-49b9-89c4-5459d3b74708", "526c1a50-e034-45a1-bcf3-38fba8878d11", "43aa5fc1-fa69-4fc6-8ea3-f19864140b77", "6cbfee21-abe1-4c19-a163-4639c51e0ba8"}, + MinimumNumberOfProducts = 6365, + MinimumNumberOfAmount = 1698, + MinimumNumberForCombinationPurchase = 9923, ExistInEachProductGroups = false, - MaxPointAmount = 5171, - MaxTotalPointAmount = 4039, + MaxPointAmount = 8188, + MaxTotalPointAmount = 4392, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 946175099, + BudgetCapsAmount = 1655095538, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -684,32 +684,32 @@ public async Task UpdateCampaign24() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - EndsAt = "2021-11-09T12:39:01.000000Z", - Priority = 3502, - Event = "topup", - Description = "PN6RiMVhZmmGj0TMjPFLM0DLdwVX1nfPZtzGunVJbtCnsdFVcjFxpkr7nBijaa4uqZKlbpHQT4mZQDB6u1kMJt8otXLMwiqJK6MisPTXvJ9APWVf0nkI2cpiZ", + EndsAt = "2022-12-29T01:56:56.000000Z", + Priority = 4895, + Event = "payment", + Description = "SVIl9M1spjv4mKXU1rVLf6U0K44BovHKqYzk7GBG1DZKj2tBRFerhSuL22gGga7pF0nmLMfnIYTQdqHJZ8WnDHEVfpIBtEOMP2U7IkYygmkkDxd3MzpkzvPsPo2vcZvKaf470Dw5YI6SeAOBDBgRAgmjxZGGCqaBwJ9iXjXSEfbkdsvlf", Status = "enabled", - PointExpiresAt = "2022-05-04T16:36:07.000000Z", - PointExpiresInDays = 6192, + PointExpiresAt = "2021-04-06T12:56:04.000000Z", + PointExpiresInDays = 7858, IsExclusive = true, - 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{5}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, - ApplicableShopIds = new string[]{"bb7603e4-3a68-41d4-9c82-9873fb019089", "0dd17f90-bf18-4753-bb3a-310cd42e4f78", "83721b8f-6918-4ece-9fba-2dbd834be33e"}, - MinimumNumberOfProducts = 7843, - MinimumNumberOfAmount = 1925, - MinimumNumberForCombinationPurchase = 8003, - ExistInEachProductGroups = false, - MaxPointAmount = 7361, - MaxTotalPointAmount = 77, + 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}}, 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}}, 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}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{4}, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"7f3f7563-bf14-4fdd-9d90-da0d77a128ff", "b9793da3-1c55-4ba6-8f9d-c8c0cbda4584", "53467317-d747-43d4-a559-b07551527ae1", "672dccb5-7244-4ef6-8ce5-8e4ac90e34f3", "f462a4ee-6e38-4fa7-a6ec-62e8571535c0", "cbdc053b-4749-4084-95a0-6663f08c0a0d"}, + MinimumNumberOfProducts = 6760, + MinimumNumberOfAmount = 7370, + MinimumNumberForCombinationPurchase = 4314, + ExistInEachProductGroups = true, + MaxPointAmount = 4015, + MaxTotalPointAmount = 5232, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 786802972, + BudgetCapsAmount = 1718807119, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -724,33 +724,33 @@ public async Task UpdateCampaign25() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - StartsAt = "2021-01-15T15:30:11.000000Z", - EndsAt = "2021-07-17T11:38:35.000000Z", - Priority = 7672, - Event = "external-transaction", - Description = "gPF7PH9jsPo3qRbXC06hH5q5N6rSqlhclxbbI1pwNVNkX1wbtHq7h4XHkBbxR0RnLtirGJS2N5S6E", - Status = "disabled", - PointExpiresAt = "2023-09-07T19:53:41.000000Z", - PointExpiresInDays = 5930, - IsExclusive = true, - Subject = "money", - 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}}, 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}}, 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}}, new Dictionary(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{0, 4, 0}, - 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, - ApplicableShopIds = new string[]{"a9523461-2d3d-4fa1-8d99-6ca922998284", "6a8ee715-848c-4cbc-9119-dac20abebb72", "f0117693-bfed-446e-bd64-476914410982", "997ae4c3-070d-43be-8e1d-4c7827348258", "e574af58-d500-4377-9a6a-a5c6b37b48e1", "621bc926-5cd2-4d1b-810a-39875c625afb", "53f7e6bd-9865-4b5e-94ae-a8aebf21c3f8", "798c98a4-b8a6-47df-bd93-09e6c57304e5", "9790f630-b359-421c-9e10-e98915885351", "656a8993-7a43-4b9a-887a-c1fc9d229aed"}, - MinimumNumberOfProducts = 8249, - MinimumNumberOfAmount = 7959, - MinimumNumberForCombinationPurchase = 2686, + StartsAt = "2021-11-08T13:21:36.000000Z", + EndsAt = "2023-10-16T03:27:00.000000Z", + Priority = 1674, + Event = "topup", + Description = "4ZtZZObHmdr0N6vylnlZRhGDMxuj8A7eDOAWeoDpeF6vcSyg1N9plx7jjHK1E1PUQiuVzdT2YVVNgkhGiOaJk8", + Status = "enabled", + PointExpiresAt = "2022-02-09T06:06:00.000000Z", + PointExpiresInDays = 8536, + 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}}, 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}}, 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{1, 2, 5, 4}, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}, 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[]{"3bc07c98-d402-490b-a391-f0a8c5c6451b"}, + MinimumNumberOfProducts = 7629, + MinimumNumberOfAmount = 4402, + MinimumNumberForCombinationPurchase = 2825, ExistInEachProductGroups = false, - MaxPointAmount = 3462, - MaxTotalPointAmount = 9296, + MaxPointAmount = 1162, + MaxTotalPointAmount = 6193, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 1333509384, + BudgetCapsAmount = 1641296297, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -765,34 +765,34 @@ public async Task UpdateCampaign26() { try { Request.UpdateCampaign request = new Request.UpdateCampaign( - "f3bdb948-23ce-40ff-8b46-c9eae53b51ce" + "45ab6949-7188-4bfd-adf3-deb32aa99c00" ) { - Name = "G8zcqkOxIGcWZjjM6j3edDcpZu9iiEwcokneeQ36NR2IjhyB4vKQ7cGlo7SrCjimdlgwn9qvauQ2kDhj5HLJcSNTCm30yK3y8WItCe9VYgMydEalG76qE4T1vOrK", - StartsAt = "2021-03-27T23:06:53.000000Z", - EndsAt = "2023-03-01T10:30:12.000000Z", - Priority = 3145, + Name = "FzVGqOKFoU3xJNKmuaDr4cMSAgHDAlLlP6Lo5yS1v7L6lCM4yrq4lI3mHyvfAo1Zkwkd2ADoyNq2PW9ePZH1V16DlcE5mr4I", + StartsAt = "2020-06-03T10:30:05.000000Z", + EndsAt = "2023-06-22T06:24:09.000000Z", + Priority = 3582, Event = "payment", - Description = "gS5Ag", + Description = "CPq1klPYIi4fgZzpFf9vCRDU8J59OtcokEMMVhmKz2iBoGU1OxUmIl7jlWxrfEKMQ8FCs062PLb59yfzniw8Z7TrjWh0BQ", Status = "disabled", - PointExpiresAt = "2022-06-05T21:21:31.000000Z", - PointExpiresInDays = 2859, + PointExpiresAt = "2020-09-07T08:01:40.000000Z", + PointExpiresInDays = 8480, 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}}, 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}}, 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}}, 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}}, 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}}}, - BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, - ApplicableDaysOfWeek = new int[]{0, 0, 3, 5, 6, 5, 0, 5, 3, 3}, - ApplicableTimeRanges = new object[]{new Dictionary(){{"from","12:00"}, {"to","23:59"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, - ApplicableShopIds = new string[]{"a027c686-881e-47b8-a307-2f497d4181dd", "adf594c4-1bdb-465b-afd4-033028b8c9a0", "29af4c5e-129a-4a68-aeed-0389997b213b", "79b635b8-9ce8-4b24-b8fb-441ea093b2e5", "9b7866f6-1bdb-4557-aab6-d4265f7ea604", "7e03a7b8-6f1b-40df-8e3e-0bbd0aa50803", "7537fb18-d702-414b-b095-087f8d59c55e"}, - MinimumNumberOfProducts = 364, - MinimumNumberOfAmount = 8716, - MinimumNumberForCombinationPurchase = 5234, + Subject = "money", + 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}}, 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}}, 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}}, 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}}}, + BlacklistedProductRules = new object[]{new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, + ApplicableDaysOfWeek = new int[]{1, 4, 0}, + 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"}}, new Dictionary(){{"from","12:00"}, {"to","23:59"}}}, + ApplicableShopIds = new string[]{"b25dfd30-8624-49c1-9566-1a4ac3083417", "6872af1b-daee-497d-96da-79ee1defd89b", "27a92a53-e56f-4267-b893-8665cfe8c143"}, + MinimumNumberOfProducts = 2975, + MinimumNumberOfAmount = 4735, + MinimumNumberForCombinationPurchase = 856, ExistInEachProductGroups = true, - MaxPointAmount = 6225, - MaxTotalPointAmount = 6350, + MaxPointAmount = 8736, + MaxTotalPointAmount = 5045, ApplicableAccountMetadata = new Dictionary(){{"key","sex"}, {"value","male"}}, ApplicableTransactionMetadata = new Dictionary(){{"key","rank"}, {"value","bronze"}}, - BudgetCapsAmount = 403686996, + BudgetCapsAmount = 490526889, }; Response.Campaign response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestUpdateCashtray.cs b/src/PokepayPartnerCsharpSdk.Test/TestUpdateCashtray.cs index cfbe35b..9cc14c2 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestUpdateCashtray.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestUpdateCashtray.cs @@ -25,7 +25,7 @@ public async Task UpdateCashtray0() { try { Request.UpdateCashtray request = new Request.UpdateCashtray( - "5dac37c8-967a-4962-8818-43f58aac4ee3" + "aad4bb4e-eee8-47f0-a00b-2df582587e44" ); Response.Cashtray response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task UpdateCashtray1() { try { Request.UpdateCashtray request = new Request.UpdateCashtray( - "5dac37c8-967a-4962-8818-43f58aac4ee3" + "aad4bb4e-eee8-47f0-a00b-2df582587e44" ) { - ExpiresIn = 2373, + ExpiresIn = 3207, }; Response.Cashtray response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task UpdateCashtray2() { try { Request.UpdateCashtray request = new Request.UpdateCashtray( - "5dac37c8-967a-4962-8818-43f58aac4ee3" + "aad4bb4e-eee8-47f0-a00b-2df582587e44" ) { - Description = "hID3qemlo7JMNmGUe8JtqofMq1TyFcW0Uuc5ug2SpDoeGryI5OQQ9GoRehaS9O2M3fskqX8WbkxbWTp66iGj1lRR9XuMVcs2zeQQbQwb51zUDjfyGpNkIiUDvsd07Li3GyEdt6GGJ1GXo5UPiFJuScrEGcY5", - ExpiresIn = 6071, + Description = "AS4IxvpFPGaTF6gXtd3nJyyNe74Q2bvFtDokudzPS7PJ09whlF6CVlMKFHkTHEGRWUBVUZa1rmAxzFUF6ihvlI4uoOEnKraNjpsN9SjDxtxrgs7e0dkiAAa8jwX6FLCB1XlvzBazSCE1hEG2EkkP2VIPy7HW7Ee7skB9BB1YNClE0n87A3", + ExpiresIn = 907, }; Response.Cashtray response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -75,11 +75,11 @@ public async Task UpdateCashtray3() { try { Request.UpdateCashtray request = new Request.UpdateCashtray( - "5dac37c8-967a-4962-8818-43f58aac4ee3" + "aad4bb4e-eee8-47f0-a00b-2df582587e44" ) { - Amount = 6557.0, - Description = "YJqEcansSsP2ceIvKP9bgYanQbVQM9Z6RG0kCsPdzwEr5mXGzuLW3FkWi9ZhIojVZoApe0VcAXVJNN81LI44xL3mfrFPuEOVKpPzDCyUBg3VaVg5lQKirhr", - ExpiresIn = 9919, + Amount = 6192.0, + Description = "l6vspNWH9u8x4", + ExpiresIn = 4826, }; Response.Cashtray response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestUpdateCoupon.cs b/src/PokepayPartnerCsharpSdk.Test/TestUpdateCoupon.cs index afcc4c2..e1e92a3 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestUpdateCoupon.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestUpdateCoupon.cs @@ -25,9 +25,9 @@ public async Task UpdateCoupon0() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 1538, + DiscountAmount = 7821, }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -42,10 +42,10 @@ public async Task UpdateCoupon1() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 2438, - Name = "aBOX1Ig", + DiscountAmount = 4999, + Name = "a44NJMCeJ8jlsCf", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -60,11 +60,11 @@ public async Task UpdateCoupon2() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 3629, - Description = "8hROFB3MljHGXrpVSkSdQBQzqXHWCk88yAdkNbUUlXp2sT5T809AbvtJaUy0K5oRI2Afv57nsS8pT7iwNl9CKN5yCsDMuuaWg6vjoZFJU5quwxFBXnJ5Eq6GcNPCEVPq46GdIPJm8acYbz4K3IA8JYUILwDYHWq9h3ayYxNgOJ9lz7HMs7r8Mwpfor2g0yfZY1uTlDfXz0uDeov2GaxLjZM7ftEliKPQLWJArPq3tph1c8gKwadNnw5eCqfZdk", - Name = "sVLOzbmWJa8YkV10V05hf8WtQGHp", + DiscountAmount = 6622, + Description = "ZGfe6gS6x1DqMOxCGU3f6AMPJnByO8IAY8ZIAKOHAMaB7ZxbhLpAG3vIRMVqbJVgHdPhvPKwzwzrbVYcpu84LTKQxDTzMnM7RDpI6DZQTPfIajSBmWzFbVfaL5LT2cPjctfArtA5QzauCKeqrCHLOb6c1NzcpMx2l8O1vhN74ziDPGC2ST", + Name = "6zTd6xVdSlQkj4Z4gR5YjMfLJAECo2gNDDCrV3", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -79,12 +79,12 @@ public async Task UpdateCoupon3() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 3514, - DiscountUpperLimit = 5516, - Description = "v3xPQzPNZMa3cTmTslTDHzq00PkzT3rjRscSaTDEUx", - Name = "AJXNLOLDUjAEUO9KUSGzbSRmda66Hxc4wf0VsciZqVg9CY4JyxUqm9QYX9eOR0RPX1REGDLSjexe42N6h2JPSKXOz8JwoXWD3OcRqlTHYwOestfQFumGQVfU", + DiscountAmount = 336, + DiscountUpperLimit = 2168, + Description = "ozvlpngWpA6xbZMfc0uwppINu3aeeMh7MwqqZDhOobPpK6TParuulg11gUrgWq51AuUounyHv57rDbvmuL7BqYd28Ylq4PTRllx603bU9utxlgE1LKaCgZVizYnvZve6TUWFWHy2b5Vs5gPuvHu", + Name = "A5HWIqhNUoMi9wNIaJyI2pADs2B4yB1GZTk4B1PKHR2EWhPZSvV8nScTvJ4VHpUajLmD9cCimPwC97LHWaSOnICBJimGKiopraV9Fu47WiDgn9VJjED17kjNr295", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -99,13 +99,13 @@ public async Task UpdateCoupon4() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 7667, - StartsAt = "2021-03-27T19:26:47.000000Z", - DiscountUpperLimit = 1827, - Description = "hfYXr8Tws7k48pGfLa44NJMCeJ8jlsCf1ZGfe6gS6x1DqMOxCGU3f", - Name = "6AMPJnByO8IAY8ZIAKOHAMaB7ZxbhLpAG3vIRMVqbJVgHdPhvPKwzwzrbVYcpu", + DiscountAmount = 7559, + StartsAt = "2022-10-12T18:19:41.000000Z", + DiscountUpperLimit = 7547, + Description = "MRl2EDxJjIsLyTAA5MEWhdNFDbX7fss0ltmaJnxslaUL7RrxqbBxY5tCbxb35FzAfmkd3pduwUBkrqrvJ3GVs6GsJ8XiLApVwNY6zjKIEdqTZCuDots6oOpUnX5paeprWtPSGZrL9UrmNU3vFgZ69vwXIbJ7yB2uIbdTxo63tcXPzmao0EWnRVCjlgZcfxXnQfXvfoocz3td7BZN78kqzJ0Us2fGrJyLKsRHFPpRHSTTSFxnvRwj3Oa3urFP", + Name = "8R4bhOdaBwGLVVHwtN3AFb20DhVq", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -120,14 +120,14 @@ public async Task UpdateCoupon5() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 2232, - EndsAt = "2023-09-30T23:35:16.000000Z", - StartsAt = "2021-10-03T12:20:42.000000Z", - DiscountUpperLimit = 844, - Description = "TKQxDTzMnM7RDpI6DZQTPfIajSBmWzFbVfaL5LT2cPjctfArtA5QzauCKeqrCHLOb6c1NzcpMx2l8O1vhN74ziDPGC2ST6zTd6xVdSlQkj4Z4gR5YjMfLJAECo2gNDDCrV3PxozvlpngWpA6xbZMfc0uwppINu3aeeMh7MwqqZDhOobPpK6TParuulg11gUr", - Name = "gWq51AuUounyHv57rDbvmuL7BqYd28Ylq4PTRl", + DiscountAmount = 6563, + EndsAt = "2020-05-28T17:42:42.000000Z", + StartsAt = "2023-09-11T22:08:56.000000Z", + DiscountUpperLimit = 3543, + Description = "OmhxrSYnMI0dEOIqOFLqn2ZuLk5GF2FUuyDVUpZnC5UYez0zM0cPoxe0DGq4e7wXOOVc8GIqj26qcMQ423OrAYOyd21L95eAaG4JW0HS70OJOUKjKLeGCgLyc3XcFOYpAAHYYK9z73uxDP2ictixYSW0AnlJyQ4ogjQ", + Name = "gbj8PRfNm4vkTJ8joyTSHmI2see5qGgNKlkv5vEcEoMjbT4VP8lZF0AhpuShoXCly79fXYfw5LEwfbe5dxC9nFb6EnR37XI7b090WiBtRh0avWom7iSFIO4uZdtJGn", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -142,15 +142,15 @@ public async Task UpdateCoupon6() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 5356, - DisplayStartsAt = "2020-08-07T17:29:28.000000Z", - EndsAt = "2020-09-27T02:23:50.000000Z", - StartsAt = "2020-03-05T12:35:54.000000Z", - DiscountUpperLimit = 2330, - Description = "3bU9utxlgE1LKaCgZVizYnvZve6TUWFWHy2b5Vs5gPuvHuA5HWIqhNUoMi9wNIaJyI2pADs2B4yB1GZTk4B1PKHR2EWhPZSvV8nScTvJ4VHpUajLmD9cCimPwC97LHWaSOnICBJimGKiopraV9Fu47Wi", - Name = "Dgn9VJjED17kjNr295nMRl2EDxJjIsLyTAA5MEWhdNFDbX7fss0ltmaJnxslaUL7RrxqbBxY5tCbxb35FzAfmkd3pduwUBkrqrvJ3GVs6GsJ8XiLApVwNY6zjKIEdq", + DiscountAmount = 1206, + DisplayStartsAt = "2020-02-08T20:47:04.000000Z", + EndsAt = "2023-09-02T07:18:20.000000Z", + StartsAt = "2022-01-27T14:38:20.000000Z", + DiscountUpperLimit = 2852, + Description = "LBVq7JKL8IsIw17O7EyRwbRgUy7vFea5WeBAkgIciVnQYB9t75iPCouDaOPQZR4UpdKmspN8b2gkMcSPrmt0hjIJ", + Name = "u4", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -165,16 +165,16 @@ public async Task UpdateCoupon7() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 4702, - DisplayEndsAt = "2023-11-01T03:28:59.000000Z", - DisplayStartsAt = "2020-11-14T16:24:32.000000Z", - EndsAt = "2020-04-02T21:35:03.000000Z", - StartsAt = "2023-07-20T18:28:42.000000Z", - DiscountUpperLimit = 2165, - Description = "ots6oOpUnX5paeprWtPSGZrL9UrmNU3vFgZ69vwXIbJ7yB2uIbdTxo63tcXPzmao0EWnR", - Name = "VCjlgZcfxXnQfXvfoocz3td7B", + DiscountAmount = 3738, + DisplayEndsAt = "2021-12-01T14:27:07.000000Z", + DisplayStartsAt = "2022-03-13T01:08:20.000000Z", + EndsAt = "2020-03-26T08:29:43.000000Z", + StartsAt = "2024-03-18T13:33:54.000000Z", + DiscountUpperLimit = 8983, + Description = "scWlYirrj6XmXYoqVEvKvw3AdEs5hGDLuaSpYl1TGEiugglxJJBGt0dc", + Name = "btQc4uSkk26uSRwX6Rx7fOEoFSQiDYpTTgrywklVD4mELe2edQd6Mwu12UeT7ThuLLgJ9PT2zGkxOOzhT", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -189,17 +189,17 @@ public async Task UpdateCoupon8() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 5132, + DiscountAmount = 4776, IsDisabled = true, - DisplayEndsAt = "2020-04-08T03:42:05.000000Z", - DisplayStartsAt = "2022-02-13T13:46:16.000000Z", - EndsAt = "2021-07-28T12:08:23.000000Z", - StartsAt = "2023-06-11T07:24:46.000000Z", - DiscountUpperLimit = 6379, - Description = "qzJ0Us2fGrJyLKsRHFPpRHSTTSFxnvRwj3Oa3urFP8R4bhOdaBwGLVVHwtN3AFb20DhVqIxWOmhxrSYnMI0dEOIqOFLqn2ZuLk5GF2FUuyDVUpZnC5UYez0zM0cPoxe0DGq4e7wXOOVc8GIqj26qcMQ423OrAYOyd21L95eAaG4JW0HS70OJOUKjKLeGCgLyc3XcFOYpAAHYYK9z73uxDP2ictixYSW0A", - Name = "nlJyQ4ogjQgbj8PRfNm4", + DisplayEndsAt = "2023-09-27T05:41:28.000000Z", + DisplayStartsAt = "2022-05-03T13:46:52.000000Z", + EndsAt = "2021-08-11T18:49:09.000000Z", + StartsAt = "2022-05-10T06:49:18.000000Z", + DiscountUpperLimit = 4093, + Description = "QXea3eTBlP1za1n7IcWMlrV1ey0F13qC7iArhwm76E35ql4XfUae14Wbt93t26LiQAMBYx057AoBwLeryNecuIhUBXRQRCvkSHsmDbMU34aVyZLcCNEj4KngWmPwy7k0E27omWruIWs4TAGfq9ue8TvZwYbMntyIPzqAGarjc22UJafoQs8oM8ozozHv7pSU", + Name = "jn2vqwiu14DVHGOrsaIKsQ11QA0zf5QFhEcKjjKztGRK6", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -214,18 +214,18 @@ public async Task UpdateCoupon9() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 6902, - IsHidden = true, - IsDisabled = false, - DisplayEndsAt = "2021-07-04T22:35:36.000000Z", - DisplayStartsAt = "2022-10-23T19:05:14.000000Z", - EndsAt = "2020-05-23T06:21:51.000000Z", - StartsAt = "2020-09-08T07:46:28.000000Z", - DiscountUpperLimit = 1107, - Description = "HmI2see5qGgNKlkv5vEc", - Name = "EoMjbT4VP8lZF0AhpuShoXCly79fXYfw5LEwfbe5dxC9nFb6EnR37XI7b090WiBtRh0avWom7iSFIO4uZdtJGn6HWLBVq7JK", + DiscountAmount = 4246, + IsHidden = false, + IsDisabled = true, + DisplayEndsAt = "2022-07-08T18:44:37.000000Z", + DisplayStartsAt = "2020-02-21T16:30:57.000000Z", + EndsAt = "2021-11-11T10:37:55.000000Z", + StartsAt = "2022-10-19T04:59:49.000000Z", + DiscountUpperLimit = 6229, + Description = "edziHih60rhQZO78Ysa8FmX0ccAumcgyg4cqEaxSmm8kmOYz37PEcPNNiKvN5Ht8RLA9ghACTJ", + Name = "RDSX", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -240,19 +240,19 @@ public async Task UpdateCoupon10() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 2847, + DiscountAmount = 3117, IsPublic = true, IsHidden = true, IsDisabled = true, - DisplayEndsAt = "2021-06-01T15:49:59.000000Z", - DisplayStartsAt = "2020-08-31T18:20:47.000000Z", - EndsAt = "2022-04-28T03:00:25.000000Z", - StartsAt = "2023-03-28T11:41:52.000000Z", - DiscountUpperLimit = 6007, - Description = "17O7EyRwbRgUy7vFea5WeBAkgIciVnQYB9t75iPCouDaOPQZR4UpdKmspN8b2gkMc", - Name = "Prmt0hjIJu43wB7scWlYirrj6XmXYoqVEvKvw3AdEs5hGDLuaSpYl1TGEiugglxJJBGt0dcPbtQc4uSkk26u", + DisplayEndsAt = "2022-09-05T09:39:39.000000Z", + DisplayStartsAt = "2022-06-08T14:37:48.000000Z", + EndsAt = "2020-05-16T20:02:55.000000Z", + StartsAt = "2020-09-26T01:08:47.000000Z", + DiscountUpperLimit = 6126, + Description = "7lDuTKN6ygQ5h7kN0paU2HC64wcGrUcdcRO2Sa3zE9qA6JlqvTos7SrIAldP5taDahvoqIf3H7H22Xm9qyhmrKIzglEahNrgMO9grD73ccOw2h3Fa222nHBaN6510bAHdVRRVqtJb7GLA5jeThW5qr3yEd4dXuL0rYsAz43Mmx6hv0Ug3INp6i2B7flubMg8I3PFzXHSWu8scihqWwWKLIsgx", + Name = "xZCQ2441blMtSOZHoWLqvzthoXVcLebdhYmokN15vn0WBXfGwW2mMW1f9b8gICLPqqow4qG8fKRsijZT9ACbFhSbUnXdQpmPpnHFqiJvOHOlQFLd", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -267,20 +267,20 @@ public async Task UpdateCoupon11() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 2562, - Code = "RwX6", - IsPublic = true, - IsHidden = true, + DiscountAmount = 9385, + Code = "Om16oejI9", + IsPublic = false, + IsHidden = false, IsDisabled = true, - DisplayEndsAt = "2021-03-04T12:48:38.000000Z", - DisplayStartsAt = "2021-08-06T20:07:20.000000Z", - EndsAt = "2021-04-21T00:43:35.000000Z", - StartsAt = "2020-08-01T19:15:50.000000Z", - DiscountUpperLimit = 137, - Description = "EoFSQiDYpTTgrywklVD4mELe2edQd6Mwu12UeT7ThuLLgJ9PT2zGkxOOzhTpPLnUQXea3eTBlP1za1n7IcWMlrV1ey0F13qC7iArhwm76E35ql4XfUae14Wbt93t26LiQAMBYx057AoBwLeryNecuIhUBXRQRCvkSHsmDbMU34aVyZLcCNEj4KngWmPwy7k0E27omWruIWs4TAGf", - Name = "q9ue8TvZwYbMntyIPzqAGarjc22UJafoQs8oM8ozozHv7pSUjn2vqwiu14DVHGOrsaIKsQ11QA0zf5QFhEcKjjKztGRK6K9", + DisplayEndsAt = "2022-09-13T11:16:44.000000Z", + DisplayStartsAt = "2022-06-10T07:56:10.000000Z", + EndsAt = "2022-06-25T14:28:18.000000Z", + StartsAt = "2022-10-11T05:17:55.000000Z", + DiscountUpperLimit = 2459, + Description = "dat1CLgQoR", + Name = "zuyxB2QGrCPmQ415Et2SGqgy7Wowcm3CmFfxpyCPpsziVloAtynLsPgO9CFz87kImOLWynZ7sTqSkOWWDLZmiyY4qSDce16GC4wPtLkv3o4mk", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -295,21 +295,21 @@ public async Task UpdateCoupon12() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 932, - UsageLimit = 9993, - Code = "APEUIe", + DiscountAmount = 7352, + UsageLimit = 1545, + Code = "YjRj6ppJLn", IsPublic = true, - IsHidden = true, - IsDisabled = true, - DisplayEndsAt = "2021-08-13T11:55:14.000000Z", - DisplayStartsAt = "2022-10-03T12:45:51.000000Z", - EndsAt = "2023-01-25T22:57:35.000000Z", - StartsAt = "2021-06-21T22:04:45.000000Z", - DiscountUpperLimit = 7368, - Description = "h60rhQZO78Ysa8FmX0ccAumcgyg4cqEaxSmm8kmOYz37PEcPNNiKvN5Ht8RLA9ghACTJRDSXhb0oNXnX7lDuTKN6ygQ5h7kN0paU2HC64w", - Name = "cGrUcdcRO2", + IsHidden = false, + IsDisabled = false, + DisplayEndsAt = "2022-08-01T16:57:07.000000Z", + DisplayStartsAt = "2021-04-21T18:00:24.000000Z", + EndsAt = "2021-05-14T18:43:22.000000Z", + StartsAt = "2020-07-24T13:54:53.000000Z", + DiscountUpperLimit = 1295, + Description = "bXuRsPVeFJcsOCB9dZH0k0NKC7bYH6IQhPn4Xu22OkprhqhwvNpMEMbpSnLulsX8V7SnJwOTksCozm6o", + Name = "1k9oep", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -324,22 +324,22 @@ public async Task UpdateCoupon13() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 125, - MinAmount = 3345, - UsageLimit = 9299, - Code = "3z", - IsPublic = false, + DiscountAmount = 5586, + MinAmount = 7735, + UsageLimit = 2703, + Code = "yq0Oa1Szx", + IsPublic = true, IsHidden = false, - IsDisabled = false, - DisplayEndsAt = "2024-03-20T01:46:03.000000Z", - DisplayStartsAt = "2021-05-13T20:22:09.000000Z", - EndsAt = "2020-02-14T12:16:04.000000Z", - StartsAt = "2022-11-29T12:19:11.000000Z", - DiscountUpperLimit = 271, - Description = "A6JlqvTos7SrIAl", - Name = "P5taDahvoqIf3H7H22Xm9qyhmrKIzglEahNrgMO9grD73ccOw2h3Fa222nHBaN6510bAHdVRRVqtJb7GLA5jeThW5qr3yEd4dXuL0", + IsDisabled = true, + DisplayEndsAt = "2022-05-03T09:25:18.000000Z", + DisplayStartsAt = "2020-11-13T22:39:29.000000Z", + EndsAt = "2022-10-03T22:28:15.000000Z", + StartsAt = "2021-10-05T20:16:58.000000Z", + DiscountUpperLimit = 1985, + Description = "kEm7sWqtjzoUhtWxAFotkA3GwpJ6pUWjvsxF7sC23pAVbXivHZtrIAyP3B3n1m451mPU8dTD7bnX1r8l3hCw6Snm9mfcT5cLUh34lWYk1AXf6CZiEJmgnIHDOUd6m8hlpqS572AEF2Ig4ikrPHEQKtf", + Name = "hnULfkSB8hVVRhZgs0ShDA1T4", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -354,23 +354,23 @@ public async Task UpdateCoupon14() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 4338, - IsShopSpecified = false, - MinAmount = 8355, - UsageLimit = 7539, - Code = "z4", + DiscountAmount = 2667, + IsShopSpecified = true, + MinAmount = 9848, + UsageLimit = 7106, + Code = "hv1AO", IsPublic = false, IsHidden = false, - IsDisabled = true, - DisplayEndsAt = "2023-03-27T06:17:17.000000Z", - DisplayStartsAt = "2023-01-23T13:43:20.000000Z", - EndsAt = "2023-11-07T12:15:36.000000Z", - StartsAt = "2021-03-18T03:42:01.000000Z", - DiscountUpperLimit = 8850, - Description = "0Ug3INp6i2B7flubMg8I3PFzXHSWu8scihqWwWKLIsgxoxZCQ2441blMtSOZHoWLqvzthoXVcLebdhYmokN15vn0WBXfGwW2mMW1f9b8gICLPqqow4qG8fKRsijZT9ACbFhSbUnXdQpmPpnHFqiJvOHOlQFLdxOm16oejI9dat1CLgQoRlzuyxB2QGrCPmQ415Et2SGqgy7Wowcm3CmFfxpyCPpsziVloAtynLsPgO9CFz87kImOLWy", - Name = "Z7sTqSkOWWDLZmiyY4qSDce16GC4wPtLkv3o4mk88yYjRj6ppJLnlec8JObXuRsPVeFJcsOCB9dZH0k0NKC7bYH6IQhPn4Xu22OkprhqhwvNpME", + IsDisabled = false, + DisplayEndsAt = "2021-03-08T02:33:46.000000Z", + DisplayStartsAt = "2023-04-29T04:13:34.000000Z", + EndsAt = "2021-06-26T08:10:58.000000Z", + StartsAt = "2022-02-23T03:39:36.000000Z", + DiscountUpperLimit = 1527, + Description = "zXXsopchwGQjGjB8p2sVlc1F7AjO7bJtO7Dnnc0m9rCGM5hvlyZ4zlX8tOl1gapEcvHpCxJHTvEJuFQdQk10O1BigovU99ROsTZK65zQOhilbvDcAlCpIpPo9knGna2qU0GmaUmeizgJ6BwqETnaq5BggeTTsTdXg3gtXl8b4nZOZsr1VPBj7ivp8ue6C3vcL7BXf3IHjK0XiCg0zcQRlonr1N4IocuKCcZ1hdXCgyALhLsPZ4xEZBaL9gPoE5Pn", + Name = "xSYIBQUZMwQEKQp536z2WYA1sx132uYplZstFpjBFQy9bZmz7mGiFtXmRSje5IwYSIqDRQ8l1f3l8HQk", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -385,24 +385,24 @@ public async Task UpdateCoupon15() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 3277, - AvailableShopIds = new string[]{"0bd80e0d-13f0-47d3-ae10-d34cdac8ac75", "bf313f6c-091b-42f3-9ed8-0fb859ae47ba", "c8468a14-cadc-4556-b753-eb6ed6c564ca"}, - IsShopSpecified = true, - MinAmount = 9488, - UsageLimit = 5979, - Code = "wO", - IsPublic = true, + DiscountAmount = 9246, + AvailableShopIds = new string[]{"6c7b7f75-063d-44f6-adcb-562d09bddf32", "c4f943d0-a089-4281-b42d-171a2725346b"}, + IsShopSpecified = false, + MinAmount = 5235, + UsageLimit = 6834, + Code = "Rpli", + IsPublic = false, IsHidden = false, IsDisabled = false, - DisplayEndsAt = "2020-03-03T03:20:42.000000Z", - DisplayStartsAt = "2021-08-10T12:55:31.000000Z", - EndsAt = "2023-04-18T00:29:35.000000Z", - StartsAt = "2020-09-27T19:39:25.000000Z", - DiscountUpperLimit = 6447, - Description = "o1k9oepRB7yq0Oa1SzxnfEtxAkEm7sWqtjzoUhtWxAFotkA3GwpJ6pU", - Name = "WjvsxF7sC23pAVbXivHZtrIAyP3B3n1m451mPU8dTD7bnX", + DisplayEndsAt = "2020-06-18T16:23:44.000000Z", + DisplayStartsAt = "2022-08-18T04:21:45.000000Z", + EndsAt = "2020-02-09T14:32:44.000000Z", + StartsAt = "2020-11-09T20:42:34.000000Z", + DiscountUpperLimit = 3323, + Description = "KenDWjLTaaBosz7aBykLG1RzGMmx", + Name = "1hSkje9X0k", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -417,25 +417,25 @@ public async Task UpdateCoupon16() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 5169, - StorageId = "20c3d98d-9e72-4f38-966c-5f8122f2099d", - AvailableShopIds = new string[]{"c2c50ffc-4868-45c3-b736-2c11f9939d53", "a314d3ee-a5a7-422b-a86d-4c5e62d2af39", "34b57a90-4b3f-42a8-ad7f-580ebbb6f7e6", "dacface3-7754-4c98-b5e3-9b4c2d2cc0d5"}, - IsShopSpecified = true, - MinAmount = 6143, - UsageLimit = 2988, - Code = "lWYk1", - IsPublic = true, - IsHidden = false, + DiscountAmount = 8252, + StorageId = "0cfb1eed-7b22-43be-8314-c61cc6bd162e", + AvailableShopIds = new string[]{"8633e9d0-8e64-418a-90b8-a1470a62ee97", "8fab1458-2129-4d0a-8824-a83c934c8ea2", "50bc608d-6769-4521-b213-f9325d3ded23", "267172ca-5df7-45ab-bab1-f9e976a3d3e4", "8140b441-4278-4094-a3d1-beb91765b0d2", "ec1af284-19db-418b-91e3-72c19d34fdb9"}, + IsShopSpecified = false, + MinAmount = 8709, + UsageLimit = 4970, + Code = "zkpVE1o", + IsPublic = false, + IsHidden = true, IsDisabled = true, - DisplayEndsAt = "2024-03-20T03:30:11.000000Z", - DisplayStartsAt = "2023-05-20T21:08:42.000000Z", - EndsAt = "2020-12-17T07:46:05.000000Z", - StartsAt = "2023-01-12T20:29:23.000000Z", - DiscountUpperLimit = 8861, - Description = "mgnIHDOUd6m8hlpqS572AEF2Ig4ikrPHEQKtfhnULfkSB8hVVRhZgs0ShDA1T4kxBhv1AOy0nxw", - Name = "zXXsopchwGQjGjB8p2sVlc1F7AjO7bJtO7Dnnc0m9rCGM5hvlyZ4zlX8tOl1gapEcvHpCxJHTvEJuFQdQk10O1BigovU99ROsTZK65zQOhilbvDcAlCpIpPo9knGna2q", + DisplayEndsAt = "2024-03-04T18:18:02.000000Z", + DisplayStartsAt = "2023-08-02T23:44:57.000000Z", + EndsAt = "2022-04-11T21:17:12.000000Z", + StartsAt = "2021-11-04T18:52:16.000000Z", + DiscountUpperLimit = 9486, + Description = "sp14vePeJl09h1SmSe7z9uXJe9aRBNGFiXbom9IOMRvPLFSPNSfRkv8Et2jC", + Name = "NHdXqCXUrpWRIEnGneOjH6PTi68jf1Ll0O4t8yu2YY3amcbZRFCGWEFlMAhGqMbfoqHBJlao6arWtW2Kf2i4IAcwQjuFWx2kNI9qHm", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -450,10 +450,10 @@ public async Task UpdateCoupon17() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 148, - DiscountPercentage = 903.0, + DiscountAmount = 2316, + DiscountPercentage = 1549.0, }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -468,11 +468,11 @@ public async Task UpdateCoupon18() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 9301, - DiscountPercentage = 2736.0, - Name = "maUmeizgJ6BwqETnaq5BggeTTsTdXg3gtXl8b4nZOZsr1VPBj7ivp8ue6C3vcL7BXf3IHjK0", + DiscountAmount = 1767, + DiscountPercentage = 2441.0, + Name = "WQVGMbEKu4AfuwweTMrw4f2dzO7lqy4kEKJ1Q7c8C0SZpOWKljojyXNatscwZjWuBesyFuc4sWKFJnLD7m3pQpjDhF5ByJUZoKtqULctVH6JYk9cBHdXfv4mxi0ybLS", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -487,12 +487,12 @@ public async Task UpdateCoupon19() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 672, - DiscountPercentage = 2392.0, - Description = "iCg0zcQRlonr1N4IocuKCcZ1hdXCgyALhLsPZ4xEZBaL9gPoE5PnOxSYIBQUZMwQEKQp536z2WYA1sx132uYplZstFpjBFQ", - Name = "9bZmz7mGiFtXmRSje5IwYSIqDRQ8l1f3l8HQkQuvmK2Ptks2ZcRpli1kcYUjdKenDWjLTaaBosz7aBykLG1RzGMmx1hSkje9X0kmePd8GXi22Jw1idAxcQ9RQc", + DiscountAmount = 2298, + DiscountPercentage = 6868.0, + Description = "GhHvgOYEOxJ03xV3nSGPvtC19a5RpyBdhfDtmpMgxIW5ljI6yfgW8zOoaul3ISoLlGYqCoXoGAustVKiyGKg6I2c4vjJ0uuFNk5xEatUCGYnUIhqAnDQImUocNLmlkEs1s3oajWUDkbVb94dhcQmTjATi4FvTByqrSIzi26MGgp", + Name = "9DKPsTX2x6llLqyqxLBzmQKSHklP2GNjfKFk3xSPN2EauZcekm4uUHwCvLyAybYYI1PTnYt6AX3ZMraJiL", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -507,13 +507,13 @@ public async Task UpdateCoupon20() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 947, - DiscountPercentage = 8709.0, - DiscountUpperLimit = 4970, - Description = "zkpVE1oN8GZytUXsp14vePeJl09h1SmSe7z9uXJe9aRBNGFiXbom9IOMRvPLFSPNSfRkv8Et2jCeNHdXqCXUrpWRIEnGneOjH6PTi68jf1Ll0O4t8yu2YY3amcbZRFCGWEFlMAhGqMbfoqHBJlao6arWtW2Kf2i4IAcwQju", - Name = "Wx2kNI9qHm3gWQVGMbEKu4AfuwweTMrw4f2dzO7lqy4kEKJ1Q7c8C0SZpOWKljojyXNatsc", + DiscountAmount = 895, + DiscountPercentage = 8571.0, + DiscountUpperLimit = 8109, + Description = "NzuStDZHp5MvhzfbMCo9qyaARxtZqgB5ft0k4jfS4r5kfrLJkZytv5gO2QqNTMBVQz08laq2biuqoxBaoCNpyYWsiSLe8XgZiLcB9lkuwUmt5gGSX2SbBRPaYeWynmUQkGZMrt25VWYHR7PmuYOuy85eAINi4DCh9E1piom", + Name = "vY0y0i", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -528,14 +528,14 @@ public async Task UpdateCoupon21() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 7543, - DiscountPercentage = 7648.0, - StartsAt = "2022-02-09T06:36:21.000000Z", - DiscountUpperLimit = 7952, - Description = "yFuc4sWKFJnLD7m3pQpjDhF5ByJUZoKtqULctVH6JYk9cBHdXfv4mxi0ybLSzTGh", - Name = "HvgOYEOxJ03xV3nSGPvtC19a5RpyBdhfDtmpMgxIW5ljI6yfgW8zOoaul3ISoLlGYqCoXoGAustVKiyGKg6I2c4vjJ0u", + DiscountAmount = 105, + DiscountPercentage = 7015.0, + StartsAt = "2020-08-15T08:27:05.000000Z", + DiscountUpperLimit = 6241, + Description = "sEfLajE38CSizXaYXCbSM5b6xxCi9aS7pUn8sHDE4F3kcf0hrQ4a3rPgThS8KkZCOZQxeSP2z9qxNvFrLUebeM3qu8knhRZPaevJazOcU", + Name = "uFHzOggogIb0heOl2hQPfOiPoRxRiCop5Q0A9gB", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -550,15 +550,15 @@ public async Task UpdateCoupon22() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 8059, - DiscountPercentage = 190.0, - EndsAt = "2021-04-07T21:18:21.000000Z", - StartsAt = "2020-05-25T04:35:10.000000Z", - DiscountUpperLimit = 412, - Description = "FNk5xEatUCGYnUIhqAnDQImUocNLmlkEs1s3", - Name = "oajWUDkbVb94dhcQmTjATi4FvTByqrSIzi26M", + DiscountAmount = 392, + DiscountPercentage = 542.0, + EndsAt = "2023-08-10T22:13:36.000000Z", + StartsAt = "2022-08-26T03:38:27.000000Z", + DiscountUpperLimit = 819, + Description = "hyGU9Sc7TWphUCFQOlhJCzSIu3L4oB0QKjjVXdg6wCnP4F0PUy8JyZq3ofPUU0rY2rRd10bnDEPKoSGRnM40Adb2lsHFBNfL0ieognilvSR4pMoCwkxpSpqKLDrvgRvBVvAYQP0NP5o8oIbQ6bcvTH9KRHlq0wqM01LRxPcYJN00R6J1knyJeLDqePaGS57qQUn9Qo", + Name = "exnhecBro7jHBJHSTWFK0aJRYTfxgM2RajM6sQRgc1VEyXHMXBj8otEAcFy5ooXoXuzlRpCyCoZoaTfbTmVX0XqqL2DDCdNGv9QaNMmxX2S2fPh6fy135", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -573,16 +573,16 @@ public async Task UpdateCoupon23() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 2887, - DiscountPercentage = 3281.0, - DisplayStartsAt = "2021-11-30T13:42:00.000000Z", - EndsAt = "2023-11-19T21:42:35.000000Z", - StartsAt = "2023-07-26T10:37:04.000000Z", - DiscountUpperLimit = 644, - Description = "sTX2x6llLqyqxLBzmQKSHklP2GNjfKFk3xSPN2EauZ", - Name = "ekm4uUHwCvLyAybYYI1PTnYt6AX3ZMraJiLHRNzuStDZHp5MvhzfbMCo9qyaARxtZqgB5ft0k4jfS4r5kfrLJkZytv5gO2QqNTMB", + DiscountAmount = 5889, + DiscountPercentage = 73.0, + DisplayStartsAt = "2020-12-03T23:17:41.000000Z", + EndsAt = "2021-10-11T22:07:04.000000Z", + StartsAt = "2024-01-12T08:43:51.000000Z", + DiscountUpperLimit = 5652, + Description = "GggnvkdWrHaspAw5Vcp7CE78JSe44PvWgrDoffEic8syvxPXUni2oM8QHA7lWY5GLHqITj0UgJwxmfaF0gGfgNlG67XOfGi887nNv1eh26ZZWkeJQym7n7CGmjd25i", + Name = "FSdny2rQS", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -597,17 +597,17 @@ public async Task UpdateCoupon24() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 6661, - DiscountPercentage = 3292.0, - DisplayEndsAt = "2021-03-01T05:15:44.000000Z", - DisplayStartsAt = "2020-09-05T00:19:21.000000Z", - EndsAt = "2023-07-23T07:52:16.000000Z", - StartsAt = "2020-10-19T09:44:41.000000Z", - DiscountUpperLimit = 5279, - Description = "laq2biuqoxBaoCNpyYWsiSLe8XgZiLcB9lkuwUmt5gGSX2SbBRPaYeWynmUQkGZMrt25VWYHR7PmuYOuy85eAINi4DCh9E1piomvY0y0iLigYmahsEfLajE38CSizXaYXCbSM5b6xxCi9aS7pUn8sHDE4F3kcf0hrQ4a3rPgThS8KkZCOZQxeSP2z", - Name = "qxNvFrLUebeM3qu8knhRZPaevJazOcUuFHzOggogIb0heOl2hQPfOiPoRx", + DiscountAmount = 3675, + DiscountPercentage = 8862.0, + DisplayEndsAt = "2022-12-13T14:57:25.000000Z", + DisplayStartsAt = "2020-04-20T17:53:42.000000Z", + EndsAt = "2022-09-16T08:00:38.000000Z", + StartsAt = "2021-03-19T23:18:23.000000Z", + DiscountUpperLimit = 1258, + Description = "y8COfDZrZRHs0hjVGtY7fDHExM6iUcBW9LDUejJe4laTFkcJAyP9v3lR5fJ1SCFuFJVqCc62CsLVYKPyOwySSja", + Name = "xy00IGCXmzsObY8JjUm176PqMxSejYJwKQkQhcSsOlDNZZsSWHBkBrsiXhCnZzamORmWcss", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -622,18 +622,18 @@ public async Task UpdateCoupon25() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 941, - DiscountPercentage = 4562.0, - IsDisabled = false, - DisplayEndsAt = "2023-02-24T12:31:13.000000Z", - DisplayStartsAt = "2023-05-11T18:33:19.000000Z", - EndsAt = "2022-07-07T10:33:20.000000Z", - StartsAt = "2021-05-18T05:54:56.000000Z", - DiscountUpperLimit = 5523, - Description = "A9g", - Name = "BKU33EhyGU9Sc7TWphUCFQOlhJCzSIu3L4oB0QKjjVXdg6wCnP4F0PUy8Jy", + DiscountAmount = 1197, + DiscountPercentage = 9.0, + IsDisabled = true, + DisplayEndsAt = "2021-05-31T16:19:50.000000Z", + DisplayStartsAt = "2021-07-03T10:51:41.000000Z", + EndsAt = "2024-03-01T06:03:31.000000Z", + StartsAt = "2023-02-08T04:38:32.000000Z", + DiscountUpperLimit = 5825, + Description = "htt18u7MooUueVWo8T9dRNvfu3qkwBDNVzugQpgEVipsMl1opS6XVL1U8vfTPgZQoGXLb8hT5vzbbFysLVW03Q8sgkwbt7bycdIa6s2OiS448zYYuSerVgt5xpThqkxWuN4OkYmUnkAFHrW518DEhvGfJFhBLPIWgGXu2FRRBCtapsc2OJEtIYHTkPMCnHWRhGK3T2O4zTKZrpJNYtglnu99Onqaf5iTxaKHt4HXxpMz5eg3TFJnOMXlccr", + Name = "SM4NeRkShSKY", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -648,19 +648,19 @@ public async Task UpdateCoupon26() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 5596, - DiscountPercentage = 9056.0, - IsHidden = false, - IsDisabled = false, - DisplayEndsAt = "2022-07-26T11:30:55.000000Z", - DisplayStartsAt = "2022-09-20T08:08:47.000000Z", - EndsAt = "2022-06-12T20:58:14.000000Z", - StartsAt = "2020-07-08T08:44:00.000000Z", - DiscountUpperLimit = 2645, - Description = "0rY2rRd10bnDEPKoSGRnM40Adb2lsHFBNfL0ieognilvSR4pMoCwkxpSpqKLDrvgRvBVvAYQP0NP5o8oIbQ6bc", - Name = "TH9KRHlq0wqM01LRxPcYJN00R6J1knyJeLDqePaGS57qQUn9QotexnhecBro7jHBJHSTWFK0aJRYTfxgM2RajM6sQRgc1VEyXHMXBj8otEAcFy5ooXoXuzl", + DiscountAmount = 1722, + DiscountPercentage = 3826.0, + IsHidden = true, + IsDisabled = true, + DisplayEndsAt = "2023-10-06T23:26:39.000000Z", + DisplayStartsAt = "2020-04-05T02:23:36.000000Z", + EndsAt = "2022-06-24T17:07:22.000000Z", + StartsAt = "2020-05-11T08:31:06.000000Z", + DiscountUpperLimit = 8586, + Description = "rqJ58uKWhjJEVfg4kmmGr3fEZnBlmzkrtoyKm38BDyuj1U15iB0VVUR", + Name = "NCTBSkvCAJURQ0xc8v3XGoxNYBzQF26RRnLKM2vajHzuhk8mM7y90MUBMqpZFx6CyPOvMtoUI", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -675,20 +675,20 @@ public async Task UpdateCoupon27() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 2969, - DiscountPercentage = 4208.0, - IsPublic = true, + DiscountAmount = 5025, + DiscountPercentage = 1220.0, + IsPublic = false, IsHidden = false, - IsDisabled = false, - DisplayEndsAt = "2023-03-16T04:51:59.000000Z", - DisplayStartsAt = "2023-02-20T14:26:38.000000Z", - EndsAt = "2021-04-20T04:56:40.000000Z", - StartsAt = "2023-01-24T12:20:31.000000Z", - DiscountUpperLimit = 6023, - Description = "aTfbTmVX0XqqL2DDCdNGv9QaNMmxX2S2fPh6fy135I5DG", - Name = "GggnvkdWrHaspAw5Vcp7C", + IsDisabled = true, + DisplayEndsAt = "2023-01-16T02:11:32.000000Z", + DisplayStartsAt = "2023-08-17T10:00:44.000000Z", + EndsAt = "2021-09-17T15:10:54.000000Z", + StartsAt = "2024-02-06T11:36:18.000000Z", + DiscountUpperLimit = 6826, + Description = "ZY6omFZc6c5lAiaH7ksth", + Name = "q2qt1fISbJLQ2IGy7A4O5EuFDi3e", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -703,21 +703,21 @@ public async Task UpdateCoupon28() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 9271, - DiscountPercentage = 8991.0, - Code = "JSe44PvWg", - IsPublic = true, + DiscountAmount = 5162, + DiscountPercentage = 3131.0, + Code = "7", + IsPublic = false, IsHidden = false, IsDisabled = true, - DisplayEndsAt = "2021-07-26T00:28:52.000000Z", - DisplayStartsAt = "2023-09-02T21:58:07.000000Z", - EndsAt = "2022-05-24T05:58:28.000000Z", - StartsAt = "2020-01-03T10:55:32.000000Z", - DiscountUpperLimit = 1766, - Description = "fEic8syvxPXUni2oM8QHA7lWY5GLHqITj0UgJwxmfaF0gGfgNlG67XOfGi887nNv1eh26ZZWkeJQym7n7CGmjd25iFSdny2rQSPU5tCjVy8COfDZrZRHs0hjVGtY7fDHExM6iUcBW9LDUe", - Name = "Je4laTFkcJAyP9v3lR5fJ1SCFuFJVqCc62CsLVYKPyOwySSjaFxy00IGCXmzsObY8JjUm176PqMxSejYJwKQkQhcSsOlDNZZsSWHBkBrsiX", + DisplayEndsAt = "2024-01-19T14:30:29.000000Z", + DisplayStartsAt = "2021-12-16T22:42:02.000000Z", + EndsAt = "2022-06-04T06:30:15.000000Z", + StartsAt = "2021-03-02T00:56:13.000000Z", + DiscountUpperLimit = 2911, + Description = "zGZlqsrJTtHeL1jl3TaroJ97KS7PIYmqHtFEvZxOLgNEFPzTNAeMR2CvVgTRCY2rEPprVjpNeaYJXDFnN5l443TmOvQLPfQxkSjhKrHXePF1aNsQcGEPe2hgvk3yuDeTC8XzXR9jncya31KgghsgYe3TbLJN21a8hZtm5so8Mz8sE9uDmHdcukVhdalQqRPyTvG2tPeRbQcNODGa3IhebkRxi8kuGoSk8mmCPAG5TaOSJrFwT6", + Name = "MSTQQD3aZSLuV5KvsCMKR5EbTWV4WWsRyRXgRYVg4CYuzSBW4stkoPc7UXRyRiV8Pax53IDmwu", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -732,22 +732,22 @@ public async Task UpdateCoupon29() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 8972, - DiscountPercentage = 2414.0, - UsageLimit = 9024, - Code = "mO", - IsPublic = false, - IsHidden = true, + DiscountAmount = 9098, + DiscountPercentage = 4305.0, + UsageLimit = 4368, + Code = "WjbI", + IsPublic = true, + IsHidden = false, IsDisabled = true, - DisplayEndsAt = "2023-04-27T19:07:15.000000Z", - DisplayStartsAt = "2021-09-05T16:18:59.000000Z", - EndsAt = "2024-03-08T04:14:28.000000Z", - StartsAt = "2023-01-13T12:59:56.000000Z", - DiscountUpperLimit = 1197, - Description = "2FF3HAzhtt", - Name = "18u7MooUueVWo8T9dRNvfu3qkwBDNVzugQpgEVipsMl1opS6XVL1U8vfTPgZ", + DisplayEndsAt = "2022-09-28T20:06:04.000000Z", + DisplayStartsAt = "2023-08-07T06:04:07.000000Z", + EndsAt = "2024-03-17T12:26:44.000000Z", + StartsAt = "2021-10-05T20:13:28.000000Z", + DiscountUpperLimit = 5278, + Description = "DMCSqp4SWi3zPKlO0ubMaaWt2sfRwBothNvTY3vFr4ELRXyBW70oqJ1JP1EYwzYF5YE8jQgUzmyBkd9RsSiJlXzLN5312aQsa3khCQuI0KxC45PIbfMDQsr0pTvhXVGg9hnQlyenzuwrO3gGQmGe09eXlKtPgqSA0ERaGz46vIiA4hbe1yI3CGp5lj6m5fgO", + Name = "CupwcIPxBzhbkfE", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -762,23 +762,23 @@ public async Task UpdateCoupon30() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 146, - DiscountPercentage = 990.0, - MinAmount = 426, - UsageLimit = 9351, - Code = "XLb8hT5v", + DiscountAmount = 6476, + DiscountPercentage = 2858.0, + MinAmount = 3019, + UsageLimit = 370, + Code = "UPd9GpW6Q9", IsPublic = true, - IsHidden = true, - IsDisabled = true, - DisplayEndsAt = "2020-07-25T06:57:38.000000Z", - DisplayStartsAt = "2021-03-30T10:20:47.000000Z", - EndsAt = "2021-05-31T06:27:39.000000Z", - StartsAt = "2022-12-12T19:05:29.000000Z", - DiscountUpperLimit = 7050, - Description = "W03Q8sgkwbt7bycdIa6s2OiS448zYYuSerVgt5xpThqkxWuN4OkYmUnkAFHrW518DEhvGfJFhBLPIWgGXu2FRRBCtapsc2OJEtIYHTkPMCnHWRhGK3T2O4zTKZrpJNYtglnu99Onqaf5iTxaKHt4HXxpMz5eg3TFJnOMXlccrSM4NeRkShSKYnhr8JJ6rqJ58uKWhjJEVfg4kmmGr3fEZnB", - Name = "lmzkrtoyKm38BDyuj1U15iB0VVURHNCTBSkvCAJURQ0xc8v3XGoxNYBzQF26R", + IsHidden = false, + IsDisabled = false, + DisplayEndsAt = "2023-12-01T00:54:48.000000Z", + DisplayStartsAt = "2020-03-08T10:36:17.000000Z", + EndsAt = "2020-03-18T15:07:07.000000Z", + StartsAt = "2021-06-22T03:15:57.000000Z", + DiscountUpperLimit = 4397, + Description = "GFM1PrngLs4Zq6", + Name = "jFKNHUPj8OaHLD3inc4333SWlp4s7jMjS5PtJzYsdA5qhl1QGqEwjgkrGn0uAn0iqI2b5rxtzGOZhKJMKwzvYsbBzTdo6bpAqcWNJrNTsv2Llex1ejG", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -793,24 +793,24 @@ public async Task UpdateCoupon31() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 9625, - DiscountPercentage = 2770.0, - IsShopSpecified = true, - MinAmount = 781, - UsageLimit = 1227, - Code = "M", - IsPublic = true, + DiscountAmount = 2430, + DiscountPercentage = 539.0, + IsShopSpecified = false, + MinAmount = 1629, + UsageLimit = 7420, + Code = "2ugzGx", + IsPublic = false, IsHidden = true, - IsDisabled = false, - DisplayEndsAt = "2023-01-20T22:10:16.000000Z", - DisplayStartsAt = "2022-09-02T12:19:44.000000Z", - EndsAt = "2020-08-18T18:37:50.000000Z", - StartsAt = "2022-03-09T01:20:40.000000Z", - DiscountUpperLimit = 1853, - Description = "k8mM7y90MUBMqpZFx6CyPOvMtoUIDYTTb9YLUK2ZY6omFZc6c5lAiaH7ksthq2qt1fISbJLQ2IGy7A4O5EuFDi3ep7E8KTwqzGZlqsrJTtHeL1jl3TaroJ97KS7PIYmqHtFEvZxOLgNEFPzTNAeMR2CvVgTRCY2rEPprVjpNeaYJXDFnN5l443TmOvQLPfQxkSjhKrHXePF1aNsQcGEPe2hgvk3yuDeTC", - Name = "8XzXR9jncya", + IsDisabled = true, + DisplayEndsAt = "2023-04-05T14:18:06.000000Z", + DisplayStartsAt = "2022-09-17T06:44:01.000000Z", + EndsAt = "2023-09-07T17:23:11.000000Z", + StartsAt = "2021-02-27T08:38:33.000000Z", + DiscountUpperLimit = 671, + Description = "50Yf2M71M8zENOSGlzUlDTz33P2rJ14", + Name = "YHcAJKWHCf11oIN1lhxfCtQoWt3KCnkWzy38cC0E7gsSEITDei3yOkB642y5M6ZGKLNmOSXPLkVgGHidiNxSMbU65iFGAAyuGpPep5MlLDDmy5H5WNxLWXFOkEFZ", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -825,25 +825,25 @@ public async Task UpdateCoupon32() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 947, - DiscountPercentage = 2353.0, - AvailableShopIds = new string[]{"1b5f19df-153a-4d7e-be24-a3a933ba6c4b", "f54b9d17-3f22-44e7-a7e8-d273589492e7", "7f02468a-3bd9-4b27-a5b3-58077bc1ab54", "870983db-1422-4362-8c13-2a4aa6dda4dc", "fe710f4e-8b89-42ba-b231-49e13bc1feb8", "cc2a77e8-7791-495a-b4fc-3b6d80b6e535", "1e24792b-9b02-4673-9fef-a17db191cbb8"}, - IsShopSpecified = false, - MinAmount = 4516, - UsageLimit = 7352, - Code = "sE9uDmHdc", - IsPublic = false, - IsHidden = false, - IsDisabled = true, - DisplayEndsAt = "2022-07-23T08:39:50.000000Z", - DisplayStartsAt = "2023-01-22T09:18:23.000000Z", - EndsAt = "2021-07-25T22:24:36.000000Z", - StartsAt = "2021-10-23T00:17:29.000000Z", - DiscountUpperLimit = 8700, - Description = "hdalQqRPyTvG2tPeRbQcNODGa3Iheb", - Name = "kRxi8kuGoSk8mmCPAG5TaOSJrFwT6IMSTQQD3aZSLuV5KvsCMKR5EbTWV4WWsRyRXgRYVg4CYuzSBW4stkoPc7UXRyRiV8Pa", + DiscountAmount = 1542, + DiscountPercentage = 7461.0, + AvailableShopIds = new string[]{"a710eadf-be1c-4169-88af-d4bf0af24dcd", "fdd0b98d-04df-456b-bcba-908e4a8734ce", "f97b326b-a09f-4704-8414-9a25c56a19c3", "69cc62b4-61a4-4c17-986a-c6c1fd7d0680", "78d3f267-dc00-4912-9983-7eeee38615a8"}, + IsShopSpecified = true, + MinAmount = 6862, + UsageLimit = 9485, + Code = "y", + IsPublic = true, + IsHidden = true, + IsDisabled = false, + DisplayEndsAt = "2020-09-06T16:48:51.000000Z", + DisplayStartsAt = "2020-05-21T22:48:41.000000Z", + EndsAt = "2023-07-01T12:37:12.000000Z", + StartsAt = "2021-01-02T21:36:08.000000Z", + DiscountUpperLimit = 5999, + Description = "OsY3XmfSCMMI0hPIOcfptkBjffHuYKUEJ4zrJepcLNjePvmbsJ6aAodX3lOsSzeTfXuUhrzyKZN2IpvZDbUGNbf92zGejiy7b3srgm7LVnhxTyAZfZDkQ2r2xXuIalmcupP8PaFubqXmo0h47ayHi8sXxsnC42wCpyAiB", + Name = "nUBLAV97YftKTMpHhWMUK3SCm", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -858,26 +858,26 @@ public async Task UpdateCoupon33() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountAmount = 4771, - DiscountPercentage = 3588.0, - StorageId = "b67003f8-d935-4333-8944-bbed1db94f20", - AvailableShopIds = new string[]{"4f5b4b8d-f975-438a-9fd1-674f4c02d110", "98009dc3-f3d7-429d-aa62-882d6912827f", "7d40d549-87d0-4c6d-862c-1247f6c4a857", "bb958eeb-0084-40e8-b79e-b3bfdd9d6a98", "5ef35544-564d-4502-afc3-ba5370f0bbf1", "5b0c61f0-ddb4-45d3-aed7-055bd7e5032e", "f757107c-35dd-4806-bbe0-0e69d35dcd5e", "b8071233-4ffa-4950-8b6c-bc7ce424da24"}, + DiscountAmount = 2111, + DiscountPercentage = 7522.0, + StorageId = "b8919139-7b8b-42c2-9801-486fd906cd93", + AvailableShopIds = new string[]{"6be4e01c-90da-4537-b74b-2fdee7740981", "cdf7f2c8-8874-4b58-9192-53b239865e3e", "9807bedd-6f90-4033-88f7-a6d46cc6664c"}, IsShopSpecified = true, - MinAmount = 8380, - UsageLimit = 5711, - Code = "0ubMaaW", - IsPublic = true, - IsHidden = false, - IsDisabled = true, - DisplayEndsAt = "2021-11-04T08:28:23.000000Z", - DisplayStartsAt = "2021-08-20T23:08:53.000000Z", - EndsAt = "2022-05-06T19:21:30.000000Z", - StartsAt = "2021-09-19T00:21:39.000000Z", - DiscountUpperLimit = 6204, - Description = "sfRwBothNvTY3vFr4ELRXyBW70oqJ1JP1EYwzYF5YE8jQgUzmyBkd9RsSiJlXzLN5312aQsa3khCQuI0KxC45PIbfMDQsr0pTvhXVGg9hnQlyenzuwrO3gGQmGe09", - Name = "eXlKtPgqSA0ERaGz46vIiA4hbe1yI3CGp5lj6m5fgOCupwcI", + MinAmount = 7403, + UsageLimit = 9986, + Code = "UG7zxtQPL0", + IsPublic = false, + IsHidden = true, + IsDisabled = false, + DisplayEndsAt = "2022-10-21T13:07:07.000000Z", + DisplayStartsAt = "2023-06-25T17:37:41.000000Z", + EndsAt = "2022-03-21T17:50:26.000000Z", + StartsAt = "2020-11-28T00:39:43.000000Z", + DiscountUpperLimit = 6504, + Description = "v3B3t2DzpE8reI7vFyo7eM4dNHW25nKJYDvzM004QSYdkecoFJzr3brOZ5f3RQvkhtySJKYRUQ3NzIgBoxko0Q38viglT3j7uK9FEO8wpTMbUo34OhjcbIFy00bHfPtADraHJBywFUVQhJIvCWpCXLp2gUnx8oHUCw9IDU8v5tebk72bnq5V1PYuyQsrCeZ", + Name = "lknHwyCYeoTGD6IVelM1xkQHIURZCUVG9E4BcH9vh8Qcd9Qr1jGxJh75seT2MlMasdJCSgZ4nn16A08HMuzRKVjoY87iExdEHTNDtgEpdMlXJAKinvVKW5j", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -892,9 +892,9 @@ public async Task UpdateCoupon34() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 8416.0, + DiscountPercentage = 9101.0, }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -909,10 +909,10 @@ public async Task UpdateCoupon35() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 8343.0, - Name = "BzhbkfELKrUPd9GpW6Q92PXWpLmGFM1PrngLs4Zq6rjFKNHUPj8OaHLD3inc4333SWlp4s7jMjS5PtJzYsdA5qhl1QGqEwjgkrGn0uAn0iqI2b5rxtzGOZhKJ", + DiscountPercentage = 6338.0, + Name = "ic0lbP5i9pPDb3qItRRs3FY6lAlrydgPmYNQmdCCSHSb7PeqbGNNyGMxdwCiRwJpoUBZS7wM2sjFT50Pr6H3Lr5Vqadi7ItSc4oUdi9EYp8oXZ4d1DUqCUDmWqMmM9", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -927,11 +927,11 @@ public async Task UpdateCoupon36() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 5709.0, - Description = "wzvYsbBzTdo6bpAqcWNJrNTsv2Llex1ejGQ2ugzGxu81Sx50Yf2M71M8zENOSGlzUlDTz33P2rJ14YHcAJKWHCf11oIN1lhxfCtQoWt3KCnkWzy38cC0E7gsSEITDei3yOkB642y5M6ZGKLNmOSXPLkVgGHidiNxSMbU65iFGAAyuGpPep5MlLDDmy5H5WNxLWXFOkEFZiHM", - Name = "kNkDC4XjAgnNgP", + DiscountPercentage = 4041.0, + Description = "murAkMd4wDsAO01hvmpIXnG4Vdq7gNAtqrqKm6uKQNQH3PDcRwUCecSBjOParYUfATbiJrkxUEwT3M91XjHrTG7fMCl81IJPQuSHXTmEReE1YV9ebnUBpzD7d9DsGnOvPtZOQ7wRQgMzlEQYhb78oA0LE9nGzsoBIqSCZEncCQxjIhrUeBMFsGSoFMs14cvovqZ6GQpcxkL1iWim0Xpy9XRR4F", + Name = "HqayBd9", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -946,12 +946,12 @@ public async Task UpdateCoupon37() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 9337.0, - DiscountUpperLimit = 8359, - Description = "1IFexxHoOsY3XmfSCMMI0hPIOcfptkBjffHuYKUEJ4zrJepcLNjePvmbsJ6aAodX3lOsSzeTfXuUhrzyKZN2IpvZDbUGNbf92zGejiy7b3srgm7LVnhxTyAZfZDkQ2r2xXuIalmcupP8PaFubqXmo0h47ayHi8sXxsnC42wCpyAiBnUBLAV97YftKTMpHhWMUK3SCmPb9BXoLZ7wKHtX23HwTLkUG7zxtQPL0ebUOhv3B3t2Dz", - Name = "pE8reI7vFyo7eM4dNH", + DiscountPercentage = 8853.0, + DiscountUpperLimit = 8630, + Description = "naDnCaj1IshUK5sOcLMoSdluvLDw0rIOalhSCHrt5J1YKxmhpIQaAHuF1XqBsQEc2YHzb0v51JNexx20BlobdlTY6n3Lb", + Name = "K6Vu4m4rhE7PkEzPYVXfzwtjxI8n9Z0CQKMUdsLKbKLcaV6nH18WcZidvZ55mAgOE16AnmYbzCLHYWconVaiJFwoOHJhs1D1k", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -966,13 +966,13 @@ public async Task UpdateCoupon38() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 5930.0, - StartsAt = "2022-02-11T04:04:39.000000Z", - DiscountUpperLimit = 7558, - Description = "JYDvzM004QSYdkecoFJzr3brOZ5f3RQvkhtySJKYRUQ3NzIgBoxko0Q38viglT3j7uK9FEO8wpTMbUo34OhjcbIFy00bHfPtADraHJBywFUVQhJIvCWpCXLp2gUnx8oHUCw9IDU8v5tebk72bnq5V1PYuyQsrCeZvlknHwyCYeoTGD6IVelM1xkQHIURZCUVG9E4BcH9vh8Q", - Name = "d9Qr1jGxJh75seT2MlMasdJCSgZ4nn16A08HMuzRKVjoY87iExdEHTNDtgEpdMlXJAKinvVKW5jNBic0lbP5i9pPDb3qItRRs3FY", + DiscountPercentage = 1259.0, + StartsAt = "2021-12-17T01:06:58.000000Z", + DiscountUpperLimit = 474, + Description = "5xpUZ28FCmVx3QLXn5K0ujHfTEebumDwnUvtTuwE1P6w3jvuc6WVynW", + Name = "lMwTGtLKHNv0GHMA8YNVctqn0HylBEaWFtKmGqTMRGGhLK4md8CvDRXJmyMUq3nONdNUldEzZzYqTFGHLldYwHPZ5Gy", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -987,14 +987,14 @@ public async Task UpdateCoupon39() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 3894.0, - EndsAt = "2021-08-11T07:12:44.000000Z", - StartsAt = "2022-05-24T04:12:05.000000Z", - DiscountUpperLimit = 6508, - Description = "rydgPmYNQmdCCSHSb7PeqbGNNyGMxdwCiRwJpoUBZS7wM2sjFT50Pr6H3Lr5Vqadi7ItSc4oUdi9EYp8oXZ4d1DUqCUDmWqMmM9IYmurAkMd4wDsAO01hvmpIXnG4Vdq7gNAtqrqKm6uKQNQH3PDcRwUCecSBjOParY", - Name = "UfATbiJrkxUEwT3M91XjHrTG7fMCl81IJPQuSHXTmEReE1YV9ebnUBpzD7d9DsGnOvPtZOQ7wRQgMzlEQYhb78oA0LE9nGzsoBIqSCZEncCQxjIhrUeBMFsGSoFMs", + DiscountPercentage = 2415.0, + EndsAt = "2021-02-27T01:38:11.000000Z", + StartsAt = "2020-02-27T07:06:01.000000Z", + DiscountUpperLimit = 6233, + Description = "cgPPK3Dchqik562nQJ7JN9nEMDfH9ZULXMKOjFu2fGiShoySflnRPKvTH4Qb4HK1DE5zpHipftSBuuUyajKD4UG1MO97nrik73QyiaNKms0iFYGrWxxlKwOlCibtq2e0nqtXLNI", + Name = "G9Gffmmox8hwqx5x7fQZGPMXFo6oIvZGxUJAAeHeUyg78eCpqwfbVaGI8MUg6pkTJeF4LA5VGWmlO55tLRhXf", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1009,15 +1009,15 @@ public async Task UpdateCoupon40() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 8881.0, - DisplayStartsAt = "2023-07-29T07:09:29.000000Z", - EndsAt = "2020-09-05T07:56:36.000000Z", - StartsAt = "2020-02-26T23:21:36.000000Z", - DiscountUpperLimit = 8099, - Description = "vovqZ6GQpcxkL1iWim0Xpy9XRR4FHqayBd9Y6naD", - Name = "Caj1IshUK5sOcLMoSdluvLDw0rIOalhSCHrt5J1YKxmhpIQaAHuF1XqBsQEc2YHzb0v51JNexx20BlobdlTY6n3LbK6Vu4m4rhE7PkEzPYVXfzw", + DiscountPercentage = 6608.0, + DisplayStartsAt = "2021-03-01T03:28:52.000000Z", + EndsAt = "2022-09-17T03:53:42.000000Z", + StartsAt = "2021-10-27T03:57:01.000000Z", + DiscountUpperLimit = 370, + Description = "TbvP80JDs4TLAvvWwguBec41EmwzzFrgc709a7P9KtTHr3zG8NnPjRfIRrqy3FohrRiHbftN77E9sKP2LWTHQkvbYQTkmfSmGSFmTTeLGAy7h6m0YyagUC0Ij3N9K7EVH4", + Name = "f0IDf80jI5hMMqGagepFcb0C3pMehBLw9", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1032,16 +1032,16 @@ public async Task UpdateCoupon41() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 8620.0, - DisplayEndsAt = "2023-04-21T23:31:54.000000Z", - DisplayStartsAt = "2022-09-26T22:03:53.000000Z", - EndsAt = "2023-02-09T04:21:12.000000Z", - StartsAt = "2021-03-12T06:41:12.000000Z", - DiscountUpperLimit = 7534, - Description = "9Z0CQKMUdsLKbKLca", - Name = "6nH18WcZidvZ55mAgOE16AnmYbzCLHYWconVaiJFwoOHJhs1D1kk2Z65xpUZ28FCmVx3QLXn5K0ujHfTEebumDw", + DiscountPercentage = 514.0, + DisplayEndsAt = "2021-06-07T00:15:13.000000Z", + DisplayStartsAt = "2021-01-15T19:50:55.000000Z", + EndsAt = "2021-05-08T16:25:41.000000Z", + StartsAt = "2021-10-25T14:50:15.000000Z", + DiscountUpperLimit = 1929, + Description = "lxpk65zsLMOaWLvqiZty5Zp232IvDDPPtMusem1WSPOdAkWLCHhP7q7jyjEo8V3Di9DtzhzAGKUtsDdhPal5eEvQkTNVI1DbDv2ICSa1fLqeRzwnNnU8", + Name = "y7seU6TPp7YTcvCbmuWQvyjmdKhWFzroFJfg0zCih9qHu842U5SnXNqipKVsIIUjVYx3ZiMVP", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1056,17 +1056,17 @@ public async Task UpdateCoupon42() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 5486.0, - IsDisabled = false, - DisplayEndsAt = "2020-02-13T11:57:04.000000Z", - DisplayStartsAt = "2022-08-01T05:04:20.000000Z", - EndsAt = "2021-07-25T05:18:32.000000Z", - StartsAt = "2020-02-25T23:27:01.000000Z", - DiscountUpperLimit = 9649, - Description = "6w3jvuc6WVynWZlMwTGtLKHNv0GHMA8YNVctqn0HylBEaWFtKmGqTMRGGhLK4md8CvDRXJmyMUq3nONdNUldEzZzYqTFGHLldYwHPZ5GyoYYcgPPK3Dchqik562nQJ7JN9nEMDfH9ZULXMKOjFu2fGiShoySflnRPKvTH4Qb4HK1DE5zpHipftSBuuUyajKD4UG1MO97nrik73Qyi", - Name = "NKms0iFYGrWxxlKwOlCibtq2e0nqtXLNITG9Gffmmox8hwqx5x7fQZGPMXFo6oIvZGxUJAAeHeUyg78eCpqwfbVaGI8MUg6pkT", + DiscountPercentage = 2454.0, + IsDisabled = true, + DisplayEndsAt = "2024-02-21T17:56:21.000000Z", + DisplayStartsAt = "2022-02-16T19:55:21.000000Z", + EndsAt = "2020-03-07T21:40:48.000000Z", + StartsAt = "2021-07-11T21:48:25.000000Z", + DiscountUpperLimit = 2479, + Description = "0xgguEtAXJ6WozfUGo1oVRA1PV2JD5SjzUvS2Jlq6P89tC2Mi1PRe6ex8zQnoMXPxIs0d6X24reGHeQvAPqGMsA1rgfPu4olvC1KDDE1G2mGU9YeDH5Tysjz5v4HW6eqkSknjWS4aW80Xp", + Name = "YCo9TXEMx6Q3N4lydCpBzThmgOIjIatpE7508LaYMNkxpSQqkfWLu8", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1081,18 +1081,18 @@ public async Task UpdateCoupon43() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 8138.0, - IsHidden = false, + DiscountPercentage = 4448.0, + IsHidden = true, IsDisabled = true, - DisplayEndsAt = "2020-03-12T11:59:48.000000Z", - DisplayStartsAt = "2022-04-17T00:50:20.000000Z", - EndsAt = "2020-02-14T13:46:41.000000Z", - StartsAt = "2023-09-07T21:43:53.000000Z", - DiscountUpperLimit = 9814, - Description = "GWmlO55tLRhXfPthFrTbvP", - Name = "80JDs4TLAvvWwguBec41EmwzzFrgc", + DisplayEndsAt = "2021-01-17T02:16:48.000000Z", + DisplayStartsAt = "2020-05-09T10:20:53.000000Z", + EndsAt = "2022-02-09T06:34:10.000000Z", + StartsAt = "2023-12-26T06:45:05.000000Z", + DiscountUpperLimit = 7921, + Description = "jfwNPVeBo88egFulBO0tWJ93Y52C590AS7UiB0DiDGREmImyJDbbC2wEGBfcAGc0EsTxqnb80BRFYcLTC4xCABLekowD1pN0MSUSSu62wEl3iPUkIv4a2NsB", + Name = "g7OoWmbOWXvcqkH6OCG8bjnFs6Wxag7kVTYLZtjqA6blCNXCxB23NKDv8dBki6rCZ5", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1107,19 +1107,19 @@ public async Task UpdateCoupon44() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 7463.0, - IsPublic = false, + DiscountPercentage = 1874.0, + IsPublic = true, IsHidden = true, IsDisabled = false, - DisplayEndsAt = "2022-06-18T05:31:13.000000Z", - DisplayStartsAt = "2021-04-22T20:21:18.000000Z", - EndsAt = "2023-07-08T02:37:21.000000Z", - StartsAt = "2020-10-28T22:13:49.000000Z", - DiscountUpperLimit = 9435, - Description = "P9KtTHr3zG8NnPjRfIRrqy3FohrRiHbftN77E9sKP2LWTHQkvbYQTkmfSmGSFmTTeLGAy7h6m0YyagUC0Ij3N9K7EVH4f0IDf80jI5hMMqGagepFcb0C3pMehBLw9uhZslxpk65zsLMOaWLvqiZty5Zp232IvDDPPt", - Name = "Musem1WSPOdAkWLCHhP7q7jyjEo8V3Di9Dt", + DisplayEndsAt = "2023-01-22T06:17:18.000000Z", + DisplayStartsAt = "2021-10-04T23:20:19.000000Z", + EndsAt = "2021-08-21T05:42:54.000000Z", + StartsAt = "2020-12-16T07:55:58.000000Z", + DiscountUpperLimit = 8726, + Description = "611LhXRF1WjDXemYssWVQAa0S9OWEqIPoWhsZ81p", + Name = "D8THD4dpuhxNvhxjPfdLCMpGSOhV764tKT9oHgjnPne51YZOU", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1134,20 +1134,20 @@ public async Task UpdateCoupon45() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 4285.0, - Code = "zAGKUtsDd", - IsPublic = true, - IsHidden = true, + DiscountPercentage = 6309.0, + Code = "z", + IsPublic = false, + IsHidden = false, IsDisabled = true, - DisplayEndsAt = "2021-04-29T01:20:33.000000Z", - DisplayStartsAt = "2023-07-10T12:48:53.000000Z", - EndsAt = "2020-11-09T17:14:53.000000Z", - StartsAt = "2023-01-04T04:18:51.000000Z", - DiscountUpperLimit = 388, - Description = "EvQkTNVI1DbDv2ICSa1fLqeRzwnNnU8Hy7seU6T", - Name = "Pp7YTcvCbmuWQ", + DisplayEndsAt = "2021-10-16T11:28:16.000000Z", + DisplayStartsAt = "2021-09-01T06:42:34.000000Z", + EndsAt = "2021-01-04T11:25:54.000000Z", + StartsAt = "2024-01-09T15:56:15.000000Z", + DiscountUpperLimit = 9202, + Description = "JPOstD7C9IM7suB5w40dZFTsuKZGsFElmQpA4RSTaTlLaqlkU49OXmcM1eYLCIvDzYzwAtEksQWSl6Am3gCBrhM35EfmrtOFWMml5EKRiDsWg9ZcujQMFmb4vZ2HzNm8wdK6sB9HsuClaKx3AfzVa9lboQsNDBH1uzKMqlEF94aThPURq2Q4ZM2ZH2d8EggWOOiiO67HWQCePWkLnY7y5P2vTc2kTDF85U9g31HpRLtjhMxgRT9FEddBtVan5Hy", + Name = "6Uan9MoYMbeeBKUXDDy014vqgIch5W6XuTL0vlIdvdIMbz7wUi6BXoKUl0tR07369wBiPR32MXZafz3jffpT8lgG", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1162,21 +1162,21 @@ public async Task UpdateCoupon46() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 1273.0, - UsageLimit = 7329, - Code = "KhWFz", - IsPublic = true, - IsHidden = true, - IsDisabled = false, - DisplayEndsAt = "2024-02-04T17:43:38.000000Z", - DisplayStartsAt = "2022-12-06T10:32:31.000000Z", - EndsAt = "2021-12-12T12:04:54.000000Z", - StartsAt = "2021-10-22T10:50:06.000000Z", - DiscountUpperLimit = 7083, - Description = "0zCih9qHu842U5SnXNqipKVsIIUjVYx3ZiMVPZEq0xgguEtAXJ6WozfUGo1oVRA1PV2JD5SjzUvS2Jlq6P89tC2Mi1PRe6ex8zQnoMXP", - Name = "xIs0d6X24reGHeQvAPqGMsA1rgfPu4olvC1KDDE1G2mGU9YeDH5Tysjz5v4HW6eqkSknjWS4aW80Xp5YCo9TXEMx6Q3N4lydCpBzThmgOIjIatpE7508LaYMNkxpSQ", + DiscountPercentage = 5061.0, + UsageLimit = 1245, + Code = "nFd", + IsPublic = false, + IsHidden = false, + IsDisabled = true, + DisplayEndsAt = "2020-11-01T04:31:00.000000Z", + DisplayStartsAt = "2021-10-18T16:33:23.000000Z", + EndsAt = "2023-05-12T07:53:08.000000Z", + StartsAt = "2021-03-14T08:37:16.000000Z", + DiscountUpperLimit = 8465, + Description = "aJfJ60D0H2T0aKhnL3FlnAD82QrpYaKuslNraOesyAiawWiyWkSV3bs4OkWhHFx3P67yxFmxWAZtUSoiVrIFnb7w6ZClkoqVajvuG5cGcBP5wA9GwSB8bfxMId7hFKERGvYa7vbD1cIywVpXocQ5N98C", + Name = "VKuKRC5FLAIRiGKuI8CNBTqLCZ99AjVbK3l31NeAICSoLJdEVZoJB0H5I2jNmYRtpC", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1191,22 +1191,22 @@ public async Task UpdateCoupon47() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 1265.0, - MinAmount = 2539, - UsageLimit = 6665, - Code = "WLu8Wbq", + DiscountPercentage = 9240.0, + MinAmount = 9279, + UsageLimit = 7380, + Code = "zTj3A0", IsPublic = false, - IsHidden = false, + IsHidden = true, IsDisabled = false, - DisplayEndsAt = "2020-01-12T03:29:13.000000Z", - DisplayStartsAt = "2023-11-30T21:40:15.000000Z", - EndsAt = "2021-08-12T03:19:42.000000Z", - StartsAt = "2020-02-28T15:07:25.000000Z", - DiscountUpperLimit = 3813, - Description = "Bo88egFulBO0tWJ93Y52C590AS", - Name = "UiB0DiDGREmImyJDbbC2wEGBfcAGc0EsTxqnb80BRFYcLTC4xCABLeko", + DisplayEndsAt = "2022-08-21T06:06:49.000000Z", + DisplayStartsAt = "2022-05-28T16:11:00.000000Z", + EndsAt = "2022-12-22T17:17:41.000000Z", + StartsAt = "2020-08-31T23:45:14.000000Z", + DiscountUpperLimit = 8, + Description = "WQ3gdeDOWFExGORRYNLJdsZ6n3IGoF44i0499bTqwmusaHN4dAo0kcMwrj6lsuth9pSzmqVAxW3BZh2UFG0NdobuyCqKAyF8XBloHn7nU", + Name = "M7l93", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1221,23 +1221,23 @@ public async Task UpdateCoupon48() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 788.0, + DiscountPercentage = 5300.0, IsShopSpecified = true, - MinAmount = 2800, - UsageLimit = 8526, - Code = "M", + MinAmount = 2083, + UsageLimit = 4764, + Code = "Q7DIwFMX", IsPublic = false, IsHidden = false, IsDisabled = false, - DisplayEndsAt = "2022-12-09T01:15:18.000000Z", - DisplayStartsAt = "2024-03-30T08:46:45.000000Z", - EndsAt = "2022-02-07T20:39:33.000000Z", - StartsAt = "2021-02-02T06:35:34.000000Z", - DiscountUpperLimit = 7218, - Description = "El3iPUkIv4a2NsBAg7OoWmbOWXvcqkH6OCG8bjnFs6Wxag7kVTYLZtjqA6blCNXCxB23NKDv8dBki6rCZ5MRu3n3kWR611LhXRF1WjDXemYssWVQAa0S9OWE", - Name = "qI", + DisplayEndsAt = "2020-01-12T06:11:01.000000Z", + DisplayStartsAt = "2023-06-25T02:00:48.000000Z", + EndsAt = "2020-05-05T23:41:55.000000Z", + StartsAt = "2021-08-27T01:52:50.000000Z", + DiscountUpperLimit = 9069, + Description = "UDxKggDFfFvOJkxhc8IPvtQD4QxNm6tX3Guvbo2vDNfvQpElqxJKgNyOMeXS2rUoCJ5iHqorIswPc2cBsLEwskU0m8hSr1melepO9", + Name = "nwIsUcSmvb4GOUqCz9cGDIhlPt52zP7YS2DWusWLcKpd2P335Nv6jpCTg7cImjgcPmkAEumRe3ajM", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1252,24 +1252,24 @@ public async Task UpdateCoupon49() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 1680.0, - AvailableShopIds = new string[]{"040f335e-8d1a-4cef-be7e-8212acd2a457"}, - IsShopSpecified = true, - MinAmount = 7593, - UsageLimit = 7784, - Code = "Z81p", + DiscountPercentage = 6375.0, + AvailableShopIds = new string[]{"4ca274b8-9560-4bd6-ae25-3647160b0743", "255708b0-134b-4193-9a18-974ca770147c", "6db75eb7-7656-4f4d-ba18-b961caa07b4d", "d8cd6c28-4bc5-4307-aa5f-8815782ffa12", "d1d06047-1afb-4398-b6b2-d7bf40cdd09d", "59de2c4e-0a81-4088-9014-61f33a08e08c", "8ef6513e-a64e-4ba7-92c7-5a2efafe6cc3"}, + IsShopSpecified = false, + MinAmount = 4331, + UsageLimit = 3638, + Code = "190", IsPublic = true, - IsHidden = false, + IsHidden = true, IsDisabled = false, - DisplayEndsAt = "2023-05-19T18:42:13.000000Z", - DisplayStartsAt = "2020-12-26T02:53:01.000000Z", - EndsAt = "2021-07-23T23:13:09.000000Z", - StartsAt = "2024-03-18T16:00:19.000000Z", - DiscountUpperLimit = 5136, - Description = "D8THD4dpuhxNvhxjPfdLCMpGSOhV764tKT9oHgjnPne51YZOU0zGq4PpZBc0rJPOstD7C9IM7suB5w40dZFTsuKZGsFElmQpA4RSTaTlLaqlkU49OXmcM1eYLCIvDzYzwAtEksQWSl6Am3gCBrhM35EfmrtOFWMml5EKR", - Name = "i", + DisplayEndsAt = "2024-03-01T12:53:06.000000Z", + DisplayStartsAt = "2021-07-15T09:32:21.000000Z", + EndsAt = "2021-01-06T12:37:13.000000Z", + StartsAt = "2021-08-02T06:09:23.000000Z", + DiscountUpperLimit = 3685, + Description = "AyBqIIySMiYLD3kq3Zn", + Name = "8pepfEmpSiLZTFdERWScAwFtubDUWmymMiDwFFfcNNLAfTp6G3m2S11HDiNC2T6Z1NRFWi9xNJqHv5TG4qAHZdsob31RGFcTjCHIRk6EOKDYDfh7IyYBfSv2V1U", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -1284,25 +1284,25 @@ public async Task UpdateCoupon50() { try { Request.UpdateCoupon request = new Request.UpdateCoupon( - "60cfa50c-4677-48ab-82ab-5586346e95d6" + "9bc87ef0-ee8c-4187-8766-25aad020d6cc" ) { - DiscountPercentage = 6212.0, - StorageId = "66844b18-d773-4cd7-a787-0b398e8ef327", - AvailableShopIds = new string[]{"412077a6-2a27-4fda-a375-13a5e59aba91", "d8f1e3a2-183e-446a-914d-208e818692a3"}, - IsShopSpecified = true, - MinAmount = 4589, - UsageLimit = 9826, - Code = "vZ2Hz", - IsPublic = true, - IsHidden = false, + DiscountPercentage = 803.0, + StorageId = "79946e56-cd34-44df-95ba-28bb420218ef", + AvailableShopIds = new string[]{"276426d0-8e5c-4866-8374-bdacce19b181"}, + IsShopSpecified = false, + MinAmount = 1068, + UsageLimit = 8774, + Code = "Yi", + IsPublic = false, + IsHidden = true, IsDisabled = false, - DisplayEndsAt = "2023-10-31T22:48:22.000000Z", - DisplayStartsAt = "2023-04-17T04:53:01.000000Z", - EndsAt = "2022-12-12T21:58:39.000000Z", - StartsAt = "2020-12-06T19:49:13.000000Z", - DiscountUpperLimit = 7496, - Description = "uClaKx3AfzVa9lboQsNDBH1uzKMqlEF94aThPURq2Q4ZM2ZH2d8EggWOOiiO67HWQCePWkLnY7y5P2vTc2kTDF85U9g31HpRLtjhMxgRT9FEddBtVan5", - Name = "HyW6Uan9MoYMbeeBKUXDDy014vqgIch5W6XuTL0vlIdvdIMbz7wUi6BXoKUl0tR", + DisplayEndsAt = "2021-11-23T20:11:23.000000Z", + DisplayStartsAt = "2023-10-20T01:24:41.000000Z", + EndsAt = "2022-07-21T00:52:28.000000Z", + StartsAt = "2022-01-27T16:42:24.000000Z", + DiscountUpperLimit = 664, + Description = "J33CkMXXFMJbGPqbgq29Gzz59vVOvin5VZAtZIBDPoHNl5n64I544K0pgRwqKcwLRpyfhvSp3huvf9ISSZ1V5b6lHxDKXrcl2EVGtJV2Ntce9IqiV", + Name = "5m5eyekXLeKtBuImxNnX45R5ZNIieikdp8w9LWlkrqUcz43dBm26Or7FE7oxXwqyeP95WFsrDTZsTHaLMAx4xhJmPNb", }; Response.CouponDetail response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestUpdateShop.cs b/src/PokepayPartnerCsharpSdk.Test/TestUpdateShop.cs index 9860511..bb486c8 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestUpdateShop.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestUpdateShop.cs @@ -25,7 +25,7 @@ public async Task UpdateShop0() { try { Request.UpdateShop request = new Request.UpdateShop( - "a91dc663-99e6-4380-8321-0b2523e86c7b" + "5e0e78e6-84b0-4d1d-9159-643a729452dc" ); Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task UpdateShop1() { try { Request.UpdateShop request = new Request.UpdateShop( - "a91dc663-99e6-4380-8321-0b2523e86c7b" + "5e0e78e6-84b0-4d1d-9159-643a729452dc" ) { - Status = "active", + Status = "disabled", }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task UpdateShop2() { try { Request.UpdateShop request = new Request.UpdateShop( - "a91dc663-99e6-4380-8321-0b2523e86c7b" + "5e0e78e6-84b0-4d1d-9159-643a729452dc" ) { - CanTopupPrivateMoneyIds = new string[]{"9852d914-b345-425b-93b8-dca15f403b48", "1bf8aaff-f5ff-4748-8aad-f96094ec44a3", "ae46d9dc-d41d-4508-be66-c4bc7a989435", "b2a9a4a4-0eb0-4cd4-9582-72df747d59c3", "81904a92-37b5-4b79-9c90-37b26d46d548", "6d8e4e09-16a2-4e13-8e81-ae1e8e0837f2"}, - Status = "active", + CanTopupPrivateMoneyIds = new string[]{"5d49efeb-a667-4aca-ae63-263399a0e969", "d2867d69-9b1f-4085-8093-a95da97ae1ae", "45c36340-9eca-4b0f-a233-024e96d5a240", "0d6c3544-789b-4423-9bd6-050f93e5f0c6", "f793221f-436b-403a-829b-244ecf935be0"}, + Status = "disabled", }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -75,11 +75,11 @@ public async Task UpdateShop3() { try { Request.UpdateShop request = new Request.UpdateShop( - "a91dc663-99e6-4380-8321-0b2523e86c7b" + "5e0e78e6-84b0-4d1d-9159-643a729452dc" ) { - PrivateMoneyIds = new string[]{}, - CanTopupPrivateMoneyIds = new string[]{"5728d3b3-a034-4f8b-a8a8-b744bd59d03b", "ee49f0b1-f1f5-4d78-af49-cbe26410ef5f", "1d6f1f75-aba0-4964-9080-53e7f02256cb", "a3c1cb63-065f-48c1-8834-47ccddca635e", "02d62971-ba05-4da9-b476-808e999c7787", "ed6de882-f06e-4259-93e4-d9027866f90f", "b002ff05-e505-4cfc-928c-07ca0164397f"}, - Status = "disabled", + PrivateMoneyIds = new string[]{"ee306427-5d7a-48ff-937b-d4e6e3056ceb", "ff0ddd32-dac8-45c5-a207-07d82a812e78", "a7092e61-8c7b-4c79-bff8-4e3dde8dd63d", "78f66afa-a5cd-42b2-8963-fbe7ee832903", "718012e8-0064-465f-86e3-e33226b3a100", "cc00c3cc-9f1b-4aea-a061-a2fc210a113c", "c3f11412-060c-48ea-8ab2-747debcb92c7"}, + CanTopupPrivateMoneyIds = new string[]{"ce08f61e-ab75-452d-a99b-653fb6762c28", "5532297e-59d6-4915-b9d5-5d739d19e444", "90b3449a-79be-4a6e-946c-c5fe17facb2a"}, + Status = "active", }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -94,11 +94,11 @@ public async Task UpdateShop4() { try { Request.UpdateShop request = new Request.UpdateShop( - "a91dc663-99e6-4380-8321-0b2523e86c7b" + "5e0e78e6-84b0-4d1d-9159-643a729452dc" ) { - ExternalId = "VxWy0PirB5ccKSjPsnaJy0xSUaUZ3K", - PrivateMoneyIds = new string[]{"67971269-72bb-4b70-ae5d-2347d45e0383", "07e91f76-d9e5-4618-8ef0-d9b153d44db1", "9b1e1f5f-eed7-4f27-870d-c4e9dfcb6d96", "86f77bd3-6b72-4db0-9a29-9cb8c1440675", "6e6cf586-7f1b-4e43-baa5-2eae1952f6c2", "7d1294c0-6b30-463e-9dfc-a91e270b838f", "cc70784a-2f84-49d3-9eac-60f400b15928", "72200037-d68b-459a-a807-5cda45b9949c", "3f345ead-5c4e-41cc-b663-1b76f0c059ff"}, - CanTopupPrivateMoneyIds = new string[]{"904eec3b-0c89-4b3a-b1c2-656e2f941c68", "e86447ac-6bc7-4fee-a725-45793daf15d2", "6cb8fb12-1ea2-4073-a4b1-95daf3408162"}, + ExternalId = "8nhmhWmlD5AgJ4dO8V", + PrivateMoneyIds = new string[]{"cf5c05a1-2e60-47a9-993c-f23e5098f2a7", "c1b6c41c-6d74-4a33-94e8-87f92796544e", "7991c030-b127-4f8b-9eb1-d8f81e6c77d7", "77d674a1-30cb-4570-a5f9-3dbc81f23c66", "f134355d-2806-4efb-bd9a-11d31bdb2104"}, + CanTopupPrivateMoneyIds = new string[]{"eca1a2d8-5a31-44cf-a9ce-d3aab366e107", "055b4e8d-0615-43ab-ad55-810de68587e2", "976da623-f18a-4f99-b1c8-b90835abed3a", "477a572c-99dd-47d8-91f5-65d3618080c5", "37101fd7-9485-4465-8d8a-57386183d402", "e167f6d6-7615-4e29-8c6d-f94d178e27b8", "d1afb33e-485f-490b-9d84-00977fed8371", "1dfcf994-1ffa-4726-99dc-d73a9bd9669e", "359bceee-1c0b-4dcb-896e-fa2465c8bfb9", "f7d86840-24f5-4242-9e2e-f4efeb01c071"}, Status = "disabled", }; Response.ShopWithAccounts response = await request.Send(client); @@ -114,12 +114,12 @@ public async Task UpdateShop5() { try { Request.UpdateShop request = new Request.UpdateShop( - "a91dc663-99e6-4380-8321-0b2523e86c7b" + "5e0e78e6-84b0-4d1d-9159-643a729452dc" ) { - Email = "EX46DL0EY9@Dfg2.com", - ExternalId = "2KSBJ32yceHk", - PrivateMoneyIds = new string[]{}, - CanTopupPrivateMoneyIds = new string[]{"47031610-468f-480e-8a03-0701ad16ffd3", "51f19c19-1d35-422e-b372-bbdffd022a2a", "07488c1a-ee51-45d9-8672-84a561fc77fd", "1aebc8c9-61c5-4052-b61c-25ecad8e7cb0", "e5d8604b-05f2-4cfd-9be9-d4f575f3e55f"}, + Email = "N3XKkwmXFn@LL0v.com", + ExternalId = "mz7rucmF8n8VnjFoEs5f64mvXKC", + PrivateMoneyIds = new string[]{"08e1de30-a479-4cc9-8b2e-a3e0ce6c9e2f", "7c1ac03a-ef08-4713-9944-59724e703ca2", "79001dcf-48ed-4fa8-a683-e6188cb080da"}, + CanTopupPrivateMoneyIds = new string[]{"a91dc663-99e6-4380-8321-0b2523e86c7b", "b4d662e4-fd26-4914-855b-73d3642d2db8", "c782dca1-3b48-4aff-884a-85ad4f15f960", "94ec44a3-d9dc-441d-88be-ad66b7a9c4bc", "7a989435-a4a4-4eb0-9495-8d824b8872df", "747d59c3-4a92-47b5-b95c-ba90e09f37b2"}, Status = "active", }; Response.ShopWithAccounts response = await request.Send(client); @@ -135,14 +135,14 @@ public async Task UpdateShop6() { try { Request.UpdateShop request = new Request.UpdateShop( - "a91dc663-99e6-4380-8321-0b2523e86c7b" + "5e0e78e6-84b0-4d1d-9159-643a729452dc" ) { - Tel = "01813768343", - Email = "nnsKFojcLO@uuur.com", - ExternalId = "aaP5zVuitJAWBnMTQrqQLb4F279", - PrivateMoneyIds = new string[]{"fc9ec563-0e05-4b07-b364-b2108203d244", "cf9981f4-70bc-46a6-834d-d1b3c74ccdac", "c5c87499-e6f5-432c-97c0-408bc5a6a98c", "9eb27d88-aa5e-4c53-a11d-87c540654e59", "c1060862-d4f5-4d98-a17e-eeba284b644f", "3286cee0-dff9-42a7-b1c1-12973aca16f4", "3532624a-9219-4014-aa9c-16a002783062"}, - CanTopupPrivateMoneyIds = new string[]{"5ca9c410-3c7b-41da-a08c-9999113a20dc", "47f4bac6-40f6-4985-988c-e63440782044", "0d9d74dc-5ed4-45f2-a5db-d2807b407e6e", "bd9d470d-f19b-4b59-bcac-89ea1922f35b", "7d0459ff-ad9a-4710-b6bb-a3f2f35533c5", "a3efa5b9-d4e0-4348-b55e-1c93e807f32b"}, - Status = "disabled", + Tel = "0310734-841", + Email = "uxIbudPgKc@AH4L.com", + ExternalId = "qtvnYdJrsgVxWy0PirB5ccKSjPsnaJy", + PrivateMoneyIds = new string[]{}, + CanTopupPrivateMoneyIds = new string[]{}, + Status = "active", }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -157,15 +157,15 @@ public async Task UpdateShop7() { try { Request.UpdateShop request = new Request.UpdateShop( - "a91dc663-99e6-4380-8321-0b2523e86c7b" + "5e0e78e6-84b0-4d1d-9159-643a729452dc" ) { - Address = "Gm5xmBEPErYjV24xKSbfZiVFE1mx2zGT1xfUftI30JyBIPqdCDvWnTRvriMMqT8Y", - Tel = "070697-082", - Email = "EUoqg0zXsu@vc8L.com", - ExternalId = "4mbP1hy", - PrivateMoneyIds = new string[]{"62f6f59d-b5d0-4582-84af-aa2ba2787ce2", "2ae8bbce-0a80-4956-aae3-6b9d4ff9bbbe", "9b28ea88-92ba-4c93-89e0-ed13e3122e9f", "f799f274-b4af-4935-b951-2ba77e63ed01", "4addd0ce-9a1c-4c00-a9e0-9da37efd6119", "cd0f48ea-4356-40db-aebf-1d9c92faf87d"}, - CanTopupPrivateMoneyIds = new string[]{}, - Status = "disabled", + Address = "UaUZ3KYipGveNp11WiSr08uCzB0JSt7hZNL6cvcqBnhGnyRs1ZbgEX46DL0EY9Dfg2K2KSBJ32yceHkpeJS5", + Tel = "02199526029", + Email = "uNlhP5RwfR@sdmS.com", + ExternalId = "nsKFojcLOuuurZaaP5z", + PrivateMoneyIds = new string[]{"f79d17f5-c6e9-4074-8ac1-0c57e8a7a542", "923d5e6e-f9cd-4954-9108-2183bf1ddb07", "da32a409-5072-49f1-914c-fd6240e5be18", "964449b4-4a0a-4186-a786-a54641f375b2", "5b20ebff-7414-4925-b75f-ab9215b0fa39", "50788947-c563-4e05-8773-ef64881eb210"}, + CanTopupPrivateMoneyIds = new string[]{"cf9981f4-70bc-46a6-834d-d1b3c74ccdac", "c5c87499-e6f5-432c-97c0-408bc5a6a98c", "9eb27d88-aa5e-4c53-a11d-87c540654e59", "c1060862-d4f5-4d98-a17e-eeba284b644f"}, + Status = "active", }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -180,16 +180,16 @@ public async Task UpdateShop8() { try { Request.UpdateShop request = new Request.UpdateShop( - "a91dc663-99e6-4380-8321-0b2523e86c7b" + "5e0e78e6-84b0-4d1d-9159-643a729452dc" ) { - PostalCode = "3254867", - Address = "40vhQYw5VlT5PtGoiFuhhxPNxJedAo6IB1JwI4HtHPlHFEuPGo3GkdygOOVSyzQqeTxBrSdGB4t2pP3KohbOZsA8epkaCTJpPbbkDn1ZrOBafUzNTBXIV1wGp1Rn3U4KQsAmdVQrUihNu2f4606Zw3XOfvqGLqQiqaG2p9irVNMOOMEyp", - Tel = "0812-256-2716", - Email = "GgyrO7oaIP@GJ7J.com", - ExternalId = "BC1o5Rc9", - PrivateMoneyIds = new string[]{"9a97ec77-edbb-4466-ad8a-60d6f4c9e8f2", "3cdf80d7-22f2-4e4b-a4b8-892059fc8dda", "39c4f4e3-9a6b-456e-a0e4-77968729de97", "d8ab7c50-6e6e-4a1c-b09e-001fbe9d0ab3", "34ecc8ee-2dbf-4128-a512-4f123e4c0adb", "9e2cc413-bb91-4ffc-8c6f-56cde6c42624"}, - CanTopupPrivateMoneyIds = new string[]{"099843e5-94af-4002-ace5-e48ef262e4b3"}, - Status = "active", + PostalCode = "971-7494", + Address = "bZFvX4DTrnYj6rE9HuWGm5xmBEPErYjV24xKSbfZiVFE1mx2zGT1xfUftI30JyBIPqdCDvWnTRvriMMqT8Y2wPxWWXEUoqg0zXsuvc8LF4mbP1hyPDbNVjct5yQNjVn35rDh040vhQYw5VlT5PtGoiFuhhxPNxJedAo6IB1JwI4", + Tel = "0867-0737", + Email = "kdygOOVSyz@QqeT.com", + ExternalId = "BrSdGB4t2pP3KohbOZsA8epkaCTJpPbbkDn1", + PrivateMoneyIds = new string[]{"ed650299-8011-44f2-92a9-ff1f835400cf", "9840cdab-d0c2-4c8d-a166-1013dd582994", "cc875e08-169b-49fb-95fa-454e78c1b1d4", "314ef7c2-e191-4cbd-8711-6b58b6b23349", "657cf1d6-c47f-4d91-b1f7-443d5afaa283", "1cb3de9b-2418-47ac-87fd-c90939e51bf0", "3643f98a-75b1-490c-bbd2-1886aa9b94ee", "c663bbb3-dd55-4f08-9498-1c3daa4b5c09", "77cc6621-dfb4-4416-8b3e-27d17383af73", "5416728c-261f-4baf-af2b-cfc1377e3a13"}, + CanTopupPrivateMoneyIds = new string[]{"010f4ed6-0327-4089-9813-1c2ac1a83ba3", "208dd801-eed1-4822-a43f-5b905bab6fff", "8e498872-310d-4355-bd1e-57e9092dad0e", "64487712-d168-4d4e-b532-e0e60133d67f"}, + Status = "disabled", }; Response.ShopWithAccounts response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -204,16 +204,16 @@ public async Task UpdateShop9() { try { Request.UpdateShop request = new Request.UpdateShop( - "a91dc663-99e6-4380-8321-0b2523e86c7b" + "5e0e78e6-84b0-4d1d-9159-643a729452dc" ) { - Name = "pOb8vOALeCaVZzJ21Wkjwh096vY0", - PostalCode = "7961126", - Address = "OxtHaQb", - Tel = "05860669461", - Email = "YgBl99xXSI@Gv3O.com", - ExternalId = "n3SH7ljqEdpqCcPOpWjivoOnvdw0Y", - PrivateMoneyIds = new string[]{"cbe99a17-ac76-4c7d-ace4-4c3b5e7dbab3", "b7aaa03c-b649-4565-8a17-711186b577f9", "022dade8-883f-412d-92af-d454cb75da7d", "7d88e26c-81d2-4022-a7a3-8b545cd4aad4", "1c373fdd-b6a2-4abd-b2ba-464e6e9bd15e", "32548178-5ed3-4769-b068-e614e5a677da"}, - CanTopupPrivateMoneyIds = new string[]{"9a2d9c52-141c-48ec-8c82-5f2f7a19f5dc", "e8460319-2210-476f-ac22-b0ab2144bb06", "e156e2cc-0722-4bfd-bf9b-d0882f60821d", "38553eea-774d-4514-ad91-d2bea7a7afcc"}, + Name = "4606Zw3XOfvqGLqQiqaG2p9irVNMOOMEypf2sbMz5sG1GgyrO7oaIPGJ7JGBC1o5Rc96wfmVrWrKd8ZckndPnp3nLoMele3ppOb8vOALeCaVZzJ21Wkjwh096vY0YkfqArkVOxtHaQbqrekxj6KVFbsIqYgBl99xXSIGv3", + PostalCode = "263-5876", + Address = "ljqEdpqCcPOpWjivoOnvdw0Yvld3IeJyhTlRgTT2NxSiphZRlLoLjMmLSHQhe4tHPdlvKxC8QojNKN0zqICt7BPEIsHw9iaxaPzoaDv6U6SXLkHad9cOSRej1Twb2rvpiwJLSyhoqY6Z", + Tel = "0577-4344-4007", + Email = "fziyB2HYxa@SuFe.com", + ExternalId = "vc", + PrivateMoneyIds = new string[]{"16c1a0f3-bb73-402b-8caf-bc1fee1ed1af", "48610d55-7fb2-4ad1-ae88-63034df6ee5e", "f2828938-d333-4ee7-9bbe-7ed75a97e916", "ed90b086-39c8-457f-b768-24bc234286bd", "c8a11846-1630-4aa6-8f1f-ecd4752ee902", "d04ebe04-2b38-4e27-834e-c768e1657c37", "62ebf865-b8ef-4e1f-9b4f-c0a9c8da8810", "e166de17-d5a8-413a-98b6-ce2ad8cd2f3a", "666facff-9519-4361-bc73-04bc6f54ab2e", "1d8693ea-6a1d-42cf-807b-56ff11f10eef"}, + CanTopupPrivateMoneyIds = new string[]{"64063cb0-73d2-4606-9214-53faf04fecd7", "a45c9efa-252c-4e0d-a701-d54adc1ca608", "a5652738-5e19-4671-a1ec-bfecfa766c7e", "3390cfed-a7fc-4cf8-ae20-1daeee588b9e", "bba2368e-6b6b-404d-9004-ff0c4bb8952f", "12add967-4615-4586-af05-10738c9df615", "760be668-4e0c-4d0f-91c9-d210d721c61f", "80977107-803b-47c8-ba62-5588c1038618"}, Status = "disabled", }; Response.ShopWithAccounts response = await request.Send(client); diff --git a/src/PokepayPartnerCsharpSdk.Test/TestUpdateWebhook.cs b/src/PokepayPartnerCsharpSdk.Test/TestUpdateWebhook.cs index ce33dae..c4dad5f 100644 --- a/src/PokepayPartnerCsharpSdk.Test/TestUpdateWebhook.cs +++ b/src/PokepayPartnerCsharpSdk.Test/TestUpdateWebhook.cs @@ -25,7 +25,7 @@ public async Task UpdateWebhook0() { try { Request.UpdateWebhook request = new Request.UpdateWebhook( - "3fdc18e7-8428-434e-a9a8-85a7e19bbc54" + "acf31cd3-6e0b-4acb-abb2-47b339f619cd" ); Response.OrganizationWorkerTaskWebhook response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -40,9 +40,9 @@ public async Task UpdateWebhook1() { try { Request.UpdateWebhook request = new Request.UpdateWebhook( - "3fdc18e7-8428-434e-a9a8-85a7e19bbc54" + "acf31cd3-6e0b-4acb-abb2-47b339f619cd" ) { - Task = "bulk_shops", + Task = "process_user_stats_operation", }; Response.OrganizationWorkerTaskWebhook response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -57,10 +57,10 @@ public async Task UpdateWebhook2() { try { Request.UpdateWebhook request = new Request.UpdateWebhook( - "3fdc18e7-8428-434e-a9a8-85a7e19bbc54" + "acf31cd3-6e0b-4acb-abb2-47b339f619cd" ) { - IsActive = false, - Task = "bulk_shops", + IsActive = true, + Task = "process_user_stats_operation", }; Response.OrganizationWorkerTaskWebhook response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); @@ -75,11 +75,11 @@ public async Task UpdateWebhook3() { try { Request.UpdateWebhook request = new Request.UpdateWebhook( - "3fdc18e7-8428-434e-a9a8-85a7e19bbc54" + "acf31cd3-6e0b-4acb-abb2-47b339f619cd" ) { - Url = "wqhkpZV", + Url = "m6Cln0nex", IsActive = true, - Task = "bulk_shops", + Task = "process_user_stats_operation", }; Response.OrganizationWorkerTaskWebhook response = await request.Send(client); Assert.NotNull(response, "Shouldn't be null at least"); diff --git a/src/PokepayPartnerCsharpSdk/PokepayPartnerCsharpSdk.csproj b/src/PokepayPartnerCsharpSdk/PokepayPartnerCsharpSdk.csproj index 19e02b4..da053eb 100644 --- a/src/PokepayPartnerCsharpSdk/PokepayPartnerCsharpSdk.csproj +++ b/src/PokepayPartnerCsharpSdk/PokepayPartnerCsharpSdk.csproj @@ -9,7 +9,7 @@ https://github.com/pokepay/pokepay-partner-csharp-sdk README.md MIT - 1.3.8 + 1.3.9 Library True True diff --git a/src/PokepayPartnerCsharpSdk/Request/CreateCpmTransaction.cs b/src/PokepayPartnerCsharpSdk/Request/CreateCpmTransaction.cs index 60ad22e..da77167 100644 --- a/src/PokepayPartnerCsharpSdk/Request/CreateCpmTransaction.cs +++ b/src/PokepayPartnerCsharpSdk/Request/CreateCpmTransaction.cs @@ -16,7 +16,7 @@ public class CreateCpmTransaction public double Amount { get; set; } public string Description { get; set; } public string Metadata { get; set; } - public Products Products { get; set; } + public object[] Products { get; set; } public string RequestId { get; set; } #else public string CpmToken { get; set; } @@ -26,13 +26,14 @@ public class CreateCpmTransaction public string? Description { get; set; } #nullable enable public string? Metadata { get; set; } - public Products Products { get; set; } + #nullable enable + public object[]? Products { get; set; } #nullable enable public string? RequestId { get; set; } #endif - public CreateCpmTransaction(string cpmToken, string shopId, double amount, Products products) => - (CpmToken, ShopId, Amount, Products) = (cpmToken, shopId, amount, products); + public CreateCpmTransaction(string cpmToken, string shopId, double amount) => + (CpmToken, ShopId, Amount) = (cpmToken, shopId, amount); private string path { get { return "/transactions" + "/cpm"; } } diff --git a/src/PokepayPartnerCsharpSdk/Request/CreateExternalTransaction.cs b/src/PokepayPartnerCsharpSdk/Request/CreateExternalTransaction.cs index fe2c4bf..54aea55 100644 --- a/src/PokepayPartnerCsharpSdk/Request/CreateExternalTransaction.cs +++ b/src/PokepayPartnerCsharpSdk/Request/CreateExternalTransaction.cs @@ -17,7 +17,7 @@ public class CreateExternalTransaction public int Amount { get; set; } public string Description { get; set; } public string Metadata { get; set; } - public Products Products { get; set; } + public object[] Products { get; set; } public string RequestId { get; set; } #else public string ShopId { get; set; } @@ -28,13 +28,14 @@ public class CreateExternalTransaction public string? Description { get; set; } #nullable enable public string? Metadata { get; set; } - public Products Products { get; set; } + #nullable enable + public object[]? Products { get; set; } #nullable enable public string? RequestId { get; set; } #endif - public CreateExternalTransaction(string shopId, string customerId, string privateMoneyId, int amount, Products products) => - (ShopId, CustomerId, PrivateMoneyId, Amount, Products) = (shopId, customerId, privateMoneyId, amount, products); + public CreateExternalTransaction(string shopId, string customerId, string privateMoneyId, int amount) => + (ShopId, CustomerId, PrivateMoneyId, Amount) = (shopId, customerId, privateMoneyId, amount); private string path { get { return "/external-transactions"; } } diff --git a/src/PokepayPartnerCsharpSdk/Request/CreatePaymentTransaction.cs b/src/PokepayPartnerCsharpSdk/Request/CreatePaymentTransaction.cs index c203158..db06e18 100644 --- a/src/PokepayPartnerCsharpSdk/Request/CreatePaymentTransaction.cs +++ b/src/PokepayPartnerCsharpSdk/Request/CreatePaymentTransaction.cs @@ -17,7 +17,7 @@ public class CreatePaymentTransaction public int Amount { get; set; } public string Description { get; set; } public string Metadata { get; set; } - public Products Products { get; set; } + public object[] Products { get; set; } public string RequestId { get; set; } #else public string ShopId { get; set; } @@ -28,13 +28,14 @@ public class CreatePaymentTransaction public string? Description { get; set; } #nullable enable public string? Metadata { get; set; } - public Products Products { get; set; } + #nullable enable + public object[]? Products { get; set; } #nullable enable public string? RequestId { get; set; } #endif - public CreatePaymentTransaction(string shopId, string customerId, string privateMoneyId, int amount, Products products) => - (ShopId, CustomerId, PrivateMoneyId, Amount, Products) = (shopId, customerId, privateMoneyId, amount, products); + public CreatePaymentTransaction(string shopId, string customerId, string privateMoneyId, int amount) => + (ShopId, CustomerId, PrivateMoneyId, Amount) = (shopId, customerId, privateMoneyId, amount); private string path { get { return "/transactions" + "/payment"; } }