@sniipwebmaster/payment-methods-client-grpcweb 0.2.405 → 0.2.422
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.
|
@@ -416,15 +416,15 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
416
416
|
* @const
|
|
417
417
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
418
418
|
* !proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest,
|
|
419
|
-
* !proto.sniippaymentmethodsserviceapi.
|
|
419
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>}
|
|
420
420
|
*/
|
|
421
421
|
const methodInfo_SniipPaymentMethodsServiceAPIService_GetCreditCardForPayment = new grpc.web.AbstractClientBase.MethodInfo(
|
|
422
|
-
proto.sniippaymentmethodsserviceapi.
|
|
422
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse,
|
|
423
423
|
/** @param {!proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest} request */
|
|
424
424
|
function(request) {
|
|
425
425
|
return request.serializeBinary();
|
|
426
426
|
},
|
|
427
|
-
proto.sniippaymentmethodsserviceapi.
|
|
427
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.deserializeBinary
|
|
428
428
|
);
|
|
429
429
|
|
|
430
430
|
|
|
@@ -433,9 +433,9 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_GetCreditCardForPayment =
|
|
|
433
433
|
* request proto
|
|
434
434
|
* @param {!Object<string, string>} metadata User defined
|
|
435
435
|
* call metadata
|
|
436
|
-
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.
|
|
436
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse)}
|
|
437
437
|
* callback The callback function(error, response)
|
|
438
|
-
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.
|
|
438
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>|undefined}
|
|
439
439
|
* The XHR Node Readable Stream
|
|
440
440
|
*/
|
|
441
441
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getCreditCardForPayment =
|
|
@@ -454,7 +454,7 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
454
454
|
* request proto
|
|
455
455
|
* @param {!Object<string, string>} metadata User defined
|
|
456
456
|
* call metadata
|
|
457
|
-
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.
|
|
457
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>}
|
|
458
458
|
* The XHR Node Readable Stream
|
|
459
459
|
*/
|
|
460
460
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getCreditCardForPayment =
|
|
@@ -26,7 +26,6 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCard', null, global
|
|
|
26
26
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardDeleteRequest', null, global);
|
|
27
27
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest', null, global);
|
|
28
28
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest', null, global);
|
|
29
|
-
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse', null, global);
|
|
30
29
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardRequest', null, global);
|
|
31
30
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.DeleteCreditCardRequest', null, global);
|
|
32
31
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest', null, global);
|
|
@@ -2797,209 +2796,6 @@ proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.setUse
|
|
|
2797
2796
|
|
|
2798
2797
|
|
|
2799
2798
|
|
|
2800
|
-
/**
|
|
2801
|
-
* Generated by JsPbCodeGenerator.
|
|
2802
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2803
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
2804
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
2805
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
2806
|
-
* valid.
|
|
2807
|
-
* @extends {jspb.Message}
|
|
2808
|
-
* @constructor
|
|
2809
|
-
*/
|
|
2810
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse = function(opt_data) {
|
|
2811
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2812
|
-
};
|
|
2813
|
-
goog.inherits(proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse, jspb.Message);
|
|
2814
|
-
if (goog.DEBUG && !COMPILED) {
|
|
2815
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.displayName = 'proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse';
|
|
2816
|
-
}
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2820
|
-
/**
|
|
2821
|
-
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2822
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2823
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2824
|
-
* For the list of reserved names please see:
|
|
2825
|
-
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2826
|
-
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2827
|
-
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2828
|
-
* @return {!Object}
|
|
2829
|
-
*/
|
|
2830
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2831
|
-
return proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.toObject(opt_includeInstance, this);
|
|
2832
|
-
};
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
/**
|
|
2836
|
-
* Static version of the {@see toObject} method.
|
|
2837
|
-
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2838
|
-
* instance for transitional soy proto support:
|
|
2839
|
-
* http://goto/soy-param-migration
|
|
2840
|
-
* @param {!proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse} msg The msg instance to transform.
|
|
2841
|
-
* @return {!Object}
|
|
2842
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2843
|
-
*/
|
|
2844
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.toObject = function(includeInstance, msg) {
|
|
2845
|
-
var f, obj = {
|
|
2846
|
-
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
2847
|
-
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.CreditCard.toObject(includeInstance, f)
|
|
2848
|
-
};
|
|
2849
|
-
|
|
2850
|
-
if (includeInstance) {
|
|
2851
|
-
obj.$jspbMessageInstance = msg;
|
|
2852
|
-
}
|
|
2853
|
-
return obj;
|
|
2854
|
-
};
|
|
2855
|
-
}
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
/**
|
|
2859
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2860
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2861
|
-
* @return {!proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse}
|
|
2862
|
-
*/
|
|
2863
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.deserializeBinary = function(bytes) {
|
|
2864
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2865
|
-
var msg = new proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse;
|
|
2866
|
-
return proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.deserializeBinaryFromReader(msg, reader);
|
|
2867
|
-
};
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
/**
|
|
2871
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2872
|
-
* given reader into the given message object.
|
|
2873
|
-
* @param {!proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse} msg The message object to deserialize into.
|
|
2874
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2875
|
-
* @return {!proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse}
|
|
2876
|
-
*/
|
|
2877
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2878
|
-
while (reader.nextField()) {
|
|
2879
|
-
if (reader.isEndGroup()) {
|
|
2880
|
-
break;
|
|
2881
|
-
}
|
|
2882
|
-
var field = reader.getFieldNumber();
|
|
2883
|
-
switch (field) {
|
|
2884
|
-
case 1:
|
|
2885
|
-
var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
|
|
2886
|
-
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
2887
|
-
msg.setResponsecode(value);
|
|
2888
|
-
break;
|
|
2889
|
-
case 2:
|
|
2890
|
-
var value = new proto.sniippaymentmethodsserviceapi.CreditCard;
|
|
2891
|
-
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.CreditCard.deserializeBinaryFromReader);
|
|
2892
|
-
msg.setCreditcard(value);
|
|
2893
|
-
break;
|
|
2894
|
-
default:
|
|
2895
|
-
reader.skipField();
|
|
2896
|
-
break;
|
|
2897
|
-
}
|
|
2898
|
-
}
|
|
2899
|
-
return msg;
|
|
2900
|
-
};
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
/**
|
|
2904
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2905
|
-
* @return {!Uint8Array}
|
|
2906
|
-
*/
|
|
2907
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.prototype.serializeBinary = function() {
|
|
2908
|
-
var writer = new jspb.BinaryWriter();
|
|
2909
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.serializeBinaryToWriter(this, writer);
|
|
2910
|
-
return writer.getResultBuffer();
|
|
2911
|
-
};
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
/**
|
|
2915
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2916
|
-
* format), writing to the given BinaryWriter.
|
|
2917
|
-
* @param {!proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse} message
|
|
2918
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2919
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2920
|
-
*/
|
|
2921
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2922
|
-
var f = undefined;
|
|
2923
|
-
f = message.getResponsecode();
|
|
2924
|
-
if (f != null) {
|
|
2925
|
-
writer.writeMessage(
|
|
2926
|
-
1,
|
|
2927
|
-
f,
|
|
2928
|
-
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
|
|
2929
|
-
);
|
|
2930
|
-
}
|
|
2931
|
-
f = message.getCreditcard();
|
|
2932
|
-
if (f != null) {
|
|
2933
|
-
writer.writeMessage(
|
|
2934
|
-
2,
|
|
2935
|
-
f,
|
|
2936
|
-
proto.sniippaymentmethodsserviceapi.CreditCard.serializeBinaryToWriter
|
|
2937
|
-
);
|
|
2938
|
-
}
|
|
2939
|
-
};
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
/**
|
|
2943
|
-
* optional ResponseCode responseCode = 1;
|
|
2944
|
-
* @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
|
|
2945
|
-
*/
|
|
2946
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.prototype.getResponsecode = function() {
|
|
2947
|
-
return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
|
|
2948
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
|
|
2949
|
-
};
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
/** @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value */
|
|
2953
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.prototype.setResponsecode = function(value) {
|
|
2954
|
-
jspb.Message.setWrapperField(this, 1, value);
|
|
2955
|
-
};
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.prototype.clearResponsecode = function() {
|
|
2959
|
-
this.setResponsecode(undefined);
|
|
2960
|
-
};
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
/**
|
|
2964
|
-
* Returns whether this field is set.
|
|
2965
|
-
* @return {!boolean}
|
|
2966
|
-
*/
|
|
2967
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.prototype.hasResponsecode = function() {
|
|
2968
|
-
return jspb.Message.getField(this, 1) != null;
|
|
2969
|
-
};
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
/**
|
|
2973
|
-
* optional CreditCard creditCard = 2;
|
|
2974
|
-
* @return {?proto.sniippaymentmethodsserviceapi.CreditCard}
|
|
2975
|
-
*/
|
|
2976
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.prototype.getCreditcard = function() {
|
|
2977
|
-
return /** @type{?proto.sniippaymentmethodsserviceapi.CreditCard} */ (
|
|
2978
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.CreditCard, 2));
|
|
2979
|
-
};
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
/** @param {?proto.sniippaymentmethodsserviceapi.CreditCard|undefined} value */
|
|
2983
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.prototype.setCreditcard = function(value) {
|
|
2984
|
-
jspb.Message.setWrapperField(this, 2, value);
|
|
2985
|
-
};
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.prototype.clearCreditcard = function() {
|
|
2989
|
-
this.setCreditcard(undefined);
|
|
2990
|
-
};
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
/**
|
|
2994
|
-
* Returns whether this field is set.
|
|
2995
|
-
* @return {!boolean}
|
|
2996
|
-
*/
|
|
2997
|
-
proto.sniippaymentmethodsserviceapi.CreditCardForPaymentResponse.prototype.hasCreditcard = function() {
|
|
2998
|
-
return jspb.Message.getField(this, 2) != null;
|
|
2999
|
-
};
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
2799
|
/**
|
|
3004
2800
|
* Generated by JsPbCodeGenerator.
|
|
3005
2801
|
* @param {Array=} opt_data Optional initial data array, typically from a
|