UNPKG

21 kBHTMLView Raw
1<!DOCTYPE html>
2
3<html lang="en">
4<head>
5 <meta charset="utf-8">
6 <meta name="viewport" content="width=device-width">
7 <title>GMO Client Library for Node.js Namespace: services/card</title>
8
9 <!--[if lt IE 9]>
10 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11 <![endif]-->
12 <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
13
14 <link type="text/css" rel="stylesheet" href="styles/site.cosmo.css">
15
16</head>
17
18<body>
19
20<div class="navbar navbar-default navbar-fixed-top navbar-inverse">
21<div class="container">
22 <div class="navbar-header">
23 <a class="navbar-brand" href="index.html">GMO Client Library for Node.js</a>
24 <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
25 <span class="icon-bar"></span>
26 <span class="icon-bar"></span>
27 <span class="icon-bar"></span>
28 </button>
29 </div>
30 <div class="navbar-collapse collapse" id="topNavigation">
31 <ul class="nav navbar-nav">
32
33 <li class="dropdown">
34 <a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a>
35 <ul class="dropdown-menu ">
36 <li><a href="error_badRequestError.html">error/badRequestError</a></li><li><a href="error_errors.html">error/errors</a></li><li><a href="factory.resultNotification.creditCard.html">factory.resultNotification.creditCard</a></li><li><a href="services_card.html">services/card</a></li><li><a href="services_credit.html">services/credit</a></li><li><a href="utils_util.html">utils/util</a></li>
37 </ul>
38 </li>
39
40 <li class="dropdown">
41 <a href="modules.list.html" class="dropdown-toggle" data-toggle="dropdown">Modules<b class="caret"></b></a>
42 <ul class="dropdown-menu ">
43 <li><a href="module-index.html">index</a></li>
44 </ul>
45 </li>
46
47 <li class="dropdown">
48 <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
49 <ul class="dropdown-menu ">
50 <li><a href="error_badRequestError.BadRequestError.html">error/badRequestError.BadRequestError</a></li>
51 </ul>
52 </li>
53
54 <li class="dropdown">
55 <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
56 <ul class="dropdown-menu ">
57 <li><a href="global.html#parseErrorMessage">parseErrorMessage</a></li>
58 </ul>
59 </li>
60
61 </ul>
62
63 <div class="col-sm-3 col-md-3">
64 <form class="navbar-form" role="search">
65 <div class="input-group">
66 <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
67 <div class="input-group-btn">
68 <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
69 </div>
70 </div>
71 </form>
72 </div>
73
74 </div>
75
76</div>
77</div>
78
79
80<div class="container" id="toc-content">
81<div class="row">
82
83
84 <div class="col-md-8">
85
86 <div id="main">
87
88
89 <h1 class="page-title">Namespace: services/card</h1>
90<section>
91
92<header>
93
94 <h2>
95 services/card
96 </h2>
97
98
99</header>
100
101
102<article>
103 <div class="container-overview">
104
105
106 <div class="description"><p>カード決済インターフェース</p></div>
107
108
109
110<dl class="details">
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140 <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
141 <dd class="tag-source">
142 <ul class="dummy">
143 <li>
144 <a href="services_card.js.html">services/card.js</a>,
145 <a href="services_card.js.html#sunlight-1-line-2">line 2</a>
146 </li>
147 </ul>
148 </dd>
149
150
151
152
153
154
155
156</dl>
157
158
159
160
161 </div>
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176 <h3 class="subsection-title">Methods</h3>
177
178 <dl>
179
180<hr>
181<dt>
182 <h4 class="name" id=".deleteCard"><span class="type-signature">&lt;static> </span>deleteCard(args)</h4>
183
184
185</dt>
186<dd>
187
188
189 <div class="description">
190 <p>カード削除</p>
191 </div>
192
193
194
195
196
197
198
199
200 <h5>Parameters:</h5>
201
202
203<table class="params table table-striped">
204 <thead>
205 <tr>
206
207 <th>Name</th>
208
209
210 <th>Type</th>
211
212
213
214
215
216 <th class="last">Description</th>
217 </tr>
218 </thead>
219
220 <tbody>
221
222
223 <tr>
224
225 <td class="name"><code>args</code></td>
226
227
228 <td class="type">
229
230
231<span class="param-type">IDeleteCardArgs</span>
232
233
234
235
236 </td>
237
238
239
240
241
242 <td class="description last"><p>カード削除in</p>
243 <h6 class="method-params-label method-subparams-label">Properties</h6>
244
245
246<table class="params table table-striped">
247 <thead>
248 <tr>
249
250 <th>Name</th>
251
252
253 <th>Type</th>
254
255
256
257
258
259 <th class="last">Description</th>
260 </tr>
261 </thead>
262
263 <tbody>
264
265
266 <tr>
267
268 <td class="name"><code>siteId</code></td>
269
270
271 <td class="type">
272
273
274<span class="param-type">string</span>
275
276
277
278
279 </td>
280
281
282
283
284
285 <td class="description last"><p>サイトID</p></td>
286 </tr>
287
288
289
290 <tr>
291
292 <td class="name"><code>sitePass</code></td>
293
294
295 <td class="type">
296
297
298<span class="param-type">string</span>
299
300
301
302
303 </td>
304
305
306
307
308
309 <td class="description last"><p>サイトパスワード</p></td>
310 </tr>
311
312
313
314 <tr>
315
316 <td class="name"><code>memberId</code></td>
317
318
319 <td class="type">
320
321
322<span class="param-type">string</span>
323
324
325
326
327 </td>
328
329
330
331
332
333 <td class="description last"><p>会員ID</p></td>
334 </tr>
335
336
337
338 <tr>
339
340 <td class="name"><code>seqMode</code></td>
341
342
343 <td class="type">
344
345
346<span class="param-type">util.SeqMode</span>
347
348
349
350
351 </td>
352
353
354
355
356
357 <td class="description last"><p>カード登録連番モード(0:論理モード(デフォルト)1:物理モード)</p></td>
358 </tr>
359
360
361
362 <tr>
363
364 <td class="name"><code>cardSeq</code></td>
365
366
367 <td class="type">
368
369
370<span class="param-type">string</span>
371
372
373
374
375 </td>
376
377
378
379
380
381 <td class="description last"><p>カード登録連番</p></td>
382 </tr>
383
384
385 </tbody>
386</table>
387
388 </td>
389 </tr>
390
391
392 </tbody>
393</table>
394
395
396
397
398<dl class="details">
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428 <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
429 <dd class="tag-source">
430 <ul class="dummy">
431 <li>
432 <a href="services_card.js.html">services/card.js</a>,
433 <a href="services_card.js.html#sunlight-1-line-217">line 217</a>
434 </li>
435 </ul>
436 </dd>
437
438
439
440
441
442
443
444</dl>
445
446
447
448
449
450
451
452
453
454
455
456
457
458 <h5>Returns:</h5>
459
460
461<div class="param-desc">
462 <p>カード削除out</p>
463</div>
464
465
466
467<dl>
468 <dt>
469 Type
470 </dt>
471 <dd>
472
473<span class="param-type">Promise.&lt;IDeleteCardResult></span>
474
475
476
477 </dd>
478</dl>
479
480
481
482
483
484</dd>
485
486
487
488<hr>
489<dt>
490 <h4 class="name" id=".saveCard"><span class="type-signature">&lt;static> </span>saveCard(args)</h4>
491
492
493</dt>
494<dd>
495
496
497 <div class="description">
498 <p>カード登録・更新</p>
499 </div>
500
501
502
503
504
505
506
507
508 <h5>Parameters:</h5>
509
510
511<table class="params table table-striped">
512 <thead>
513 <tr>
514
515 <th>Name</th>
516
517
518 <th>Type</th>
519
520
521
522
523
524 <th class="last">Description</th>
525 </tr>
526 </thead>
527
528 <tbody>
529
530
531 <tr>
532
533 <td class="name"><code>args</code></td>
534
535
536 <td class="type">
537
538
539<span class="param-type">ISaveCardArgs</span>
540
541
542
543
544 </td>
545
546
547
548
549
550 <td class="description last"><p>カード登録・更新in</p>
551 <h6 class="method-params-label method-subparams-label">Properties</h6>
552
553
554<table class="params table table-striped">
555 <thead>
556 <tr>
557
558 <th>Name</th>
559
560
561 <th>Type</th>
562
563
564
565
566
567 <th class="last">Description</th>
568 </tr>
569 </thead>
570
571 <tbody>
572
573
574 <tr>
575
576 <td class="name"><code>siteId</code></td>
577
578
579 <td class="type">
580
581
582<span class="param-type">string</span>
583
584
585
586
587 </td>
588
589
590
591
592
593 <td class="description last"><p>サイトID</p></td>
594 </tr>
595
596
597
598 <tr>
599
600 <td class="name"><code>sitePass</code></td>
601
602
603 <td class="type">
604
605
606<span class="param-type">string</span>
607
608
609
610
611 </td>
612
613
614
615
616
617 <td class="description last"><p>サイトパスワード</p></td>
618 </tr>
619
620
621
622 <tr>
623
624 <td class="name"><code>memberId</code></td>
625
626
627 <td class="type">
628
629
630<span class="param-type">string</span>
631
632
633
634
635 </td>
636
637
638
639
640
641 <td class="description last"><p>会員ID</p></td>
642 </tr>
643
644
645
646 <tr>
647
648 <td class="name"><code>seqMode</code></td>
649
650
651 <td class="type">
652
653
654<span class="param-type">util.SeqMode</span>
655
656
657
658
659 </td>
660
661
662
663
664
665 <td class="description last"><p>カード登録連番モード(0:論理モード(デフォルト)1:物理モード)</p></td>
666 </tr>
667
668
669
670 <tr>
671
672 <td class="name"><code>cardSeq</code></td>
673
674
675 <td class="type">
676
677
678<span class="param-type">number</span>
679
680
681
682
683 </td>
684
685
686
687
688
689 <td class="description last"><p>カード登録連番(登録時は、入力不可です。更新時は、更新する値を設定します。)</p></td>
690 </tr>
691
692
693
694 <tr>
695
696 <td class="name"><code>defaultFlag</code></td>
697
698
699 <td class="type">
700
701
702<span class="param-type">string</span>
703
704
705
706
707 </td>
708
709
710
711
712
713 <td class="description last"><p>洗替・継続課金フラグ(0:継続課金対象としない(デフォルト)1:継続課金対象とする)</p></td>
714 </tr>
715
716
717
718 <tr>
719
720 <td class="name"><code>cardName</code></td>
721
722
723 <td class="type">
724
725
726<span class="param-type">string</span>
727
728
729
730
731 </td>
732
733
734
735
736
737 <td class="description last"><p>カード会社略称</p></td>
738 </tr>
739
740
741
742 <tr>
743
744 <td class="name"><code>cardNo</code></td>
745
746
747 <td class="type">
748
749
750<span class="param-type">string</span>
751
752
753
754
755 </td>
756
757
758
759
760
761 <td class="description last"><p>カード番号</p></td>
762 </tr>
763
764
765
766 <tr>
767
768 <td class="name"><code>cardPass</code></td>
769
770
771 <td class="type">
772
773
774<span class="param-type">string</span>
775
776
777
778
779 </td>
780
781
782
783
784
785 <td class="description last"><p>カードパスワード</p></td>
786 </tr>
787
788
789
790 <tr>
791
792 <td class="name"><code>expire</code></td>
793
794
795 <td class="type">
796
797
798<span class="param-type">string</span>
799
800
801
802
803 </td>
804
805
806
807
808
809 <td class="description last"><p>有効期限</p></td>
810 </tr>
811
812
813
814 <tr>
815
816 <td class="name"><code>holderName</code></td>
817
818
819 <td class="type">
820
821
822<span class="param-type">string</span>
823
824
825
826
827 </td>
828
829
830
831
832
833 <td class="description last"><p>名義人</p></td>
834 </tr>
835
836
837
838 <tr>
839
840 <td class="name"><code>token</code></td>
841
842
843 <td class="type">
844
845
846<span class="param-type">string</span>
847
848
849
850
851 </td>
852
853
854
855
856
857 <td class="description last"><p>トークン</p></td>
858 </tr>
859
860
861 </tbody>
862</table>
863
864 </td>
865 </tr>
866
867
868 </tbody>
869</table>
870
871
872
873
874<dl class="details">
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904 <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
905 <dd class="tag-source">
906 <ul class="dummy">
907 <li>
908 <a href="services_card.js.html">services/card.js</a>,
909 <a href="services_card.js.html#sunlight-1-line-159">line 159</a>
910 </li>
911 </ul>
912 </dd>
913
914
915
916
917
918
919
920</dl>
921
922
923
924
925
926
927
928
929
930
931
932
933
934 <h5>Returns:</h5>
935
936
937<div class="param-desc">
938 <p>カード登録・更新out</p>
939</div>
940
941
942
943<dl>
944 <dt>
945 Type
946 </dt>
947 <dd>
948
949<span class="param-type">Promise.&lt;ISaveCardResult></span>
950
951
952
953 </dd>
954</dl>
955
956
957
958
959
960</dd>
961
962
963
964<hr>
965<dt>
966 <h4 class="name" id=".searchCard"><span class="type-signature">&lt;static> </span>searchCard(args)</h4>
967
968
969</dt>
970<dd>
971
972
973 <div class="description">
974 <p>カード参照</p>
975 </div>
976
977
978
979
980
981
982
983
984 <h5>Parameters:</h5>
985
986
987<table class="params table table-striped">
988 <thead>
989 <tr>
990
991 <th>Name</th>
992
993
994 <th>Type</th>
995
996
997
998
999
1000 <th class="last">Description</th>
1001 </tr>
1002 </thead>
1003
1004 <tbody>
1005
1006
1007 <tr>
1008
1009 <td class="name"><code>args</code></td>
1010
1011
1012 <td class="type">
1013
1014
1015<span class="param-type">ISearchCardArgs</span>
1016
1017
1018
1019
1020 </td>
1021
1022
1023
1024
1025
1026 <td class="description last"><p>カード参照in</p>
1027 <h6 class="method-params-label method-subparams-label">Properties</h6>
1028
1029
1030<table class="params table table-striped">
1031 <thead>
1032 <tr>
1033
1034 <th>Name</th>
1035
1036
1037 <th>Type</th>
1038
1039
1040
1041
1042
1043 <th class="last">Description</th>
1044 </tr>
1045 </thead>
1046
1047 <tbody>
1048
1049
1050 <tr>
1051
1052 <td class="name"><code>siteId</code></td>
1053
1054
1055 <td class="type">
1056
1057
1058<span class="param-type">string</span>
1059
1060
1061
1062
1063 </td>
1064
1065
1066
1067
1068
1069 <td class="description last"><p>サイトID</p></td>
1070 </tr>
1071
1072
1073
1074 <tr>
1075
1076 <td class="name"><code>sitePass</code></td>
1077
1078
1079 <td class="type">
1080
1081
1082<span class="param-type">string</span>
1083
1084
1085
1086
1087 </td>
1088
1089
1090
1091
1092
1093 <td class="description last"><p>サイトパスワード</p></td>
1094 </tr>
1095
1096
1097
1098 <tr>
1099
1100 <td class="name"><code>memberId</code></td>
1101
1102
1103 <td class="type">
1104
1105
1106<span class="param-type">string</span>
1107
1108
1109
1110
1111 </td>
1112
1113
1114
1115
1116
1117 <td class="description last"><p>会員ID</p></td>
1118 </tr>
1119
1120
1121
1122 <tr>
1123
1124 <td class="name"><code>seqMode</code></td>
1125
1126
1127 <td class="type">
1128
1129
1130<span class="param-type">util.SeqMode</span>
1131
1132
1133
1134
1135 </td>
1136
1137
1138
1139
1140
1141 <td class="description last"><p>カード登録連番モード(0:論理モード1:物理モード)</p></td>
1142 </tr>
1143
1144
1145
1146 <tr>
1147
1148 <td class="name"><code>cardSeq</code></td>
1149
1150
1151 <td class="type">
1152
1153
1154<span class="param-type">string</span>
1155
1156
1157
1158
1159 </td>
1160
1161
1162
1163
1164
1165 <td class="description last"><p>カード登録連番</p></td>
1166 </tr>
1167
1168
1169 </tbody>
1170</table>
1171
1172 </td>
1173 </tr>
1174
1175
1176 </tbody>
1177</table>
1178
1179
1180
1181
1182<dl class="details">
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212 <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
1213 <dd class="tag-source">
1214 <ul class="dummy">
1215 <li>
1216 <a href="services_card.js.html">services/card.js</a>,
1217 <a href="services_card.js.html#sunlight-1-line-253">line 253</a>
1218 </li>
1219 </ul>
1220 </dd>
1221
1222
1223
1224
1225
1226
1227
1228</dl>
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242 <h5>Returns:</h5>
1243
1244
1245<div class="param-desc">
1246 <p>カード参照out</p>
1247</div>
1248
1249
1250
1251<dl>
1252 <dt>
1253 Type
1254 </dt>
1255 <dd>
1256
1257<span class="param-type">Promise.&lt;Array.&lt;ISearchCardResult>></span>
1258
1259
1260
1261 </dd>
1262</dl>
1263
1264
1265
1266
1267
1268</dd>
1269
1270 </dl>
1271
1272
1273
1274
1275
1276</article>
1277
1278</section>
1279
1280
1281
1282
1283 </div>
1284 </div>
1285
1286 <div class="clearfix"></div>
1287
1288
1289 <div class="col-md-3">
1290 <div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
1291 </div>
1292
1293
1294</div>
1295</div>
1296
1297
1298 <div class="modal fade" id="searchResults">
1299 <div class="modal-dialog">
1300 <div class="modal-content">
1301 <div class="modal-header">
1302 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
1303 <h4 class="modal-title">Search results</h4>
1304 </div>
1305 <div class="modal-body"></div>
1306 <div class="modal-footer">
1307 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
1308 </div>
1309 </div><!-- /.modal-content -->
1310 </div><!-- /.modal-dialog -->
1311 </div>
1312
1313
1314<footer>
1315
1316
1317<span class="jsdoc-message">
1318 Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
1319
1320 on Sat Oct 28th 2017
1321
1322 using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
1323</span>
1324</footer>
1325
1326<script src="scripts/docstrap.lib.js"></script>
1327<script src="scripts/toc.js"></script>
1328
1329 <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
1330
1331
1332<script>
1333$( function () {
1334 $( "[id*='$']" ).each( function () {
1335 var $this = $( this );
1336
1337 $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
1338 } );
1339
1340 $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
1341 var $this = $( this );
1342
1343 var example = $this.find( "code" );
1344 exampleText = example.html();
1345 var lang = /{@lang (.*?)}/.exec( exampleText );
1346 if ( lang && lang[1] ) {
1347 exampleText = exampleText.replace( lang[0], "" );
1348 example.html( exampleText );
1349 lang = lang[1];
1350 } else {
1351 var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
1352 lang = langClassMatch ? langClassMatch[1] : "javascript";
1353 }
1354
1355 if ( lang ) {
1356
1357 $this
1358 .addClass( "sunlight-highlight-" + lang )
1359 .addClass( "linenums" )
1360 .html( example.html() );
1361
1362 }
1363 } );
1364
1365 Sunlight.highlightAll( {
1366 lineNumbers : true,
1367 showMenu : true,
1368 enableDoclinks : true
1369 } );
1370
1371 $.catchAnchorLinks( {
1372 navbarOffset: 10
1373 } );
1374 $( "#toc" ).toc( {
1375 anchorName : function ( i, heading, prefix ) {
1376 return $( heading ).attr( "id" ) || ( prefix + i );
1377 },
1378 selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
1379 showAndHide : false,
1380 smoothScrolling: true
1381 } );
1382
1383 $( "#main span[id^='toc']" ).addClass( "toc-shim" );
1384 $( '.dropdown-toggle' ).dropdown();
1385
1386 $( "table" ).each( function () {
1387 var $this = $( this );
1388 $this.addClass('table');
1389 } );
1390
1391} );
1392</script>
1393
1394
1395
1396<!--Navigation and Symbol Display-->
1397
1398
1399<!--Google Analytics-->
1400
1401
1402
1403 <script type="text/javascript">
1404 $(document).ready(function() {
1405 SearcherDisplay.init();
1406 });
1407 </script>
1408
1409
1410</body>
1411</html>
\No newline at end of file