Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refs/heads/release/1.3.9 #19

Merged
merged 3 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/account.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
```
Expand Down Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions docs/bank_pay.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Request.CreateBank request = new Request.CreateBank(
"<Deep Link>", // コールバックURL
"ポケペイタロウ" // ユーザーの氏名 (片仮名で指定)
) {
Email = "x2jnlKrw0L@dNS4.com", // ユーザーのメールアドレス
Email = "EeKe2EnvF9@kW30.com", // ユーザーのメールアドレス
Birthdate = "19901142", // 生年月日
};
Response.BankRegisteringInfo response = await request.Send(client);
Expand Down Expand Up @@ -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
);
Expand Down
20 changes: 10 additions & 10 deletions docs/bill.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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, // 無効化されているかどうか
};
Expand Down
8 changes: 4 additions & 4 deletions docs/bulk.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
82 changes: 41 additions & 41 deletions docs/campaign.md
Original file line number Diff line number Diff line change
Expand Up @@ -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ページ分の取得数
};
Expand Down Expand Up @@ -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<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}}, // 取引金額ベースのポイント付与ルール
ProductBasedPointRules = new object[]{new Dictionary<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, // 商品情報ベースのポイント付与ルール
BlacklistedProductRules = new object[]{new Dictionary<string, object>(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary<string, object>(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary<string, object>(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, // 商品情報ベースのキャンペーンで除外対象にする商品リスト
ApplicableDaysOfWeek = new int[]{1, 6}, // キャンペーンを適用する曜日 (複数指定)
AmountBasedPointRules = new object[]{new Dictionary<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}, new Dictionary<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}, new Dictionary<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}}, // 取引金額ベースのポイント付与ルール
ProductBasedPointRules = new object[]{new Dictionary<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}, new Dictionary<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, // 商品情報ベースのポイント付与ルール
BlacklistedProductRules = new object[]{new Dictionary<string, object>(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, // 商品情報ベースのキャンペーンで除外対象にする商品リスト
ApplicableDaysOfWeek = new int[]{3, 2}, // キャンペーンを適用する曜日 (複数指定)
ApplicableTimeRanges = new object[]{new Dictionary<string, object>(){{"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<string, object>(){{"key","sex"}, {"value","male"}}, // ウォレットに紐付くメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。
ApplicableTransactionMetadata = new Dictionary<string, object>(){{"key","rank"}, {"value","bronze"}}, // 取引時に指定するメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。
BudgetCapsAmount = 1893504508, // キャンペーン予算上限
BudgetCapsAmount = 593459802, // キャンペーン予算上限
};
Response.Campaign response = await request.Send(client);
```
Expand Down Expand Up @@ -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<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}, new Dictionary<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"subject_more_than_or_equal",1000}, {"subject_less_than",5000}}}, // 取引金額ベースのポイント付与ルール
ProductBasedPointRules = new object[]{new Dictionary<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}, new Dictionary<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}, new Dictionary<string, object>(){{"point_amount",5}, {"point_amount_unit","percent"}, {"product_code","4912345678904"}, {"is_multiply_by_count",true}, {"required_count",2}}}, // 商品情報ベースのポイント付与ルール
BlacklistedProductRules = new object[]{new Dictionary<string, object>(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, // 商品情報ベースのキャンペーンで除外対象にする商品リスト
ApplicableDaysOfWeek = new int[]{2}, // キャンペーンを適用する曜日 (複数指定)
BlacklistedProductRules = new object[]{new Dictionary<string, object>(){{"product_code","4912345678904"}, {"classification_code","c123"}}, new Dictionary<string, object>(){{"product_code","4912345678904"}, {"classification_code","c123"}}}, // 商品情報ベースのキャンペーンで除外対象にする商品リスト
ApplicableDaysOfWeek = new int[]{6, 0}, // キャンペーンを適用する曜日 (複数指定)
ApplicableTimeRanges = new object[]{new Dictionary<string, object>(){{"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<string, object>(){{"key","sex"}, {"value","male"}}, // ウォレットに紐付くメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。
ApplicableTransactionMetadata = new Dictionary<string, object>(){{"key","rank"}, {"value","bronze"}}, // 取引時に指定するメタデータが特定の値を持つときにのみ発火するキャンペーンを登録します。
BudgetCapsAmount = 52894808, // キャンペーン予算上限
BudgetCapsAmount = 817773375, // キャンペーン予算上限
};
Response.Campaign response = await request.Send(client);
```
Expand Down
Loading
Loading