pokepay_partner_ruby_sdk 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5354d8343e918d7d6918a30d5616d3d3af32dfb225a63430a87b439b992bb591
4
- data.tar.gz: 11287914f04797d6efb7f32b00b8a231063eb072c690690a354e79cc49e75750
3
+ metadata.gz: 1fd61e182a33f59658adeb782593d28971cc70072d3d434b8880ba51d1348e81
4
+ data.tar.gz: 26dae7ac67ff5e10e2ab44f7e1fe2c03efcf30616e2cab5cb755b6bf757518fc
5
5
  SHA512:
6
- metadata.gz: 79786b8b53e12dd1d064e018a17d12ea973b01428520a751f4632fb0babcc40ff234799204a524b2eb41804345b6d2c3726e4cbb0272806a161c9bebd95bd1f5
7
- data.tar.gz: 7ec5ccca95604a37fdd5cc71b40d5d9297d1deb0ef8786768ec5993edc42ce8e60b72356352374883e45e0be06b80dd9fb8c46f624b597557a20e3219151e5d7
6
+ metadata.gz: 5e2b87c098a019491ffac0b7744d672747cbc0a6a1756e4d7b6ce61da8dc765e4d05b61522eb206a27618c0bf793a7c7c89f03aa1e761e0dde503f5b6e999926
7
+ data.tar.gz: d8fd52165e868d36d33de7e96637cd02d30fb99107ca74b1b8964c2780bf16cee298c2af817cd1983a6a149e932495a4c17a72261ce12c7b73e6e8d37b42a58d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pokepay_partner_ruby_sdk (0.1.5)
4
+ pokepay_partner_ruby_sdk (0.1.6)
5
5
  inifile (~> 3.0.0)
6
6
  json (~> 2.3.0)
7
7
  openssl (~> 2.1.2)
@@ -169,8 +169,8 @@ response = $client.send(Pokepay::Request::CreateTopupTransaction.new(
169
169
  "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // customer_id: エンドユーザーのID
170
170
  "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // private_money_id: マネーID
171
171
  bear_point_shop_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // ポイント支払時の負担店舗ID
172
- money_amount: 8555, // マネー額
173
- point_amount: 2302, // ポイント額
172
+ money_amount: 3515, // マネー額
173
+ point_amount: 7853, // ポイント額
174
174
  description: "初夏のチャージキャンペーン" // 取引履歴に表示する説明文
175
175
  ))
176
176
  ```
@@ -229,7 +229,7 @@ response = $client.send(Pokepay::Request::CreatePaymentTransaction.new(
229
229
  "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // shop_id: 店舗ID
230
230
  "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // customer_id: エンドユーザーID
231
231
  "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // private_money_id: マネーID
232
- 6077, // amount: 支払い額
232
+ 4119, // amount: 支払い額
233
233
  description: "たい焼き(小倉)" // 取引履歴に表示する説明文
234
234
  ))
235
235
  ```
