@sniipwebmaster/payment-methods-client-grpcweb 21.21.3725 → 21.22.3737
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.
|
@@ -2314,6 +2314,86 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
2314
2314
|
};
|
|
2315
2315
|
|
|
2316
2316
|
|
|
2317
|
+
/**
|
|
2318
|
+
* @const
|
|
2319
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2320
|
+
* !proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest,
|
|
2321
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
2322
|
+
*/
|
|
2323
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_VerifyBankAccount = new grpc.web.MethodDescriptor(
|
|
2324
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/VerifyBankAccount',
|
|
2325
|
+
grpc.web.MethodType.UNARY,
|
|
2326
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest,
|
|
2327
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
2328
|
+
/**
|
|
2329
|
+
* @param {!proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest} request
|
|
2330
|
+
* @return {!Uint8Array}
|
|
2331
|
+
*/
|
|
2332
|
+
function(request) {
|
|
2333
|
+
return request.serializeBinary();
|
|
2334
|
+
},
|
|
2335
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
2336
|
+
);
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
/**
|
|
2340
|
+
* @const
|
|
2341
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
2342
|
+
* !proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest,
|
|
2343
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
2344
|
+
*/
|
|
2345
|
+
const methodInfo_SniipPaymentMethodsServiceAPIService_VerifyBankAccount = new grpc.web.AbstractClientBase.MethodInfo(
|
|
2346
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
2347
|
+
/**
|
|
2348
|
+
* @param {!proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest} request
|
|
2349
|
+
* @return {!Uint8Array}
|
|
2350
|
+
*/
|
|
2351
|
+
function(request) {
|
|
2352
|
+
return request.serializeBinary();
|
|
2353
|
+
},
|
|
2354
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
2355
|
+
);
|
|
2356
|
+
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* @param {!proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest} request The
|
|
2360
|
+
* request proto
|
|
2361
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2362
|
+
* call metadata
|
|
2363
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
|
|
2364
|
+
* callback The callback function(error, response)
|
|
2365
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.ResponseCode>|undefined}
|
|
2366
|
+
* The XHR Node Readable Stream
|
|
2367
|
+
*/
|
|
2368
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.verifyBankAccount =
|
|
2369
|
+
function(request, metadata, callback) {
|
|
2370
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2371
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/VerifyBankAccount',
|
|
2372
|
+
request,
|
|
2373
|
+
metadata || {},
|
|
2374
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_VerifyBankAccount,
|
|
2375
|
+
callback);
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* @param {!proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest} request The
|
|
2381
|
+
* request proto
|
|
2382
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2383
|
+
* call metadata
|
|
2384
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
2385
|
+
* Promise that resolves to the response
|
|
2386
|
+
*/
|
|
2387
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.verifyBankAccount =
|
|
2388
|
+
function(request, metadata) {
|
|
2389
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2390
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/VerifyBankAccount',
|
|
2391
|
+
request,
|
|
2392
|
+
metadata || {},
|
|
2393
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_VerifyBankAccount);
|
|
2394
|
+
};
|
|
2395
|
+
|
|
2396
|
+
|
|
2317
2397
|
/**
|
|
2318
2398
|
* @const
|
|
2319
2399
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -21,6 +21,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest', n
|
|
|
21
21
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ApplePay', null, global);
|
|
22
22
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ApplePayDetail', null, global);
|
|
23
23
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankAccount', null, global);
|
|
24
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest', null, global);
|
|
24
25
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashRequest', null, global);
|
|
25
26
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashResponse', null, global);
|
|
26
27
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashesForUserRequest', null, global);
|
|
@@ -69,10 +70,12 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse',
|
|
|
69
70
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest', null, global);
|
|
70
71
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
|
|
71
72
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.SendPaymentMethodExpiringForScheduledPaymentsNotificationRequest', null, global);
|
|
73
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateBankAccount', null, global);
|
|
72
74
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null, global);
|
|
73
75
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest', null, global);
|
|
74
76
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest', null, global);
|
|
75
77
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest', null, global);
|
|
78
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest', null, global);
|
|
76
79
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest', null, global);
|
|
77
80
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest', null, global);
|
|
78
81
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest', null, global);
|
|
@@ -2371,7 +2374,9 @@ proto.sniippaymentmethodsserviceapi.BankAccount.toObject = function(includeInsta
|
|
|
2371
2374
|
accountno: msg.getAccountno(),
|
|
2372
2375
|
accountname: msg.getAccountname(),
|
|
2373
2376
|
nickname: msg.getNickname(),
|
|
2374
|
-
createddatetime: msg.getCreateddatetime()
|
|
2377
|
+
createddatetime: msg.getCreateddatetime(),
|
|
2378
|
+
isverified: msg.getIsverified(),
|
|
2379
|
+
bankname: msg.getBankname()
|
|
2375
2380
|
};
|
|
2376
2381
|
|
|
2377
2382
|
if (includeInstance) {
|
|
@@ -2428,6 +2433,14 @@ proto.sniippaymentmethodsserviceapi.BankAccount.deserializeBinaryFromReader = fu
|
|
|
2428
2433
|
var value = /** @type {string} */ (reader.readString());
|
|
2429
2434
|
msg.setCreateddatetime(value);
|
|
2430
2435
|
break;
|
|
2436
|
+
case 7:
|
|
2437
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2438
|
+
msg.setIsverified(value);
|
|
2439
|
+
break;
|
|
2440
|
+
case 8:
|
|
2441
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2442
|
+
msg.setBankname(value);
|
|
2443
|
+
break;
|
|
2431
2444
|
default:
|
|
2432
2445
|
reader.skipField();
|
|
2433
2446
|
break;
|
|
@@ -2501,6 +2514,20 @@ proto.sniippaymentmethodsserviceapi.BankAccount.prototype.serializeBinaryToWrite
|
|
|
2501
2514
|
f
|
|
2502
2515
|
);
|
|
2503
2516
|
}
|
|
2517
|
+
f = this.getIsverified();
|
|
2518
|
+
if (f) {
|
|
2519
|
+
writer.writeBool(
|
|
2520
|
+
7,
|
|
2521
|
+
f
|
|
2522
|
+
);
|
|
2523
|
+
}
|
|
2524
|
+
f = this.getBankname();
|
|
2525
|
+
if (f.length > 0) {
|
|
2526
|
+
writer.writeString(
|
|
2527
|
+
8,
|
|
2528
|
+
f
|
|
2529
|
+
);
|
|
2530
|
+
}
|
|
2504
2531
|
};
|
|
2505
2532
|
|
|
2506
2533
|
|
|
@@ -2588,6 +2615,224 @@ proto.sniippaymentmethodsserviceapi.BankAccount.prototype.setCreateddatetime = f
|
|
|
2588
2615
|
};
|
|
2589
2616
|
|
|
2590
2617
|
|
|
2618
|
+
/**
|
|
2619
|
+
* optional bool isVerified = 7;
|
|
2620
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2621
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2622
|
+
* @return {boolean}
|
|
2623
|
+
*/
|
|
2624
|
+
proto.sniippaymentmethodsserviceapi.BankAccount.prototype.getIsverified = function() {
|
|
2625
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 7, false));
|
|
2626
|
+
};
|
|
2627
|
+
|
|
2628
|
+
|
|
2629
|
+
/** @param {boolean} value */
|
|
2630
|
+
proto.sniippaymentmethodsserviceapi.BankAccount.prototype.setIsverified = function(value) {
|
|
2631
|
+
jspb.Message.setField(this, 7, value);
|
|
2632
|
+
};
|
|
2633
|
+
|
|
2634
|
+
|
|
2635
|
+
/**
|
|
2636
|
+
* optional string bankName = 8;
|
|
2637
|
+
* @return {string}
|
|
2638
|
+
*/
|
|
2639
|
+
proto.sniippaymentmethodsserviceapi.BankAccount.prototype.getBankname = function() {
|
|
2640
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
|
|
2641
|
+
};
|
|
2642
|
+
|
|
2643
|
+
|
|
2644
|
+
/** @param {string} value */
|
|
2645
|
+
proto.sniippaymentmethodsserviceapi.BankAccount.prototype.setBankname = function(value) {
|
|
2646
|
+
jspb.Message.setField(this, 8, value);
|
|
2647
|
+
};
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* Generated by JsPbCodeGenerator.
|
|
2653
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2654
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2655
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2656
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2657
|
+
* valid.
|
|
2658
|
+
* @extends {jspb.Message}
|
|
2659
|
+
* @constructor
|
|
2660
|
+
*/
|
|
2661
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest = function(opt_data) {
|
|
2662
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2663
|
+
};
|
|
2664
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest, jspb.Message);
|
|
2665
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2666
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.displayName = 'proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest';
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
|
|
2670
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2671
|
+
/**
|
|
2672
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2673
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2674
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2675
|
+
* For the list of reserved names please see:
|
|
2676
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2677
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2678
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2679
|
+
* @return {!Object}
|
|
2680
|
+
*/
|
|
2681
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2682
|
+
return proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.toObject(opt_includeInstance, this);
|
|
2683
|
+
};
|
|
2684
|
+
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
* Static version of the {@see toObject} method.
|
|
2688
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2689
|
+
* instance for transitional soy proto support:
|
|
2690
|
+
* http://goto/soy-param-migration
|
|
2691
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest} msg The msg instance to transform.
|
|
2692
|
+
* @return {!Object}
|
|
2693
|
+
*/
|
|
2694
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.toObject = function(includeInstance, msg) {
|
|
2695
|
+
var f, obj = {
|
|
2696
|
+
paymentmethodid: msg.getPaymentmethodid(),
|
|
2697
|
+
verifytext: msg.getVerifytext()
|
|
2698
|
+
};
|
|
2699
|
+
|
|
2700
|
+
if (includeInstance) {
|
|
2701
|
+
obj.$jspbMessageInstance = msg;
|
|
2702
|
+
}
|
|
2703
|
+
return obj;
|
|
2704
|
+
};
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
|
|
2708
|
+
/**
|
|
2709
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2710
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2711
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest}
|
|
2712
|
+
*/
|
|
2713
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.deserializeBinary = function(bytes) {
|
|
2714
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2715
|
+
var msg = new proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest;
|
|
2716
|
+
return proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.deserializeBinaryFromReader(msg, reader);
|
|
2717
|
+
};
|
|
2718
|
+
|
|
2719
|
+
|
|
2720
|
+
/**
|
|
2721
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2722
|
+
* given reader into the given message object.
|
|
2723
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest} msg The message object to deserialize into.
|
|
2724
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2725
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest}
|
|
2726
|
+
*/
|
|
2727
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2728
|
+
while (reader.nextField()) {
|
|
2729
|
+
if (reader.isEndGroup()) {
|
|
2730
|
+
break;
|
|
2731
|
+
}
|
|
2732
|
+
var field = reader.getFieldNumber();
|
|
2733
|
+
switch (field) {
|
|
2734
|
+
case 1:
|
|
2735
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2736
|
+
msg.setPaymentmethodid(value);
|
|
2737
|
+
break;
|
|
2738
|
+
case 2:
|
|
2739
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2740
|
+
msg.setVerifytext(value);
|
|
2741
|
+
break;
|
|
2742
|
+
default:
|
|
2743
|
+
reader.skipField();
|
|
2744
|
+
break;
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2747
|
+
return msg;
|
|
2748
|
+
};
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* Class method variant: serializes the given message to binary data
|
|
2753
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
2754
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest} message
|
|
2755
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2756
|
+
*/
|
|
2757
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2758
|
+
message.serializeBinaryToWriter(writer);
|
|
2759
|
+
};
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
/**
|
|
2763
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2764
|
+
* @return {!Uint8Array}
|
|
2765
|
+
*/
|
|
2766
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.prototype.serializeBinary = function() {
|
|
2767
|
+
var writer = new jspb.BinaryWriter();
|
|
2768
|
+
this.serializeBinaryToWriter(writer);
|
|
2769
|
+
return writer.getResultBuffer();
|
|
2770
|
+
};
|
|
2771
|
+
|
|
2772
|
+
|
|
2773
|
+
/**
|
|
2774
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
2775
|
+
* writing to the given BinaryWriter.
|
|
2776
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2777
|
+
*/
|
|
2778
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
2779
|
+
var f = undefined;
|
|
2780
|
+
f = this.getPaymentmethodid();
|
|
2781
|
+
if (f !== 0) {
|
|
2782
|
+
writer.writeInt64(
|
|
2783
|
+
1,
|
|
2784
|
+
f
|
|
2785
|
+
);
|
|
2786
|
+
}
|
|
2787
|
+
f = this.getVerifytext();
|
|
2788
|
+
if (f.length > 0) {
|
|
2789
|
+
writer.writeString(
|
|
2790
|
+
2,
|
|
2791
|
+
f
|
|
2792
|
+
);
|
|
2793
|
+
}
|
|
2794
|
+
};
|
|
2795
|
+
|
|
2796
|
+
|
|
2797
|
+
/**
|
|
2798
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
2799
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest} The clone.
|
|
2800
|
+
*/
|
|
2801
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.prototype.cloneMessage = function() {
|
|
2802
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest} */ (jspb.Message.cloneMessage(this));
|
|
2803
|
+
};
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
/**
|
|
2807
|
+
* optional int64 paymentMethodId = 1;
|
|
2808
|
+
* @return {number}
|
|
2809
|
+
*/
|
|
2810
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.prototype.getPaymentmethodid = function() {
|
|
2811
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
2812
|
+
};
|
|
2813
|
+
|
|
2814
|
+
|
|
2815
|
+
/** @param {number} value */
|
|
2816
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.prototype.setPaymentmethodid = function(value) {
|
|
2817
|
+
jspb.Message.setField(this, 1, value);
|
|
2818
|
+
};
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
/**
|
|
2822
|
+
* optional string verifyText = 2;
|
|
2823
|
+
* @return {string}
|
|
2824
|
+
*/
|
|
2825
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.prototype.getVerifytext = function() {
|
|
2826
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
2827
|
+
};
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
/** @param {string} value */
|
|
2831
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.prototype.setVerifytext = function(value) {
|
|
2832
|
+
jspb.Message.setField(this, 2, value);
|
|
2833
|
+
};
|
|
2834
|
+
|
|
2835
|
+
|
|
2591
2836
|
|
|
2592
2837
|
/**
|
|
2593
2838
|
* Generated by JsPbCodeGenerator.
|
|
@@ -3405,7 +3650,9 @@ proto.sniippaymentmethodsserviceapi.ColourScheme.toObject = function(includeInst
|
|
|
3405
3650
|
cardcolour: msg.getCardcolour(),
|
|
3406
3651
|
textcolour: msg.getTextcolour(),
|
|
3407
3652
|
isdefaultcolour: msg.getIsdefaultcolour(),
|
|
3408
|
-
isdark: msg.getIsdark()
|
|
3653
|
+
isdark: msg.getIsdark(),
|
|
3654
|
+
bankaccountimageurl: msg.getBankaccountimageurl(),
|
|
3655
|
+
creditcardimageurl: msg.getCreditcardimageurl()
|
|
3409
3656
|
};
|
|
3410
3657
|
|
|
3411
3658
|
if (includeInstance) {
|
|
@@ -3466,6 +3713,14 @@ proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinaryFromReader = f
|
|
|
3466
3713
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3467
3714
|
msg.setIsdark(value);
|
|
3468
3715
|
break;
|
|
3716
|
+
case 7:
|
|
3717
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3718
|
+
msg.setBankaccountimageurl(value);
|
|
3719
|
+
break;
|
|
3720
|
+
case 8:
|
|
3721
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3722
|
+
msg.setCreditcardimageurl(value);
|
|
3723
|
+
break;
|
|
3469
3724
|
default:
|
|
3470
3725
|
reader.skipField();
|
|
3471
3726
|
break;
|
|
@@ -3546,6 +3801,20 @@ proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.serializeBinaryToWrit
|
|
|
3546
3801
|
f
|
|
3547
3802
|
);
|
|
3548
3803
|
}
|
|
3804
|
+
f = this.getBankaccountimageurl();
|
|
3805
|
+
if (f.length > 0) {
|
|
3806
|
+
writer.writeString(
|
|
3807
|
+
7,
|
|
3808
|
+
f
|
|
3809
|
+
);
|
|
3810
|
+
}
|
|
3811
|
+
f = this.getCreditcardimageurl();
|
|
3812
|
+
if (f.length > 0) {
|
|
3813
|
+
writer.writeString(
|
|
3814
|
+
8,
|
|
3815
|
+
f
|
|
3816
|
+
);
|
|
3817
|
+
}
|
|
3549
3818
|
};
|
|
3550
3819
|
|
|
3551
3820
|
|
|
@@ -3652,6 +3921,36 @@ proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.setIsdark = function(
|
|
|
3652
3921
|
};
|
|
3653
3922
|
|
|
3654
3923
|
|
|
3924
|
+
/**
|
|
3925
|
+
* optional string bankAccountImageUrl = 7;
|
|
3926
|
+
* @return {string}
|
|
3927
|
+
*/
|
|
3928
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.getBankaccountimageurl = function() {
|
|
3929
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
|
|
3930
|
+
};
|
|
3931
|
+
|
|
3932
|
+
|
|
3933
|
+
/** @param {string} value */
|
|
3934
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.setBankaccountimageurl = function(value) {
|
|
3935
|
+
jspb.Message.setField(this, 7, value);
|
|
3936
|
+
};
|
|
3937
|
+
|
|
3938
|
+
|
|
3939
|
+
/**
|
|
3940
|
+
* optional string creditCardImageUrl = 8;
|
|
3941
|
+
* @return {string}
|
|
3942
|
+
*/
|
|
3943
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.getCreditcardimageurl = function() {
|
|
3944
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
|
|
3945
|
+
};
|
|
3946
|
+
|
|
3947
|
+
|
|
3948
|
+
/** @param {string} value */
|
|
3949
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.setCreditcardimageurl = function(value) {
|
|
3950
|
+
jspb.Message.setField(this, 8, value);
|
|
3951
|
+
};
|
|
3952
|
+
|
|
3953
|
+
|
|
3655
3954
|
|
|
3656
3955
|
/**
|
|
3657
3956
|
* Generated by JsPbCodeGenerator.
|
|
@@ -12720,7 +13019,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.toObject = functi
|
|
|
12720
13019
|
paymentmethodid: msg.getPaymentmethodid(),
|
|
12721
13020
|
paymenttype: msg.getPaymenttype(),
|
|
12722
13021
|
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.UpdateCreditCard.toObject(includeInstance, f),
|
|
12723
|
-
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.
|
|
13022
|
+
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.UpdateBankAccount.toObject(includeInstance, f),
|
|
12724
13023
|
accesstoken: msg.getAccesstoken()
|
|
12725
13024
|
};
|
|
12726
13025
|
|
|
@@ -12772,8 +13071,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinary
|
|
|
12772
13071
|
msg.setCreditcard(value);
|
|
12773
13072
|
break;
|
|
12774
13073
|
case 4:
|
|
12775
|
-
var value = new proto.sniippaymentmethodsserviceapi.
|
|
12776
|
-
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.
|
|
13074
|
+
var value = new proto.sniippaymentmethodsserviceapi.UpdateBankAccount;
|
|
13075
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.UpdateBankAccount.deserializeBinaryFromReader);
|
|
12777
13076
|
msg.setBankaccount(value);
|
|
12778
13077
|
break;
|
|
12779
13078
|
case 5:
|
|
@@ -12845,7 +13144,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.seriali
|
|
|
12845
13144
|
writer.writeMessage(
|
|
12846
13145
|
4,
|
|
12847
13146
|
f,
|
|
12848
|
-
proto.sniippaymentmethodsserviceapi.
|
|
13147
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.serializeBinaryToWriter
|
|
12849
13148
|
);
|
|
12850
13149
|
}
|
|
12851
13150
|
f = this.getAccesstoken();
|
|
@@ -12928,16 +13227,16 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.hasCred
|
|
|
12928
13227
|
|
|
12929
13228
|
|
|
12930
13229
|
/**
|
|
12931
|
-
* optional
|
|
12932
|
-
* @return {proto.sniippaymentmethodsserviceapi.
|
|
13230
|
+
* optional UpdateBankAccount bankAccount = 4;
|
|
13231
|
+
* @return {proto.sniippaymentmethodsserviceapi.UpdateBankAccount}
|
|
12933
13232
|
*/
|
|
12934
13233
|
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getBankaccount = function() {
|
|
12935
|
-
return /** @type{proto.sniippaymentmethodsserviceapi.
|
|
12936
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.
|
|
13234
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.UpdateBankAccount} */ (
|
|
13235
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.UpdateBankAccount, 4));
|
|
12937
13236
|
};
|
|
12938
13237
|
|
|
12939
13238
|
|
|
12940
|
-
/** @param {proto.sniippaymentmethodsserviceapi.
|
|
13239
|
+
/** @param {proto.sniippaymentmethodsserviceapi.UpdateBankAccount|undefined} value */
|
|
12941
13240
|
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setBankaccount = function(value) {
|
|
12942
13241
|
jspb.Message.setWrapperField(this, 4, value);
|
|
12943
13242
|
};
|
|
@@ -14404,6 +14703,192 @@ proto.sniippaymentmethodsserviceapi.SendPaymentMethodExpiringForScheduledPayment
|
|
|
14404
14703
|
|
|
14405
14704
|
|
|
14406
14705
|
|
|
14706
|
+
/**
|
|
14707
|
+
* Generated by JsPbCodeGenerator.
|
|
14708
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
14709
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
14710
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
14711
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
14712
|
+
* valid.
|
|
14713
|
+
* @extends {jspb.Message}
|
|
14714
|
+
* @constructor
|
|
14715
|
+
*/
|
|
14716
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount = function(opt_data) {
|
|
14717
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
14718
|
+
};
|
|
14719
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.UpdateBankAccount, jspb.Message);
|
|
14720
|
+
if (goog.DEBUG && !COMPILED) {
|
|
14721
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.displayName = 'proto.sniippaymentmethodsserviceapi.UpdateBankAccount';
|
|
14722
|
+
}
|
|
14723
|
+
|
|
14724
|
+
|
|
14725
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14726
|
+
/**
|
|
14727
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
14728
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14729
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14730
|
+
* For the list of reserved names please see:
|
|
14731
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
14732
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
14733
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
14734
|
+
* @return {!Object}
|
|
14735
|
+
*/
|
|
14736
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.prototype.toObject = function(opt_includeInstance) {
|
|
14737
|
+
return proto.sniippaymentmethodsserviceapi.UpdateBankAccount.toObject(opt_includeInstance, this);
|
|
14738
|
+
};
|
|
14739
|
+
|
|
14740
|
+
|
|
14741
|
+
/**
|
|
14742
|
+
* Static version of the {@see toObject} method.
|
|
14743
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
14744
|
+
* instance for transitional soy proto support:
|
|
14745
|
+
* http://goto/soy-param-migration
|
|
14746
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateBankAccount} msg The msg instance to transform.
|
|
14747
|
+
* @return {!Object}
|
|
14748
|
+
*/
|
|
14749
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.toObject = function(includeInstance, msg) {
|
|
14750
|
+
var f, obj = {
|
|
14751
|
+
nickname: msg.getNickname(),
|
|
14752
|
+
colourscheme: msg.getColourscheme()
|
|
14753
|
+
};
|
|
14754
|
+
|
|
14755
|
+
if (includeInstance) {
|
|
14756
|
+
obj.$jspbMessageInstance = msg;
|
|
14757
|
+
}
|
|
14758
|
+
return obj;
|
|
14759
|
+
};
|
|
14760
|
+
}
|
|
14761
|
+
|
|
14762
|
+
|
|
14763
|
+
/**
|
|
14764
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14765
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14766
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateBankAccount}
|
|
14767
|
+
*/
|
|
14768
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.deserializeBinary = function(bytes) {
|
|
14769
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14770
|
+
var msg = new proto.sniippaymentmethodsserviceapi.UpdateBankAccount;
|
|
14771
|
+
return proto.sniippaymentmethodsserviceapi.UpdateBankAccount.deserializeBinaryFromReader(msg, reader);
|
|
14772
|
+
};
|
|
14773
|
+
|
|
14774
|
+
|
|
14775
|
+
/**
|
|
14776
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14777
|
+
* given reader into the given message object.
|
|
14778
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateBankAccount} msg The message object to deserialize into.
|
|
14779
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14780
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateBankAccount}
|
|
14781
|
+
*/
|
|
14782
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.deserializeBinaryFromReader = function(msg, reader) {
|
|
14783
|
+
while (reader.nextField()) {
|
|
14784
|
+
if (reader.isEndGroup()) {
|
|
14785
|
+
break;
|
|
14786
|
+
}
|
|
14787
|
+
var field = reader.getFieldNumber();
|
|
14788
|
+
switch (field) {
|
|
14789
|
+
case 1:
|
|
14790
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14791
|
+
msg.setNickname(value);
|
|
14792
|
+
break;
|
|
14793
|
+
case 2:
|
|
14794
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14795
|
+
msg.setColourscheme(value);
|
|
14796
|
+
break;
|
|
14797
|
+
default:
|
|
14798
|
+
reader.skipField();
|
|
14799
|
+
break;
|
|
14800
|
+
}
|
|
14801
|
+
}
|
|
14802
|
+
return msg;
|
|
14803
|
+
};
|
|
14804
|
+
|
|
14805
|
+
|
|
14806
|
+
/**
|
|
14807
|
+
* Class method variant: serializes the given message to binary data
|
|
14808
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
14809
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateBankAccount} message
|
|
14810
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14811
|
+
*/
|
|
14812
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.serializeBinaryToWriter = function(message, writer) {
|
|
14813
|
+
message.serializeBinaryToWriter(writer);
|
|
14814
|
+
};
|
|
14815
|
+
|
|
14816
|
+
|
|
14817
|
+
/**
|
|
14818
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14819
|
+
* @return {!Uint8Array}
|
|
14820
|
+
*/
|
|
14821
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.prototype.serializeBinary = function() {
|
|
14822
|
+
var writer = new jspb.BinaryWriter();
|
|
14823
|
+
this.serializeBinaryToWriter(writer);
|
|
14824
|
+
return writer.getResultBuffer();
|
|
14825
|
+
};
|
|
14826
|
+
|
|
14827
|
+
|
|
14828
|
+
/**
|
|
14829
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
14830
|
+
* writing to the given BinaryWriter.
|
|
14831
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14832
|
+
*/
|
|
14833
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.prototype.serializeBinaryToWriter = function (writer) {
|
|
14834
|
+
var f = undefined;
|
|
14835
|
+
f = this.getNickname();
|
|
14836
|
+
if (f.length > 0) {
|
|
14837
|
+
writer.writeString(
|
|
14838
|
+
1,
|
|
14839
|
+
f
|
|
14840
|
+
);
|
|
14841
|
+
}
|
|
14842
|
+
f = this.getColourscheme();
|
|
14843
|
+
if (f !== 0) {
|
|
14844
|
+
writer.writeInt64(
|
|
14845
|
+
2,
|
|
14846
|
+
f
|
|
14847
|
+
);
|
|
14848
|
+
}
|
|
14849
|
+
};
|
|
14850
|
+
|
|
14851
|
+
|
|
14852
|
+
/**
|
|
14853
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
14854
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateBankAccount} The clone.
|
|
14855
|
+
*/
|
|
14856
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.prototype.cloneMessage = function() {
|
|
14857
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.UpdateBankAccount} */ (jspb.Message.cloneMessage(this));
|
|
14858
|
+
};
|
|
14859
|
+
|
|
14860
|
+
|
|
14861
|
+
/**
|
|
14862
|
+
* optional string nickname = 1;
|
|
14863
|
+
* @return {string}
|
|
14864
|
+
*/
|
|
14865
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.prototype.getNickname = function() {
|
|
14866
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
14867
|
+
};
|
|
14868
|
+
|
|
14869
|
+
|
|
14870
|
+
/** @param {string} value */
|
|
14871
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.prototype.setNickname = function(value) {
|
|
14872
|
+
jspb.Message.setField(this, 1, value);
|
|
14873
|
+
};
|
|
14874
|
+
|
|
14875
|
+
|
|
14876
|
+
/**
|
|
14877
|
+
* optional int64 colourScheme = 2;
|
|
14878
|
+
* @return {number}
|
|
14879
|
+
*/
|
|
14880
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.prototype.getColourscheme = function() {
|
|
14881
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
14882
|
+
};
|
|
14883
|
+
|
|
14884
|
+
|
|
14885
|
+
/** @param {number} value */
|
|
14886
|
+
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.prototype.setColourscheme = function(value) {
|
|
14887
|
+
jspb.Message.setField(this, 2, value);
|
|
14888
|
+
};
|
|
14889
|
+
|
|
14890
|
+
|
|
14891
|
+
|
|
14407
14892
|
/**
|
|
14408
14893
|
* Generated by JsPbCodeGenerator.
|
|
14409
14894
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -15253,6 +15738,182 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.hasData
|
|
|
15253
15738
|
|
|
15254
15739
|
|
|
15255
15740
|
|
|
15741
|
+
/**
|
|
15742
|
+
* Generated by JsPbCodeGenerator.
|
|
15743
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
15744
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
15745
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
15746
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
15747
|
+
* valid.
|
|
15748
|
+
* @extends {jspb.Message}
|
|
15749
|
+
* @constructor
|
|
15750
|
+
*/
|
|
15751
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest = function(opt_data) {
|
|
15752
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
15753
|
+
};
|
|
15754
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest, jspb.Message);
|
|
15755
|
+
if (goog.DEBUG && !COMPILED) {
|
|
15756
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.displayName = 'proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest';
|
|
15757
|
+
}
|
|
15758
|
+
|
|
15759
|
+
|
|
15760
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15761
|
+
/**
|
|
15762
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
15763
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15764
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15765
|
+
* For the list of reserved names please see:
|
|
15766
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
15767
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
15768
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
15769
|
+
* @return {!Object}
|
|
15770
|
+
*/
|
|
15771
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15772
|
+
return proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.toObject(opt_includeInstance, this);
|
|
15773
|
+
};
|
|
15774
|
+
|
|
15775
|
+
|
|
15776
|
+
/**
|
|
15777
|
+
* Static version of the {@see toObject} method.
|
|
15778
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
15779
|
+
* instance for transitional soy proto support:
|
|
15780
|
+
* http://goto/soy-param-migration
|
|
15781
|
+
* @param {!proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest} msg The msg instance to transform.
|
|
15782
|
+
* @return {!Object}
|
|
15783
|
+
*/
|
|
15784
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.toObject = function(includeInstance, msg) {
|
|
15785
|
+
var f, obj = {
|
|
15786
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.toObject(includeInstance, f)
|
|
15787
|
+
};
|
|
15788
|
+
|
|
15789
|
+
if (includeInstance) {
|
|
15790
|
+
obj.$jspbMessageInstance = msg;
|
|
15791
|
+
}
|
|
15792
|
+
return obj;
|
|
15793
|
+
};
|
|
15794
|
+
}
|
|
15795
|
+
|
|
15796
|
+
|
|
15797
|
+
/**
|
|
15798
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15799
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15800
|
+
* @return {!proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest}
|
|
15801
|
+
*/
|
|
15802
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.deserializeBinary = function(bytes) {
|
|
15803
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15804
|
+
var msg = new proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest;
|
|
15805
|
+
return proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.deserializeBinaryFromReader(msg, reader);
|
|
15806
|
+
};
|
|
15807
|
+
|
|
15808
|
+
|
|
15809
|
+
/**
|
|
15810
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15811
|
+
* given reader into the given message object.
|
|
15812
|
+
* @param {!proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest} msg The message object to deserialize into.
|
|
15813
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15814
|
+
* @return {!proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest}
|
|
15815
|
+
*/
|
|
15816
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
15817
|
+
while (reader.nextField()) {
|
|
15818
|
+
if (reader.isEndGroup()) {
|
|
15819
|
+
break;
|
|
15820
|
+
}
|
|
15821
|
+
var field = reader.getFieldNumber();
|
|
15822
|
+
switch (field) {
|
|
15823
|
+
case 1:
|
|
15824
|
+
var value = new proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest;
|
|
15825
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.deserializeBinaryFromReader);
|
|
15826
|
+
msg.setData(value);
|
|
15827
|
+
break;
|
|
15828
|
+
default:
|
|
15829
|
+
reader.skipField();
|
|
15830
|
+
break;
|
|
15831
|
+
}
|
|
15832
|
+
}
|
|
15833
|
+
return msg;
|
|
15834
|
+
};
|
|
15835
|
+
|
|
15836
|
+
|
|
15837
|
+
/**
|
|
15838
|
+
* Class method variant: serializes the given message to binary data
|
|
15839
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
15840
|
+
* @param {!proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest} message
|
|
15841
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15842
|
+
*/
|
|
15843
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
15844
|
+
message.serializeBinaryToWriter(writer);
|
|
15845
|
+
};
|
|
15846
|
+
|
|
15847
|
+
|
|
15848
|
+
/**
|
|
15849
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15850
|
+
* @return {!Uint8Array}
|
|
15851
|
+
*/
|
|
15852
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.prototype.serializeBinary = function() {
|
|
15853
|
+
var writer = new jspb.BinaryWriter();
|
|
15854
|
+
this.serializeBinaryToWriter(writer);
|
|
15855
|
+
return writer.getResultBuffer();
|
|
15856
|
+
};
|
|
15857
|
+
|
|
15858
|
+
|
|
15859
|
+
/**
|
|
15860
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
15861
|
+
* writing to the given BinaryWriter.
|
|
15862
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15863
|
+
*/
|
|
15864
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
15865
|
+
var f = undefined;
|
|
15866
|
+
f = this.getData();
|
|
15867
|
+
if (f != null) {
|
|
15868
|
+
writer.writeMessage(
|
|
15869
|
+
1,
|
|
15870
|
+
f,
|
|
15871
|
+
proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.serializeBinaryToWriter
|
|
15872
|
+
);
|
|
15873
|
+
}
|
|
15874
|
+
};
|
|
15875
|
+
|
|
15876
|
+
|
|
15877
|
+
/**
|
|
15878
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
15879
|
+
* @return {!proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest} The clone.
|
|
15880
|
+
*/
|
|
15881
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.prototype.cloneMessage = function() {
|
|
15882
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest} */ (jspb.Message.cloneMessage(this));
|
|
15883
|
+
};
|
|
15884
|
+
|
|
15885
|
+
|
|
15886
|
+
/**
|
|
15887
|
+
* optional BankAccountVerifyRequest data = 1;
|
|
15888
|
+
* @return {proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest}
|
|
15889
|
+
*/
|
|
15890
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.prototype.getData = function() {
|
|
15891
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest} */ (
|
|
15892
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest, 1));
|
|
15893
|
+
};
|
|
15894
|
+
|
|
15895
|
+
|
|
15896
|
+
/** @param {proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest|undefined} value */
|
|
15897
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.prototype.setData = function(value) {
|
|
15898
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
15899
|
+
};
|
|
15900
|
+
|
|
15901
|
+
|
|
15902
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.prototype.clearData = function() {
|
|
15903
|
+
this.setData(undefined);
|
|
15904
|
+
};
|
|
15905
|
+
|
|
15906
|
+
|
|
15907
|
+
/**
|
|
15908
|
+
* Returns whether this field is set.
|
|
15909
|
+
* @return{!boolean}
|
|
15910
|
+
*/
|
|
15911
|
+
proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest.prototype.hasData = function() {
|
|
15912
|
+
return jspb.Message.getField(this, 1) != null;
|
|
15913
|
+
};
|
|
15914
|
+
|
|
15915
|
+
|
|
15916
|
+
|
|
15256
15917
|
/**
|
|
15257
15918
|
* Generated by JsPbCodeGenerator.
|
|
15258
15919
|
* @param {Array=} opt_data Optional initial data array, typically from a
|