@sniipwebmaster/payment-methods-client-grpcweb 25.11.7269 → 25.11.7285
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.
|
@@ -2701,5 +2701,66 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
2701
2701
|
};
|
|
2702
2702
|
|
|
2703
2703
|
|
|
2704
|
+
/**
|
|
2705
|
+
* @const
|
|
2706
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2707
|
+
* !proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest,
|
|
2708
|
+
* !proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse>}
|
|
2709
|
+
*/
|
|
2710
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_RetryPayToAgreement = new grpc.web.MethodDescriptor(
|
|
2711
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/RetryPayToAgreement',
|
|
2712
|
+
grpc.web.MethodType.UNARY,
|
|
2713
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest,
|
|
2714
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse,
|
|
2715
|
+
/**
|
|
2716
|
+
* @param {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest} request
|
|
2717
|
+
* @return {!Uint8Array}
|
|
2718
|
+
*/
|
|
2719
|
+
function(request) {
|
|
2720
|
+
return request.serializeBinary();
|
|
2721
|
+
},
|
|
2722
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.deserializeBinary
|
|
2723
|
+
);
|
|
2724
|
+
|
|
2725
|
+
|
|
2726
|
+
/**
|
|
2727
|
+
* @param {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest} request The
|
|
2728
|
+
* request proto
|
|
2729
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2730
|
+
* call metadata
|
|
2731
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse)}
|
|
2732
|
+
* callback The callback function(error, response)
|
|
2733
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse>|undefined}
|
|
2734
|
+
* The XHR Node Readable Stream
|
|
2735
|
+
*/
|
|
2736
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.retryPayToAgreement =
|
|
2737
|
+
function(request, metadata, callback) {
|
|
2738
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2739
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/RetryPayToAgreement',
|
|
2740
|
+
request,
|
|
2741
|
+
metadata || {},
|
|
2742
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_RetryPayToAgreement,
|
|
2743
|
+
callback);
|
|
2744
|
+
};
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
/**
|
|
2748
|
+
* @param {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest} request The
|
|
2749
|
+
* request proto
|
|
2750
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2751
|
+
* call metadata
|
|
2752
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse>}
|
|
2753
|
+
* Promise that resolves to the response
|
|
2754
|
+
*/
|
|
2755
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.retryPayToAgreement =
|
|
2756
|
+
function(request, metadata) {
|
|
2757
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2758
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/RetryPayToAgreement',
|
|
2759
|
+
request,
|
|
2760
|
+
metadata || {},
|
|
2761
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_RetryPayToAgreement);
|
|
2762
|
+
};
|
|
2763
|
+
|
|
2764
|
+
|
|
2704
2765
|
module.exports = proto.sniippaymentmethodsserviceapi;
|
|
2705
2766
|
|
|
@@ -108,6 +108,8 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentProcessor', null,
|
|
|
108
108
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaytoBankAccount', null, global);
|
|
109
109
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest', null, global);
|
|
110
110
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
|
|
111
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest', null, global);
|
|
112
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse', null, global);
|
|
111
113
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.SendPaymentMethodExpiringForScheduledPaymentsNotificationRequest', null, global);
|
|
112
114
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateBankAccount', null, global);
|
|
113
115
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null, global);
|
|
@@ -2336,6 +2338,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2336
2338
|
*/
|
|
2337
2339
|
proto.sniippaymentmethodsserviceapi.OperationsVerifyBsbAccountResponse.displayName = 'proto.sniippaymentmethodsserviceapi.OperationsVerifyBsbAccountResponse';
|
|
2338
2340
|
}
|
|
2341
|
+
/**
|
|
2342
|
+
* Generated by JsPbCodeGenerator.
|
|
2343
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2344
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2345
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2346
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2347
|
+
* valid.
|
|
2348
|
+
* @extends {jspb.Message}
|
|
2349
|
+
* @constructor
|
|
2350
|
+
*/
|
|
2351
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest = function(opt_data) {
|
|
2352
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2353
|
+
};
|
|
2354
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest, jspb.Message);
|
|
2355
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2356
|
+
/**
|
|
2357
|
+
* @public
|
|
2358
|
+
* @override
|
|
2359
|
+
*/
|
|
2360
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.displayName = 'proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest';
|
|
2361
|
+
}
|
|
2362
|
+
/**
|
|
2363
|
+
* Generated by JsPbCodeGenerator.
|
|
2364
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2365
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2366
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2367
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2368
|
+
* valid.
|
|
2369
|
+
* @extends {jspb.Message}
|
|
2370
|
+
* @constructor
|
|
2371
|
+
*/
|
|
2372
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse = function(opt_data) {
|
|
2373
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2374
|
+
};
|
|
2375
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse, jspb.Message);
|
|
2376
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2377
|
+
/**
|
|
2378
|
+
* @public
|
|
2379
|
+
* @override
|
|
2380
|
+
*/
|
|
2381
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.displayName = 'proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse';
|
|
2382
|
+
}
|
|
2339
2383
|
/**
|
|
2340
2384
|
* Generated by JsPbCodeGenerator.
|
|
2341
2385
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -27621,6 +27665,368 @@ proto.sniippaymentmethodsserviceapi.OperationsVerifyBsbAccountResponse.prototype
|
|
|
27621
27665
|
|
|
27622
27666
|
|
|
27623
27667
|
|
|
27668
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27669
|
+
/**
|
|
27670
|
+
* Creates an object representation of this proto.
|
|
27671
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
27672
|
+
* Optional fields that are not set will be set to undefined.
|
|
27673
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
27674
|
+
* For the list of reserved names please see:
|
|
27675
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
27676
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
27677
|
+
* JSPB instance for transitional soy proto support:
|
|
27678
|
+
* http://goto/soy-param-migration
|
|
27679
|
+
* @return {!Object}
|
|
27680
|
+
*/
|
|
27681
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.prototype.toObject = function(opt_includeInstance) {
|
|
27682
|
+
return proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.toObject(opt_includeInstance, this);
|
|
27683
|
+
};
|
|
27684
|
+
|
|
27685
|
+
|
|
27686
|
+
/**
|
|
27687
|
+
* Static version of the {@see toObject} method.
|
|
27688
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
27689
|
+
* the JSPB instance for transitional soy proto support:
|
|
27690
|
+
* http://goto/soy-param-migration
|
|
27691
|
+
* @param {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest} msg The msg instance to transform.
|
|
27692
|
+
* @return {!Object}
|
|
27693
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27694
|
+
*/
|
|
27695
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.toObject = function(includeInstance, msg) {
|
|
27696
|
+
var f, obj = {
|
|
27697
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
27698
|
+
maxamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
|
|
27699
|
+
};
|
|
27700
|
+
|
|
27701
|
+
if (includeInstance) {
|
|
27702
|
+
obj.$jspbMessageInstance = msg;
|
|
27703
|
+
}
|
|
27704
|
+
return obj;
|
|
27705
|
+
};
|
|
27706
|
+
}
|
|
27707
|
+
|
|
27708
|
+
|
|
27709
|
+
/**
|
|
27710
|
+
* Deserializes binary data (in protobuf wire format).
|
|
27711
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27712
|
+
* @return {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest}
|
|
27713
|
+
*/
|
|
27714
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.deserializeBinary = function(bytes) {
|
|
27715
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
27716
|
+
var msg = new proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest;
|
|
27717
|
+
return proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.deserializeBinaryFromReader(msg, reader);
|
|
27718
|
+
};
|
|
27719
|
+
|
|
27720
|
+
|
|
27721
|
+
/**
|
|
27722
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
27723
|
+
* given reader into the given message object.
|
|
27724
|
+
* @param {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest} msg The message object to deserialize into.
|
|
27725
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
27726
|
+
* @return {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest}
|
|
27727
|
+
*/
|
|
27728
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
27729
|
+
while (reader.nextField()) {
|
|
27730
|
+
if (reader.isEndGroup()) {
|
|
27731
|
+
break;
|
|
27732
|
+
}
|
|
27733
|
+
var field = reader.getFieldNumber();
|
|
27734
|
+
switch (field) {
|
|
27735
|
+
case 1:
|
|
27736
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
27737
|
+
msg.setPaymentmethodid(value);
|
|
27738
|
+
break;
|
|
27739
|
+
case 2:
|
|
27740
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
27741
|
+
msg.setMaxamount(value);
|
|
27742
|
+
break;
|
|
27743
|
+
default:
|
|
27744
|
+
reader.skipField();
|
|
27745
|
+
break;
|
|
27746
|
+
}
|
|
27747
|
+
}
|
|
27748
|
+
return msg;
|
|
27749
|
+
};
|
|
27750
|
+
|
|
27751
|
+
|
|
27752
|
+
/**
|
|
27753
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
27754
|
+
* @return {!Uint8Array}
|
|
27755
|
+
*/
|
|
27756
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.prototype.serializeBinary = function() {
|
|
27757
|
+
var writer = new jspb.BinaryWriter();
|
|
27758
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.serializeBinaryToWriter(this, writer);
|
|
27759
|
+
return writer.getResultBuffer();
|
|
27760
|
+
};
|
|
27761
|
+
|
|
27762
|
+
|
|
27763
|
+
/**
|
|
27764
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
27765
|
+
* format), writing to the given BinaryWriter.
|
|
27766
|
+
* @param {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest} message
|
|
27767
|
+
* @param {!jspb.BinaryWriter} writer
|
|
27768
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27769
|
+
*/
|
|
27770
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.serializeBinaryToWriter = function(message, writer) {
|
|
27771
|
+
var f = undefined;
|
|
27772
|
+
f = message.getPaymentmethodid();
|
|
27773
|
+
if (f !== 0) {
|
|
27774
|
+
writer.writeInt64(
|
|
27775
|
+
1,
|
|
27776
|
+
f
|
|
27777
|
+
);
|
|
27778
|
+
}
|
|
27779
|
+
f = message.getMaxamount();
|
|
27780
|
+
if (f !== 0.0) {
|
|
27781
|
+
writer.writeDouble(
|
|
27782
|
+
2,
|
|
27783
|
+
f
|
|
27784
|
+
);
|
|
27785
|
+
}
|
|
27786
|
+
};
|
|
27787
|
+
|
|
27788
|
+
|
|
27789
|
+
/**
|
|
27790
|
+
* optional int64 paymentMethodId = 1;
|
|
27791
|
+
* @return {number}
|
|
27792
|
+
*/
|
|
27793
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.prototype.getPaymentmethodid = function() {
|
|
27794
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
27795
|
+
};
|
|
27796
|
+
|
|
27797
|
+
|
|
27798
|
+
/**
|
|
27799
|
+
* @param {number} value
|
|
27800
|
+
* @return {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest} returns this
|
|
27801
|
+
*/
|
|
27802
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.prototype.setPaymentmethodid = function(value) {
|
|
27803
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
27804
|
+
};
|
|
27805
|
+
|
|
27806
|
+
|
|
27807
|
+
/**
|
|
27808
|
+
* optional double maxAmount = 2;
|
|
27809
|
+
* @return {number}
|
|
27810
|
+
*/
|
|
27811
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.prototype.getMaxamount = function() {
|
|
27812
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
27813
|
+
};
|
|
27814
|
+
|
|
27815
|
+
|
|
27816
|
+
/**
|
|
27817
|
+
* @param {number} value
|
|
27818
|
+
* @return {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest} returns this
|
|
27819
|
+
*/
|
|
27820
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest.prototype.setMaxamount = function(value) {
|
|
27821
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
27822
|
+
};
|
|
27823
|
+
|
|
27824
|
+
|
|
27825
|
+
|
|
27826
|
+
|
|
27827
|
+
|
|
27828
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27829
|
+
/**
|
|
27830
|
+
* Creates an object representation of this proto.
|
|
27831
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
27832
|
+
* Optional fields that are not set will be set to undefined.
|
|
27833
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
27834
|
+
* For the list of reserved names please see:
|
|
27835
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
27836
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
27837
|
+
* JSPB instance for transitional soy proto support:
|
|
27838
|
+
* http://goto/soy-param-migration
|
|
27839
|
+
* @return {!Object}
|
|
27840
|
+
*/
|
|
27841
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.prototype.toObject = function(opt_includeInstance) {
|
|
27842
|
+
return proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.toObject(opt_includeInstance, this);
|
|
27843
|
+
};
|
|
27844
|
+
|
|
27845
|
+
|
|
27846
|
+
/**
|
|
27847
|
+
* Static version of the {@see toObject} method.
|
|
27848
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
27849
|
+
* the JSPB instance for transitional soy proto support:
|
|
27850
|
+
* http://goto/soy-param-migration
|
|
27851
|
+
* @param {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse} msg The msg instance to transform.
|
|
27852
|
+
* @return {!Object}
|
|
27853
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27854
|
+
*/
|
|
27855
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.toObject = function(includeInstance, msg) {
|
|
27856
|
+
var f, obj = {
|
|
27857
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
27858
|
+
paytobankaccount: (f = msg.getPaytobankaccount()) && proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject(includeInstance, f)
|
|
27859
|
+
};
|
|
27860
|
+
|
|
27861
|
+
if (includeInstance) {
|
|
27862
|
+
obj.$jspbMessageInstance = msg;
|
|
27863
|
+
}
|
|
27864
|
+
return obj;
|
|
27865
|
+
};
|
|
27866
|
+
}
|
|
27867
|
+
|
|
27868
|
+
|
|
27869
|
+
/**
|
|
27870
|
+
* Deserializes binary data (in protobuf wire format).
|
|
27871
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27872
|
+
* @return {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse}
|
|
27873
|
+
*/
|
|
27874
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.deserializeBinary = function(bytes) {
|
|
27875
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
27876
|
+
var msg = new proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse;
|
|
27877
|
+
return proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.deserializeBinaryFromReader(msg, reader);
|
|
27878
|
+
};
|
|
27879
|
+
|
|
27880
|
+
|
|
27881
|
+
/**
|
|
27882
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
27883
|
+
* given reader into the given message object.
|
|
27884
|
+
* @param {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse} msg The message object to deserialize into.
|
|
27885
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
27886
|
+
* @return {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse}
|
|
27887
|
+
*/
|
|
27888
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
27889
|
+
while (reader.nextField()) {
|
|
27890
|
+
if (reader.isEndGroup()) {
|
|
27891
|
+
break;
|
|
27892
|
+
}
|
|
27893
|
+
var field = reader.getFieldNumber();
|
|
27894
|
+
switch (field) {
|
|
27895
|
+
case 1:
|
|
27896
|
+
var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
|
|
27897
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
27898
|
+
msg.setResponsecode(value);
|
|
27899
|
+
break;
|
|
27900
|
+
case 2:
|
|
27901
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaytoBankAccount;
|
|
27902
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaytoBankAccount.deserializeBinaryFromReader);
|
|
27903
|
+
msg.setPaytobankaccount(value);
|
|
27904
|
+
break;
|
|
27905
|
+
default:
|
|
27906
|
+
reader.skipField();
|
|
27907
|
+
break;
|
|
27908
|
+
}
|
|
27909
|
+
}
|
|
27910
|
+
return msg;
|
|
27911
|
+
};
|
|
27912
|
+
|
|
27913
|
+
|
|
27914
|
+
/**
|
|
27915
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
27916
|
+
* @return {!Uint8Array}
|
|
27917
|
+
*/
|
|
27918
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.prototype.serializeBinary = function() {
|
|
27919
|
+
var writer = new jspb.BinaryWriter();
|
|
27920
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.serializeBinaryToWriter(this, writer);
|
|
27921
|
+
return writer.getResultBuffer();
|
|
27922
|
+
};
|
|
27923
|
+
|
|
27924
|
+
|
|
27925
|
+
/**
|
|
27926
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
27927
|
+
* format), writing to the given BinaryWriter.
|
|
27928
|
+
* @param {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse} message
|
|
27929
|
+
* @param {!jspb.BinaryWriter} writer
|
|
27930
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27931
|
+
*/
|
|
27932
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.serializeBinaryToWriter = function(message, writer) {
|
|
27933
|
+
var f = undefined;
|
|
27934
|
+
f = message.getResponsecode();
|
|
27935
|
+
if (f != null) {
|
|
27936
|
+
writer.writeMessage(
|
|
27937
|
+
1,
|
|
27938
|
+
f,
|
|
27939
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
|
|
27940
|
+
);
|
|
27941
|
+
}
|
|
27942
|
+
f = message.getPaytobankaccount();
|
|
27943
|
+
if (f != null) {
|
|
27944
|
+
writer.writeMessage(
|
|
27945
|
+
2,
|
|
27946
|
+
f,
|
|
27947
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.serializeBinaryToWriter
|
|
27948
|
+
);
|
|
27949
|
+
}
|
|
27950
|
+
};
|
|
27951
|
+
|
|
27952
|
+
|
|
27953
|
+
/**
|
|
27954
|
+
* optional ResponseCode responseCode = 1;
|
|
27955
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
|
|
27956
|
+
*/
|
|
27957
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.prototype.getResponsecode = function() {
|
|
27958
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
|
|
27959
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
|
|
27960
|
+
};
|
|
27961
|
+
|
|
27962
|
+
|
|
27963
|
+
/**
|
|
27964
|
+
* @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value
|
|
27965
|
+
* @return {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse} returns this
|
|
27966
|
+
*/
|
|
27967
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.prototype.setResponsecode = function(value) {
|
|
27968
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
27969
|
+
};
|
|
27970
|
+
|
|
27971
|
+
|
|
27972
|
+
/**
|
|
27973
|
+
* Clears the message field making it undefined.
|
|
27974
|
+
* @return {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse} returns this
|
|
27975
|
+
*/
|
|
27976
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.prototype.clearResponsecode = function() {
|
|
27977
|
+
return this.setResponsecode(undefined);
|
|
27978
|
+
};
|
|
27979
|
+
|
|
27980
|
+
|
|
27981
|
+
/**
|
|
27982
|
+
* Returns whether this field is set.
|
|
27983
|
+
* @return {boolean}
|
|
27984
|
+
*/
|
|
27985
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.prototype.hasResponsecode = function() {
|
|
27986
|
+
return jspb.Message.getField(this, 1) != null;
|
|
27987
|
+
};
|
|
27988
|
+
|
|
27989
|
+
|
|
27990
|
+
/**
|
|
27991
|
+
* optional PaytoBankAccount paytoBankAccount = 2;
|
|
27992
|
+
* @return {?proto.sniippaymentmethodsserviceapi.PaytoBankAccount}
|
|
27993
|
+
*/
|
|
27994
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.prototype.getPaytobankaccount = function() {
|
|
27995
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.PaytoBankAccount} */ (
|
|
27996
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaytoBankAccount, 2));
|
|
27997
|
+
};
|
|
27998
|
+
|
|
27999
|
+
|
|
28000
|
+
/**
|
|
28001
|
+
* @param {?proto.sniippaymentmethodsserviceapi.PaytoBankAccount|undefined} value
|
|
28002
|
+
* @return {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse} returns this
|
|
28003
|
+
*/
|
|
28004
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.prototype.setPaytobankaccount = function(value) {
|
|
28005
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
28006
|
+
};
|
|
28007
|
+
|
|
28008
|
+
|
|
28009
|
+
/**
|
|
28010
|
+
* Clears the message field making it undefined.
|
|
28011
|
+
* @return {!proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse} returns this
|
|
28012
|
+
*/
|
|
28013
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.prototype.clearPaytobankaccount = function() {
|
|
28014
|
+
return this.setPaytobankaccount(undefined);
|
|
28015
|
+
};
|
|
28016
|
+
|
|
28017
|
+
|
|
28018
|
+
/**
|
|
28019
|
+
* Returns whether this field is set.
|
|
28020
|
+
* @return {boolean}
|
|
28021
|
+
*/
|
|
28022
|
+
proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.prototype.hasPaytobankaccount = function() {
|
|
28023
|
+
return jspb.Message.getField(this, 2) != null;
|
|
28024
|
+
};
|
|
28025
|
+
|
|
28026
|
+
|
|
28027
|
+
|
|
28028
|
+
|
|
28029
|
+
|
|
27624
28030
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27625
28031
|
/**
|
|
27626
28032
|
* Creates an object representation of this proto.
|