@sniipwebmaster/transaction-service-client-grpcweb 0.2.4335 → 0.2.4351
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.
|
@@ -1080,6 +1080,61 @@ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.post
|
|
|
1080
1080
|
};
|
|
1081
1081
|
|
|
1082
1082
|
|
|
1083
|
+
/**
|
|
1084
|
+
* @const
|
|
1085
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1086
|
+
* !proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest,
|
|
1087
|
+
* !proto.sniiptransactionapi.PostPayBillResponse>}
|
|
1088
|
+
*/
|
|
1089
|
+
const methodInfo_SniipTransactionAPIService_PostPayItemWithSavedDetails = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1090
|
+
proto.sniiptransactionapi.PostPayBillResponse,
|
|
1091
|
+
/** @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} request */
|
|
1092
|
+
function(request) {
|
|
1093
|
+
return request.serializeBinary();
|
|
1094
|
+
},
|
|
1095
|
+
proto.sniiptransactionapi.PostPayBillResponse.deserializeBinary
|
|
1096
|
+
);
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} request The
|
|
1101
|
+
* request proto
|
|
1102
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1103
|
+
* call metadata
|
|
1104
|
+
* @param {function(?grpc.web.Error, ?proto.sniiptransactionapi.PostPayBillResponse)}
|
|
1105
|
+
* callback The callback function(error, response)
|
|
1106
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.PostPayBillResponse>|undefined}
|
|
1107
|
+
* The XHR Node Readable Stream
|
|
1108
|
+
*/
|
|
1109
|
+
proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.postPayItemWithSavedDetails =
|
|
1110
|
+
function(request, metadata, callback) {
|
|
1111
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1112
|
+
'/sniiptransactionapi.SniipTransactionAPIService/PostPayItemWithSavedDetails',
|
|
1113
|
+
request,
|
|
1114
|
+
metadata || {},
|
|
1115
|
+
methodInfo_SniipTransactionAPIService_PostPayItemWithSavedDetails,
|
|
1116
|
+
callback);
|
|
1117
|
+
};
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} request The
|
|
1122
|
+
* request proto
|
|
1123
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1124
|
+
* call metadata
|
|
1125
|
+
* @return {!Promise<!proto.sniiptransactionapi.PostPayBillResponse>}
|
|
1126
|
+
* A native promise that resolves to the response
|
|
1127
|
+
*/
|
|
1128
|
+
proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.postPayItemWithSavedDetails =
|
|
1129
|
+
function(request, metadata) {
|
|
1130
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1131
|
+
'/sniiptransactionapi.SniipTransactionAPIService/PostPayItemWithSavedDetails',
|
|
1132
|
+
request,
|
|
1133
|
+
metadata || {},
|
|
1134
|
+
methodInfo_SniipTransactionAPIService_PostPayItemWithSavedDetails);
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
|
|
1083
1138
|
/**
|
|
1084
1139
|
* @const
|
|
1085
1140
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -50,6 +50,7 @@ goog.exportSymbol('proto.sniiptransactionapi.MbillingSubscription', null, global
|
|
|
50
50
|
goog.exportSymbol('proto.sniiptransactionapi.PayBillCreditCardInternalRequest', null, global);
|
|
51
51
|
goog.exportSymbol('proto.sniiptransactionapi.PayBillInternalResponse', null, global);
|
|
52
52
|
goog.exportSymbol('proto.sniiptransactionapi.PayBillRequest', null, global);
|
|
53
|
+
goog.exportSymbol('proto.sniiptransactionapi.PayBillWithSavedDetailsRequest', null, global);
|
|
53
54
|
goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsAddRequest', null, global);
|
|
54
55
|
goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsRequest', null, global);
|
|
55
56
|
goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsRequest.PaymentDetailsRequestPaymentMethod', null, global);
|
|
@@ -61,6 +62,7 @@ goog.exportSymbol('proto.sniiptransactionapi.PostHasPaymentHistoryRequest', null
|
|
|
61
62
|
goog.exportSymbol('proto.sniiptransactionapi.PostPayBillCreditCardInternalRequest', null, global);
|
|
62
63
|
goog.exportSymbol('proto.sniiptransactionapi.PostPayBillRequest', null, global);
|
|
63
64
|
goog.exportSymbol('proto.sniiptransactionapi.PostPayBillResponse', null, global);
|
|
65
|
+
goog.exportSymbol('proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest', null, global);
|
|
64
66
|
goog.exportSymbol('proto.sniiptransactionapi.PostShareBillReceiptEmailRequest', null, global);
|
|
65
67
|
goog.exportSymbol('proto.sniiptransactionapi.ReceiptDetails', null, global);
|
|
66
68
|
goog.exportSymbol('proto.sniiptransactionapi.ReceiptDetailsResponse', null, global);
|
|
@@ -7797,6 +7799,256 @@ proto.sniiptransactionapi.PayBillRequest.prototype.setBillremainingamount = func
|
|
|
7797
7799
|
|
|
7798
7800
|
|
|
7799
7801
|
|
|
7802
|
+
/**
|
|
7803
|
+
* Generated by JsPbCodeGenerator.
|
|
7804
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7805
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7806
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7807
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7808
|
+
* valid.
|
|
7809
|
+
* @extends {jspb.Message}
|
|
7810
|
+
* @constructor
|
|
7811
|
+
*/
|
|
7812
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest = function(opt_data) {
|
|
7813
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7814
|
+
};
|
|
7815
|
+
goog.inherits(proto.sniiptransactionapi.PayBillWithSavedDetailsRequest, jspb.Message);
|
|
7816
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7817
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.displayName = 'proto.sniiptransactionapi.PayBillWithSavedDetailsRequest';
|
|
7818
|
+
}
|
|
7819
|
+
|
|
7820
|
+
|
|
7821
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7822
|
+
/**
|
|
7823
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
7824
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7825
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7826
|
+
* For the list of reserved names please see:
|
|
7827
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
7828
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
7829
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
7830
|
+
* @return {!Object}
|
|
7831
|
+
*/
|
|
7832
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7833
|
+
return proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.toObject(opt_includeInstance, this);
|
|
7834
|
+
};
|
|
7835
|
+
|
|
7836
|
+
|
|
7837
|
+
/**
|
|
7838
|
+
* Static version of the {@see toObject} method.
|
|
7839
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
7840
|
+
* instance for transitional soy proto support:
|
|
7841
|
+
* http://goto/soy-param-migration
|
|
7842
|
+
* @param {!proto.sniiptransactionapi.PayBillWithSavedDetailsRequest} msg The msg instance to transform.
|
|
7843
|
+
* @return {!Object}
|
|
7844
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7845
|
+
*/
|
|
7846
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.toObject = function(includeInstance, msg) {
|
|
7847
|
+
var f, obj = {
|
|
7848
|
+
itemid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7849
|
+
amount: +jspb.Message.getFieldWithDefault(msg, 2, 0.0),
|
|
7850
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
7851
|
+
itemuuid: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7852
|
+
uniquepaymentguid: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
7853
|
+
};
|
|
7854
|
+
|
|
7855
|
+
if (includeInstance) {
|
|
7856
|
+
obj.$jspbMessageInstance = msg;
|
|
7857
|
+
}
|
|
7858
|
+
return obj;
|
|
7859
|
+
};
|
|
7860
|
+
}
|
|
7861
|
+
|
|
7862
|
+
|
|
7863
|
+
/**
|
|
7864
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7865
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7866
|
+
* @return {!proto.sniiptransactionapi.PayBillWithSavedDetailsRequest}
|
|
7867
|
+
*/
|
|
7868
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.deserializeBinary = function(bytes) {
|
|
7869
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7870
|
+
var msg = new proto.sniiptransactionapi.PayBillWithSavedDetailsRequest;
|
|
7871
|
+
return proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
7872
|
+
};
|
|
7873
|
+
|
|
7874
|
+
|
|
7875
|
+
/**
|
|
7876
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7877
|
+
* given reader into the given message object.
|
|
7878
|
+
* @param {!proto.sniiptransactionapi.PayBillWithSavedDetailsRequest} msg The message object to deserialize into.
|
|
7879
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7880
|
+
* @return {!proto.sniiptransactionapi.PayBillWithSavedDetailsRequest}
|
|
7881
|
+
*/
|
|
7882
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7883
|
+
while (reader.nextField()) {
|
|
7884
|
+
if (reader.isEndGroup()) {
|
|
7885
|
+
break;
|
|
7886
|
+
}
|
|
7887
|
+
var field = reader.getFieldNumber();
|
|
7888
|
+
switch (field) {
|
|
7889
|
+
case 1:
|
|
7890
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7891
|
+
msg.setItemid(value);
|
|
7892
|
+
break;
|
|
7893
|
+
case 2:
|
|
7894
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
7895
|
+
msg.setAmount(value);
|
|
7896
|
+
break;
|
|
7897
|
+
case 3:
|
|
7898
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7899
|
+
msg.setPaymentmethodid(value);
|
|
7900
|
+
break;
|
|
7901
|
+
case 4:
|
|
7902
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7903
|
+
msg.setItemuuid(value);
|
|
7904
|
+
break;
|
|
7905
|
+
case 5:
|
|
7906
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7907
|
+
msg.setUniquepaymentguid(value);
|
|
7908
|
+
break;
|
|
7909
|
+
default:
|
|
7910
|
+
reader.skipField();
|
|
7911
|
+
break;
|
|
7912
|
+
}
|
|
7913
|
+
}
|
|
7914
|
+
return msg;
|
|
7915
|
+
};
|
|
7916
|
+
|
|
7917
|
+
|
|
7918
|
+
/**
|
|
7919
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7920
|
+
* @return {!Uint8Array}
|
|
7921
|
+
*/
|
|
7922
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.serializeBinary = function() {
|
|
7923
|
+
var writer = new jspb.BinaryWriter();
|
|
7924
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.serializeBinaryToWriter(this, writer);
|
|
7925
|
+
return writer.getResultBuffer();
|
|
7926
|
+
};
|
|
7927
|
+
|
|
7928
|
+
|
|
7929
|
+
/**
|
|
7930
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7931
|
+
* format), writing to the given BinaryWriter.
|
|
7932
|
+
* @param {!proto.sniiptransactionapi.PayBillWithSavedDetailsRequest} message
|
|
7933
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7934
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7935
|
+
*/
|
|
7936
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7937
|
+
var f = undefined;
|
|
7938
|
+
f = message.getItemid();
|
|
7939
|
+
if (f !== 0) {
|
|
7940
|
+
writer.writeInt64(
|
|
7941
|
+
1,
|
|
7942
|
+
f
|
|
7943
|
+
);
|
|
7944
|
+
}
|
|
7945
|
+
f = message.getAmount();
|
|
7946
|
+
if (f !== 0.0) {
|
|
7947
|
+
writer.writeDouble(
|
|
7948
|
+
2,
|
|
7949
|
+
f
|
|
7950
|
+
);
|
|
7951
|
+
}
|
|
7952
|
+
f = message.getPaymentmethodid();
|
|
7953
|
+
if (f !== 0) {
|
|
7954
|
+
writer.writeInt64(
|
|
7955
|
+
3,
|
|
7956
|
+
f
|
|
7957
|
+
);
|
|
7958
|
+
}
|
|
7959
|
+
f = message.getItemuuid();
|
|
7960
|
+
if (f.length > 0) {
|
|
7961
|
+
writer.writeString(
|
|
7962
|
+
4,
|
|
7963
|
+
f
|
|
7964
|
+
);
|
|
7965
|
+
}
|
|
7966
|
+
f = message.getUniquepaymentguid();
|
|
7967
|
+
if (f.length > 0) {
|
|
7968
|
+
writer.writeString(
|
|
7969
|
+
5,
|
|
7970
|
+
f
|
|
7971
|
+
);
|
|
7972
|
+
}
|
|
7973
|
+
};
|
|
7974
|
+
|
|
7975
|
+
|
|
7976
|
+
/**
|
|
7977
|
+
* optional int64 itemId = 1;
|
|
7978
|
+
* @return {number}
|
|
7979
|
+
*/
|
|
7980
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getItemid = function() {
|
|
7981
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7982
|
+
};
|
|
7983
|
+
|
|
7984
|
+
|
|
7985
|
+
/** @param {number} value */
|
|
7986
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setItemid = function(value) {
|
|
7987
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
7988
|
+
};
|
|
7989
|
+
|
|
7990
|
+
|
|
7991
|
+
/**
|
|
7992
|
+
* optional double amount = 2;
|
|
7993
|
+
* @return {number}
|
|
7994
|
+
*/
|
|
7995
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getAmount = function() {
|
|
7996
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 2, 0.0));
|
|
7997
|
+
};
|
|
7998
|
+
|
|
7999
|
+
|
|
8000
|
+
/** @param {number} value */
|
|
8001
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setAmount = function(value) {
|
|
8002
|
+
jspb.Message.setProto3FloatField(this, 2, value);
|
|
8003
|
+
};
|
|
8004
|
+
|
|
8005
|
+
|
|
8006
|
+
/**
|
|
8007
|
+
* optional int64 paymentMethodId = 3;
|
|
8008
|
+
* @return {number}
|
|
8009
|
+
*/
|
|
8010
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getPaymentmethodid = function() {
|
|
8011
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
8012
|
+
};
|
|
8013
|
+
|
|
8014
|
+
|
|
8015
|
+
/** @param {number} value */
|
|
8016
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setPaymentmethodid = function(value) {
|
|
8017
|
+
jspb.Message.setProto3IntField(this, 3, value);
|
|
8018
|
+
};
|
|
8019
|
+
|
|
8020
|
+
|
|
8021
|
+
/**
|
|
8022
|
+
* optional string itemUuid = 4;
|
|
8023
|
+
* @return {string}
|
|
8024
|
+
*/
|
|
8025
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getItemuuid = function() {
|
|
8026
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
8027
|
+
};
|
|
8028
|
+
|
|
8029
|
+
|
|
8030
|
+
/** @param {string} value */
|
|
8031
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setItemuuid = function(value) {
|
|
8032
|
+
jspb.Message.setProto3StringField(this, 4, value);
|
|
8033
|
+
};
|
|
8034
|
+
|
|
8035
|
+
|
|
8036
|
+
/**
|
|
8037
|
+
* optional string uniquePaymentGuid = 5;
|
|
8038
|
+
* @return {string}
|
|
8039
|
+
*/
|
|
8040
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getUniquepaymentguid = function() {
|
|
8041
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
8042
|
+
};
|
|
8043
|
+
|
|
8044
|
+
|
|
8045
|
+
/** @param {string} value */
|
|
8046
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setUniquepaymentguid = function(value) {
|
|
8047
|
+
jspb.Message.setProto3StringField(this, 5, value);
|
|
8048
|
+
};
|
|
8049
|
+
|
|
8050
|
+
|
|
8051
|
+
|
|
7800
8052
|
/**
|
|
7801
8053
|
* Generated by JsPbCodeGenerator.
|
|
7802
8054
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10218,6 +10470,165 @@ proto.sniiptransactionapi.PostPayBillResponse.prototype.setDidarchive = function
|
|
|
10218
10470
|
|
|
10219
10471
|
|
|
10220
10472
|
|
|
10473
|
+
/**
|
|
10474
|
+
* Generated by JsPbCodeGenerator.
|
|
10475
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
10476
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
10477
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
10478
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
10479
|
+
* valid.
|
|
10480
|
+
* @extends {jspb.Message}
|
|
10481
|
+
* @constructor
|
|
10482
|
+
*/
|
|
10483
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest = function(opt_data) {
|
|
10484
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
10485
|
+
};
|
|
10486
|
+
goog.inherits(proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest, jspb.Message);
|
|
10487
|
+
if (goog.DEBUG && !COMPILED) {
|
|
10488
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.displayName = 'proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest';
|
|
10489
|
+
}
|
|
10490
|
+
|
|
10491
|
+
|
|
10492
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10493
|
+
/**
|
|
10494
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
10495
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10496
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10497
|
+
* For the list of reserved names please see:
|
|
10498
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
10499
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
10500
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
10501
|
+
* @return {!Object}
|
|
10502
|
+
*/
|
|
10503
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10504
|
+
return proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.toObject(opt_includeInstance, this);
|
|
10505
|
+
};
|
|
10506
|
+
|
|
10507
|
+
|
|
10508
|
+
/**
|
|
10509
|
+
* Static version of the {@see toObject} method.
|
|
10510
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
10511
|
+
* instance for transitional soy proto support:
|
|
10512
|
+
* http://goto/soy-param-migration
|
|
10513
|
+
* @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} msg The msg instance to transform.
|
|
10514
|
+
* @return {!Object}
|
|
10515
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10516
|
+
*/
|
|
10517
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.toObject = function(includeInstance, msg) {
|
|
10518
|
+
var f, obj = {
|
|
10519
|
+
data: (f = msg.getData()) && proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.toObject(includeInstance, f)
|
|
10520
|
+
};
|
|
10521
|
+
|
|
10522
|
+
if (includeInstance) {
|
|
10523
|
+
obj.$jspbMessageInstance = msg;
|
|
10524
|
+
}
|
|
10525
|
+
return obj;
|
|
10526
|
+
};
|
|
10527
|
+
}
|
|
10528
|
+
|
|
10529
|
+
|
|
10530
|
+
/**
|
|
10531
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10532
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10533
|
+
* @return {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest}
|
|
10534
|
+
*/
|
|
10535
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.deserializeBinary = function(bytes) {
|
|
10536
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10537
|
+
var msg = new proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest;
|
|
10538
|
+
return proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
10539
|
+
};
|
|
10540
|
+
|
|
10541
|
+
|
|
10542
|
+
/**
|
|
10543
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10544
|
+
* given reader into the given message object.
|
|
10545
|
+
* @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} msg The message object to deserialize into.
|
|
10546
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10547
|
+
* @return {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest}
|
|
10548
|
+
*/
|
|
10549
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10550
|
+
while (reader.nextField()) {
|
|
10551
|
+
if (reader.isEndGroup()) {
|
|
10552
|
+
break;
|
|
10553
|
+
}
|
|
10554
|
+
var field = reader.getFieldNumber();
|
|
10555
|
+
switch (field) {
|
|
10556
|
+
case 1:
|
|
10557
|
+
var value = new proto.sniiptransactionapi.PayBillWithSavedDetailsRequest;
|
|
10558
|
+
reader.readMessage(value,proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.deserializeBinaryFromReader);
|
|
10559
|
+
msg.setData(value);
|
|
10560
|
+
break;
|
|
10561
|
+
default:
|
|
10562
|
+
reader.skipField();
|
|
10563
|
+
break;
|
|
10564
|
+
}
|
|
10565
|
+
}
|
|
10566
|
+
return msg;
|
|
10567
|
+
};
|
|
10568
|
+
|
|
10569
|
+
|
|
10570
|
+
/**
|
|
10571
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10572
|
+
* @return {!Uint8Array}
|
|
10573
|
+
*/
|
|
10574
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.serializeBinary = function() {
|
|
10575
|
+
var writer = new jspb.BinaryWriter();
|
|
10576
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.serializeBinaryToWriter(this, writer);
|
|
10577
|
+
return writer.getResultBuffer();
|
|
10578
|
+
};
|
|
10579
|
+
|
|
10580
|
+
|
|
10581
|
+
/**
|
|
10582
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10583
|
+
* format), writing to the given BinaryWriter.
|
|
10584
|
+
* @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} message
|
|
10585
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10586
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10587
|
+
*/
|
|
10588
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10589
|
+
var f = undefined;
|
|
10590
|
+
f = message.getData();
|
|
10591
|
+
if (f != null) {
|
|
10592
|
+
writer.writeMessage(
|
|
10593
|
+
1,
|
|
10594
|
+
f,
|
|
10595
|
+
proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.serializeBinaryToWriter
|
|
10596
|
+
);
|
|
10597
|
+
}
|
|
10598
|
+
};
|
|
10599
|
+
|
|
10600
|
+
|
|
10601
|
+
/**
|
|
10602
|
+
* optional PayBillWithSavedDetailsRequest data = 1;
|
|
10603
|
+
* @return {?proto.sniiptransactionapi.PayBillWithSavedDetailsRequest}
|
|
10604
|
+
*/
|
|
10605
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.getData = function() {
|
|
10606
|
+
return /** @type{?proto.sniiptransactionapi.PayBillWithSavedDetailsRequest} */ (
|
|
10607
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.PayBillWithSavedDetailsRequest, 1));
|
|
10608
|
+
};
|
|
10609
|
+
|
|
10610
|
+
|
|
10611
|
+
/** @param {?proto.sniiptransactionapi.PayBillWithSavedDetailsRequest|undefined} value */
|
|
10612
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.setData = function(value) {
|
|
10613
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
10614
|
+
};
|
|
10615
|
+
|
|
10616
|
+
|
|
10617
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.clearData = function() {
|
|
10618
|
+
this.setData(undefined);
|
|
10619
|
+
};
|
|
10620
|
+
|
|
10621
|
+
|
|
10622
|
+
/**
|
|
10623
|
+
* Returns whether this field is set.
|
|
10624
|
+
* @return {!boolean}
|
|
10625
|
+
*/
|
|
10626
|
+
proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.hasData = function() {
|
|
10627
|
+
return jspb.Message.getField(this, 1) != null;
|
|
10628
|
+
};
|
|
10629
|
+
|
|
10630
|
+
|
|
10631
|
+
|
|
10221
10632
|
/**
|
|
10222
10633
|
* Generated by JsPbCodeGenerator.
|
|
10223
10634
|
* @param {Array=} opt_data Optional initial data array, typically from a
|