@sniipwebmaster/payment-methods-client-grpcweb 22.14.4752 → 22.18.4788
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1194,6 +1194,86 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
1194
1194
|
};
|
|
1195
1195
|
|
|
1196
1196
|
|
|
1197
|
+
/**
|
|
1198
|
+
* @const
|
|
1199
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1200
|
+
* !proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest,
|
|
1201
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
1202
|
+
*/
|
|
1203
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_GetDigitalPaymentMethodsInfo = new grpc.web.MethodDescriptor(
|
|
1204
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetDigitalPaymentMethodsInfo',
|
|
1205
|
+
grpc.web.MethodType.UNARY,
|
|
1206
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest,
|
|
1207
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse,
|
|
1208
|
+
/**
|
|
1209
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest} request
|
|
1210
|
+
* @return {!Uint8Array}
|
|
1211
|
+
*/
|
|
1212
|
+
function(request) {
|
|
1213
|
+
return request.serializeBinary();
|
|
1214
|
+
},
|
|
1215
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinary
|
|
1216
|
+
);
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* @const
|
|
1221
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1222
|
+
* !proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest,
|
|
1223
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
1224
|
+
*/
|
|
1225
|
+
const methodInfo_SniipPaymentMethodsServiceAPIService_GetDigitalPaymentMethodsInfo = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1226
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse,
|
|
1227
|
+
/**
|
|
1228
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest} request
|
|
1229
|
+
* @return {!Uint8Array}
|
|
1230
|
+
*/
|
|
1231
|
+
function(request) {
|
|
1232
|
+
return request.serializeBinary();
|
|
1233
|
+
},
|
|
1234
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinary
|
|
1235
|
+
);
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest} request The
|
|
1240
|
+
* request proto
|
|
1241
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1242
|
+
* call metadata
|
|
1243
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse)}
|
|
1244
|
+
* callback The callback function(error, response)
|
|
1245
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>|undefined}
|
|
1246
|
+
* The XHR Node Readable Stream
|
|
1247
|
+
*/
|
|
1248
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getDigitalPaymentMethodsInfo =
|
|
1249
|
+
function(request, metadata, callback) {
|
|
1250
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1251
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetDigitalPaymentMethodsInfo',
|
|
1252
|
+
request,
|
|
1253
|
+
metadata || {},
|
|
1254
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetDigitalPaymentMethodsInfo,
|
|
1255
|
+
callback);
|
|
1256
|
+
};
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest} request The
|
|
1261
|
+
* request proto
|
|
1262
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1263
|
+
* call metadata
|
|
1264
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
1265
|
+
* Promise that resolves to the response
|
|
1266
|
+
*/
|
|
1267
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getDigitalPaymentMethodsInfo =
|
|
1268
|
+
function(request, metadata) {
|
|
1269
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1270
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetDigitalPaymentMethodsInfo',
|
|
1271
|
+
request,
|
|
1272
|
+
metadata || {},
|
|
1273
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetDigitalPaymentMethodsInfo);
|
|
1274
|
+
};
|
|
1275
|
+
|
|
1276
|
+
|
|
1197
1277
|
/**
|
|
1198
1278
|
* @const
|
|
1199
1279
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -42,6 +42,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest'
|
|
|
42
42
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashRequest', null, global);
|
|
43
43
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashesForUserRequest', null, global);
|
|
44
44
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest', null, global);
|
|
45
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest', null, global);
|
|
45
46
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest', null, global);
|
|
46
47
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest', null, global);
|
|
47
48
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodRequest', null, global);
|
|
@@ -70,6 +71,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodType', null,
|
|
|
70
71
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse', null, global);
|
|
71
72
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest', null, global);
|
|
72
73
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest', null, global);
|
|
74
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest', null, global);
|
|
73
75
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest', null, global);
|
|
74
76
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest', null, global);
|
|
75
77
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse', null, global);
|
|
@@ -2525,7 +2527,15 @@ proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject = function(includeIn
|
|
|
2525
2527
|
cardvariant: msg.getCardvariant(),
|
|
2526
2528
|
stripecustomerid: msg.getStripecustomerid(),
|
|
2527
2529
|
createddatetime: msg.getCreateddatetime(),
|
|
2528
|
-
fatzebratokenid: msg.getFatzebratokenid()
|
|
2530
|
+
fatzebratokenid: msg.getFatzebratokenid(),
|
|
2531
|
+
iscreditcard: msg.getIscreditcard(),
|
|
2532
|
+
isdebitcard: msg.getIsdebitcard(),
|
|
2533
|
+
iseftpos: msg.getIseftpos(),
|
|
2534
|
+
isinternational: msg.getIsinternational(),
|
|
2535
|
+
isprepaid: msg.getIsprepaid(),
|
|
2536
|
+
iscryptocomcard: msg.getIscryptocomcard(),
|
|
2537
|
+
iscorporate: msg.getIscorporate(),
|
|
2538
|
+
issmallbusiness: msg.getIssmallbusiness()
|
|
2529
2539
|
};
|
|
2530
2540
|
|
|
2531
2541
|
if (includeInstance) {
|
|
@@ -2603,6 +2613,38 @@ proto.sniippaymentmethodsserviceapi.ApplePayDetail.deserializeBinaryFromReader =
|
|
|
2603
2613
|
var value = /** @type {string} */ (reader.readString());
|
|
2604
2614
|
msg.setFatzebratokenid(value);
|
|
2605
2615
|
break;
|
|
2616
|
+
case 11:
|
|
2617
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2618
|
+
msg.setIscreditcard(value);
|
|
2619
|
+
break;
|
|
2620
|
+
case 12:
|
|
2621
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2622
|
+
msg.setIsdebitcard(value);
|
|
2623
|
+
break;
|
|
2624
|
+
case 13:
|
|
2625
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2626
|
+
msg.setIseftpos(value);
|
|
2627
|
+
break;
|
|
2628
|
+
case 14:
|
|
2629
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2630
|
+
msg.setIsinternational(value);
|
|
2631
|
+
break;
|
|
2632
|
+
case 15:
|
|
2633
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2634
|
+
msg.setIsprepaid(value);
|
|
2635
|
+
break;
|
|
2636
|
+
case 16:
|
|
2637
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2638
|
+
msg.setIscryptocomcard(value);
|
|
2639
|
+
break;
|
|
2640
|
+
case 17:
|
|
2641
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2642
|
+
msg.setIscorporate(value);
|
|
2643
|
+
break;
|
|
2644
|
+
case 18:
|
|
2645
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2646
|
+
msg.setIssmallbusiness(value);
|
|
2647
|
+
break;
|
|
2606
2648
|
default:
|
|
2607
2649
|
reader.skipField();
|
|
2608
2650
|
break;
|
|
@@ -2712,6 +2754,62 @@ proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.serializeBinaryToWr
|
|
|
2712
2754
|
f
|
|
2713
2755
|
);
|
|
2714
2756
|
}
|
|
2757
|
+
f = this.getIscreditcard();
|
|
2758
|
+
if (f) {
|
|
2759
|
+
writer.writeBool(
|
|
2760
|
+
11,
|
|
2761
|
+
f
|
|
2762
|
+
);
|
|
2763
|
+
}
|
|
2764
|
+
f = this.getIsdebitcard();
|
|
2765
|
+
if (f) {
|
|
2766
|
+
writer.writeBool(
|
|
2767
|
+
12,
|
|
2768
|
+
f
|
|
2769
|
+
);
|
|
2770
|
+
}
|
|
2771
|
+
f = this.getIseftpos();
|
|
2772
|
+
if (f) {
|
|
2773
|
+
writer.writeBool(
|
|
2774
|
+
13,
|
|
2775
|
+
f
|
|
2776
|
+
);
|
|
2777
|
+
}
|
|
2778
|
+
f = this.getIsinternational();
|
|
2779
|
+
if (f) {
|
|
2780
|
+
writer.writeBool(
|
|
2781
|
+
14,
|
|
2782
|
+
f
|
|
2783
|
+
);
|
|
2784
|
+
}
|
|
2785
|
+
f = this.getIsprepaid();
|
|
2786
|
+
if (f) {
|
|
2787
|
+
writer.writeBool(
|
|
2788
|
+
15,
|
|
2789
|
+
f
|
|
2790
|
+
);
|
|
2791
|
+
}
|
|
2792
|
+
f = this.getIscryptocomcard();
|
|
2793
|
+
if (f) {
|
|
2794
|
+
writer.writeBool(
|
|
2795
|
+
16,
|
|
2796
|
+
f
|
|
2797
|
+
);
|
|
2798
|
+
}
|
|
2799
|
+
f = this.getIscorporate();
|
|
2800
|
+
if (f) {
|
|
2801
|
+
writer.writeBool(
|
|
2802
|
+
17,
|
|
2803
|
+
f
|
|
2804
|
+
);
|
|
2805
|
+
}
|
|
2806
|
+
f = this.getIssmallbusiness();
|
|
2807
|
+
if (f) {
|
|
2808
|
+
writer.writeBool(
|
|
2809
|
+
18,
|
|
2810
|
+
f
|
|
2811
|
+
);
|
|
2812
|
+
}
|
|
2715
2813
|
};
|
|
2716
2814
|
|
|
2717
2815
|
|
|
@@ -2889,6 +2987,142 @@ proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setFatzebratokenid
|
|
|
2889
2987
|
};
|
|
2890
2988
|
|
|
2891
2989
|
|
|
2990
|
+
/**
|
|
2991
|
+
* optional bool isCreditCard = 11;
|
|
2992
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2993
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2994
|
+
* @return {boolean}
|
|
2995
|
+
*/
|
|
2996
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getIscreditcard = function() {
|
|
2997
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 11, false));
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
|
|
3001
|
+
/** @param {boolean} value */
|
|
3002
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setIscreditcard = function(value) {
|
|
3003
|
+
jspb.Message.setField(this, 11, value);
|
|
3004
|
+
};
|
|
3005
|
+
|
|
3006
|
+
|
|
3007
|
+
/**
|
|
3008
|
+
* optional bool isDebitCard = 12;
|
|
3009
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
3010
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
3011
|
+
* @return {boolean}
|
|
3012
|
+
*/
|
|
3013
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getIsdebitcard = function() {
|
|
3014
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 12, false));
|
|
3015
|
+
};
|
|
3016
|
+
|
|
3017
|
+
|
|
3018
|
+
/** @param {boolean} value */
|
|
3019
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setIsdebitcard = function(value) {
|
|
3020
|
+
jspb.Message.setField(this, 12, value);
|
|
3021
|
+
};
|
|
3022
|
+
|
|
3023
|
+
|
|
3024
|
+
/**
|
|
3025
|
+
* optional bool isEftpos = 13;
|
|
3026
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
3027
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
3028
|
+
* @return {boolean}
|
|
3029
|
+
*/
|
|
3030
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getIseftpos = function() {
|
|
3031
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 13, false));
|
|
3032
|
+
};
|
|
3033
|
+
|
|
3034
|
+
|
|
3035
|
+
/** @param {boolean} value */
|
|
3036
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setIseftpos = function(value) {
|
|
3037
|
+
jspb.Message.setField(this, 13, value);
|
|
3038
|
+
};
|
|
3039
|
+
|
|
3040
|
+
|
|
3041
|
+
/**
|
|
3042
|
+
* optional bool isInternational = 14;
|
|
3043
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
3044
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
3045
|
+
* @return {boolean}
|
|
3046
|
+
*/
|
|
3047
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getIsinternational = function() {
|
|
3048
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 14, false));
|
|
3049
|
+
};
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
/** @param {boolean} value */
|
|
3053
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setIsinternational = function(value) {
|
|
3054
|
+
jspb.Message.setField(this, 14, value);
|
|
3055
|
+
};
|
|
3056
|
+
|
|
3057
|
+
|
|
3058
|
+
/**
|
|
3059
|
+
* optional bool isPrepaid = 15;
|
|
3060
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
3061
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
3062
|
+
* @return {boolean}
|
|
3063
|
+
*/
|
|
3064
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getIsprepaid = function() {
|
|
3065
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 15, false));
|
|
3066
|
+
};
|
|
3067
|
+
|
|
3068
|
+
|
|
3069
|
+
/** @param {boolean} value */
|
|
3070
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setIsprepaid = function(value) {
|
|
3071
|
+
jspb.Message.setField(this, 15, value);
|
|
3072
|
+
};
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
/**
|
|
3076
|
+
* optional bool isCryptoComCard = 16;
|
|
3077
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
3078
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
3079
|
+
* @return {boolean}
|
|
3080
|
+
*/
|
|
3081
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getIscryptocomcard = function() {
|
|
3082
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 16, false));
|
|
3083
|
+
};
|
|
3084
|
+
|
|
3085
|
+
|
|
3086
|
+
/** @param {boolean} value */
|
|
3087
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setIscryptocomcard = function(value) {
|
|
3088
|
+
jspb.Message.setField(this, 16, value);
|
|
3089
|
+
};
|
|
3090
|
+
|
|
3091
|
+
|
|
3092
|
+
/**
|
|
3093
|
+
* optional bool isCorporate = 17;
|
|
3094
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
3095
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
3096
|
+
* @return {boolean}
|
|
3097
|
+
*/
|
|
3098
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getIscorporate = function() {
|
|
3099
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 17, false));
|
|
3100
|
+
};
|
|
3101
|
+
|
|
3102
|
+
|
|
3103
|
+
/** @param {boolean} value */
|
|
3104
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setIscorporate = function(value) {
|
|
3105
|
+
jspb.Message.setField(this, 17, value);
|
|
3106
|
+
};
|
|
3107
|
+
|
|
3108
|
+
|
|
3109
|
+
/**
|
|
3110
|
+
* optional bool isSmallBusiness = 18;
|
|
3111
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
3112
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
3113
|
+
* @return {boolean}
|
|
3114
|
+
*/
|
|
3115
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getIssmallbusiness = function() {
|
|
3116
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 18, false));
|
|
3117
|
+
};
|
|
3118
|
+
|
|
3119
|
+
|
|
3120
|
+
/** @param {boolean} value */
|
|
3121
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setIssmallbusiness = function(value) {
|
|
3122
|
+
jspb.Message.setField(this, 18, value);
|
|
3123
|
+
};
|
|
3124
|
+
|
|
3125
|
+
|
|
2892
3126
|
|
|
2893
3127
|
/**
|
|
2894
3128
|
* Generated by JsPbCodeGenerator.
|
|
@@ -7434,12 +7668,12 @@ proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest.prototype.has
|
|
|
7434
7668
|
* @extends {jspb.Message}
|
|
7435
7669
|
* @constructor
|
|
7436
7670
|
*/
|
|
7437
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7671
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest = function(opt_data) {
|
|
7438
7672
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7439
7673
|
};
|
|
7440
|
-
goog.inherits(proto.sniippaymentmethodsserviceapi.
|
|
7674
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest, jspb.Message);
|
|
7441
7675
|
if (goog.DEBUG && !COMPILED) {
|
|
7442
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7676
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest';
|
|
7443
7677
|
}
|
|
7444
7678
|
|
|
7445
7679
|
|
|
@@ -7454,8 +7688,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7454
7688
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
7455
7689
|
* @return {!Object}
|
|
7456
7690
|
*/
|
|
7457
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7458
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
7691
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7692
|
+
return proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.toObject(opt_includeInstance, this);
|
|
7459
7693
|
};
|
|
7460
7694
|
|
|
7461
7695
|
|
|
@@ -7464,12 +7698,12 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.
|
|
|
7464
7698
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
7465
7699
|
* instance for transitional soy proto support:
|
|
7466
7700
|
* http://goto/soy-param-migration
|
|
7467
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7701
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest} msg The msg instance to transform.
|
|
7468
7702
|
* @return {!Object}
|
|
7469
7703
|
*/
|
|
7470
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7704
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.toObject = function(includeInstance, msg) {
|
|
7471
7705
|
var f, obj = {
|
|
7472
|
-
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.
|
|
7706
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.toObject(includeInstance, f)
|
|
7473
7707
|
};
|
|
7474
7708
|
|
|
7475
7709
|
if (includeInstance) {
|
|
@@ -7483,23 +7717,23 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.toObject =
|
|
|
7483
7717
|
/**
|
|
7484
7718
|
* Deserializes binary data (in protobuf wire format).
|
|
7485
7719
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7486
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
7720
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest}
|
|
7487
7721
|
*/
|
|
7488
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7722
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.deserializeBinary = function(bytes) {
|
|
7489
7723
|
var reader = new jspb.BinaryReader(bytes);
|
|
7490
|
-
var msg = new proto.sniippaymentmethodsserviceapi.
|
|
7491
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
7724
|
+
var msg = new proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest;
|
|
7725
|
+
return proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.deserializeBinaryFromReader(msg, reader);
|
|
7492
7726
|
};
|
|
7493
7727
|
|
|
7494
7728
|
|
|
7495
7729
|
/**
|
|
7496
7730
|
* Deserializes binary data (in protobuf wire format) from the
|
|
7497
7731
|
* given reader into the given message object.
|
|
7498
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7732
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest} msg The message object to deserialize into.
|
|
7499
7733
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7500
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
7734
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest}
|
|
7501
7735
|
*/
|
|
7502
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7736
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7503
7737
|
while (reader.nextField()) {
|
|
7504
7738
|
if (reader.isEndGroup()) {
|
|
7505
7739
|
break;
|
|
@@ -7507,8 +7741,8 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.deserializ
|
|
|
7507
7741
|
var field = reader.getFieldNumber();
|
|
7508
7742
|
switch (field) {
|
|
7509
7743
|
case 1:
|
|
7510
|
-
var value = new proto.sniippaymentmethodsserviceapi.
|
|
7511
|
-
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.
|
|
7744
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest;
|
|
7745
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.deserializeBinaryFromReader);
|
|
7512
7746
|
msg.setData(value);
|
|
7513
7747
|
break;
|
|
7514
7748
|
default:
|
|
@@ -7523,10 +7757,10 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.deserializ
|
|
|
7523
7757
|
/**
|
|
7524
7758
|
* Class method variant: serializes the given message to binary data
|
|
7525
7759
|
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
7526
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7760
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest} message
|
|
7527
7761
|
* @param {!jspb.BinaryWriter} writer
|
|
7528
7762
|
*/
|
|
7529
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7763
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7530
7764
|
message.serializeBinaryToWriter(writer);
|
|
7531
7765
|
};
|
|
7532
7766
|
|
|
@@ -7535,7 +7769,7 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.serializeB
|
|
|
7535
7769
|
* Serializes the message to binary data (in protobuf wire format).
|
|
7536
7770
|
* @return {!Uint8Array}
|
|
7537
7771
|
*/
|
|
7538
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7772
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.prototype.serializeBinary = function() {
|
|
7539
7773
|
var writer = new jspb.BinaryWriter();
|
|
7540
7774
|
this.serializeBinaryToWriter(writer);
|
|
7541
7775
|
return writer.getResultBuffer();
|
|
@@ -7547,14 +7781,14 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.
|
|
|
7547
7781
|
* writing to the given BinaryWriter.
|
|
7548
7782
|
* @param {!jspb.BinaryWriter} writer
|
|
7549
7783
|
*/
|
|
7550
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7784
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
7551
7785
|
var f = undefined;
|
|
7552
7786
|
f = this.getData();
|
|
7553
7787
|
if (f != null) {
|
|
7554
7788
|
writer.writeMessage(
|
|
7555
7789
|
1,
|
|
7556
7790
|
f,
|
|
7557
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7791
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.serializeBinaryToWriter
|
|
7558
7792
|
);
|
|
7559
7793
|
}
|
|
7560
7794
|
};
|
|
@@ -7562,30 +7796,30 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.
|
|
|
7562
7796
|
|
|
7563
7797
|
/**
|
|
7564
7798
|
* Creates a deep clone of this proto. No data is shared with the original.
|
|
7565
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
7799
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest} The clone.
|
|
7566
7800
|
*/
|
|
7567
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7568
|
-
return /** @type {!proto.sniippaymentmethodsserviceapi.
|
|
7801
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.prototype.cloneMessage = function() {
|
|
7802
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest} */ (jspb.Message.cloneMessage(this));
|
|
7569
7803
|
};
|
|
7570
7804
|
|
|
7571
7805
|
|
|
7572
7806
|
/**
|
|
7573
|
-
* optional
|
|
7574
|
-
* @return {proto.sniippaymentmethodsserviceapi.
|
|
7807
|
+
* optional PaymentMethodsDigitalRequest data = 1;
|
|
7808
|
+
* @return {proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest}
|
|
7575
7809
|
*/
|
|
7576
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7577
|
-
return /** @type{proto.sniippaymentmethodsserviceapi.
|
|
7578
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.
|
|
7810
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.prototype.getData = function() {
|
|
7811
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest} */ (
|
|
7812
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest, 1));
|
|
7579
7813
|
};
|
|
7580
7814
|
|
|
7581
7815
|
|
|
7582
|
-
/** @param {proto.sniippaymentmethodsserviceapi.
|
|
7583
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7816
|
+
/** @param {proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest|undefined} value */
|
|
7817
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.prototype.setData = function(value) {
|
|
7584
7818
|
jspb.Message.setWrapperField(this, 1, value);
|
|
7585
7819
|
};
|
|
7586
7820
|
|
|
7587
7821
|
|
|
7588
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7822
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.prototype.clearData = function() {
|
|
7589
7823
|
this.setData(undefined);
|
|
7590
7824
|
};
|
|
7591
7825
|
|
|
@@ -7594,7 +7828,7 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.
|
|
|
7594
7828
|
* Returns whether this field is set.
|
|
7595
7829
|
* @return{!boolean}
|
|
7596
7830
|
*/
|
|
7597
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7831
|
+
proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest.prototype.hasData = function() {
|
|
7598
7832
|
return jspb.Message.getField(this, 1) != null;
|
|
7599
7833
|
};
|
|
7600
7834
|
|
|
@@ -7610,12 +7844,12 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.
|
|
|
7610
7844
|
* @extends {jspb.Message}
|
|
7611
7845
|
* @constructor
|
|
7612
7846
|
*/
|
|
7613
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7847
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest = function(opt_data) {
|
|
7614
7848
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7615
7849
|
};
|
|
7616
|
-
goog.inherits(proto.sniippaymentmethodsserviceapi.
|
|
7850
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest, jspb.Message);
|
|
7617
7851
|
if (goog.DEBUG && !COMPILED) {
|
|
7618
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7852
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest';
|
|
7619
7853
|
}
|
|
7620
7854
|
|
|
7621
7855
|
|
|
@@ -7630,8 +7864,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7630
7864
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
7631
7865
|
* @return {!Object}
|
|
7632
7866
|
*/
|
|
7633
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7634
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
7867
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7868
|
+
return proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.toObject(opt_includeInstance, this);
|
|
7635
7869
|
};
|
|
7636
7870
|
|
|
7637
7871
|
|
|
@@ -7640,12 +7874,12 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest.prototype.toObj
|
|
|
7640
7874
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
7641
7875
|
* instance for transitional soy proto support:
|
|
7642
7876
|
* http://goto/soy-param-migration
|
|
7643
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7877
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} msg The msg instance to transform.
|
|
7644
7878
|
* @return {!Object}
|
|
7645
7879
|
*/
|
|
7646
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7880
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.toObject = function(includeInstance, msg) {
|
|
7647
7881
|
var f, obj = {
|
|
7648
|
-
|
|
7882
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest.toObject(includeInstance, f)
|
|
7649
7883
|
};
|
|
7650
7884
|
|
|
7651
7885
|
if (includeInstance) {
|
|
@@ -7659,7 +7893,183 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest.toObject = func
|
|
|
7659
7893
|
/**
|
|
7660
7894
|
* Deserializes binary data (in protobuf wire format).
|
|
7661
7895
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7662
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
7896
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest}
|
|
7897
|
+
*/
|
|
7898
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.deserializeBinary = function(bytes) {
|
|
7899
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7900
|
+
var msg = new proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest;
|
|
7901
|
+
return proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.deserializeBinaryFromReader(msg, reader);
|
|
7902
|
+
};
|
|
7903
|
+
|
|
7904
|
+
|
|
7905
|
+
/**
|
|
7906
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7907
|
+
* given reader into the given message object.
|
|
7908
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} msg The message object to deserialize into.
|
|
7909
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7910
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest}
|
|
7911
|
+
*/
|
|
7912
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7913
|
+
while (reader.nextField()) {
|
|
7914
|
+
if (reader.isEndGroup()) {
|
|
7915
|
+
break;
|
|
7916
|
+
}
|
|
7917
|
+
var field = reader.getFieldNumber();
|
|
7918
|
+
switch (field) {
|
|
7919
|
+
case 1:
|
|
7920
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest;
|
|
7921
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest.deserializeBinaryFromReader);
|
|
7922
|
+
msg.setData(value);
|
|
7923
|
+
break;
|
|
7924
|
+
default:
|
|
7925
|
+
reader.skipField();
|
|
7926
|
+
break;
|
|
7927
|
+
}
|
|
7928
|
+
}
|
|
7929
|
+
return msg;
|
|
7930
|
+
};
|
|
7931
|
+
|
|
7932
|
+
|
|
7933
|
+
/**
|
|
7934
|
+
* Class method variant: serializes the given message to binary data
|
|
7935
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
7936
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} message
|
|
7937
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7938
|
+
*/
|
|
7939
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7940
|
+
message.serializeBinaryToWriter(writer);
|
|
7941
|
+
};
|
|
7942
|
+
|
|
7943
|
+
|
|
7944
|
+
/**
|
|
7945
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7946
|
+
* @return {!Uint8Array}
|
|
7947
|
+
*/
|
|
7948
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.serializeBinary = function() {
|
|
7949
|
+
var writer = new jspb.BinaryWriter();
|
|
7950
|
+
this.serializeBinaryToWriter(writer);
|
|
7951
|
+
return writer.getResultBuffer();
|
|
7952
|
+
};
|
|
7953
|
+
|
|
7954
|
+
|
|
7955
|
+
/**
|
|
7956
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
7957
|
+
* writing to the given BinaryWriter.
|
|
7958
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7959
|
+
*/
|
|
7960
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
7961
|
+
var f = undefined;
|
|
7962
|
+
f = this.getData();
|
|
7963
|
+
if (f != null) {
|
|
7964
|
+
writer.writeMessage(
|
|
7965
|
+
1,
|
|
7966
|
+
f,
|
|
7967
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest.serializeBinaryToWriter
|
|
7968
|
+
);
|
|
7969
|
+
}
|
|
7970
|
+
};
|
|
7971
|
+
|
|
7972
|
+
|
|
7973
|
+
/**
|
|
7974
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
7975
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} The clone.
|
|
7976
|
+
*/
|
|
7977
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.cloneMessage = function() {
|
|
7978
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} */ (jspb.Message.cloneMessage(this));
|
|
7979
|
+
};
|
|
7980
|
+
|
|
7981
|
+
|
|
7982
|
+
/**
|
|
7983
|
+
* optional PaymentMethodForPaymentRequest data = 1;
|
|
7984
|
+
* @return {proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest}
|
|
7985
|
+
*/
|
|
7986
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.getData = function() {
|
|
7987
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest} */ (
|
|
7988
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest, 1));
|
|
7989
|
+
};
|
|
7990
|
+
|
|
7991
|
+
|
|
7992
|
+
/** @param {proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest|undefined} value */
|
|
7993
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.setData = function(value) {
|
|
7994
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
7995
|
+
};
|
|
7996
|
+
|
|
7997
|
+
|
|
7998
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.clearData = function() {
|
|
7999
|
+
this.setData(undefined);
|
|
8000
|
+
};
|
|
8001
|
+
|
|
8002
|
+
|
|
8003
|
+
/**
|
|
8004
|
+
* Returns whether this field is set.
|
|
8005
|
+
* @return{!boolean}
|
|
8006
|
+
*/
|
|
8007
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest.prototype.hasData = function() {
|
|
8008
|
+
return jspb.Message.getField(this, 1) != null;
|
|
8009
|
+
};
|
|
8010
|
+
|
|
8011
|
+
|
|
8012
|
+
|
|
8013
|
+
/**
|
|
8014
|
+
* Generated by JsPbCodeGenerator.
|
|
8015
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8016
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8017
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8018
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8019
|
+
* valid.
|
|
8020
|
+
* @extends {jspb.Message}
|
|
8021
|
+
* @constructor
|
|
8022
|
+
*/
|
|
8023
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest = function(opt_data) {
|
|
8024
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8025
|
+
};
|
|
8026
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest, jspb.Message);
|
|
8027
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8028
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest';
|
|
8029
|
+
}
|
|
8030
|
+
|
|
8031
|
+
|
|
8032
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8033
|
+
/**
|
|
8034
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
8035
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8036
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8037
|
+
* For the list of reserved names please see:
|
|
8038
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
8039
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
8040
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
8041
|
+
* @return {!Object}
|
|
8042
|
+
*/
|
|
8043
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8044
|
+
return proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest.toObject(opt_includeInstance, this);
|
|
8045
|
+
};
|
|
8046
|
+
|
|
8047
|
+
|
|
8048
|
+
/**
|
|
8049
|
+
* Static version of the {@see toObject} method.
|
|
8050
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
8051
|
+
* instance for transitional soy proto support:
|
|
8052
|
+
* http://goto/soy-param-migration
|
|
8053
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest} msg The msg instance to transform.
|
|
8054
|
+
* @return {!Object}
|
|
8055
|
+
*/
|
|
8056
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest.toObject = function(includeInstance, msg) {
|
|
8057
|
+
var f, obj = {
|
|
8058
|
+
groupid: msg.getGroupid()
|
|
8059
|
+
};
|
|
8060
|
+
|
|
8061
|
+
if (includeInstance) {
|
|
8062
|
+
obj.$jspbMessageInstance = msg;
|
|
8063
|
+
}
|
|
8064
|
+
return obj;
|
|
8065
|
+
};
|
|
8066
|
+
}
|
|
8067
|
+
|
|
8068
|
+
|
|
8069
|
+
/**
|
|
8070
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8071
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8072
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest}
|
|
7663
8073
|
*/
|
|
7664
8074
|
proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest.deserializeBinary = function(bytes) {
|
|
7665
8075
|
var reader = new jspb.BinaryReader(bytes);
|
|
@@ -9339,7 +9749,15 @@ proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject = function(includeI
|
|
|
9339
9749
|
cardvariant: msg.getCardvariant(),
|
|
9340
9750
|
stripecustomerid: msg.getStripecustomerid(),
|
|
9341
9751
|
createddatetime: msg.getCreateddatetime(),
|
|
9342
|
-
fatzebratokenid: msg.getFatzebratokenid()
|
|
9752
|
+
fatzebratokenid: msg.getFatzebratokenid(),
|
|
9753
|
+
iscreditcard: msg.getIscreditcard(),
|
|
9754
|
+
isdebitcard: msg.getIsdebitcard(),
|
|
9755
|
+
iseftpos: msg.getIseftpos(),
|
|
9756
|
+
isinternational: msg.getIsinternational(),
|
|
9757
|
+
isprepaid: msg.getIsprepaid(),
|
|
9758
|
+
iscryptocomcard: msg.getIscryptocomcard(),
|
|
9759
|
+
iscorporate: msg.getIscorporate(),
|
|
9760
|
+
issmallbusiness: msg.getIssmallbusiness()
|
|
9343
9761
|
};
|
|
9344
9762
|
|
|
9345
9763
|
if (includeInstance) {
|
|
@@ -9417,6 +9835,38 @@ proto.sniippaymentmethodsserviceapi.GooglePayDetail.deserializeBinaryFromReader
|
|
|
9417
9835
|
var value = /** @type {string} */ (reader.readString());
|
|
9418
9836
|
msg.setFatzebratokenid(value);
|
|
9419
9837
|
break;
|
|
9838
|
+
case 11:
|
|
9839
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9840
|
+
msg.setIscreditcard(value);
|
|
9841
|
+
break;
|
|
9842
|
+
case 12:
|
|
9843
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9844
|
+
msg.setIsdebitcard(value);
|
|
9845
|
+
break;
|
|
9846
|
+
case 13:
|
|
9847
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9848
|
+
msg.setIseftpos(value);
|
|
9849
|
+
break;
|
|
9850
|
+
case 14:
|
|
9851
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9852
|
+
msg.setIsinternational(value);
|
|
9853
|
+
break;
|
|
9854
|
+
case 15:
|
|
9855
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9856
|
+
msg.setIsprepaid(value);
|
|
9857
|
+
break;
|
|
9858
|
+
case 16:
|
|
9859
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9860
|
+
msg.setIscryptocomcard(value);
|
|
9861
|
+
break;
|
|
9862
|
+
case 17:
|
|
9863
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9864
|
+
msg.setIscorporate(value);
|
|
9865
|
+
break;
|
|
9866
|
+
case 18:
|
|
9867
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9868
|
+
msg.setIssmallbusiness(value);
|
|
9869
|
+
break;
|
|
9420
9870
|
default:
|
|
9421
9871
|
reader.skipField();
|
|
9422
9872
|
break;
|
|
@@ -9526,6 +9976,62 @@ proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.serializeBinaryToW
|
|
|
9526
9976
|
f
|
|
9527
9977
|
);
|
|
9528
9978
|
}
|
|
9979
|
+
f = this.getIscreditcard();
|
|
9980
|
+
if (f) {
|
|
9981
|
+
writer.writeBool(
|
|
9982
|
+
11,
|
|
9983
|
+
f
|
|
9984
|
+
);
|
|
9985
|
+
}
|
|
9986
|
+
f = this.getIsdebitcard();
|
|
9987
|
+
if (f) {
|
|
9988
|
+
writer.writeBool(
|
|
9989
|
+
12,
|
|
9990
|
+
f
|
|
9991
|
+
);
|
|
9992
|
+
}
|
|
9993
|
+
f = this.getIseftpos();
|
|
9994
|
+
if (f) {
|
|
9995
|
+
writer.writeBool(
|
|
9996
|
+
13,
|
|
9997
|
+
f
|
|
9998
|
+
);
|
|
9999
|
+
}
|
|
10000
|
+
f = this.getIsinternational();
|
|
10001
|
+
if (f) {
|
|
10002
|
+
writer.writeBool(
|
|
10003
|
+
14,
|
|
10004
|
+
f
|
|
10005
|
+
);
|
|
10006
|
+
}
|
|
10007
|
+
f = this.getIsprepaid();
|
|
10008
|
+
if (f) {
|
|
10009
|
+
writer.writeBool(
|
|
10010
|
+
15,
|
|
10011
|
+
f
|
|
10012
|
+
);
|
|
10013
|
+
}
|
|
10014
|
+
f = this.getIscryptocomcard();
|
|
10015
|
+
if (f) {
|
|
10016
|
+
writer.writeBool(
|
|
10017
|
+
16,
|
|
10018
|
+
f
|
|
10019
|
+
);
|
|
10020
|
+
}
|
|
10021
|
+
f = this.getIscorporate();
|
|
10022
|
+
if (f) {
|
|
10023
|
+
writer.writeBool(
|
|
10024
|
+
17,
|
|
10025
|
+
f
|
|
10026
|
+
);
|
|
10027
|
+
}
|
|
10028
|
+
f = this.getIssmallbusiness();
|
|
10029
|
+
if (f) {
|
|
10030
|
+
writer.writeBool(
|
|
10031
|
+
18,
|
|
10032
|
+
f
|
|
10033
|
+
);
|
|
10034
|
+
}
|
|
9529
10035
|
};
|
|
9530
10036
|
|
|
9531
10037
|
|
|
@@ -9644,62 +10150,198 @@ proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setPaymentType = f
|
|
|
9644
10150
|
|
|
9645
10151
|
|
|
9646
10152
|
/**
|
|
9647
|
-
* optional string cardVariant = 7;
|
|
9648
|
-
* @return {string}
|
|
10153
|
+
* optional string cardVariant = 7;
|
|
10154
|
+
* @return {string}
|
|
10155
|
+
*/
|
|
10156
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getCardvariant = function() {
|
|
10157
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
|
|
10158
|
+
};
|
|
10159
|
+
|
|
10160
|
+
|
|
10161
|
+
/** @param {string} value */
|
|
10162
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setCardvariant = function(value) {
|
|
10163
|
+
jspb.Message.setField(this, 7, value);
|
|
10164
|
+
};
|
|
10165
|
+
|
|
10166
|
+
|
|
10167
|
+
/**
|
|
10168
|
+
* optional string stripeCustomerId = 8;
|
|
10169
|
+
* @return {string}
|
|
10170
|
+
*/
|
|
10171
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getStripecustomerid = function() {
|
|
10172
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
|
|
10173
|
+
};
|
|
10174
|
+
|
|
10175
|
+
|
|
10176
|
+
/** @param {string} value */
|
|
10177
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setStripecustomerid = function(value) {
|
|
10178
|
+
jspb.Message.setField(this, 8, value);
|
|
10179
|
+
};
|
|
10180
|
+
|
|
10181
|
+
|
|
10182
|
+
/**
|
|
10183
|
+
* optional string createdDateTime = 9;
|
|
10184
|
+
* @return {string}
|
|
10185
|
+
*/
|
|
10186
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getCreateddatetime = function() {
|
|
10187
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
|
|
10188
|
+
};
|
|
10189
|
+
|
|
10190
|
+
|
|
10191
|
+
/** @param {string} value */
|
|
10192
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setCreateddatetime = function(value) {
|
|
10193
|
+
jspb.Message.setField(this, 9, value);
|
|
10194
|
+
};
|
|
10195
|
+
|
|
10196
|
+
|
|
10197
|
+
/**
|
|
10198
|
+
* optional string fatZebraTokenId = 10;
|
|
10199
|
+
* @return {string}
|
|
10200
|
+
*/
|
|
10201
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getFatzebratokenid = function() {
|
|
10202
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 10, ""));
|
|
10203
|
+
};
|
|
10204
|
+
|
|
10205
|
+
|
|
10206
|
+
/** @param {string} value */
|
|
10207
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setFatzebratokenid = function(value) {
|
|
10208
|
+
jspb.Message.setField(this, 10, value);
|
|
10209
|
+
};
|
|
10210
|
+
|
|
10211
|
+
|
|
10212
|
+
/**
|
|
10213
|
+
* optional bool isCreditCard = 11;
|
|
10214
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10215
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10216
|
+
* @return {boolean}
|
|
10217
|
+
*/
|
|
10218
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getIscreditcard = function() {
|
|
10219
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 11, false));
|
|
10220
|
+
};
|
|
10221
|
+
|
|
10222
|
+
|
|
10223
|
+
/** @param {boolean} value */
|
|
10224
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setIscreditcard = function(value) {
|
|
10225
|
+
jspb.Message.setField(this, 11, value);
|
|
10226
|
+
};
|
|
10227
|
+
|
|
10228
|
+
|
|
10229
|
+
/**
|
|
10230
|
+
* optional bool isDebitCard = 12;
|
|
10231
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10232
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10233
|
+
* @return {boolean}
|
|
10234
|
+
*/
|
|
10235
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getIsdebitcard = function() {
|
|
10236
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 12, false));
|
|
10237
|
+
};
|
|
10238
|
+
|
|
10239
|
+
|
|
10240
|
+
/** @param {boolean} value */
|
|
10241
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setIsdebitcard = function(value) {
|
|
10242
|
+
jspb.Message.setField(this, 12, value);
|
|
10243
|
+
};
|
|
10244
|
+
|
|
10245
|
+
|
|
10246
|
+
/**
|
|
10247
|
+
* optional bool isEftpos = 13;
|
|
10248
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10249
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10250
|
+
* @return {boolean}
|
|
10251
|
+
*/
|
|
10252
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getIseftpos = function() {
|
|
10253
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 13, false));
|
|
10254
|
+
};
|
|
10255
|
+
|
|
10256
|
+
|
|
10257
|
+
/** @param {boolean} value */
|
|
10258
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setIseftpos = function(value) {
|
|
10259
|
+
jspb.Message.setField(this, 13, value);
|
|
10260
|
+
};
|
|
10261
|
+
|
|
10262
|
+
|
|
10263
|
+
/**
|
|
10264
|
+
* optional bool isInternational = 14;
|
|
10265
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10266
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10267
|
+
* @return {boolean}
|
|
10268
|
+
*/
|
|
10269
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getIsinternational = function() {
|
|
10270
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 14, false));
|
|
10271
|
+
};
|
|
10272
|
+
|
|
10273
|
+
|
|
10274
|
+
/** @param {boolean} value */
|
|
10275
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setIsinternational = function(value) {
|
|
10276
|
+
jspb.Message.setField(this, 14, value);
|
|
10277
|
+
};
|
|
10278
|
+
|
|
10279
|
+
|
|
10280
|
+
/**
|
|
10281
|
+
* optional bool isPrepaid = 15;
|
|
10282
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10283
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10284
|
+
* @return {boolean}
|
|
9649
10285
|
*/
|
|
9650
|
-
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.
|
|
9651
|
-
return /** @type {
|
|
10286
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getIsprepaid = function() {
|
|
10287
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 15, false));
|
|
9652
10288
|
};
|
|
9653
10289
|
|
|
9654
10290
|
|
|
9655
|
-
/** @param {
|
|
9656
|
-
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.
|
|
9657
|
-
jspb.Message.setField(this,
|
|
10291
|
+
/** @param {boolean} value */
|
|
10292
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setIsprepaid = function(value) {
|
|
10293
|
+
jspb.Message.setField(this, 15, value);
|
|
9658
10294
|
};
|
|
9659
10295
|
|
|
9660
10296
|
|
|
9661
10297
|
/**
|
|
9662
|
-
* optional
|
|
9663
|
-
*
|
|
10298
|
+
* optional bool isCryptoComCard = 16;
|
|
10299
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10300
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10301
|
+
* @return {boolean}
|
|
9664
10302
|
*/
|
|
9665
|
-
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.
|
|
9666
|
-
return /** @type {
|
|
10303
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getIscryptocomcard = function() {
|
|
10304
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 16, false));
|
|
9667
10305
|
};
|
|
9668
10306
|
|
|
9669
10307
|
|
|
9670
|
-
/** @param {
|
|
9671
|
-
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.
|
|
9672
|
-
jspb.Message.setField(this,
|
|
10308
|
+
/** @param {boolean} value */
|
|
10309
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setIscryptocomcard = function(value) {
|
|
10310
|
+
jspb.Message.setField(this, 16, value);
|
|
9673
10311
|
};
|
|
9674
10312
|
|
|
9675
10313
|
|
|
9676
10314
|
/**
|
|
9677
|
-
* optional
|
|
9678
|
-
*
|
|
10315
|
+
* optional bool isCorporate = 17;
|
|
10316
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10317
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10318
|
+
* @return {boolean}
|
|
9679
10319
|
*/
|
|
9680
|
-
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.
|
|
9681
|
-
return /** @type {
|
|
10320
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getIscorporate = function() {
|
|
10321
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 17, false));
|
|
9682
10322
|
};
|
|
9683
10323
|
|
|
9684
10324
|
|
|
9685
|
-
/** @param {
|
|
9686
|
-
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.
|
|
9687
|
-
jspb.Message.setField(this,
|
|
10325
|
+
/** @param {boolean} value */
|
|
10326
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setIscorporate = function(value) {
|
|
10327
|
+
jspb.Message.setField(this, 17, value);
|
|
9688
10328
|
};
|
|
9689
10329
|
|
|
9690
10330
|
|
|
9691
10331
|
/**
|
|
9692
|
-
* optional
|
|
9693
|
-
*
|
|
10332
|
+
* optional bool isSmallBusiness = 18;
|
|
10333
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10334
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10335
|
+
* @return {boolean}
|
|
9694
10336
|
*/
|
|
9695
|
-
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.
|
|
9696
|
-
return /** @type {
|
|
10337
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getIssmallbusiness = function() {
|
|
10338
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 18, false));
|
|
9697
10339
|
};
|
|
9698
10340
|
|
|
9699
10341
|
|
|
9700
|
-
/** @param {
|
|
9701
|
-
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.
|
|
9702
|
-
jspb.Message.setField(this,
|
|
10342
|
+
/** @param {boolean} value */
|
|
10343
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setIssmallbusiness = function(value) {
|
|
10344
|
+
jspb.Message.setField(this, 18, value);
|
|
9703
10345
|
};
|
|
9704
10346
|
|
|
9705
10347
|
|
|
@@ -15105,6 +15747,250 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.proto
|
|
|
15105
15747
|
|
|
15106
15748
|
|
|
15107
15749
|
|
|
15750
|
+
/**
|
|
15751
|
+
* Generated by JsPbCodeGenerator.
|
|
15752
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
15753
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
15754
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
15755
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
15756
|
+
* valid.
|
|
15757
|
+
* @extends {jspb.Message}
|
|
15758
|
+
* @constructor
|
|
15759
|
+
*/
|
|
15760
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest = function(opt_data) {
|
|
15761
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
15762
|
+
};
|
|
15763
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest, jspb.Message);
|
|
15764
|
+
if (goog.DEBUG && !COMPILED) {
|
|
15765
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest';
|
|
15766
|
+
}
|
|
15767
|
+
|
|
15768
|
+
|
|
15769
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15770
|
+
/**
|
|
15771
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
15772
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15773
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15774
|
+
* For the list of reserved names please see:
|
|
15775
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
15776
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
15777
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
15778
|
+
* @return {!Object}
|
|
15779
|
+
*/
|
|
15780
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15781
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.toObject(opt_includeInstance, this);
|
|
15782
|
+
};
|
|
15783
|
+
|
|
15784
|
+
|
|
15785
|
+
/**
|
|
15786
|
+
* Static version of the {@see toObject} method.
|
|
15787
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
15788
|
+
* instance for transitional soy proto support:
|
|
15789
|
+
* http://goto/soy-param-migration
|
|
15790
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest} msg The msg instance to transform.
|
|
15791
|
+
* @return {!Object}
|
|
15792
|
+
*/
|
|
15793
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.toObject = function(includeInstance, msg) {
|
|
15794
|
+
var f, obj = {
|
|
15795
|
+
isapplepay: msg.getIsapplepay(),
|
|
15796
|
+
isgooglepay: msg.getIsgooglepay(),
|
|
15797
|
+
cardvariant: msg.getCardvariant(),
|
|
15798
|
+
paymentmethodtype: msg.getPaymentmethodtype()
|
|
15799
|
+
};
|
|
15800
|
+
|
|
15801
|
+
if (includeInstance) {
|
|
15802
|
+
obj.$jspbMessageInstance = msg;
|
|
15803
|
+
}
|
|
15804
|
+
return obj;
|
|
15805
|
+
};
|
|
15806
|
+
}
|
|
15807
|
+
|
|
15808
|
+
|
|
15809
|
+
/**
|
|
15810
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15811
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15812
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest}
|
|
15813
|
+
*/
|
|
15814
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.deserializeBinary = function(bytes) {
|
|
15815
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15816
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest;
|
|
15817
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.deserializeBinaryFromReader(msg, reader);
|
|
15818
|
+
};
|
|
15819
|
+
|
|
15820
|
+
|
|
15821
|
+
/**
|
|
15822
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15823
|
+
* given reader into the given message object.
|
|
15824
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest} msg The message object to deserialize into.
|
|
15825
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15826
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest}
|
|
15827
|
+
*/
|
|
15828
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
15829
|
+
while (reader.nextField()) {
|
|
15830
|
+
if (reader.isEndGroup()) {
|
|
15831
|
+
break;
|
|
15832
|
+
}
|
|
15833
|
+
var field = reader.getFieldNumber();
|
|
15834
|
+
switch (field) {
|
|
15835
|
+
case 1:
|
|
15836
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
15837
|
+
msg.setIsapplepay(value);
|
|
15838
|
+
break;
|
|
15839
|
+
case 2:
|
|
15840
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
15841
|
+
msg.setIsgooglepay(value);
|
|
15842
|
+
break;
|
|
15843
|
+
case 3:
|
|
15844
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15845
|
+
msg.setCardvariant(value);
|
|
15846
|
+
break;
|
|
15847
|
+
case 4:
|
|
15848
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15849
|
+
msg.setPaymentmethodtype(value);
|
|
15850
|
+
break;
|
|
15851
|
+
default:
|
|
15852
|
+
reader.skipField();
|
|
15853
|
+
break;
|
|
15854
|
+
}
|
|
15855
|
+
}
|
|
15856
|
+
return msg;
|
|
15857
|
+
};
|
|
15858
|
+
|
|
15859
|
+
|
|
15860
|
+
/**
|
|
15861
|
+
* Class method variant: serializes the given message to binary data
|
|
15862
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
15863
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest} message
|
|
15864
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15865
|
+
*/
|
|
15866
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
15867
|
+
message.serializeBinaryToWriter(writer);
|
|
15868
|
+
};
|
|
15869
|
+
|
|
15870
|
+
|
|
15871
|
+
/**
|
|
15872
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15873
|
+
* @return {!Uint8Array}
|
|
15874
|
+
*/
|
|
15875
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.serializeBinary = function() {
|
|
15876
|
+
var writer = new jspb.BinaryWriter();
|
|
15877
|
+
this.serializeBinaryToWriter(writer);
|
|
15878
|
+
return writer.getResultBuffer();
|
|
15879
|
+
};
|
|
15880
|
+
|
|
15881
|
+
|
|
15882
|
+
/**
|
|
15883
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
15884
|
+
* writing to the given BinaryWriter.
|
|
15885
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15886
|
+
*/
|
|
15887
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
15888
|
+
var f = undefined;
|
|
15889
|
+
f = this.getIsapplepay();
|
|
15890
|
+
if (f) {
|
|
15891
|
+
writer.writeBool(
|
|
15892
|
+
1,
|
|
15893
|
+
f
|
|
15894
|
+
);
|
|
15895
|
+
}
|
|
15896
|
+
f = this.getIsgooglepay();
|
|
15897
|
+
if (f) {
|
|
15898
|
+
writer.writeBool(
|
|
15899
|
+
2,
|
|
15900
|
+
f
|
|
15901
|
+
);
|
|
15902
|
+
}
|
|
15903
|
+
f = this.getCardvariant();
|
|
15904
|
+
if (f.length > 0) {
|
|
15905
|
+
writer.writeString(
|
|
15906
|
+
3,
|
|
15907
|
+
f
|
|
15908
|
+
);
|
|
15909
|
+
}
|
|
15910
|
+
f = this.getPaymentmethodtype();
|
|
15911
|
+
if (f.length > 0) {
|
|
15912
|
+
writer.writeString(
|
|
15913
|
+
4,
|
|
15914
|
+
f
|
|
15915
|
+
);
|
|
15916
|
+
}
|
|
15917
|
+
};
|
|
15918
|
+
|
|
15919
|
+
|
|
15920
|
+
/**
|
|
15921
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
15922
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest} The clone.
|
|
15923
|
+
*/
|
|
15924
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.cloneMessage = function() {
|
|
15925
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest} */ (jspb.Message.cloneMessage(this));
|
|
15926
|
+
};
|
|
15927
|
+
|
|
15928
|
+
|
|
15929
|
+
/**
|
|
15930
|
+
* optional bool isApplePay = 1;
|
|
15931
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
15932
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
15933
|
+
* @return {boolean}
|
|
15934
|
+
*/
|
|
15935
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.getIsapplepay = function() {
|
|
15936
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 1, false));
|
|
15937
|
+
};
|
|
15938
|
+
|
|
15939
|
+
|
|
15940
|
+
/** @param {boolean} value */
|
|
15941
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.setIsapplepay = function(value) {
|
|
15942
|
+
jspb.Message.setField(this, 1, value);
|
|
15943
|
+
};
|
|
15944
|
+
|
|
15945
|
+
|
|
15946
|
+
/**
|
|
15947
|
+
* optional bool isGooglePay = 2;
|
|
15948
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
15949
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
15950
|
+
* @return {boolean}
|
|
15951
|
+
*/
|
|
15952
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.getIsgooglepay = function() {
|
|
15953
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
|
|
15954
|
+
};
|
|
15955
|
+
|
|
15956
|
+
|
|
15957
|
+
/** @param {boolean} value */
|
|
15958
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.setIsgooglepay = function(value) {
|
|
15959
|
+
jspb.Message.setField(this, 2, value);
|
|
15960
|
+
};
|
|
15961
|
+
|
|
15962
|
+
|
|
15963
|
+
/**
|
|
15964
|
+
* optional string cardVariant = 3;
|
|
15965
|
+
* @return {string}
|
|
15966
|
+
*/
|
|
15967
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.getCardvariant = function() {
|
|
15968
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
15969
|
+
};
|
|
15970
|
+
|
|
15971
|
+
|
|
15972
|
+
/** @param {string} value */
|
|
15973
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.setCardvariant = function(value) {
|
|
15974
|
+
jspb.Message.setField(this, 3, value);
|
|
15975
|
+
};
|
|
15976
|
+
|
|
15977
|
+
|
|
15978
|
+
/**
|
|
15979
|
+
* optional string paymentMethodType = 4;
|
|
15980
|
+
* @return {string}
|
|
15981
|
+
*/
|
|
15982
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.getPaymentmethodtype = function() {
|
|
15983
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
15984
|
+
};
|
|
15985
|
+
|
|
15986
|
+
|
|
15987
|
+
/** @param {string} value */
|
|
15988
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsDigitalRequest.prototype.setPaymentmethodtype = function(value) {
|
|
15989
|
+
jspb.Message.setField(this, 4, value);
|
|
15990
|
+
};
|
|
15991
|
+
|
|
15992
|
+
|
|
15993
|
+
|
|
15108
15994
|
/**
|
|
15109
15995
|
* Generated by JsPbCodeGenerator.
|
|
15110
15996
|
* @param {Array=} opt_data Optional initial data array, typically from a
|