@sniipwebmaster/payment-methods-client-grpcweb 21.24.4045 → 21.24.4063
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.
|
@@ -794,6 +794,86 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
794
794
|
};
|
|
795
795
|
|
|
796
796
|
|
|
797
|
+
/**
|
|
798
|
+
* @const
|
|
799
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
800
|
+
* !proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest,
|
|
801
|
+
* !proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse>}
|
|
802
|
+
*/
|
|
803
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_GetBankVerifyCode = new grpc.web.MethodDescriptor(
|
|
804
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetBankVerifyCode',
|
|
805
|
+
grpc.web.MethodType.UNARY,
|
|
806
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest,
|
|
807
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse,
|
|
808
|
+
/**
|
|
809
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest} request
|
|
810
|
+
* @return {!Uint8Array}
|
|
811
|
+
*/
|
|
812
|
+
function(request) {
|
|
813
|
+
return request.serializeBinary();
|
|
814
|
+
},
|
|
815
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.deserializeBinary
|
|
816
|
+
);
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* @const
|
|
821
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
822
|
+
* !proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest,
|
|
823
|
+
* !proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse>}
|
|
824
|
+
*/
|
|
825
|
+
const methodInfo_SniipPaymentMethodsServiceAPIService_GetBankVerifyCode = new grpc.web.AbstractClientBase.MethodInfo(
|
|
826
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse,
|
|
827
|
+
/**
|
|
828
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest} request
|
|
829
|
+
* @return {!Uint8Array}
|
|
830
|
+
*/
|
|
831
|
+
function(request) {
|
|
832
|
+
return request.serializeBinary();
|
|
833
|
+
},
|
|
834
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.deserializeBinary
|
|
835
|
+
);
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest} request The
|
|
840
|
+
* request proto
|
|
841
|
+
* @param {?Object<string, string>} metadata User defined
|
|
842
|
+
* call metadata
|
|
843
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse)}
|
|
844
|
+
* callback The callback function(error, response)
|
|
845
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse>|undefined}
|
|
846
|
+
* The XHR Node Readable Stream
|
|
847
|
+
*/
|
|
848
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getBankVerifyCode =
|
|
849
|
+
function(request, metadata, callback) {
|
|
850
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
851
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetBankVerifyCode',
|
|
852
|
+
request,
|
|
853
|
+
metadata || {},
|
|
854
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetBankVerifyCode,
|
|
855
|
+
callback);
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest} request The
|
|
861
|
+
* request proto
|
|
862
|
+
* @param {?Object<string, string>} metadata User defined
|
|
863
|
+
* call metadata
|
|
864
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse>}
|
|
865
|
+
* Promise that resolves to the response
|
|
866
|
+
*/
|
|
867
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getBankVerifyCode =
|
|
868
|
+
function(request, metadata) {
|
|
869
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
870
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetBankVerifyCode',
|
|
871
|
+
request,
|
|
872
|
+
metadata || {},
|
|
873
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetBankVerifyCode);
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
|
|
797
877
|
/**
|
|
798
878
|
* @const
|
|
799
879
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -22,6 +22,8 @@ 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
24
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest', null, global);
|
|
25
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest', null, global);
|
|
26
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse', null, global);
|
|
25
27
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashRequest', null, global);
|
|
26
28
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashResponse', null, global);
|
|
27
29
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashesForUserRequest', null, global);
|
|
@@ -33,6 +35,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardForPaymentReque
|
|
|
33
35
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest', null, global);
|
|
34
36
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.Gateway', null, global);
|
|
35
37
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest', null, global);
|
|
38
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest', null, global);
|
|
36
39
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashRequest', null, global);
|
|
37
40
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashesForUserRequest', null, global);
|
|
38
41
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest', null, global);
|
|
@@ -2934,6 +2937,324 @@ proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest.prototype.setVerify
|
|
|
2934
2937
|
|
|
2935
2938
|
|
|
2936
2939
|
|
|
2940
|
+
/**
|
|
2941
|
+
* Generated by JsPbCodeGenerator.
|
|
2942
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2943
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2944
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2945
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2946
|
+
* valid.
|
|
2947
|
+
* @extends {jspb.Message}
|
|
2948
|
+
* @constructor
|
|
2949
|
+
*/
|
|
2950
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest = function(opt_data) {
|
|
2951
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2952
|
+
};
|
|
2953
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest, jspb.Message);
|
|
2954
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2955
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.displayName = 'proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest';
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
|
|
2959
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2960
|
+
/**
|
|
2961
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2962
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2963
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2964
|
+
* For the list of reserved names please see:
|
|
2965
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2966
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2967
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2968
|
+
* @return {!Object}
|
|
2969
|
+
*/
|
|
2970
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2971
|
+
return proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.toObject(opt_includeInstance, this);
|
|
2972
|
+
};
|
|
2973
|
+
|
|
2974
|
+
|
|
2975
|
+
/**
|
|
2976
|
+
* Static version of the {@see toObject} method.
|
|
2977
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2978
|
+
* instance for transitional soy proto support:
|
|
2979
|
+
* http://goto/soy-param-migration
|
|
2980
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest} msg The msg instance to transform.
|
|
2981
|
+
* @return {!Object}
|
|
2982
|
+
*/
|
|
2983
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.toObject = function(includeInstance, msg) {
|
|
2984
|
+
var f, obj = {
|
|
2985
|
+
paymentmethodid: msg.getPaymentmethodid()
|
|
2986
|
+
};
|
|
2987
|
+
|
|
2988
|
+
if (includeInstance) {
|
|
2989
|
+
obj.$jspbMessageInstance = msg;
|
|
2990
|
+
}
|
|
2991
|
+
return obj;
|
|
2992
|
+
};
|
|
2993
|
+
}
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
/**
|
|
2997
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2998
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2999
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest}
|
|
3000
|
+
*/
|
|
3001
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.deserializeBinary = function(bytes) {
|
|
3002
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3003
|
+
var msg = new proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest;
|
|
3004
|
+
return proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.deserializeBinaryFromReader(msg, reader);
|
|
3005
|
+
};
|
|
3006
|
+
|
|
3007
|
+
|
|
3008
|
+
/**
|
|
3009
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3010
|
+
* given reader into the given message object.
|
|
3011
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest} msg The message object to deserialize into.
|
|
3012
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3013
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest}
|
|
3014
|
+
*/
|
|
3015
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3016
|
+
while (reader.nextField()) {
|
|
3017
|
+
if (reader.isEndGroup()) {
|
|
3018
|
+
break;
|
|
3019
|
+
}
|
|
3020
|
+
var field = reader.getFieldNumber();
|
|
3021
|
+
switch (field) {
|
|
3022
|
+
case 1:
|
|
3023
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3024
|
+
msg.setPaymentmethodid(value);
|
|
3025
|
+
break;
|
|
3026
|
+
default:
|
|
3027
|
+
reader.skipField();
|
|
3028
|
+
break;
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
return msg;
|
|
3032
|
+
};
|
|
3033
|
+
|
|
3034
|
+
|
|
3035
|
+
/**
|
|
3036
|
+
* Class method variant: serializes the given message to binary data
|
|
3037
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3038
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest} message
|
|
3039
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3040
|
+
*/
|
|
3041
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3042
|
+
message.serializeBinaryToWriter(writer);
|
|
3043
|
+
};
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
/**
|
|
3047
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3048
|
+
* @return {!Uint8Array}
|
|
3049
|
+
*/
|
|
3050
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.prototype.serializeBinary = function() {
|
|
3051
|
+
var writer = new jspb.BinaryWriter();
|
|
3052
|
+
this.serializeBinaryToWriter(writer);
|
|
3053
|
+
return writer.getResultBuffer();
|
|
3054
|
+
};
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
/**
|
|
3058
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
3059
|
+
* writing to the given BinaryWriter.
|
|
3060
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3061
|
+
*/
|
|
3062
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
3063
|
+
var f = undefined;
|
|
3064
|
+
f = this.getPaymentmethodid();
|
|
3065
|
+
if (f !== 0) {
|
|
3066
|
+
writer.writeInt64(
|
|
3067
|
+
1,
|
|
3068
|
+
f
|
|
3069
|
+
);
|
|
3070
|
+
}
|
|
3071
|
+
};
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
/**
|
|
3075
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3076
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest} The clone.
|
|
3077
|
+
*/
|
|
3078
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.prototype.cloneMessage = function() {
|
|
3079
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest} */ (jspb.Message.cloneMessage(this));
|
|
3080
|
+
};
|
|
3081
|
+
|
|
3082
|
+
|
|
3083
|
+
/**
|
|
3084
|
+
* optional int64 paymentMethodId = 1;
|
|
3085
|
+
* @return {number}
|
|
3086
|
+
*/
|
|
3087
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.prototype.getPaymentmethodid = function() {
|
|
3088
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
3089
|
+
};
|
|
3090
|
+
|
|
3091
|
+
|
|
3092
|
+
/** @param {number} value */
|
|
3093
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.prototype.setPaymentmethodid = function(value) {
|
|
3094
|
+
jspb.Message.setField(this, 1, value);
|
|
3095
|
+
};
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
|
|
3099
|
+
/**
|
|
3100
|
+
* Generated by JsPbCodeGenerator.
|
|
3101
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3102
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3103
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3104
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3105
|
+
* valid.
|
|
3106
|
+
* @extends {jspb.Message}
|
|
3107
|
+
* @constructor
|
|
3108
|
+
*/
|
|
3109
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse = function(opt_data) {
|
|
3110
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3111
|
+
};
|
|
3112
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse, jspb.Message);
|
|
3113
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3114
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.displayName = 'proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse';
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
|
|
3118
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3119
|
+
/**
|
|
3120
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3121
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3122
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3123
|
+
* For the list of reserved names please see:
|
|
3124
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3125
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3126
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3127
|
+
* @return {!Object}
|
|
3128
|
+
*/
|
|
3129
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3130
|
+
return proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.toObject(opt_includeInstance, this);
|
|
3131
|
+
};
|
|
3132
|
+
|
|
3133
|
+
|
|
3134
|
+
/**
|
|
3135
|
+
* Static version of the {@see toObject} method.
|
|
3136
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3137
|
+
* instance for transitional soy proto support:
|
|
3138
|
+
* http://goto/soy-param-migration
|
|
3139
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse} msg The msg instance to transform.
|
|
3140
|
+
* @return {!Object}
|
|
3141
|
+
*/
|
|
3142
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.toObject = function(includeInstance, msg) {
|
|
3143
|
+
var f, obj = {
|
|
3144
|
+
bankverifycode: msg.getBankverifycode()
|
|
3145
|
+
};
|
|
3146
|
+
|
|
3147
|
+
if (includeInstance) {
|
|
3148
|
+
obj.$jspbMessageInstance = msg;
|
|
3149
|
+
}
|
|
3150
|
+
return obj;
|
|
3151
|
+
};
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
|
|
3155
|
+
/**
|
|
3156
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3157
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3158
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse}
|
|
3159
|
+
*/
|
|
3160
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.deserializeBinary = function(bytes) {
|
|
3161
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3162
|
+
var msg = new proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse;
|
|
3163
|
+
return proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.deserializeBinaryFromReader(msg, reader);
|
|
3164
|
+
};
|
|
3165
|
+
|
|
3166
|
+
|
|
3167
|
+
/**
|
|
3168
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3169
|
+
* given reader into the given message object.
|
|
3170
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse} msg The message object to deserialize into.
|
|
3171
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3172
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse}
|
|
3173
|
+
*/
|
|
3174
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3175
|
+
while (reader.nextField()) {
|
|
3176
|
+
if (reader.isEndGroup()) {
|
|
3177
|
+
break;
|
|
3178
|
+
}
|
|
3179
|
+
var field = reader.getFieldNumber();
|
|
3180
|
+
switch (field) {
|
|
3181
|
+
case 1:
|
|
3182
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3183
|
+
msg.setBankverifycode(value);
|
|
3184
|
+
break;
|
|
3185
|
+
default:
|
|
3186
|
+
reader.skipField();
|
|
3187
|
+
break;
|
|
3188
|
+
}
|
|
3189
|
+
}
|
|
3190
|
+
return msg;
|
|
3191
|
+
};
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* Class method variant: serializes the given message to binary data
|
|
3196
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3197
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse} message
|
|
3198
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3199
|
+
*/
|
|
3200
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3201
|
+
message.serializeBinaryToWriter(writer);
|
|
3202
|
+
};
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
/**
|
|
3206
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3207
|
+
* @return {!Uint8Array}
|
|
3208
|
+
*/
|
|
3209
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.prototype.serializeBinary = function() {
|
|
3210
|
+
var writer = new jspb.BinaryWriter();
|
|
3211
|
+
this.serializeBinaryToWriter(writer);
|
|
3212
|
+
return writer.getResultBuffer();
|
|
3213
|
+
};
|
|
3214
|
+
|
|
3215
|
+
|
|
3216
|
+
/**
|
|
3217
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
3218
|
+
* writing to the given BinaryWriter.
|
|
3219
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3220
|
+
*/
|
|
3221
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
3222
|
+
var f = undefined;
|
|
3223
|
+
f = this.getBankverifycode();
|
|
3224
|
+
if (f.length > 0) {
|
|
3225
|
+
writer.writeString(
|
|
3226
|
+
1,
|
|
3227
|
+
f
|
|
3228
|
+
);
|
|
3229
|
+
}
|
|
3230
|
+
};
|
|
3231
|
+
|
|
3232
|
+
|
|
3233
|
+
/**
|
|
3234
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3235
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse} The clone.
|
|
3236
|
+
*/
|
|
3237
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.prototype.cloneMessage = function() {
|
|
3238
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse} */ (jspb.Message.cloneMessage(this));
|
|
3239
|
+
};
|
|
3240
|
+
|
|
3241
|
+
|
|
3242
|
+
/**
|
|
3243
|
+
* optional string bankVerifyCode = 1;
|
|
3244
|
+
* @return {string}
|
|
3245
|
+
*/
|
|
3246
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.prototype.getBankverifycode = function() {
|
|
3247
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
3248
|
+
};
|
|
3249
|
+
|
|
3250
|
+
|
|
3251
|
+
/** @param {string} value */
|
|
3252
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse.prototype.setBankverifycode = function(value) {
|
|
3253
|
+
jspb.Message.setField(this, 1, value);
|
|
3254
|
+
};
|
|
3255
|
+
|
|
3256
|
+
|
|
3257
|
+
|
|
2937
3258
|
/**
|
|
2938
3259
|
* Generated by JsPbCodeGenerator.
|
|
2939
3260
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5591,6 +5912,182 @@ proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest.prototype.h
|
|
|
5591
5912
|
|
|
5592
5913
|
|
|
5593
5914
|
|
|
5915
|
+
/**
|
|
5916
|
+
* Generated by JsPbCodeGenerator.
|
|
5917
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5918
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5919
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5920
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5921
|
+
* valid.
|
|
5922
|
+
* @extends {jspb.Message}
|
|
5923
|
+
* @constructor
|
|
5924
|
+
*/
|
|
5925
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest = function(opt_data) {
|
|
5926
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5927
|
+
};
|
|
5928
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest, jspb.Message);
|
|
5929
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5930
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest';
|
|
5931
|
+
}
|
|
5932
|
+
|
|
5933
|
+
|
|
5934
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5935
|
+
/**
|
|
5936
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
5937
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5938
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5939
|
+
* For the list of reserved names please see:
|
|
5940
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
5941
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
5942
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
5943
|
+
* @return {!Object}
|
|
5944
|
+
*/
|
|
5945
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5946
|
+
return proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.toObject(opt_includeInstance, this);
|
|
5947
|
+
};
|
|
5948
|
+
|
|
5949
|
+
|
|
5950
|
+
/**
|
|
5951
|
+
* Static version of the {@see toObject} method.
|
|
5952
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
5953
|
+
* instance for transitional soy proto support:
|
|
5954
|
+
* http://goto/soy-param-migration
|
|
5955
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest} msg The msg instance to transform.
|
|
5956
|
+
* @return {!Object}
|
|
5957
|
+
*/
|
|
5958
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.toObject = function(includeInstance, msg) {
|
|
5959
|
+
var f, obj = {
|
|
5960
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.toObject(includeInstance, f)
|
|
5961
|
+
};
|
|
5962
|
+
|
|
5963
|
+
if (includeInstance) {
|
|
5964
|
+
obj.$jspbMessageInstance = msg;
|
|
5965
|
+
}
|
|
5966
|
+
return obj;
|
|
5967
|
+
};
|
|
5968
|
+
}
|
|
5969
|
+
|
|
5970
|
+
|
|
5971
|
+
/**
|
|
5972
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5973
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5974
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest}
|
|
5975
|
+
*/
|
|
5976
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.deserializeBinary = function(bytes) {
|
|
5977
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5978
|
+
var msg = new proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest;
|
|
5979
|
+
return proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.deserializeBinaryFromReader(msg, reader);
|
|
5980
|
+
};
|
|
5981
|
+
|
|
5982
|
+
|
|
5983
|
+
/**
|
|
5984
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5985
|
+
* given reader into the given message object.
|
|
5986
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest} msg The message object to deserialize into.
|
|
5987
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5988
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest}
|
|
5989
|
+
*/
|
|
5990
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5991
|
+
while (reader.nextField()) {
|
|
5992
|
+
if (reader.isEndGroup()) {
|
|
5993
|
+
break;
|
|
5994
|
+
}
|
|
5995
|
+
var field = reader.getFieldNumber();
|
|
5996
|
+
switch (field) {
|
|
5997
|
+
case 1:
|
|
5998
|
+
var value = new proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest;
|
|
5999
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.deserializeBinaryFromReader);
|
|
6000
|
+
msg.setData(value);
|
|
6001
|
+
break;
|
|
6002
|
+
default:
|
|
6003
|
+
reader.skipField();
|
|
6004
|
+
break;
|
|
6005
|
+
}
|
|
6006
|
+
}
|
|
6007
|
+
return msg;
|
|
6008
|
+
};
|
|
6009
|
+
|
|
6010
|
+
|
|
6011
|
+
/**
|
|
6012
|
+
* Class method variant: serializes the given message to binary data
|
|
6013
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
6014
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest} message
|
|
6015
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6016
|
+
*/
|
|
6017
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6018
|
+
message.serializeBinaryToWriter(writer);
|
|
6019
|
+
};
|
|
6020
|
+
|
|
6021
|
+
|
|
6022
|
+
/**
|
|
6023
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6024
|
+
* @return {!Uint8Array}
|
|
6025
|
+
*/
|
|
6026
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.prototype.serializeBinary = function() {
|
|
6027
|
+
var writer = new jspb.BinaryWriter();
|
|
6028
|
+
this.serializeBinaryToWriter(writer);
|
|
6029
|
+
return writer.getResultBuffer();
|
|
6030
|
+
};
|
|
6031
|
+
|
|
6032
|
+
|
|
6033
|
+
/**
|
|
6034
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
6035
|
+
* writing to the given BinaryWriter.
|
|
6036
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6037
|
+
*/
|
|
6038
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
6039
|
+
var f = undefined;
|
|
6040
|
+
f = this.getData();
|
|
6041
|
+
if (f != null) {
|
|
6042
|
+
writer.writeMessage(
|
|
6043
|
+
1,
|
|
6044
|
+
f,
|
|
6045
|
+
proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest.serializeBinaryToWriter
|
|
6046
|
+
);
|
|
6047
|
+
}
|
|
6048
|
+
};
|
|
6049
|
+
|
|
6050
|
+
|
|
6051
|
+
/**
|
|
6052
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
6053
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest} The clone.
|
|
6054
|
+
*/
|
|
6055
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.prototype.cloneMessage = function() {
|
|
6056
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest} */ (jspb.Message.cloneMessage(this));
|
|
6057
|
+
};
|
|
6058
|
+
|
|
6059
|
+
|
|
6060
|
+
/**
|
|
6061
|
+
* optional BankVerifyCodeRequest data = 1;
|
|
6062
|
+
* @return {proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest}
|
|
6063
|
+
*/
|
|
6064
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.prototype.getData = function() {
|
|
6065
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest} */ (
|
|
6066
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest, 1));
|
|
6067
|
+
};
|
|
6068
|
+
|
|
6069
|
+
|
|
6070
|
+
/** @param {proto.sniippaymentmethodsserviceapi.BankVerifyCodeRequest|undefined} value */
|
|
6071
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.prototype.setData = function(value) {
|
|
6072
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
6073
|
+
};
|
|
6074
|
+
|
|
6075
|
+
|
|
6076
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.prototype.clearData = function() {
|
|
6077
|
+
this.setData(undefined);
|
|
6078
|
+
};
|
|
6079
|
+
|
|
6080
|
+
|
|
6081
|
+
/**
|
|
6082
|
+
* Returns whether this field is set.
|
|
6083
|
+
* @return{!boolean}
|
|
6084
|
+
*/
|
|
6085
|
+
proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest.prototype.hasData = function() {
|
|
6086
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6087
|
+
};
|
|
6088
|
+
|
|
6089
|
+
|
|
6090
|
+
|
|
5594
6091
|
/**
|
|
5595
6092
|
* Generated by JsPbCodeGenerator.
|
|
5596
6093
|
* @param {Array=} opt_data Optional initial data array, typically from a
|