@@ -271,8 +271,8 @@ response = $client.send(Pokepay::Request::CreatePaymentTransaction.new(
271
271
  取引一覧を返します。
272
272
  ```ruby
273
273
  response = $client.send(Pokepay::Request::ListTransactions.new(
274
- from: "2021-04-20T20:55:06.000000+09:00", // 開始日時
275
- to: "2021-12-08T08:10:34.000000+09:00", // 終了日時
274
+ from: "2024-03-14T02:41:24.000000+09:00", // 開始日時
275
+ to: "2019-04-09T15:58:53.000000+09:00", // 終了日時
276
276
  page: 1, // ページ番号
277
277
  per_page: 50, // 1ページ分の取引数
278
278
  shop_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // 店舗ID
@@ -400,13 +400,13 @@ QRコードを読み取る方法以外にも、このURLリンクを直接スマ
400
400
  ```ruby
401
401
  response = $client.send(Pokepay::Request::CreateCheck.new(
402
402
  "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // account_id: 送金元の店舗アカウントID
403
- money_amount: 5032, // 付与マネー額
404
- point_amount: 1995, // 付与ポイント額
403
+ money_amount: 9919, // 付与マネー額
404
+ point_amount: 2608, // 付与ポイント額
405
405
  description: "test check", // 説明文(アプリ上で取引の説明文として表示される)
406
406
  is_onetime: false, // ワンタイムかどうか。真の場合1度読み込まれた時点でそのチャージQRは失効する(デフォルト値は真)
407
- usage_limit: 219, // ワンタイムでない場合、複数ユーザから読み取られ得る。その場合の最大読み取り回数
408
- expires_at: "2024-10-18T00:20:49.000000+09:00", // チャージQR自体の失効日時
409
- point_expires_at: "2019-07-04T01:50:46.000000+09:00", // チャージQRによって付与されるポイントの失効日時
407
+ usage_limit: 8625, // ワンタイムでない場合、複数ユーザから読み取られ得る。その場合の最大読み取り回数
408
+ expires_at: "2022-02-18T00:32:55.000000+09:00", // チャージQR自体の失効日時
409
+ point_expires_at: "2017-12-02T22:53:00.000000+09:00", // チャージQRによって付与されるポイントの失効日時
410
410
  point_expires_in_days: 60, // チャージQRによって付与されるポイントの有効期限(相対指定、単位は日)
411
411
  bear_point_account: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // ポイント額を負担する店舗アカウントのID
412
412
  ))
@@ -508,8 +508,8 @@ response = $client.send(Pokepay::Request::GetAccount.new(
508
508
  ```ruby
509
509
  response = $client.send(Pokepay::Request::ListAccountBalances.new(
510
510
  "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // account_id: ウォレットID
511
- page: 8855, // ページ番号
512
- per_page: 14 // 1ページ分の取引数
511
+ page: 7956, // ページ番号
512
+ per_page: 4513 // 1ページ分の取引数
513
513
  ))
514
514
  ```
515
515
 
@@ -538,13 +538,13 @@ response = $client.send(Pokepay::Request::CreateOrganization.new(
538
538
  "ox_supermarket", // code: 新規組織コード
539
539
  "oxスーパー", // name: 新規組織名
540
540
  ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], // private_money_ids: 加盟店組織で有効にするマネーIDの配列
541
- "Rrnkhmqvwf@VE2D.com", // issuer_admin_user_email: 発行体担当者メールアドレス
542
- "1nKhvBTC3o@f9gR.com", // member_admin_user_email: 新規組織担当者メールアドレス
541
+ "1qSYlEPOrX@96su.com", // issuer_admin_user_email: 発行体担当者メールアドレス
542
+ "Y89xlB3mgj@Y6Ph.com", // member_admin_user_email: 新規組織担当者メールアドレス
543
543
  bank_name: "XYZ銀行", // 銀行名
544
544
  bank_code: "99X", // 銀行金融機関コード
545
545
  bank_branch_name: "ABC支店", // 銀行支店名
546
546
  bank_branch_code: "99X", // 銀行支店コード
547
- bank_account_type: "saving", // 銀行口座種別 (普通=saving, 当座=current, その他=other)
547
+ bank_account_type: "current", // 銀行口座種別 (普通=saving, 当座=current, その他=other)
548
548
  bank_account: 9999999, // 銀行口座番号
549
549
  bank_account_holder_name: "フクザワユキチ", // 口座名義人名
550
550
  contact_name: "佐藤清" // 担当者名
@@ -558,11 +558,11 @@ response = $client.send(Pokepay::Request::CreateOrganization.new(
558
558
  ```ruby
559
559
  response = $client.send(Pokepay::Request::CreateShop.new(
560
560
  "oxスーパー三田店", // shop_name: 店舗名
561
- shop_postal_code: "7374764", // 店舗の郵便番号
561
+ shop_postal_code: "652-4859", // 店舗の郵便番号
562
562
  shop_address: "東京都港区芝...", // 店舗の住所
563
- shop_tel: "0550-6127", // 店舗の電話番号
564
- shop_email: "nrkqiF5U2g@QPDC.com", // 店舗のメールアドレス
565
- shop_external_id: "3BmwEo", // 店舗の外部ID
563
+ shop_tel: "096-99-5223", // 店舗の電話番号
564
+ shop_email: "0ktWQ723w2@IG1J.com", // 店舗のメールアドレス
565
+ shop_external_id: "lBzqgWY2glpsEhUQhgL9hEwO7oPQpA", // 店舗の外部ID
566
566
  organization_code: "ox-supermarket" // 組織コード
567
567
  ))
568
568
  ```
@@ -574,8 +574,8 @@ response = $client.send(Pokepay::Request::CreateShop.new(
574
574
  ```ruby
575
575
  response = $client.send(Pokepay::Request::GetPrivateMoneyOrganizationSummaries.new(
576
576
  "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // private_money_id: マネーID
577
- from: "2024-08-10T12:22:25.000000+09:00", // 開始日時(toと同時に指定する必要有)
578
- to: "2024-07-28T01:26:08.000000+09:00", // 終了日時(fromと同時に指定する必要有)
577
+ from: "2017-05-21T20:37:05.000000+09:00", // 開始日時(toと同時に指定する必要有)
578
+ to: "2018-07-11T00:21:30.000000+09:00", // 終了日時(fromと同時に指定する必要有)
579
579
  page: 1, // ページ番号
580
580
  per_page: 50 // 1ページ分の取引数
581
581
  ))
@@ -43,6 +43,7 @@ require "pokepay_partner_ruby_sdk/response/user"
43
43
  require "pokepay_partner_ruby_sdk/response/private_money"
44
44
  require "pokepay_partner_ruby_sdk/response/organization"
45
45
  require "pokepay_partner_ruby_sdk/response/transaction"
46
+ require "pokepay_partner_ruby_sdk/response/shop_with_metadata"
46
47
  require "pokepay_partner_ruby_sdk/response/user_transaction"
47
48
  require "pokepay_partner_ruby_sdk/response/account_without_private_money_detail"
48
49
  require "pokepay_partner_ruby_sdk/response/transfer"
@@ -0,0 +1,25 @@
1
+ # DO NOT EDIT: File is generated by code generator.
2
+
3
+
4
+ module Pokepay::Response
5
+ class ShopWithMetadata
6
+ def initialize(row)
7
+ @id = row["id"]
8
+ @name = row["name"]
9
+ @organization_code = row["organization_code"]
10
+ @postal_code = row["postal_code"]
11
+ @address = row["address"]
12
+ @tel = row["tel"]
13
+ @email = row["email"]
14
+ @external_id = row["external_id"]
15
+ end
16
+ attr_reader :id
17
+ attr_reader :name
18
+ attr_reader :organization_code
19
+ attr_reader :postal_code
20
+ attr_reader :address
21
+ attr_reader :tel
22
+ attr_reader :email
23
+ attr_reader :external_id
24
+ end
25
+ end
@@ -1,3 +1,3 @@
1
1
  module Pokepay
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -329,7 +329,7 @@ components:
329
329
  type: string
330
330
  summary: '取引説明文'
331
331
  ShopWithMetadata:
332
- x-poepay-schema-type: "response"
332
+ x-pokepay-schema-type: "response"
333
333
  properties:
334
334
  id:
335
335
  type: string
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pokepay_partner_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pocket Change, Inc.
@@ -170,6 +170,7 @@ files:
170
170
  - lib/pokepay_partner_ruby_sdk/response/private_money.rb
171
171
  - lib/pokepay_partner_ruby_sdk/response/private_money_organization_summary.rb
172
172
  - lib/pokepay_partner_ruby_sdk/response/response.rb
173
+ - lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb
173
174
  - lib/pokepay_partner_ruby_sdk/response/transaction.rb
174
175
  - lib/pokepay_partner_ruby_sdk/response/transfer.rb
175
176
  - lib/pokepay_partner_ruby_sdk/response/user.rb