@aldiokta/protocgen 1.1.50 → 1.1.51
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.
- package/package.json +1 -1
- package/prisca/v1/core/company/company_grpc_pb.js +11 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_grpc_pb.js +221 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_pb.js +2681 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +11 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +2303 -1023
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +11 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +237 -2
- package/prisca/v1/invoice/invoice_pb.js +237 -2
- package/prisca/v1/purchase_order/purchase_order_pb.js +237 -2
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +416 -10
|
@@ -24,11 +24,13 @@ goog.exportSymbol('proto.BaseItemTransactionDetail', null, global);
|
|
|
24
24
|
goog.exportSymbol('proto.BaseItemTransactionDetailPriceCondition', null, global);
|
|
25
25
|
goog.exportSymbol('proto.BaseItemTransactionPriceCondition', null, global);
|
|
26
26
|
goog.exportSymbol('proto.BaseItemTransactionService', null, global);
|
|
27
|
+
goog.exportSymbol('proto.BaseItemTransactionServicePriceCondition', null, global);
|
|
27
28
|
goog.exportSymbol('proto.ItemTransaction', null, global);
|
|
28
29
|
goog.exportSymbol('proto.ItemTransactionDetail', null, global);
|
|
29
30
|
goog.exportSymbol('proto.ItemTransactionDetailPriceCondition', null, global);
|
|
30
31
|
goog.exportSymbol('proto.ItemTransactionPriceCondition', null, global);
|
|
31
32
|
goog.exportSymbol('proto.ItemTransactionService', null, global);
|
|
33
|
+
goog.exportSymbol('proto.ItemTransactionServicePriceCondition', null, global);
|
|
32
34
|
/**
|
|
33
35
|
* Generated by JsPbCodeGenerator.
|
|
34
36
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -134,6 +136,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
134
136
|
*/
|
|
135
137
|
proto.ItemTransactionDetailPriceCondition.displayName = 'proto.ItemTransactionDetailPriceCondition';
|
|
136
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* Generated by JsPbCodeGenerator.
|
|
141
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
142
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
143
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
144
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
145
|
+
* valid.
|
|
146
|
+
* @extends {jspb.Message}
|
|
147
|
+
* @constructor
|
|
148
|
+
*/
|
|
149
|
+
proto.ItemTransactionServicePriceCondition = function(opt_data) {
|
|
150
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
151
|
+
};
|
|
152
|
+
goog.inherits(proto.ItemTransactionServicePriceCondition, jspb.Message);
|
|
153
|
+
if (goog.DEBUG && !COMPILED) {
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
* @override
|
|
157
|
+
*/
|
|
158
|
+
proto.ItemTransactionServicePriceCondition.displayName = 'proto.ItemTransactionServicePriceCondition';
|
|
159
|
+
}
|
|
137
160
|
/**
|
|
138
161
|
* Generated by JsPbCodeGenerator.
|
|
139
162
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -239,6 +262,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
239
262
|
*/
|
|
240
263
|
proto.BaseItemTransactionDetailPriceCondition.displayName = 'proto.BaseItemTransactionDetailPriceCondition';
|
|
241
264
|
}
|
|
265
|
+
/**
|
|
266
|
+
* Generated by JsPbCodeGenerator.
|
|
267
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
268
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
269
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
270
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
271
|
+
* valid.
|
|
272
|
+
* @extends {jspb.Message}
|
|
273
|
+
* @constructor
|
|
274
|
+
*/
|
|
275
|
+
proto.BaseItemTransactionServicePriceCondition = function(opt_data) {
|
|
276
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
277
|
+
};
|
|
278
|
+
goog.inherits(proto.BaseItemTransactionServicePriceCondition, jspb.Message);
|
|
279
|
+
if (goog.DEBUG && !COMPILED) {
|
|
280
|
+
/**
|
|
281
|
+
* @public
|
|
282
|
+
* @override
|
|
283
|
+
*/
|
|
284
|
+
proto.BaseItemTransactionServicePriceCondition.displayName = 'proto.BaseItemTransactionServicePriceCondition';
|
|
285
|
+
}
|
|
242
286
|
|
|
243
287
|
/**
|
|
244
288
|
* List of repeated fields within this message type.
|
|
@@ -2679,7 +2723,7 @@ proto.ItemTransactionDetail.prototype.setRemainingQuantity = function(value) {
|
|
|
2679
2723
|
* @private {!Array<number>}
|
|
2680
2724
|
* @const
|
|
2681
2725
|
*/
|
|
2682
|
-
proto.ItemTransactionService.repeatedFields_ = [11];
|
|
2726
|
+
proto.ItemTransactionService.repeatedFields_ = [11,12];
|
|
2683
2727
|
|
|
2684
2728
|
|
|
2685
2729
|
|
|
@@ -2723,7 +2767,11 @@ serviceNo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
|
2723
2767
|
serviceDescription: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2724
2768
|
amountPrice: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2725
2769
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2726
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
2770
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
2771
|
+
itemTransactionServicePriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionServicePriceConditionList(),
|
|
2772
|
+
proto.ItemTransactionServicePriceCondition.toObject, includeInstance),
|
|
2773
|
+
previousReferences: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
2774
|
+
remainingQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0)
|
|
2727
2775
|
};
|
|
2728
2776
|
|
|
2729
2777
|
if (includeInstance) {
|
|
@@ -2805,6 +2853,19 @@ proto.ItemTransactionService.deserializeBinaryFromReader = function(msg, reader)
|
|
|
2805
2853
|
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
2806
2854
|
msg.addFiles(value);
|
|
2807
2855
|
break;
|
|
2856
|
+
case 12:
|
|
2857
|
+
var value = new proto.ItemTransactionServicePriceCondition;
|
|
2858
|
+
reader.readMessage(value,proto.ItemTransactionServicePriceCondition.deserializeBinaryFromReader);
|
|
2859
|
+
msg.addItemTransactionServicePriceCondition(value);
|
|
2860
|
+
break;
|
|
2861
|
+
case 13:
|
|
2862
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2863
|
+
msg.setPreviousReferences(value);
|
|
2864
|
+
break;
|
|
2865
|
+
case 14:
|
|
2866
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
2867
|
+
msg.setRemainingQuantity(value);
|
|
2868
|
+
break;
|
|
2808
2869
|
default:
|
|
2809
2870
|
reader.skipField();
|
|
2810
2871
|
break;
|
|
@@ -2912,6 +2973,28 @@ proto.ItemTransactionService.serializeBinaryToWriter = function(message, writer)
|
|
|
2912
2973
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
2913
2974
|
);
|
|
2914
2975
|
}
|
|
2976
|
+
f = message.getItemTransactionServicePriceConditionList();
|
|
2977
|
+
if (f.length > 0) {
|
|
2978
|
+
writer.writeRepeatedMessage(
|
|
2979
|
+
12,
|
|
2980
|
+
f,
|
|
2981
|
+
proto.ItemTransactionServicePriceCondition.serializeBinaryToWriter
|
|
2982
|
+
);
|
|
2983
|
+
}
|
|
2984
|
+
f = message.getPreviousReferences();
|
|
2985
|
+
if (f.length > 0) {
|
|
2986
|
+
writer.writeString(
|
|
2987
|
+
13,
|
|
2988
|
+
f
|
|
2989
|
+
);
|
|
2990
|
+
}
|
|
2991
|
+
f = message.getRemainingQuantity();
|
|
2992
|
+
if (f !== 0.0) {
|
|
2993
|
+
writer.writeDouble(
|
|
2994
|
+
14,
|
|
2995
|
+
f
|
|
2996
|
+
);
|
|
2997
|
+
}
|
|
2915
2998
|
};
|
|
2916
2999
|
|
|
2917
3000
|
|
|
@@ -3133,6 +3216,80 @@ proto.ItemTransactionService.prototype.clearFilesList = function() {
|
|
|
3133
3216
|
};
|
|
3134
3217
|
|
|
3135
3218
|
|
|
3219
|
+
/**
|
|
3220
|
+
* repeated ItemTransactionServicePriceCondition item_transaction_service_price_condition = 12;
|
|
3221
|
+
* @return {!Array<!proto.ItemTransactionServicePriceCondition>}
|
|
3222
|
+
*/
|
|
3223
|
+
proto.ItemTransactionService.prototype.getItemTransactionServicePriceConditionList = function() {
|
|
3224
|
+
return /** @type{!Array<!proto.ItemTransactionServicePriceCondition>} */ (
|
|
3225
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ItemTransactionServicePriceCondition, 12));
|
|
3226
|
+
};
|
|
3227
|
+
|
|
3228
|
+
|
|
3229
|
+
/**
|
|
3230
|
+
* @param {!Array<!proto.ItemTransactionServicePriceCondition>} value
|
|
3231
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
3232
|
+
*/
|
|
3233
|
+
proto.ItemTransactionService.prototype.setItemTransactionServicePriceConditionList = function(value) {
|
|
3234
|
+
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
3235
|
+
};
|
|
3236
|
+
|
|
3237
|
+
|
|
3238
|
+
/**
|
|
3239
|
+
* @param {!proto.ItemTransactionServicePriceCondition=} opt_value
|
|
3240
|
+
* @param {number=} opt_index
|
|
3241
|
+
* @return {!proto.ItemTransactionServicePriceCondition}
|
|
3242
|
+
*/
|
|
3243
|
+
proto.ItemTransactionService.prototype.addItemTransactionServicePriceCondition = function(opt_value, opt_index) {
|
|
3244
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.ItemTransactionServicePriceCondition, opt_index);
|
|
3245
|
+
};
|
|
3246
|
+
|
|
3247
|
+
|
|
3248
|
+
/**
|
|
3249
|
+
* Clears the list making it empty but non-null.
|
|
3250
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
3251
|
+
*/
|
|
3252
|
+
proto.ItemTransactionService.prototype.clearItemTransactionServicePriceConditionList = function() {
|
|
3253
|
+
return this.setItemTransactionServicePriceConditionList([]);
|
|
3254
|
+
};
|
|
3255
|
+
|
|
3256
|
+
|
|
3257
|
+
/**
|
|
3258
|
+
* optional string previous_references = 13;
|
|
3259
|
+
* @return {string}
|
|
3260
|
+
*/
|
|
3261
|
+
proto.ItemTransactionService.prototype.getPreviousReferences = function() {
|
|
3262
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
3263
|
+
};
|
|
3264
|
+
|
|
3265
|
+
|
|
3266
|
+
/**
|
|
3267
|
+
* @param {string} value
|
|
3268
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
3269
|
+
*/
|
|
3270
|
+
proto.ItemTransactionService.prototype.setPreviousReferences = function(value) {
|
|
3271
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
3272
|
+
};
|
|
3273
|
+
|
|
3274
|
+
|
|
3275
|
+
/**
|
|
3276
|
+
* optional double remaining_quantity = 14;
|
|
3277
|
+
* @return {number}
|
|
3278
|
+
*/
|
|
3279
|
+
proto.ItemTransactionService.prototype.getRemainingQuantity = function() {
|
|
3280
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
|
|
3281
|
+
};
|
|
3282
|
+
|
|
3283
|
+
|
|
3284
|
+
/**
|
|
3285
|
+
* @param {number} value
|
|
3286
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
3287
|
+
*/
|
|
3288
|
+
proto.ItemTransactionService.prototype.setRemainingQuantity = function(value) {
|
|
3289
|
+
return jspb.Message.setProto3FloatField(this, 14, value);
|
|
3290
|
+
};
|
|
3291
|
+
|
|
3292
|
+
|
|
3136
3293
|
|
|
3137
3294
|
|
|
3138
3295
|
|
|
@@ -4234,13 +4391,6 @@ proto.ItemTransactionDetailPriceCondition.prototype.setCurrency = function(value
|
|
|
4234
4391
|
|
|
4235
4392
|
|
|
4236
4393
|
|
|
4237
|
-
/**
|
|
4238
|
-
* List of repeated fields within this message type.
|
|
4239
|
-
* @private {!Array<number>}
|
|
4240
|
-
* @const
|
|
4241
|
-
*/
|
|
4242
|
-
proto.BaseItemTransaction.repeatedFields_ = [13,14,17,21];
|
|
4243
|
-
|
|
4244
4394
|
|
|
4245
4395
|
|
|
4246
4396
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -4256,8 +4406,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4256
4406
|
* http://goto/soy-param-migration
|
|
4257
4407
|
* @return {!Object}
|
|
4258
4408
|
*/
|
|
4259
|
-
proto.
|
|
4260
|
-
return proto.
|
|
4409
|
+
proto.ItemTransactionServicePriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
4410
|
+
return proto.ItemTransactionServicePriceCondition.toObject(opt_includeInstance, this);
|
|
4261
4411
|
};
|
|
4262
4412
|
|
|
4263
4413
|
|
|
@@ -4266,42 +4416,27 @@ proto.BaseItemTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
|
4266
4416
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4267
4417
|
* the JSPB instance for transitional soy proto support:
|
|
4268
4418
|
* http://goto/soy-param-migration
|
|
4269
|
-
* @param {!proto.
|
|
4419
|
+
* @param {!proto.ItemTransactionServicePriceCondition} msg The msg instance to transform.
|
|
4270
4420
|
* @return {!Object}
|
|
4271
4421
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4272
4422
|
*/
|
|
4273
|
-
proto.
|
|
4423
|
+
proto.ItemTransactionServicePriceCondition.toObject = function(includeInstance, msg) {
|
|
4274
4424
|
var f, obj = {
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
proto.BaseItemTransactionPriceCondition.toObject, includeInstance),
|
|
4291
|
-
previousReferences: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
4292
|
-
previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
4293
|
-
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
4294
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
4295
|
-
currency: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
4296
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
4297
|
-
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
4298
|
-
itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
|
|
4299
|
-
proto.BaseItemTransactionService.toObject, includeInstance),
|
|
4300
|
-
purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
4301
|
-
purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
4302
|
-
includeVat: jspb.Message.getBooleanFieldWithDefault(msg, 34, false),
|
|
4303
|
-
incomeTax: jspb.Message.getFloatingPointFieldWithDefault(msg, 35, 0.0),
|
|
4304
|
-
priceBeforeTax: jspb.Message.getFieldWithDefault(msg, 36, "")
|
|
4425
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4426
|
+
amount: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4427
|
+
operator: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4428
|
+
divide: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4429
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4430
|
+
name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4431
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4432
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4433
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4434
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4435
|
+
code: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
4436
|
+
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
4437
|
+
properties: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
4438
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
4439
|
+
currency: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
4305
4440
|
};
|
|
4306
4441
|
|
|
4307
4442
|
if (includeInstance) {
|
|
@@ -4315,23 +4450,23 @@ priceBeforeTax: jspb.Message.getFieldWithDefault(msg, 36, "")
|
|
|
4315
4450
|
/**
|
|
4316
4451
|
* Deserializes binary data (in protobuf wire format).
|
|
4317
4452
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4318
|
-
* @return {!proto.
|
|
4453
|
+
* @return {!proto.ItemTransactionServicePriceCondition}
|
|
4319
4454
|
*/
|
|
4320
|
-
proto.
|
|
4455
|
+
proto.ItemTransactionServicePriceCondition.deserializeBinary = function(bytes) {
|
|
4321
4456
|
var reader = new jspb.BinaryReader(bytes);
|
|
4322
|
-
var msg = new proto.
|
|
4323
|
-
return proto.
|
|
4457
|
+
var msg = new proto.ItemTransactionServicePriceCondition;
|
|
4458
|
+
return proto.ItemTransactionServicePriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
4324
4459
|
};
|
|
4325
4460
|
|
|
4326
4461
|
|
|
4327
4462
|
/**
|
|
4328
4463
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4329
4464
|
* given reader into the given message object.
|
|
4330
|
-
* @param {!proto.
|
|
4465
|
+
* @param {!proto.ItemTransactionServicePriceCondition} msg The message object to deserialize into.
|
|
4331
4466
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4332
|
-
* @return {!proto.
|
|
4467
|
+
* @return {!proto.ItemTransactionServicePriceCondition}
|
|
4333
4468
|
*/
|
|
4334
|
-
proto.
|
|
4469
|
+
proto.ItemTransactionServicePriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
4335
4470
|
while (reader.nextField()) {
|
|
4336
4471
|
if (reader.isEndGroup()) {
|
|
4337
4472
|
break;
|
|
@@ -4339,115 +4474,67 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
4339
4474
|
var field = reader.getFieldNumber();
|
|
4340
4475
|
switch (field) {
|
|
4341
4476
|
case 1:
|
|
4342
|
-
var value = /** @type {
|
|
4343
|
-
msg.
|
|
4477
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4478
|
+
msg.setId(value);
|
|
4344
4479
|
break;
|
|
4345
4480
|
case 2:
|
|
4346
4481
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4347
|
-
msg.
|
|
4482
|
+
msg.setAmount(value);
|
|
4348
4483
|
break;
|
|
4349
4484
|
case 3:
|
|
4350
4485
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4351
|
-
msg.
|
|
4486
|
+
msg.setOperator(value);
|
|
4352
4487
|
break;
|
|
4353
4488
|
case 4:
|
|
4354
4489
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4355
|
-
msg.
|
|
4490
|
+
msg.setDivide(value);
|
|
4356
4491
|
break;
|
|
4357
4492
|
case 5:
|
|
4358
4493
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4359
|
-
msg.
|
|
4494
|
+
msg.setType(value);
|
|
4360
4495
|
break;
|
|
4361
4496
|
case 6:
|
|
4362
4497
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4363
|
-
msg.
|
|
4498
|
+
msg.setName(value);
|
|
4364
4499
|
break;
|
|
4365
4500
|
case 7:
|
|
4366
4501
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4367
|
-
msg.
|
|
4502
|
+
msg.setItemTransactionRef(value);
|
|
4368
4503
|
break;
|
|
4369
4504
|
case 8:
|
|
4370
4505
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4371
|
-
msg.
|
|
4506
|
+
msg.setReferencesId(value);
|
|
4372
4507
|
break;
|
|
4373
4508
|
case 9:
|
|
4374
4509
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4375
|
-
msg.
|
|
4510
|
+
msg.setCreatedAt(value);
|
|
4376
4511
|
break;
|
|
4377
4512
|
case 10:
|
|
4378
4513
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4379
|
-
msg.
|
|
4514
|
+
msg.setUpdatedAt(value);
|
|
4380
4515
|
break;
|
|
4381
4516
|
case 11:
|
|
4382
4517
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4383
|
-
msg.
|
|
4518
|
+
msg.setCode(value);
|
|
4384
4519
|
break;
|
|
4385
4520
|
case 12:
|
|
4386
|
-
var value = /** @type {
|
|
4387
|
-
msg.
|
|
4521
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4522
|
+
msg.setIsGeneral(value);
|
|
4388
4523
|
break;
|
|
4389
4524
|
case 13:
|
|
4390
|
-
var value = new proto.BaseItemTransactionDetail;
|
|
4391
|
-
reader.readMessage(value,proto.BaseItemTransactionDetail.deserializeBinaryFromReader);
|
|
4392
|
-
msg.addItemTransactionDetail(value);
|
|
4393
|
-
break;
|
|
4394
|
-
case 14:
|
|
4395
|
-
var value = new proto.BaseItemTransactionPriceCondition;
|
|
4396
|
-
reader.readMessage(value,proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader);
|
|
4397
|
-
msg.addItemTransactionPriceCondition(value);
|
|
4398
|
-
break;
|
|
4399
|
-
case 15:
|
|
4400
4525
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4401
|
-
msg.
|
|
4526
|
+
msg.setProperties(value);
|
|
4402
4527
|
break;
|
|
4403
|
-
case
|
|
4528
|
+
case 14:
|
|
4404
4529
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4405
|
-
msg.
|
|
4406
|
-
break;
|
|
4407
|
-
case 17:
|
|
4408
|
-
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
4409
|
-
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
4410
|
-
msg.addFiles(value);
|
|
4530
|
+
msg.setUnitOfMeasure(value);
|
|
4411
4531
|
break;
|
|
4412
|
-
case
|
|
4532
|
+
case 15:
|
|
4413
4533
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4414
4534
|
msg.setCurrency(value);
|
|
4415
4535
|
break;
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
msg.setReferencesId(value);
|
|
4419
|
-
break;
|
|
4420
|
-
case 20:
|
|
4421
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4422
|
-
msg.setPurchaseRequisitionTransactionNumber(value);
|
|
4423
|
-
break;
|
|
4424
|
-
case 21:
|
|
4425
|
-
var value = new proto.BaseItemTransactionService;
|
|
4426
|
-
reader.readMessage(value,proto.BaseItemTransactionService.deserializeBinaryFromReader);
|
|
4427
|
-
msg.addItemTransactionService(value);
|
|
4428
|
-
break;
|
|
4429
|
-
case 22:
|
|
4430
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4431
|
-
msg.setPurchaseRequisitionQuantity(value);
|
|
4432
|
-
break;
|
|
4433
|
-
case 23:
|
|
4434
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4435
|
-
msg.setPurchaseRequisitionPrice(value);
|
|
4436
|
-
break;
|
|
4437
|
-
case 34:
|
|
4438
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
4439
|
-
msg.setIncludeVat(value);
|
|
4440
|
-
break;
|
|
4441
|
-
case 35:
|
|
4442
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
4443
|
-
msg.setIncomeTax(value);
|
|
4444
|
-
break;
|
|
4445
|
-
case 36:
|
|
4446
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4447
|
-
msg.setPriceBeforeTax(value);
|
|
4448
|
-
break;
|
|
4449
|
-
default:
|
|
4450
|
-
reader.skipField();
|
|
4536
|
+
default:
|
|
4537
|
+
reader.skipField();
|
|
4451
4538
|
break;
|
|
4452
4539
|
}
|
|
4453
4540
|
}
|
|
@@ -4459,9 +4546,9 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
4459
4546
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4460
4547
|
* @return {!Uint8Array}
|
|
4461
4548
|
*/
|
|
4462
|
-
proto.
|
|
4549
|
+
proto.ItemTransactionServicePriceCondition.prototype.serializeBinary = function() {
|
|
4463
4550
|
var writer = new jspb.BinaryWriter();
|
|
4464
|
-
proto.
|
|
4551
|
+
proto.ItemTransactionServicePriceCondition.serializeBinaryToWriter(this, writer);
|
|
4465
4552
|
return writer.getResultBuffer();
|
|
4466
4553
|
};
|
|
4467
4554
|
|
|
@@ -4469,195 +4556,114 @@ proto.BaseItemTransaction.prototype.serializeBinary = function() {
|
|
|
4469
4556
|
/**
|
|
4470
4557
|
* Serializes the given message to binary data (in protobuf wire
|
|
4471
4558
|
* format), writing to the given BinaryWriter.
|
|
4472
|
-
* @param {!proto.
|
|
4559
|
+
* @param {!proto.ItemTransactionServicePriceCondition} message
|
|
4473
4560
|
* @param {!jspb.BinaryWriter} writer
|
|
4474
4561
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4475
4562
|
*/
|
|
4476
|
-
proto.
|
|
4563
|
+
proto.ItemTransactionServicePriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
4477
4564
|
var f = undefined;
|
|
4478
|
-
f = message.
|
|
4479
|
-
if (f
|
|
4480
|
-
writer.
|
|
4565
|
+
f = message.getId();
|
|
4566
|
+
if (f !== 0) {
|
|
4567
|
+
writer.writeInt64(
|
|
4481
4568
|
1,
|
|
4482
4569
|
f
|
|
4483
4570
|
);
|
|
4484
4571
|
}
|
|
4485
|
-
f = message.
|
|
4572
|
+
f = message.getAmount();
|
|
4486
4573
|
if (f.length > 0) {
|
|
4487
4574
|
writer.writeString(
|
|
4488
4575
|
2,
|
|
4489
4576
|
f
|
|
4490
4577
|
);
|
|
4491
4578
|
}
|
|
4492
|
-
f = message.
|
|
4579
|
+
f = message.getOperator();
|
|
4493
4580
|
if (f.length > 0) {
|
|
4494
4581
|
writer.writeString(
|
|
4495
4582
|
3,
|
|
4496
4583
|
f
|
|
4497
4584
|
);
|
|
4498
4585
|
}
|
|
4499
|
-
f = message.
|
|
4586
|
+
f = message.getDivide();
|
|
4500
4587
|
if (f.length > 0) {
|
|
4501
4588
|
writer.writeString(
|
|
4502
4589
|
4,
|
|
4503
4590
|
f
|
|
4504
4591
|
);
|
|
4505
4592
|
}
|
|
4506
|
-
f = message.
|
|
4593
|
+
f = message.getType();
|
|
4507
4594
|
if (f.length > 0) {
|
|
4508
4595
|
writer.writeString(
|
|
4509
4596
|
5,
|
|
4510
4597
|
f
|
|
4511
4598
|
);
|
|
4512
4599
|
}
|
|
4513
|
-
f = message.
|
|
4600
|
+
f = message.getName();
|
|
4514
4601
|
if (f.length > 0) {
|
|
4515
4602
|
writer.writeString(
|
|
4516
4603
|
6,
|
|
4517
4604
|
f
|
|
4518
4605
|
);
|
|
4519
4606
|
}
|
|
4520
|
-
f = message.
|
|
4607
|
+
f = message.getItemTransactionRef();
|
|
4521
4608
|
if (f.length > 0) {
|
|
4522
4609
|
writer.writeString(
|
|
4523
4610
|
7,
|
|
4524
4611
|
f
|
|
4525
4612
|
);
|
|
4526
4613
|
}
|
|
4527
|
-
f = message.
|
|
4614
|
+
f = message.getReferencesId();
|
|
4528
4615
|
if (f.length > 0) {
|
|
4529
4616
|
writer.writeString(
|
|
4530
4617
|
8,
|
|
4531
4618
|
f
|
|
4532
4619
|
);
|
|
4533
4620
|
}
|
|
4534
|
-
f = message.
|
|
4621
|
+
f = message.getCreatedAt();
|
|
4535
4622
|
if (f.length > 0) {
|
|
4536
4623
|
writer.writeString(
|
|
4537
4624
|
9,
|
|
4538
4625
|
f
|
|
4539
4626
|
);
|
|
4540
4627
|
}
|
|
4541
|
-
f = message.
|
|
4628
|
+
f = message.getUpdatedAt();
|
|
4542
4629
|
if (f.length > 0) {
|
|
4543
4630
|
writer.writeString(
|
|
4544
4631
|
10,
|
|
4545
4632
|
f
|
|
4546
4633
|
);
|
|
4547
4634
|
}
|
|
4548
|
-
f = message.
|
|
4635
|
+
f = message.getCode();
|
|
4549
4636
|
if (f.length > 0) {
|
|
4550
4637
|
writer.writeString(
|
|
4551
4638
|
11,
|
|
4552
4639
|
f
|
|
4553
4640
|
);
|
|
4554
4641
|
}
|
|
4555
|
-
f = message.
|
|
4556
|
-
if (f
|
|
4557
|
-
writer.
|
|
4642
|
+
f = message.getIsGeneral();
|
|
4643
|
+
if (f) {
|
|
4644
|
+
writer.writeBool(
|
|
4558
4645
|
12,
|
|
4559
4646
|
f
|
|
4560
4647
|
);
|
|
4561
4648
|
}
|
|
4562
|
-
f = message.
|
|
4563
|
-
if (f.length > 0) {
|
|
4564
|
-
writer.writeRepeatedMessage(
|
|
4565
|
-
13,
|
|
4566
|
-
f,
|
|
4567
|
-
proto.BaseItemTransactionDetail.serializeBinaryToWriter
|
|
4568
|
-
);
|
|
4569
|
-
}
|
|
4570
|
-
f = message.getItemTransactionPriceConditionList();
|
|
4571
|
-
if (f.length > 0) {
|
|
4572
|
-
writer.writeRepeatedMessage(
|
|
4573
|
-
14,
|
|
4574
|
-
f,
|
|
4575
|
-
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter
|
|
4576
|
-
);
|
|
4577
|
-
}
|
|
4578
|
-
f = message.getPreviousReferences();
|
|
4649
|
+
f = message.getProperties();
|
|
4579
4650
|
if (f.length > 0) {
|
|
4580
4651
|
writer.writeString(
|
|
4581
|
-
|
|
4652
|
+
13,
|
|
4582
4653
|
f
|
|
4583
4654
|
);
|
|
4584
4655
|
}
|
|
4585
|
-
f = message.
|
|
4656
|
+
f = message.getUnitOfMeasure();
|
|
4586
4657
|
if (f.length > 0) {
|
|
4587
4658
|
writer.writeString(
|
|
4588
|
-
|
|
4659
|
+
14,
|
|
4589
4660
|
f
|
|
4590
4661
|
);
|
|
4591
4662
|
}
|
|
4592
|
-
f = message.getFilesList();
|
|
4593
|
-
if (f.length > 0) {
|
|
4594
|
-
writer.writeRepeatedMessage(
|
|
4595
|
-
17,
|
|
4596
|
-
f,
|
|
4597
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
4598
|
-
);
|
|
4599
|
-
}
|
|
4600
4663
|
f = message.getCurrency();
|
|
4601
4664
|
if (f.length > 0) {
|
|
4602
4665
|
writer.writeString(
|
|
4603
|
-
|
|
4604
|
-
f
|
|
4605
|
-
);
|
|
4606
|
-
}
|
|
4607
|
-
f = message.getReferencesId();
|
|
4608
|
-
if (f.length > 0) {
|
|
4609
|
-
writer.writeString(
|
|
4610
|
-
19,
|
|
4611
|
-
f
|
|
4612
|
-
);
|
|
4613
|
-
}
|
|
4614
|
-
f = message.getPurchaseRequisitionTransactionNumber();
|
|
4615
|
-
if (f.length > 0) {
|
|
4616
|
-
writer.writeString(
|
|
4617
|
-
20,
|
|
4618
|
-
f
|
|
4619
|
-
);
|
|
4620
|
-
}
|
|
4621
|
-
f = message.getItemTransactionServiceList();
|
|
4622
|
-
if (f.length > 0) {
|
|
4623
|
-
writer.writeRepeatedMessage(
|
|
4624
|
-
21,
|
|
4625
|
-
f,
|
|
4626
|
-
proto.BaseItemTransactionService.serializeBinaryToWriter
|
|
4627
|
-
);
|
|
4628
|
-
}
|
|
4629
|
-
f = message.getPurchaseRequisitionQuantity();
|
|
4630
|
-
if (f.length > 0) {
|
|
4631
|
-
writer.writeString(
|
|
4632
|
-
22,
|
|
4633
|
-
f
|
|
4634
|
-
);
|
|
4635
|
-
}
|
|
4636
|
-
f = message.getPurchaseRequisitionPrice();
|
|
4637
|
-
if (f.length > 0) {
|
|
4638
|
-
writer.writeString(
|
|
4639
|
-
23,
|
|
4640
|
-
f
|
|
4641
|
-
);
|
|
4642
|
-
}
|
|
4643
|
-
f = message.getIncludeVat();
|
|
4644
|
-
if (f) {
|
|
4645
|
-
writer.writeBool(
|
|
4646
|
-
34,
|
|
4647
|
-
f
|
|
4648
|
-
);
|
|
4649
|
-
}
|
|
4650
|
-
f = message.getIncomeTax();
|
|
4651
|
-
if (f !== 0.0) {
|
|
4652
|
-
writer.writeFloat(
|
|
4653
|
-
35,
|
|
4654
|
-
f
|
|
4655
|
-
);
|
|
4656
|
-
}
|
|
4657
|
-
f = message.getPriceBeforeTax();
|
|
4658
|
-
if (f.length > 0) {
|
|
4659
|
-
writer.writeString(
|
|
4660
|
-
36,
|
|
4666
|
+
15,
|
|
4661
4667
|
f
|
|
4662
4668
|
);
|
|
4663
4669
|
}
|
|
@@ -4665,550 +4671,2004 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
4665
4671
|
|
|
4666
4672
|
|
|
4667
4673
|
/**
|
|
4668
|
-
* optional
|
|
4669
|
-
* @return {
|
|
4674
|
+
* optional int64 id = 1;
|
|
4675
|
+
* @return {number}
|
|
4670
4676
|
*/
|
|
4671
|
-
proto.
|
|
4672
|
-
return /** @type {
|
|
4677
|
+
proto.ItemTransactionServicePriceCondition.prototype.getId = function() {
|
|
4678
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4673
4679
|
};
|
|
4674
4680
|
|
|
4675
4681
|
|
|
4676
4682
|
/**
|
|
4677
|
-
* @param {
|
|
4678
|
-
* @return {!proto.
|
|
4683
|
+
* @param {number} value
|
|
4684
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4679
4685
|
*/
|
|
4680
|
-
proto.
|
|
4681
|
-
return jspb.Message.
|
|
4686
|
+
proto.ItemTransactionServicePriceCondition.prototype.setId = function(value) {
|
|
4687
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4682
4688
|
};
|
|
4683
4689
|
|
|
4684
4690
|
|
|
4685
4691
|
/**
|
|
4686
|
-
* optional string
|
|
4692
|
+
* optional string amount = 2;
|
|
4687
4693
|
* @return {string}
|
|
4688
4694
|
*/
|
|
4689
|
-
proto.
|
|
4695
|
+
proto.ItemTransactionServicePriceCondition.prototype.getAmount = function() {
|
|
4690
4696
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4691
4697
|
};
|
|
4692
4698
|
|
|
4693
4699
|
|
|
4694
4700
|
/**
|
|
4695
4701
|
* @param {string} value
|
|
4696
|
-
* @return {!proto.
|
|
4702
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4697
4703
|
*/
|
|
4698
|
-
proto.
|
|
4704
|
+
proto.ItemTransactionServicePriceCondition.prototype.setAmount = function(value) {
|
|
4699
4705
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4700
4706
|
};
|
|
4701
4707
|
|
|
4702
4708
|
|
|
4703
4709
|
/**
|
|
4704
|
-
* optional string
|
|
4710
|
+
* optional string operator = 3;
|
|
4705
4711
|
* @return {string}
|
|
4706
4712
|
*/
|
|
4707
|
-
proto.
|
|
4713
|
+
proto.ItemTransactionServicePriceCondition.prototype.getOperator = function() {
|
|
4708
4714
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4709
4715
|
};
|
|
4710
4716
|
|
|
4711
4717
|
|
|
4712
4718
|
/**
|
|
4713
4719
|
* @param {string} value
|
|
4714
|
-
* @return {!proto.
|
|
4720
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4715
4721
|
*/
|
|
4716
|
-
proto.
|
|
4722
|
+
proto.ItemTransactionServicePriceCondition.prototype.setOperator = function(value) {
|
|
4717
4723
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4718
4724
|
};
|
|
4719
4725
|
|
|
4720
4726
|
|
|
4721
4727
|
/**
|
|
4722
|
-
* optional string
|
|
4728
|
+
* optional string divide = 4;
|
|
4723
4729
|
* @return {string}
|
|
4724
4730
|
*/
|
|
4725
|
-
proto.
|
|
4731
|
+
proto.ItemTransactionServicePriceCondition.prototype.getDivide = function() {
|
|
4726
4732
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4727
4733
|
};
|
|
4728
4734
|
|
|
4729
4735
|
|
|
4730
4736
|
/**
|
|
4731
4737
|
* @param {string} value
|
|
4732
|
-
* @return {!proto.
|
|
4738
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4733
4739
|
*/
|
|
4734
|
-
proto.
|
|
4740
|
+
proto.ItemTransactionServicePriceCondition.prototype.setDivide = function(value) {
|
|
4735
4741
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4736
4742
|
};
|
|
4737
4743
|
|
|
4738
4744
|
|
|
4739
4745
|
/**
|
|
4740
|
-
* optional string
|
|
4746
|
+
* optional string type = 5;
|
|
4741
4747
|
* @return {string}
|
|
4742
4748
|
*/
|
|
4743
|
-
proto.
|
|
4749
|
+
proto.ItemTransactionServicePriceCondition.prototype.getType = function() {
|
|
4744
4750
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4745
4751
|
};
|
|
4746
4752
|
|
|
4747
4753
|
|
|
4748
4754
|
/**
|
|
4749
4755
|
* @param {string} value
|
|
4750
|
-
* @return {!proto.
|
|
4756
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4751
4757
|
*/
|
|
4752
|
-
proto.
|
|
4758
|
+
proto.ItemTransactionServicePriceCondition.prototype.setType = function(value) {
|
|
4753
4759
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4754
4760
|
};
|
|
4755
4761
|
|
|
4756
4762
|
|
|
4757
4763
|
/**
|
|
4758
|
-
* optional string
|
|
4764
|
+
* optional string name = 6;
|
|
4759
4765
|
* @return {string}
|
|
4760
4766
|
*/
|
|
4761
|
-
proto.
|
|
4767
|
+
proto.ItemTransactionServicePriceCondition.prototype.getName = function() {
|
|
4762
4768
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4763
4769
|
};
|
|
4764
4770
|
|
|
4765
4771
|
|
|
4766
4772
|
/**
|
|
4767
4773
|
* @param {string} value
|
|
4768
|
-
* @return {!proto.
|
|
4774
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4769
4775
|
*/
|
|
4770
|
-
proto.
|
|
4776
|
+
proto.ItemTransactionServicePriceCondition.prototype.setName = function(value) {
|
|
4771
4777
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
4772
4778
|
};
|
|
4773
4779
|
|
|
4774
4780
|
|
|
4775
4781
|
/**
|
|
4776
|
-
* optional string
|
|
4782
|
+
* optional string item_transaction_ref = 7;
|
|
4777
4783
|
* @return {string}
|
|
4778
4784
|
*/
|
|
4779
|
-
proto.
|
|
4785
|
+
proto.ItemTransactionServicePriceCondition.prototype.getItemTransactionRef = function() {
|
|
4780
4786
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4781
4787
|
};
|
|
4782
4788
|
|
|
4783
4789
|
|
|
4784
4790
|
/**
|
|
4785
4791
|
* @param {string} value
|
|
4786
|
-
* @return {!proto.
|
|
4792
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4787
4793
|
*/
|
|
4788
|
-
proto.
|
|
4794
|
+
proto.ItemTransactionServicePriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
4789
4795
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4790
4796
|
};
|
|
4791
4797
|
|
|
4792
4798
|
|
|
4793
4799
|
/**
|
|
4794
|
-
* optional string
|
|
4800
|
+
* optional string references_id = 8;
|
|
4795
4801
|
* @return {string}
|
|
4796
4802
|
*/
|
|
4797
|
-
proto.
|
|
4803
|
+
proto.ItemTransactionServicePriceCondition.prototype.getReferencesId = function() {
|
|
4798
4804
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4799
4805
|
};
|
|
4800
4806
|
|
|
4801
4807
|
|
|
4802
4808
|
/**
|
|
4803
4809
|
* @param {string} value
|
|
4804
|
-
* @return {!proto.
|
|
4810
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4805
4811
|
*/
|
|
4806
|
-
proto.
|
|
4812
|
+
proto.ItemTransactionServicePriceCondition.prototype.setReferencesId = function(value) {
|
|
4807
4813
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
4808
4814
|
};
|
|
4809
4815
|
|
|
4810
4816
|
|
|
4811
4817
|
/**
|
|
4812
|
-
* optional string
|
|
4818
|
+
* optional string created_at = 9;
|
|
4813
4819
|
* @return {string}
|
|
4814
4820
|
*/
|
|
4815
|
-
proto.
|
|
4821
|
+
proto.ItemTransactionServicePriceCondition.prototype.getCreatedAt = function() {
|
|
4816
4822
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4817
4823
|
};
|
|
4818
4824
|
|
|
4819
4825
|
|
|
4820
4826
|
/**
|
|
4821
4827
|
* @param {string} value
|
|
4822
|
-
* @return {!proto.
|
|
4828
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4823
4829
|
*/
|
|
4824
|
-
proto.
|
|
4830
|
+
proto.ItemTransactionServicePriceCondition.prototype.setCreatedAt = function(value) {
|
|
4825
4831
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
4826
4832
|
};
|
|
4827
4833
|
|
|
4828
4834
|
|
|
4829
4835
|
/**
|
|
4830
|
-
* optional string
|
|
4836
|
+
* optional string updated_at = 10;
|
|
4831
4837
|
* @return {string}
|
|
4832
4838
|
*/
|
|
4833
|
-
proto.
|
|
4839
|
+
proto.ItemTransactionServicePriceCondition.prototype.getUpdatedAt = function() {
|
|
4834
4840
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4835
4841
|
};
|
|
4836
4842
|
|
|
4837
4843
|
|
|
4838
4844
|
/**
|
|
4839
4845
|
* @param {string} value
|
|
4840
|
-
* @return {!proto.
|
|
4846
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4841
4847
|
*/
|
|
4842
|
-
proto.
|
|
4848
|
+
proto.ItemTransactionServicePriceCondition.prototype.setUpdatedAt = function(value) {
|
|
4843
4849
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
4844
4850
|
};
|
|
4845
4851
|
|
|
4846
4852
|
|
|
4847
4853
|
/**
|
|
4848
|
-
* optional string
|
|
4854
|
+
* optional string code = 11;
|
|
4849
4855
|
* @return {string}
|
|
4850
4856
|
*/
|
|
4851
|
-
proto.
|
|
4857
|
+
proto.ItemTransactionServicePriceCondition.prototype.getCode = function() {
|
|
4852
4858
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
4853
4859
|
};
|
|
4854
4860
|
|
|
4855
4861
|
|
|
4856
4862
|
/**
|
|
4857
4863
|
* @param {string} value
|
|
4858
|
-
* @return {!proto.
|
|
4864
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4859
4865
|
*/
|
|
4860
|
-
proto.
|
|
4866
|
+
proto.ItemTransactionServicePriceCondition.prototype.setCode = function(value) {
|
|
4861
4867
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
4862
4868
|
};
|
|
4863
4869
|
|
|
4864
4870
|
|
|
4865
4871
|
/**
|
|
4866
|
-
* optional
|
|
4867
|
-
* @return {
|
|
4872
|
+
* optional bool is_general = 12;
|
|
4873
|
+
* @return {boolean}
|
|
4868
4874
|
*/
|
|
4869
|
-
proto.
|
|
4870
|
-
return /** @type {
|
|
4875
|
+
proto.ItemTransactionServicePriceCondition.prototype.getIsGeneral = function() {
|
|
4876
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
4871
4877
|
};
|
|
4872
4878
|
|
|
4873
4879
|
|
|
4874
4880
|
/**
|
|
4875
|
-
* @param {
|
|
4876
|
-
* @return {!proto.
|
|
4881
|
+
* @param {boolean} value
|
|
4882
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4877
4883
|
*/
|
|
4878
|
-
proto.
|
|
4879
|
-
return jspb.Message.
|
|
4884
|
+
proto.ItemTransactionServicePriceCondition.prototype.setIsGeneral = function(value) {
|
|
4885
|
+
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
4880
4886
|
};
|
|
4881
4887
|
|
|
4882
4888
|
|
|
4883
4889
|
/**
|
|
4884
|
-
*
|
|
4885
|
-
* @return {
|
|
4890
|
+
* optional string properties = 13;
|
|
4891
|
+
* @return {string}
|
|
4886
4892
|
*/
|
|
4887
|
-
proto.
|
|
4888
|
-
return /** @type{
|
|
4889
|
-
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionDetail, 13));
|
|
4893
|
+
proto.ItemTransactionServicePriceCondition.prototype.getProperties = function() {
|
|
4894
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
4890
4895
|
};
|
|
4891
4896
|
|
|
4892
4897
|
|
|
4893
4898
|
/**
|
|
4894
|
-
* @param {
|
|
4895
|
-
* @return {!proto.
|
|
4896
|
-
*/
|
|
4897
|
-
proto.
|
|
4898
|
-
return jspb.Message.
|
|
4899
|
+
* @param {string} value
|
|
4900
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4901
|
+
*/
|
|
4902
|
+
proto.ItemTransactionServicePriceCondition.prototype.setProperties = function(value) {
|
|
4903
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
4899
4904
|
};
|
|
4900
4905
|
|
|
4901
4906
|
|
|
4902
4907
|
/**
|
|
4903
|
-
*
|
|
4904
|
-
* @
|
|
4905
|
-
* @return {!proto.BaseItemTransactionDetail}
|
|
4908
|
+
* optional string unit_of_measure = 14;
|
|
4909
|
+
* @return {string}
|
|
4906
4910
|
*/
|
|
4907
|
-
proto.
|
|
4908
|
-
return jspb.Message.
|
|
4911
|
+
proto.ItemTransactionServicePriceCondition.prototype.getUnitOfMeasure = function() {
|
|
4912
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
4909
4913
|
};
|
|
4910
4914
|
|
|
4911
4915
|
|
|
4912
4916
|
/**
|
|
4913
|
-
*
|
|
4914
|
-
* @return {!proto.
|
|
4917
|
+
* @param {string} value
|
|
4918
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4915
4919
|
*/
|
|
4916
|
-
proto.
|
|
4917
|
-
return
|
|
4920
|
+
proto.ItemTransactionServicePriceCondition.prototype.setUnitOfMeasure = function(value) {
|
|
4921
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
4918
4922
|
};
|
|
4919
4923
|
|
|
4920
4924
|
|
|
4921
4925
|
/**
|
|
4922
|
-
*
|
|
4923
|
-
* @return {
|
|
4926
|
+
* optional string currency = 15;
|
|
4927
|
+
* @return {string}
|
|
4924
4928
|
*/
|
|
4925
|
-
proto.
|
|
4926
|
-
return /** @type{
|
|
4927
|
-
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionPriceCondition, 14));
|
|
4929
|
+
proto.ItemTransactionServicePriceCondition.prototype.getCurrency = function() {
|
|
4930
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
4928
4931
|
};
|
|
4929
4932
|
|
|
4930
4933
|
|
|
4931
4934
|
/**
|
|
4932
|
-
* @param {
|
|
4935
|
+
* @param {string} value
|
|
4936
|
+
* @return {!proto.ItemTransactionServicePriceCondition} returns this
|
|
4937
|
+
*/
|
|
4938
|
+
proto.ItemTransactionServicePriceCondition.prototype.setCurrency = function(value) {
|
|
4939
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
4940
|
+
};
|
|
4941
|
+
|
|
4942
|
+
|
|
4943
|
+
|
|
4944
|
+
/**
|
|
4945
|
+
* List of repeated fields within this message type.
|
|
4946
|
+
* @private {!Array<number>}
|
|
4947
|
+
* @const
|
|
4948
|
+
*/
|
|
4949
|
+
proto.BaseItemTransaction.repeatedFields_ = [13,14,17,21];
|
|
4950
|
+
|
|
4951
|
+
|
|
4952
|
+
|
|
4953
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4954
|
+
/**
|
|
4955
|
+
* Creates an object representation of this proto.
|
|
4956
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4957
|
+
* Optional fields that are not set will be set to undefined.
|
|
4958
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4959
|
+
* For the list of reserved names please see:
|
|
4960
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4961
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4962
|
+
* JSPB instance for transitional soy proto support:
|
|
4963
|
+
* http://goto/soy-param-migration
|
|
4964
|
+
* @return {!Object}
|
|
4965
|
+
*/
|
|
4966
|
+
proto.BaseItemTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
4967
|
+
return proto.BaseItemTransaction.toObject(opt_includeInstance, this);
|
|
4968
|
+
};
|
|
4969
|
+
|
|
4970
|
+
|
|
4971
|
+
/**
|
|
4972
|
+
* Static version of the {@see toObject} method.
|
|
4973
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4974
|
+
* the JSPB instance for transitional soy proto support:
|
|
4975
|
+
* http://goto/soy-param-migration
|
|
4976
|
+
* @param {!proto.BaseItemTransaction} msg The msg instance to transform.
|
|
4977
|
+
* @return {!Object}
|
|
4978
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4979
|
+
*/
|
|
4980
|
+
proto.BaseItemTransaction.toObject = function(includeInstance, msg) {
|
|
4981
|
+
var f, obj = {
|
|
4982
|
+
transactionReferences: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4983
|
+
accAssigment: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4984
|
+
materialGroup: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4985
|
+
materialCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4986
|
+
detailDescription: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4987
|
+
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4988
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4989
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4990
|
+
estimatedUnitPrice: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4991
|
+
deliveryDate: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4992
|
+
plannedDeliveryTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
4993
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
4994
|
+
itemTransactionDetailList: jspb.Message.toObjectList(msg.getItemTransactionDetailList(),
|
|
4995
|
+
proto.BaseItemTransactionDetail.toObject, includeInstance),
|
|
4996
|
+
itemTransactionPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionPriceConditionList(),
|
|
4997
|
+
proto.BaseItemTransactionPriceCondition.toObject, includeInstance),
|
|
4998
|
+
previousReferences: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
4999
|
+
previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
5000
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
5001
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
5002
|
+
currency: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
5003
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
5004
|
+
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
5005
|
+
itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
|
|
5006
|
+
proto.BaseItemTransactionService.toObject, includeInstance),
|
|
5007
|
+
purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
5008
|
+
purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
5009
|
+
includeVat: jspb.Message.getBooleanFieldWithDefault(msg, 34, false),
|
|
5010
|
+
incomeTax: jspb.Message.getFloatingPointFieldWithDefault(msg, 35, 0.0),
|
|
5011
|
+
priceBeforeTax: jspb.Message.getFieldWithDefault(msg, 36, "")
|
|
5012
|
+
};
|
|
5013
|
+
|
|
5014
|
+
if (includeInstance) {
|
|
5015
|
+
obj.$jspbMessageInstance = msg;
|
|
5016
|
+
}
|
|
5017
|
+
return obj;
|
|
5018
|
+
};
|
|
5019
|
+
}
|
|
5020
|
+
|
|
5021
|
+
|
|
5022
|
+
/**
|
|
5023
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5024
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5025
|
+
* @return {!proto.BaseItemTransaction}
|
|
5026
|
+
*/
|
|
5027
|
+
proto.BaseItemTransaction.deserializeBinary = function(bytes) {
|
|
5028
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5029
|
+
var msg = new proto.BaseItemTransaction;
|
|
5030
|
+
return proto.BaseItemTransaction.deserializeBinaryFromReader(msg, reader);
|
|
5031
|
+
};
|
|
5032
|
+
|
|
5033
|
+
|
|
5034
|
+
/**
|
|
5035
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5036
|
+
* given reader into the given message object.
|
|
5037
|
+
* @param {!proto.BaseItemTransaction} msg The message object to deserialize into.
|
|
5038
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5039
|
+
* @return {!proto.BaseItemTransaction}
|
|
5040
|
+
*/
|
|
5041
|
+
proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
5042
|
+
while (reader.nextField()) {
|
|
5043
|
+
if (reader.isEndGroup()) {
|
|
5044
|
+
break;
|
|
5045
|
+
}
|
|
5046
|
+
var field = reader.getFieldNumber();
|
|
5047
|
+
switch (field) {
|
|
5048
|
+
case 1:
|
|
5049
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5050
|
+
msg.setTransactionReferences(value);
|
|
5051
|
+
break;
|
|
5052
|
+
case 2:
|
|
5053
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5054
|
+
msg.setAccAssigment(value);
|
|
5055
|
+
break;
|
|
5056
|
+
case 3:
|
|
5057
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5058
|
+
msg.setMaterialGroup(value);
|
|
5059
|
+
break;
|
|
5060
|
+
case 4:
|
|
5061
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5062
|
+
msg.setMaterialCode(value);
|
|
5063
|
+
break;
|
|
5064
|
+
case 5:
|
|
5065
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5066
|
+
msg.setDetailDescription(value);
|
|
5067
|
+
break;
|
|
5068
|
+
case 6:
|
|
5069
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5070
|
+
msg.setDescription(value);
|
|
5071
|
+
break;
|
|
5072
|
+
case 7:
|
|
5073
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5074
|
+
msg.setQuantity(value);
|
|
5075
|
+
break;
|
|
5076
|
+
case 8:
|
|
5077
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5078
|
+
msg.setUnitOfMeasure(value);
|
|
5079
|
+
break;
|
|
5080
|
+
case 9:
|
|
5081
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5082
|
+
msg.setEstimatedUnitPrice(value);
|
|
5083
|
+
break;
|
|
5084
|
+
case 10:
|
|
5085
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5086
|
+
msg.setDeliveryDate(value);
|
|
5087
|
+
break;
|
|
5088
|
+
case 11:
|
|
5089
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5090
|
+
msg.setPlannedDeliveryTime(value);
|
|
5091
|
+
break;
|
|
5092
|
+
case 12:
|
|
5093
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5094
|
+
msg.setCustomTransaction(value);
|
|
5095
|
+
break;
|
|
5096
|
+
case 13:
|
|
5097
|
+
var value = new proto.BaseItemTransactionDetail;
|
|
5098
|
+
reader.readMessage(value,proto.BaseItemTransactionDetail.deserializeBinaryFromReader);
|
|
5099
|
+
msg.addItemTransactionDetail(value);
|
|
5100
|
+
break;
|
|
5101
|
+
case 14:
|
|
5102
|
+
var value = new proto.BaseItemTransactionPriceCondition;
|
|
5103
|
+
reader.readMessage(value,proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader);
|
|
5104
|
+
msg.addItemTransactionPriceCondition(value);
|
|
5105
|
+
break;
|
|
5106
|
+
case 15:
|
|
5107
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5108
|
+
msg.setPreviousReferences(value);
|
|
5109
|
+
break;
|
|
5110
|
+
case 16:
|
|
5111
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5112
|
+
msg.setPreviousTransactionReferences(value);
|
|
5113
|
+
break;
|
|
5114
|
+
case 17:
|
|
5115
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
5116
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
5117
|
+
msg.addFiles(value);
|
|
5118
|
+
break;
|
|
5119
|
+
case 18:
|
|
5120
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5121
|
+
msg.setCurrency(value);
|
|
5122
|
+
break;
|
|
5123
|
+
case 19:
|
|
5124
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5125
|
+
msg.setReferencesId(value);
|
|
5126
|
+
break;
|
|
5127
|
+
case 20:
|
|
5128
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5129
|
+
msg.setPurchaseRequisitionTransactionNumber(value);
|
|
5130
|
+
break;
|
|
5131
|
+
case 21:
|
|
5132
|
+
var value = new proto.BaseItemTransactionService;
|
|
5133
|
+
reader.readMessage(value,proto.BaseItemTransactionService.deserializeBinaryFromReader);
|
|
5134
|
+
msg.addItemTransactionService(value);
|
|
5135
|
+
break;
|
|
5136
|
+
case 22:
|
|
5137
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5138
|
+
msg.setPurchaseRequisitionQuantity(value);
|
|
5139
|
+
break;
|
|
5140
|
+
case 23:
|
|
5141
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5142
|
+
msg.setPurchaseRequisitionPrice(value);
|
|
5143
|
+
break;
|
|
5144
|
+
case 34:
|
|
5145
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5146
|
+
msg.setIncludeVat(value);
|
|
5147
|
+
break;
|
|
5148
|
+
case 35:
|
|
5149
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5150
|
+
msg.setIncomeTax(value);
|
|
5151
|
+
break;
|
|
5152
|
+
case 36:
|
|
5153
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5154
|
+
msg.setPriceBeforeTax(value);
|
|
5155
|
+
break;
|
|
5156
|
+
default:
|
|
5157
|
+
reader.skipField();
|
|
5158
|
+
break;
|
|
5159
|
+
}
|
|
5160
|
+
}
|
|
5161
|
+
return msg;
|
|
5162
|
+
};
|
|
5163
|
+
|
|
5164
|
+
|
|
5165
|
+
/**
|
|
5166
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5167
|
+
* @return {!Uint8Array}
|
|
5168
|
+
*/
|
|
5169
|
+
proto.BaseItemTransaction.prototype.serializeBinary = function() {
|
|
5170
|
+
var writer = new jspb.BinaryWriter();
|
|
5171
|
+
proto.BaseItemTransaction.serializeBinaryToWriter(this, writer);
|
|
5172
|
+
return writer.getResultBuffer();
|
|
5173
|
+
};
|
|
5174
|
+
|
|
5175
|
+
|
|
5176
|
+
/**
|
|
5177
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5178
|
+
* format), writing to the given BinaryWriter.
|
|
5179
|
+
* @param {!proto.BaseItemTransaction} message
|
|
5180
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5181
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5182
|
+
*/
|
|
5183
|
+
proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
5184
|
+
var f = undefined;
|
|
5185
|
+
f = message.getTransactionReferences();
|
|
5186
|
+
if (f.length > 0) {
|
|
5187
|
+
writer.writeString(
|
|
5188
|
+
1,
|
|
5189
|
+
f
|
|
5190
|
+
);
|
|
5191
|
+
}
|
|
5192
|
+
f = message.getAccAssigment();
|
|
5193
|
+
if (f.length > 0) {
|
|
5194
|
+
writer.writeString(
|
|
5195
|
+
2,
|
|
5196
|
+
f
|
|
5197
|
+
);
|
|
5198
|
+
}
|
|
5199
|
+
f = message.getMaterialGroup();
|
|
5200
|
+
if (f.length > 0) {
|
|
5201
|
+
writer.writeString(
|
|
5202
|
+
3,
|
|
5203
|
+
f
|
|
5204
|
+
);
|
|
5205
|
+
}
|
|
5206
|
+
f = message.getMaterialCode();
|
|
5207
|
+
if (f.length > 0) {
|
|
5208
|
+
writer.writeString(
|
|
5209
|
+
4,
|
|
5210
|
+
f
|
|
5211
|
+
);
|
|
5212
|
+
}
|
|
5213
|
+
f = message.getDetailDescription();
|
|
5214
|
+
if (f.length > 0) {
|
|
5215
|
+
writer.writeString(
|
|
5216
|
+
5,
|
|
5217
|
+
f
|
|
5218
|
+
);
|
|
5219
|
+
}
|
|
5220
|
+
f = message.getDescription();
|
|
5221
|
+
if (f.length > 0) {
|
|
5222
|
+
writer.writeString(
|
|
5223
|
+
6,
|
|
5224
|
+
f
|
|
5225
|
+
);
|
|
5226
|
+
}
|
|
5227
|
+
f = message.getQuantity();
|
|
5228
|
+
if (f.length > 0) {
|
|
5229
|
+
writer.writeString(
|
|
5230
|
+
7,
|
|
5231
|
+
f
|
|
5232
|
+
);
|
|
5233
|
+
}
|
|
5234
|
+
f = message.getUnitOfMeasure();
|
|
5235
|
+
if (f.length > 0) {
|
|
5236
|
+
writer.writeString(
|
|
5237
|
+
8,
|
|
5238
|
+
f
|
|
5239
|
+
);
|
|
5240
|
+
}
|
|
5241
|
+
f = message.getEstimatedUnitPrice();
|
|
5242
|
+
if (f.length > 0) {
|
|
5243
|
+
writer.writeString(
|
|
5244
|
+
9,
|
|
5245
|
+
f
|
|
5246
|
+
);
|
|
5247
|
+
}
|
|
5248
|
+
f = message.getDeliveryDate();
|
|
5249
|
+
if (f.length > 0) {
|
|
5250
|
+
writer.writeString(
|
|
5251
|
+
10,
|
|
5252
|
+
f
|
|
5253
|
+
);
|
|
5254
|
+
}
|
|
5255
|
+
f = message.getPlannedDeliveryTime();
|
|
5256
|
+
if (f.length > 0) {
|
|
5257
|
+
writer.writeString(
|
|
5258
|
+
11,
|
|
5259
|
+
f
|
|
5260
|
+
);
|
|
5261
|
+
}
|
|
5262
|
+
f = message.getCustomTransaction();
|
|
5263
|
+
if (f.length > 0) {
|
|
5264
|
+
writer.writeString(
|
|
5265
|
+
12,
|
|
5266
|
+
f
|
|
5267
|
+
);
|
|
5268
|
+
}
|
|
5269
|
+
f = message.getItemTransactionDetailList();
|
|
5270
|
+
if (f.length > 0) {
|
|
5271
|
+
writer.writeRepeatedMessage(
|
|
5272
|
+
13,
|
|
5273
|
+
f,
|
|
5274
|
+
proto.BaseItemTransactionDetail.serializeBinaryToWriter
|
|
5275
|
+
);
|
|
5276
|
+
}
|
|
5277
|
+
f = message.getItemTransactionPriceConditionList();
|
|
5278
|
+
if (f.length > 0) {
|
|
5279
|
+
writer.writeRepeatedMessage(
|
|
5280
|
+
14,
|
|
5281
|
+
f,
|
|
5282
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter
|
|
5283
|
+
);
|
|
5284
|
+
}
|
|
5285
|
+
f = message.getPreviousReferences();
|
|
5286
|
+
if (f.length > 0) {
|
|
5287
|
+
writer.writeString(
|
|
5288
|
+
15,
|
|
5289
|
+
f
|
|
5290
|
+
);
|
|
5291
|
+
}
|
|
5292
|
+
f = message.getPreviousTransactionReferences();
|
|
5293
|
+
if (f.length > 0) {
|
|
5294
|
+
writer.writeString(
|
|
5295
|
+
16,
|
|
5296
|
+
f
|
|
5297
|
+
);
|
|
5298
|
+
}
|
|
5299
|
+
f = message.getFilesList();
|
|
5300
|
+
if (f.length > 0) {
|
|
5301
|
+
writer.writeRepeatedMessage(
|
|
5302
|
+
17,
|
|
5303
|
+
f,
|
|
5304
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
5305
|
+
);
|
|
5306
|
+
}
|
|
5307
|
+
f = message.getCurrency();
|
|
5308
|
+
if (f.length > 0) {
|
|
5309
|
+
writer.writeString(
|
|
5310
|
+
18,
|
|
5311
|
+
f
|
|
5312
|
+
);
|
|
5313
|
+
}
|
|
5314
|
+
f = message.getReferencesId();
|
|
5315
|
+
if (f.length > 0) {
|
|
5316
|
+
writer.writeString(
|
|
5317
|
+
19,
|
|
5318
|
+
f
|
|
5319
|
+
);
|
|
5320
|
+
}
|
|
5321
|
+
f = message.getPurchaseRequisitionTransactionNumber();
|
|
5322
|
+
if (f.length > 0) {
|
|
5323
|
+
writer.writeString(
|
|
5324
|
+
20,
|
|
5325
|
+
f
|
|
5326
|
+
);
|
|
5327
|
+
}
|
|
5328
|
+
f = message.getItemTransactionServiceList();
|
|
5329
|
+
if (f.length > 0) {
|
|
5330
|
+
writer.writeRepeatedMessage(
|
|
5331
|
+
21,
|
|
5332
|
+
f,
|
|
5333
|
+
proto.BaseItemTransactionService.serializeBinaryToWriter
|
|
5334
|
+
);
|
|
5335
|
+
}
|
|
5336
|
+
f = message.getPurchaseRequisitionQuantity();
|
|
5337
|
+
if (f.length > 0) {
|
|
5338
|
+
writer.writeString(
|
|
5339
|
+
22,
|
|
5340
|
+
f
|
|
5341
|
+
);
|
|
5342
|
+
}
|
|
5343
|
+
f = message.getPurchaseRequisitionPrice();
|
|
5344
|
+
if (f.length > 0) {
|
|
5345
|
+
writer.writeString(
|
|
5346
|
+
23,
|
|
5347
|
+
f
|
|
5348
|
+
);
|
|
5349
|
+
}
|
|
5350
|
+
f = message.getIncludeVat();
|
|
5351
|
+
if (f) {
|
|
5352
|
+
writer.writeBool(
|
|
5353
|
+
34,
|
|
5354
|
+
f
|
|
5355
|
+
);
|
|
5356
|
+
}
|
|
5357
|
+
f = message.getIncomeTax();
|
|
5358
|
+
if (f !== 0.0) {
|
|
5359
|
+
writer.writeFloat(
|
|
5360
|
+
35,
|
|
5361
|
+
f
|
|
5362
|
+
);
|
|
5363
|
+
}
|
|
5364
|
+
f = message.getPriceBeforeTax();
|
|
5365
|
+
if (f.length > 0) {
|
|
5366
|
+
writer.writeString(
|
|
5367
|
+
36,
|
|
5368
|
+
f
|
|
5369
|
+
);
|
|
5370
|
+
}
|
|
5371
|
+
};
|
|
5372
|
+
|
|
5373
|
+
|
|
5374
|
+
/**
|
|
5375
|
+
* optional string transaction_references = 1;
|
|
5376
|
+
* @return {string}
|
|
5377
|
+
*/
|
|
5378
|
+
proto.BaseItemTransaction.prototype.getTransactionReferences = function() {
|
|
5379
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5380
|
+
};
|
|
5381
|
+
|
|
5382
|
+
|
|
5383
|
+
/**
|
|
5384
|
+
* @param {string} value
|
|
5385
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5386
|
+
*/
|
|
5387
|
+
proto.BaseItemTransaction.prototype.setTransactionReferences = function(value) {
|
|
5388
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5389
|
+
};
|
|
5390
|
+
|
|
5391
|
+
|
|
5392
|
+
/**
|
|
5393
|
+
* optional string acc_assigment = 2;
|
|
5394
|
+
* @return {string}
|
|
5395
|
+
*/
|
|
5396
|
+
proto.BaseItemTransaction.prototype.getAccAssigment = function() {
|
|
5397
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5398
|
+
};
|
|
5399
|
+
|
|
5400
|
+
|
|
5401
|
+
/**
|
|
5402
|
+
* @param {string} value
|
|
5403
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5404
|
+
*/
|
|
5405
|
+
proto.BaseItemTransaction.prototype.setAccAssigment = function(value) {
|
|
5406
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5407
|
+
};
|
|
5408
|
+
|
|
5409
|
+
|
|
5410
|
+
/**
|
|
5411
|
+
* optional string material_group = 3;
|
|
5412
|
+
* @return {string}
|
|
5413
|
+
*/
|
|
5414
|
+
proto.BaseItemTransaction.prototype.getMaterialGroup = function() {
|
|
5415
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5416
|
+
};
|
|
5417
|
+
|
|
5418
|
+
|
|
5419
|
+
/**
|
|
5420
|
+
* @param {string} value
|
|
5421
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5422
|
+
*/
|
|
5423
|
+
proto.BaseItemTransaction.prototype.setMaterialGroup = function(value) {
|
|
5424
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5425
|
+
};
|
|
5426
|
+
|
|
5427
|
+
|
|
5428
|
+
/**
|
|
5429
|
+
* optional string material_code = 4;
|
|
5430
|
+
* @return {string}
|
|
5431
|
+
*/
|
|
5432
|
+
proto.BaseItemTransaction.prototype.getMaterialCode = function() {
|
|
5433
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5434
|
+
};
|
|
5435
|
+
|
|
5436
|
+
|
|
5437
|
+
/**
|
|
5438
|
+
* @param {string} value
|
|
5439
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5440
|
+
*/
|
|
5441
|
+
proto.BaseItemTransaction.prototype.setMaterialCode = function(value) {
|
|
5442
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5443
|
+
};
|
|
5444
|
+
|
|
5445
|
+
|
|
5446
|
+
/**
|
|
5447
|
+
* optional string detail_description = 5;
|
|
5448
|
+
* @return {string}
|
|
5449
|
+
*/
|
|
5450
|
+
proto.BaseItemTransaction.prototype.getDetailDescription = function() {
|
|
5451
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5452
|
+
};
|
|
5453
|
+
|
|
5454
|
+
|
|
5455
|
+
/**
|
|
5456
|
+
* @param {string} value
|
|
5457
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5458
|
+
*/
|
|
5459
|
+
proto.BaseItemTransaction.prototype.setDetailDescription = function(value) {
|
|
5460
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5461
|
+
};
|
|
5462
|
+
|
|
5463
|
+
|
|
5464
|
+
/**
|
|
5465
|
+
* optional string description = 6;
|
|
5466
|
+
* @return {string}
|
|
5467
|
+
*/
|
|
5468
|
+
proto.BaseItemTransaction.prototype.getDescription = function() {
|
|
5469
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5470
|
+
};
|
|
5471
|
+
|
|
5472
|
+
|
|
5473
|
+
/**
|
|
5474
|
+
* @param {string} value
|
|
5475
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5476
|
+
*/
|
|
5477
|
+
proto.BaseItemTransaction.prototype.setDescription = function(value) {
|
|
5478
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5479
|
+
};
|
|
5480
|
+
|
|
5481
|
+
|
|
5482
|
+
/**
|
|
5483
|
+
* optional string quantity = 7;
|
|
5484
|
+
* @return {string}
|
|
5485
|
+
*/
|
|
5486
|
+
proto.BaseItemTransaction.prototype.getQuantity = function() {
|
|
5487
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5488
|
+
};
|
|
5489
|
+
|
|
5490
|
+
|
|
5491
|
+
/**
|
|
5492
|
+
* @param {string} value
|
|
5493
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5494
|
+
*/
|
|
5495
|
+
proto.BaseItemTransaction.prototype.setQuantity = function(value) {
|
|
5496
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
5497
|
+
};
|
|
5498
|
+
|
|
5499
|
+
|
|
5500
|
+
/**
|
|
5501
|
+
* optional string unit_of_measure = 8;
|
|
5502
|
+
* @return {string}
|
|
5503
|
+
*/
|
|
5504
|
+
proto.BaseItemTransaction.prototype.getUnitOfMeasure = function() {
|
|
5505
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
5506
|
+
};
|
|
5507
|
+
|
|
5508
|
+
|
|
5509
|
+
/**
|
|
5510
|
+
* @param {string} value
|
|
5511
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5512
|
+
*/
|
|
5513
|
+
proto.BaseItemTransaction.prototype.setUnitOfMeasure = function(value) {
|
|
5514
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
5515
|
+
};
|
|
5516
|
+
|
|
5517
|
+
|
|
5518
|
+
/**
|
|
5519
|
+
* optional string estimated_unit_price = 9;
|
|
5520
|
+
* @return {string}
|
|
5521
|
+
*/
|
|
5522
|
+
proto.BaseItemTransaction.prototype.getEstimatedUnitPrice = function() {
|
|
5523
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5524
|
+
};
|
|
5525
|
+
|
|
5526
|
+
|
|
5527
|
+
/**
|
|
5528
|
+
* @param {string} value
|
|
5529
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5530
|
+
*/
|
|
5531
|
+
proto.BaseItemTransaction.prototype.setEstimatedUnitPrice = function(value) {
|
|
5532
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
5533
|
+
};
|
|
5534
|
+
|
|
5535
|
+
|
|
5536
|
+
/**
|
|
5537
|
+
* optional string delivery_date = 10;
|
|
5538
|
+
* @return {string}
|
|
5539
|
+
*/
|
|
5540
|
+
proto.BaseItemTransaction.prototype.getDeliveryDate = function() {
|
|
5541
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5542
|
+
};
|
|
5543
|
+
|
|
5544
|
+
|
|
5545
|
+
/**
|
|
5546
|
+
* @param {string} value
|
|
5547
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5548
|
+
*/
|
|
5549
|
+
proto.BaseItemTransaction.prototype.setDeliveryDate = function(value) {
|
|
5550
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5551
|
+
};
|
|
5552
|
+
|
|
5553
|
+
|
|
5554
|
+
/**
|
|
5555
|
+
* optional string planned_delivery_time = 11;
|
|
5556
|
+
* @return {string}
|
|
5557
|
+
*/
|
|
5558
|
+
proto.BaseItemTransaction.prototype.getPlannedDeliveryTime = function() {
|
|
5559
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5560
|
+
};
|
|
5561
|
+
|
|
5562
|
+
|
|
5563
|
+
/**
|
|
5564
|
+
* @param {string} value
|
|
5565
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5566
|
+
*/
|
|
5567
|
+
proto.BaseItemTransaction.prototype.setPlannedDeliveryTime = function(value) {
|
|
5568
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
5569
|
+
};
|
|
5570
|
+
|
|
5571
|
+
|
|
5572
|
+
/**
|
|
5573
|
+
* optional string custom_transaction = 12;
|
|
5574
|
+
* @return {string}
|
|
5575
|
+
*/
|
|
5576
|
+
proto.BaseItemTransaction.prototype.getCustomTransaction = function() {
|
|
5577
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
5578
|
+
};
|
|
5579
|
+
|
|
5580
|
+
|
|
5581
|
+
/**
|
|
5582
|
+
* @param {string} value
|
|
5583
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5584
|
+
*/
|
|
5585
|
+
proto.BaseItemTransaction.prototype.setCustomTransaction = function(value) {
|
|
5586
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
5587
|
+
};
|
|
5588
|
+
|
|
5589
|
+
|
|
5590
|
+
/**
|
|
5591
|
+
* repeated BaseItemTransactionDetail item_transaction_detail = 13;
|
|
5592
|
+
* @return {!Array<!proto.BaseItemTransactionDetail>}
|
|
5593
|
+
*/
|
|
5594
|
+
proto.BaseItemTransaction.prototype.getItemTransactionDetailList = function() {
|
|
5595
|
+
return /** @type{!Array<!proto.BaseItemTransactionDetail>} */ (
|
|
5596
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionDetail, 13));
|
|
5597
|
+
};
|
|
5598
|
+
|
|
5599
|
+
|
|
5600
|
+
/**
|
|
5601
|
+
* @param {!Array<!proto.BaseItemTransactionDetail>} value
|
|
5602
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5603
|
+
*/
|
|
5604
|
+
proto.BaseItemTransaction.prototype.setItemTransactionDetailList = function(value) {
|
|
5605
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
5606
|
+
};
|
|
5607
|
+
|
|
5608
|
+
|
|
5609
|
+
/**
|
|
5610
|
+
* @param {!proto.BaseItemTransactionDetail=} opt_value
|
|
5611
|
+
* @param {number=} opt_index
|
|
5612
|
+
* @return {!proto.BaseItemTransactionDetail}
|
|
5613
|
+
*/
|
|
5614
|
+
proto.BaseItemTransaction.prototype.addItemTransactionDetail = function(opt_value, opt_index) {
|
|
5615
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.BaseItemTransactionDetail, opt_index);
|
|
5616
|
+
};
|
|
5617
|
+
|
|
5618
|
+
|
|
5619
|
+
/**
|
|
5620
|
+
* Clears the list making it empty but non-null.
|
|
5621
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5622
|
+
*/
|
|
5623
|
+
proto.BaseItemTransaction.prototype.clearItemTransactionDetailList = function() {
|
|
5624
|
+
return this.setItemTransactionDetailList([]);
|
|
5625
|
+
};
|
|
5626
|
+
|
|
5627
|
+
|
|
5628
|
+
/**
|
|
5629
|
+
* repeated BaseItemTransactionPriceCondition item_transaction_price_condition = 14;
|
|
5630
|
+
* @return {!Array<!proto.BaseItemTransactionPriceCondition>}
|
|
5631
|
+
*/
|
|
5632
|
+
proto.BaseItemTransaction.prototype.getItemTransactionPriceConditionList = function() {
|
|
5633
|
+
return /** @type{!Array<!proto.BaseItemTransactionPriceCondition>} */ (
|
|
5634
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionPriceCondition, 14));
|
|
5635
|
+
};
|
|
5636
|
+
|
|
5637
|
+
|
|
5638
|
+
/**
|
|
5639
|
+
* @param {!Array<!proto.BaseItemTransactionPriceCondition>} value
|
|
5640
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5641
|
+
*/
|
|
5642
|
+
proto.BaseItemTransaction.prototype.setItemTransactionPriceConditionList = function(value) {
|
|
5643
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
|
5644
|
+
};
|
|
5645
|
+
|
|
5646
|
+
|
|
5647
|
+
/**
|
|
5648
|
+
* @param {!proto.BaseItemTransactionPriceCondition=} opt_value
|
|
5649
|
+
* @param {number=} opt_index
|
|
5650
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
5651
|
+
*/
|
|
5652
|
+
proto.BaseItemTransaction.prototype.addItemTransactionPriceCondition = function(opt_value, opt_index) {
|
|
5653
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.BaseItemTransactionPriceCondition, opt_index);
|
|
5654
|
+
};
|
|
5655
|
+
|
|
5656
|
+
|
|
5657
|
+
/**
|
|
5658
|
+
* Clears the list making it empty but non-null.
|
|
5659
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5660
|
+
*/
|
|
5661
|
+
proto.BaseItemTransaction.prototype.clearItemTransactionPriceConditionList = function() {
|
|
5662
|
+
return this.setItemTransactionPriceConditionList([]);
|
|
5663
|
+
};
|
|
5664
|
+
|
|
5665
|
+
|
|
5666
|
+
/**
|
|
5667
|
+
* optional string previous_references = 15;
|
|
5668
|
+
* @return {string}
|
|
5669
|
+
*/
|
|
5670
|
+
proto.BaseItemTransaction.prototype.getPreviousReferences = function() {
|
|
5671
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
5672
|
+
};
|
|
5673
|
+
|
|
5674
|
+
|
|
5675
|
+
/**
|
|
5676
|
+
* @param {string} value
|
|
5677
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5678
|
+
*/
|
|
5679
|
+
proto.BaseItemTransaction.prototype.setPreviousReferences = function(value) {
|
|
5680
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
5681
|
+
};
|
|
5682
|
+
|
|
5683
|
+
|
|
5684
|
+
/**
|
|
5685
|
+
* optional string previous_transaction_references = 16;
|
|
5686
|
+
* @return {string}
|
|
5687
|
+
*/
|
|
5688
|
+
proto.BaseItemTransaction.prototype.getPreviousTransactionReferences = function() {
|
|
5689
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
5690
|
+
};
|
|
5691
|
+
|
|
5692
|
+
|
|
5693
|
+
/**
|
|
5694
|
+
* @param {string} value
|
|
5695
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5696
|
+
*/
|
|
5697
|
+
proto.BaseItemTransaction.prototype.setPreviousTransactionReferences = function(value) {
|
|
5698
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
5699
|
+
};
|
|
5700
|
+
|
|
5701
|
+
|
|
5702
|
+
/**
|
|
5703
|
+
* repeated FileUploadReferencesReq files = 17;
|
|
5704
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
5705
|
+
*/
|
|
5706
|
+
proto.BaseItemTransaction.prototype.getFilesList = function() {
|
|
5707
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
5708
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 17));
|
|
5709
|
+
};
|
|
5710
|
+
|
|
5711
|
+
|
|
5712
|
+
/**
|
|
5713
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
5714
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5715
|
+
*/
|
|
5716
|
+
proto.BaseItemTransaction.prototype.setFilesList = function(value) {
|
|
5717
|
+
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
|
5718
|
+
};
|
|
5719
|
+
|
|
5720
|
+
|
|
5721
|
+
/**
|
|
5722
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
5723
|
+
* @param {number=} opt_index
|
|
5724
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
5725
|
+
*/
|
|
5726
|
+
proto.BaseItemTransaction.prototype.addFiles = function(opt_value, opt_index) {
|
|
5727
|
+
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
5728
|
+
};
|
|
5729
|
+
|
|
5730
|
+
|
|
5731
|
+
/**
|
|
5732
|
+
* Clears the list making it empty but non-null.
|
|
5733
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5734
|
+
*/
|
|
5735
|
+
proto.BaseItemTransaction.prototype.clearFilesList = function() {
|
|
5736
|
+
return this.setFilesList([]);
|
|
5737
|
+
};
|
|
5738
|
+
|
|
5739
|
+
|
|
5740
|
+
/**
|
|
5741
|
+
* optional string currency = 18;
|
|
5742
|
+
* @return {string}
|
|
5743
|
+
*/
|
|
5744
|
+
proto.BaseItemTransaction.prototype.getCurrency = function() {
|
|
5745
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
5746
|
+
};
|
|
5747
|
+
|
|
5748
|
+
|
|
5749
|
+
/**
|
|
5750
|
+
* @param {string} value
|
|
5751
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5752
|
+
*/
|
|
5753
|
+
proto.BaseItemTransaction.prototype.setCurrency = function(value) {
|
|
5754
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
5755
|
+
};
|
|
5756
|
+
|
|
5757
|
+
|
|
5758
|
+
/**
|
|
5759
|
+
* optional string references_id = 19;
|
|
5760
|
+
* @return {string}
|
|
5761
|
+
*/
|
|
5762
|
+
proto.BaseItemTransaction.prototype.getReferencesId = function() {
|
|
5763
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
5764
|
+
};
|
|
5765
|
+
|
|
5766
|
+
|
|
5767
|
+
/**
|
|
5768
|
+
* @param {string} value
|
|
5769
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5770
|
+
*/
|
|
5771
|
+
proto.BaseItemTransaction.prototype.setReferencesId = function(value) {
|
|
5772
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
5773
|
+
};
|
|
5774
|
+
|
|
5775
|
+
|
|
5776
|
+
/**
|
|
5777
|
+
* optional string purchase_requisition_transaction_number = 20;
|
|
5778
|
+
* @return {string}
|
|
5779
|
+
*/
|
|
5780
|
+
proto.BaseItemTransaction.prototype.getPurchaseRequisitionTransactionNumber = function() {
|
|
5781
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
5782
|
+
};
|
|
5783
|
+
|
|
5784
|
+
|
|
5785
|
+
/**
|
|
5786
|
+
* @param {string} value
|
|
5787
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5788
|
+
*/
|
|
5789
|
+
proto.BaseItemTransaction.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
|
|
5790
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
5791
|
+
};
|
|
5792
|
+
|
|
5793
|
+
|
|
5794
|
+
/**
|
|
5795
|
+
* repeated BaseItemTransactionService item_transaction_service = 21;
|
|
5796
|
+
* @return {!Array<!proto.BaseItemTransactionService>}
|
|
5797
|
+
*/
|
|
5798
|
+
proto.BaseItemTransaction.prototype.getItemTransactionServiceList = function() {
|
|
5799
|
+
return /** @type{!Array<!proto.BaseItemTransactionService>} */ (
|
|
5800
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionService, 21));
|
|
5801
|
+
};
|
|
5802
|
+
|
|
5803
|
+
|
|
5804
|
+
/**
|
|
5805
|
+
* @param {!Array<!proto.BaseItemTransactionService>} value
|
|
4933
5806
|
* @return {!proto.BaseItemTransaction} returns this
|
|
4934
5807
|
*/
|
|
4935
|
-
proto.BaseItemTransaction.prototype.
|
|
4936
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
5808
|
+
proto.BaseItemTransaction.prototype.setItemTransactionServiceList = function(value) {
|
|
5809
|
+
return jspb.Message.setRepeatedWrapperField(this, 21, value);
|
|
5810
|
+
};
|
|
5811
|
+
|
|
5812
|
+
|
|
5813
|
+
/**
|
|
5814
|
+
* @param {!proto.BaseItemTransactionService=} opt_value
|
|
5815
|
+
* @param {number=} opt_index
|
|
5816
|
+
* @return {!proto.BaseItemTransactionService}
|
|
5817
|
+
*/
|
|
5818
|
+
proto.BaseItemTransaction.prototype.addItemTransactionService = function(opt_value, opt_index) {
|
|
5819
|
+
return jspb.Message.addToRepeatedWrapperField(this, 21, opt_value, proto.BaseItemTransactionService, opt_index);
|
|
5820
|
+
};
|
|
5821
|
+
|
|
5822
|
+
|
|
5823
|
+
/**
|
|
5824
|
+
* Clears the list making it empty but non-null.
|
|
5825
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5826
|
+
*/
|
|
5827
|
+
proto.BaseItemTransaction.prototype.clearItemTransactionServiceList = function() {
|
|
5828
|
+
return this.setItemTransactionServiceList([]);
|
|
5829
|
+
};
|
|
5830
|
+
|
|
5831
|
+
|
|
5832
|
+
/**
|
|
5833
|
+
* optional string purchase_requisition_quantity = 22;
|
|
5834
|
+
* @return {string}
|
|
5835
|
+
*/
|
|
5836
|
+
proto.BaseItemTransaction.prototype.getPurchaseRequisitionQuantity = function() {
|
|
5837
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
5838
|
+
};
|
|
5839
|
+
|
|
5840
|
+
|
|
5841
|
+
/**
|
|
5842
|
+
* @param {string} value
|
|
5843
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5844
|
+
*/
|
|
5845
|
+
proto.BaseItemTransaction.prototype.setPurchaseRequisitionQuantity = function(value) {
|
|
5846
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
5847
|
+
};
|
|
5848
|
+
|
|
5849
|
+
|
|
5850
|
+
/**
|
|
5851
|
+
* optional string purchase_requisition_price = 23;
|
|
5852
|
+
* @return {string}
|
|
5853
|
+
*/
|
|
5854
|
+
proto.BaseItemTransaction.prototype.getPurchaseRequisitionPrice = function() {
|
|
5855
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
5856
|
+
};
|
|
5857
|
+
|
|
5858
|
+
|
|
5859
|
+
/**
|
|
5860
|
+
* @param {string} value
|
|
5861
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5862
|
+
*/
|
|
5863
|
+
proto.BaseItemTransaction.prototype.setPurchaseRequisitionPrice = function(value) {
|
|
5864
|
+
return jspb.Message.setProto3StringField(this, 23, value);
|
|
5865
|
+
};
|
|
5866
|
+
|
|
5867
|
+
|
|
5868
|
+
/**
|
|
5869
|
+
* optional bool include_vat = 34;
|
|
5870
|
+
* @return {boolean}
|
|
5871
|
+
*/
|
|
5872
|
+
proto.BaseItemTransaction.prototype.getIncludeVat = function() {
|
|
5873
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 34, false));
|
|
5874
|
+
};
|
|
5875
|
+
|
|
5876
|
+
|
|
5877
|
+
/**
|
|
5878
|
+
* @param {boolean} value
|
|
5879
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5880
|
+
*/
|
|
5881
|
+
proto.BaseItemTransaction.prototype.setIncludeVat = function(value) {
|
|
5882
|
+
return jspb.Message.setProto3BooleanField(this, 34, value);
|
|
5883
|
+
};
|
|
5884
|
+
|
|
5885
|
+
|
|
5886
|
+
/**
|
|
5887
|
+
* optional float income_tax = 35;
|
|
5888
|
+
* @return {number}
|
|
5889
|
+
*/
|
|
5890
|
+
proto.BaseItemTransaction.prototype.getIncomeTax = function() {
|
|
5891
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 35, 0.0));
|
|
5892
|
+
};
|
|
5893
|
+
|
|
5894
|
+
|
|
5895
|
+
/**
|
|
5896
|
+
* @param {number} value
|
|
5897
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5898
|
+
*/
|
|
5899
|
+
proto.BaseItemTransaction.prototype.setIncomeTax = function(value) {
|
|
5900
|
+
return jspb.Message.setProto3FloatField(this, 35, value);
|
|
5901
|
+
};
|
|
5902
|
+
|
|
5903
|
+
|
|
5904
|
+
/**
|
|
5905
|
+
* optional string price_before_tax = 36;
|
|
5906
|
+
* @return {string}
|
|
5907
|
+
*/
|
|
5908
|
+
proto.BaseItemTransaction.prototype.getPriceBeforeTax = function() {
|
|
5909
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, ""));
|
|
5910
|
+
};
|
|
5911
|
+
|
|
5912
|
+
|
|
5913
|
+
/**
|
|
5914
|
+
* @param {string} value
|
|
5915
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
5916
|
+
*/
|
|
5917
|
+
proto.BaseItemTransaction.prototype.setPriceBeforeTax = function(value) {
|
|
5918
|
+
return jspb.Message.setProto3StringField(this, 36, value);
|
|
5919
|
+
};
|
|
5920
|
+
|
|
5921
|
+
|
|
5922
|
+
|
|
5923
|
+
/**
|
|
5924
|
+
* List of repeated fields within this message type.
|
|
5925
|
+
* @private {!Array<number>}
|
|
5926
|
+
* @const
|
|
5927
|
+
*/
|
|
5928
|
+
proto.BaseItemTransactionDetail.repeatedFields_ = [18,19];
|
|
5929
|
+
|
|
5930
|
+
|
|
5931
|
+
|
|
5932
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5933
|
+
/**
|
|
5934
|
+
* Creates an object representation of this proto.
|
|
5935
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5936
|
+
* Optional fields that are not set will be set to undefined.
|
|
5937
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5938
|
+
* For the list of reserved names please see:
|
|
5939
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5940
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5941
|
+
* JSPB instance for transitional soy proto support:
|
|
5942
|
+
* http://goto/soy-param-migration
|
|
5943
|
+
* @return {!Object}
|
|
5944
|
+
*/
|
|
5945
|
+
proto.BaseItemTransactionDetail.prototype.toObject = function(opt_includeInstance) {
|
|
5946
|
+
return proto.BaseItemTransactionDetail.toObject(opt_includeInstance, this);
|
|
5947
|
+
};
|
|
5948
|
+
|
|
5949
|
+
|
|
5950
|
+
/**
|
|
5951
|
+
* Static version of the {@see toObject} method.
|
|
5952
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5953
|
+
* the JSPB instance for transitional soy proto support:
|
|
5954
|
+
* http://goto/soy-param-migration
|
|
5955
|
+
* @param {!proto.BaseItemTransactionDetail} msg The msg instance to transform.
|
|
5956
|
+
* @return {!Object}
|
|
5957
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5958
|
+
*/
|
|
5959
|
+
proto.BaseItemTransactionDetail.toObject = function(includeInstance, msg) {
|
|
5960
|
+
var f, obj = {
|
|
5961
|
+
glAccount: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5962
|
+
glAccountDescription: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5963
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5964
|
+
valuationPrice: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5965
|
+
requisitioner: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5966
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5967
|
+
distribution: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5968
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
5969
|
+
assetNo: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5970
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5971
|
+
costCenter: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5972
|
+
orderNumber: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
5973
|
+
orderDescription: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
5974
|
+
serviceNo: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
5975
|
+
serviceDescription: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
5976
|
+
amountPrice: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
5977
|
+
materialCode: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
5978
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
5979
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
5980
|
+
itemTransactionDetailPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionDetailPriceConditionList(),
|
|
5981
|
+
proto.BaseItemTransactionDetailPriceCondition.toObject, includeInstance),
|
|
5982
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
5983
|
+
};
|
|
5984
|
+
|
|
5985
|
+
if (includeInstance) {
|
|
5986
|
+
obj.$jspbMessageInstance = msg;
|
|
5987
|
+
}
|
|
5988
|
+
return obj;
|
|
5989
|
+
};
|
|
5990
|
+
}
|
|
5991
|
+
|
|
5992
|
+
|
|
5993
|
+
/**
|
|
5994
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5995
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5996
|
+
* @return {!proto.BaseItemTransactionDetail}
|
|
5997
|
+
*/
|
|
5998
|
+
proto.BaseItemTransactionDetail.deserializeBinary = function(bytes) {
|
|
5999
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6000
|
+
var msg = new proto.BaseItemTransactionDetail;
|
|
6001
|
+
return proto.BaseItemTransactionDetail.deserializeBinaryFromReader(msg, reader);
|
|
6002
|
+
};
|
|
6003
|
+
|
|
6004
|
+
|
|
6005
|
+
/**
|
|
6006
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6007
|
+
* given reader into the given message object.
|
|
6008
|
+
* @param {!proto.BaseItemTransactionDetail} msg The message object to deserialize into.
|
|
6009
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6010
|
+
* @return {!proto.BaseItemTransactionDetail}
|
|
6011
|
+
*/
|
|
6012
|
+
proto.BaseItemTransactionDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
6013
|
+
while (reader.nextField()) {
|
|
6014
|
+
if (reader.isEndGroup()) {
|
|
6015
|
+
break;
|
|
6016
|
+
}
|
|
6017
|
+
var field = reader.getFieldNumber();
|
|
6018
|
+
switch (field) {
|
|
6019
|
+
case 1:
|
|
6020
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6021
|
+
msg.setGlAccount(value);
|
|
6022
|
+
break;
|
|
6023
|
+
case 2:
|
|
6024
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6025
|
+
msg.setGlAccountDescription(value);
|
|
6026
|
+
break;
|
|
6027
|
+
case 3:
|
|
6028
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6029
|
+
msg.setUnitOfMeasure(value);
|
|
6030
|
+
break;
|
|
6031
|
+
case 4:
|
|
6032
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6033
|
+
msg.setValuationPrice(value);
|
|
6034
|
+
break;
|
|
6035
|
+
case 5:
|
|
6036
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6037
|
+
msg.setRequisitioner(value);
|
|
6038
|
+
break;
|
|
6039
|
+
case 6:
|
|
6040
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6041
|
+
msg.setCustomTransaction(value);
|
|
6042
|
+
break;
|
|
6043
|
+
case 7:
|
|
6044
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6045
|
+
msg.setDistribution(value);
|
|
6046
|
+
break;
|
|
6047
|
+
case 8:
|
|
6048
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6049
|
+
msg.setQuantity(value);
|
|
6050
|
+
break;
|
|
6051
|
+
case 9:
|
|
6052
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6053
|
+
msg.setAssetNo(value);
|
|
6054
|
+
break;
|
|
6055
|
+
case 10:
|
|
6056
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6057
|
+
msg.setItemTransactionRef(value);
|
|
6058
|
+
break;
|
|
6059
|
+
case 11:
|
|
6060
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6061
|
+
msg.setCostCenter(value);
|
|
6062
|
+
break;
|
|
6063
|
+
case 12:
|
|
6064
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6065
|
+
msg.setOrderNumber(value);
|
|
6066
|
+
break;
|
|
6067
|
+
case 13:
|
|
6068
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6069
|
+
msg.setOrderDescription(value);
|
|
6070
|
+
break;
|
|
6071
|
+
case 14:
|
|
6072
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6073
|
+
msg.setServiceNo(value);
|
|
6074
|
+
break;
|
|
6075
|
+
case 15:
|
|
6076
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6077
|
+
msg.setServiceDescription(value);
|
|
6078
|
+
break;
|
|
6079
|
+
case 16:
|
|
6080
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6081
|
+
msg.setAmountPrice(value);
|
|
6082
|
+
break;
|
|
6083
|
+
case 17:
|
|
6084
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6085
|
+
msg.setMaterialCode(value);
|
|
6086
|
+
break;
|
|
6087
|
+
case 18:
|
|
6088
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
6089
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
6090
|
+
msg.addFiles(value);
|
|
6091
|
+
break;
|
|
6092
|
+
case 19:
|
|
6093
|
+
var value = new proto.BaseItemTransactionDetailPriceCondition;
|
|
6094
|
+
reader.readMessage(value,proto.BaseItemTransactionDetailPriceCondition.deserializeBinaryFromReader);
|
|
6095
|
+
msg.addItemTransactionDetailPriceCondition(value);
|
|
6096
|
+
break;
|
|
6097
|
+
case 20:
|
|
6098
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6099
|
+
msg.setReferencesId(value);
|
|
6100
|
+
break;
|
|
6101
|
+
default:
|
|
6102
|
+
reader.skipField();
|
|
6103
|
+
break;
|
|
6104
|
+
}
|
|
6105
|
+
}
|
|
6106
|
+
return msg;
|
|
6107
|
+
};
|
|
6108
|
+
|
|
6109
|
+
|
|
6110
|
+
/**
|
|
6111
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6112
|
+
* @return {!Uint8Array}
|
|
6113
|
+
*/
|
|
6114
|
+
proto.BaseItemTransactionDetail.prototype.serializeBinary = function() {
|
|
6115
|
+
var writer = new jspb.BinaryWriter();
|
|
6116
|
+
proto.BaseItemTransactionDetail.serializeBinaryToWriter(this, writer);
|
|
6117
|
+
return writer.getResultBuffer();
|
|
6118
|
+
};
|
|
6119
|
+
|
|
6120
|
+
|
|
6121
|
+
/**
|
|
6122
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6123
|
+
* format), writing to the given BinaryWriter.
|
|
6124
|
+
* @param {!proto.BaseItemTransactionDetail} message
|
|
6125
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6126
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6127
|
+
*/
|
|
6128
|
+
proto.BaseItemTransactionDetail.serializeBinaryToWriter = function(message, writer) {
|
|
6129
|
+
var f = undefined;
|
|
6130
|
+
f = message.getGlAccount();
|
|
6131
|
+
if (f.length > 0) {
|
|
6132
|
+
writer.writeString(
|
|
6133
|
+
1,
|
|
6134
|
+
f
|
|
6135
|
+
);
|
|
6136
|
+
}
|
|
6137
|
+
f = message.getGlAccountDescription();
|
|
6138
|
+
if (f.length > 0) {
|
|
6139
|
+
writer.writeString(
|
|
6140
|
+
2,
|
|
6141
|
+
f
|
|
6142
|
+
);
|
|
6143
|
+
}
|
|
6144
|
+
f = message.getUnitOfMeasure();
|
|
6145
|
+
if (f.length > 0) {
|
|
6146
|
+
writer.writeString(
|
|
6147
|
+
3,
|
|
6148
|
+
f
|
|
6149
|
+
);
|
|
6150
|
+
}
|
|
6151
|
+
f = message.getValuationPrice();
|
|
6152
|
+
if (f.length > 0) {
|
|
6153
|
+
writer.writeString(
|
|
6154
|
+
4,
|
|
6155
|
+
f
|
|
6156
|
+
);
|
|
6157
|
+
}
|
|
6158
|
+
f = message.getRequisitioner();
|
|
6159
|
+
if (f.length > 0) {
|
|
6160
|
+
writer.writeString(
|
|
6161
|
+
5,
|
|
6162
|
+
f
|
|
6163
|
+
);
|
|
6164
|
+
}
|
|
6165
|
+
f = message.getCustomTransaction();
|
|
6166
|
+
if (f.length > 0) {
|
|
6167
|
+
writer.writeString(
|
|
6168
|
+
6,
|
|
6169
|
+
f
|
|
6170
|
+
);
|
|
6171
|
+
}
|
|
6172
|
+
f = message.getDistribution();
|
|
6173
|
+
if (f.length > 0) {
|
|
6174
|
+
writer.writeString(
|
|
6175
|
+
7,
|
|
6176
|
+
f
|
|
6177
|
+
);
|
|
6178
|
+
}
|
|
6179
|
+
f = message.getQuantity();
|
|
6180
|
+
if (f.length > 0) {
|
|
6181
|
+
writer.writeString(
|
|
6182
|
+
8,
|
|
6183
|
+
f
|
|
6184
|
+
);
|
|
6185
|
+
}
|
|
6186
|
+
f = message.getAssetNo();
|
|
6187
|
+
if (f.length > 0) {
|
|
6188
|
+
writer.writeString(
|
|
6189
|
+
9,
|
|
6190
|
+
f
|
|
6191
|
+
);
|
|
6192
|
+
}
|
|
6193
|
+
f = message.getItemTransactionRef();
|
|
6194
|
+
if (f.length > 0) {
|
|
6195
|
+
writer.writeString(
|
|
6196
|
+
10,
|
|
6197
|
+
f
|
|
6198
|
+
);
|
|
6199
|
+
}
|
|
6200
|
+
f = message.getCostCenter();
|
|
6201
|
+
if (f.length > 0) {
|
|
6202
|
+
writer.writeString(
|
|
6203
|
+
11,
|
|
6204
|
+
f
|
|
6205
|
+
);
|
|
6206
|
+
}
|
|
6207
|
+
f = message.getOrderNumber();
|
|
6208
|
+
if (f.length > 0) {
|
|
6209
|
+
writer.writeString(
|
|
6210
|
+
12,
|
|
6211
|
+
f
|
|
6212
|
+
);
|
|
6213
|
+
}
|
|
6214
|
+
f = message.getOrderDescription();
|
|
6215
|
+
if (f.length > 0) {
|
|
6216
|
+
writer.writeString(
|
|
6217
|
+
13,
|
|
6218
|
+
f
|
|
6219
|
+
);
|
|
6220
|
+
}
|
|
6221
|
+
f = message.getServiceNo();
|
|
6222
|
+
if (f.length > 0) {
|
|
6223
|
+
writer.writeString(
|
|
6224
|
+
14,
|
|
6225
|
+
f
|
|
6226
|
+
);
|
|
6227
|
+
}
|
|
6228
|
+
f = message.getServiceDescription();
|
|
6229
|
+
if (f.length > 0) {
|
|
6230
|
+
writer.writeString(
|
|
6231
|
+
15,
|
|
6232
|
+
f
|
|
6233
|
+
);
|
|
6234
|
+
}
|
|
6235
|
+
f = message.getAmountPrice();
|
|
6236
|
+
if (f.length > 0) {
|
|
6237
|
+
writer.writeString(
|
|
6238
|
+
16,
|
|
6239
|
+
f
|
|
6240
|
+
);
|
|
6241
|
+
}
|
|
6242
|
+
f = message.getMaterialCode();
|
|
6243
|
+
if (f.length > 0) {
|
|
6244
|
+
writer.writeString(
|
|
6245
|
+
17,
|
|
6246
|
+
f
|
|
6247
|
+
);
|
|
6248
|
+
}
|
|
6249
|
+
f = message.getFilesList();
|
|
6250
|
+
if (f.length > 0) {
|
|
6251
|
+
writer.writeRepeatedMessage(
|
|
6252
|
+
18,
|
|
6253
|
+
f,
|
|
6254
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
6255
|
+
);
|
|
6256
|
+
}
|
|
6257
|
+
f = message.getItemTransactionDetailPriceConditionList();
|
|
6258
|
+
if (f.length > 0) {
|
|
6259
|
+
writer.writeRepeatedMessage(
|
|
6260
|
+
19,
|
|
6261
|
+
f,
|
|
6262
|
+
proto.BaseItemTransactionDetailPriceCondition.serializeBinaryToWriter
|
|
6263
|
+
);
|
|
6264
|
+
}
|
|
6265
|
+
f = message.getReferencesId();
|
|
6266
|
+
if (f.length > 0) {
|
|
6267
|
+
writer.writeString(
|
|
6268
|
+
20,
|
|
6269
|
+
f
|
|
6270
|
+
);
|
|
6271
|
+
}
|
|
6272
|
+
};
|
|
6273
|
+
|
|
6274
|
+
|
|
6275
|
+
/**
|
|
6276
|
+
* optional string gl_account = 1;
|
|
6277
|
+
* @return {string}
|
|
6278
|
+
*/
|
|
6279
|
+
proto.BaseItemTransactionDetail.prototype.getGlAccount = function() {
|
|
6280
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6281
|
+
};
|
|
6282
|
+
|
|
6283
|
+
|
|
6284
|
+
/**
|
|
6285
|
+
* @param {string} value
|
|
6286
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
6287
|
+
*/
|
|
6288
|
+
proto.BaseItemTransactionDetail.prototype.setGlAccount = function(value) {
|
|
6289
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4937
6290
|
};
|
|
4938
6291
|
|
|
4939
6292
|
|
|
4940
6293
|
/**
|
|
4941
|
-
*
|
|
4942
|
-
* @
|
|
4943
|
-
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
6294
|
+
* optional string gl_account_description = 2;
|
|
6295
|
+
* @return {string}
|
|
4944
6296
|
*/
|
|
4945
|
-
proto.
|
|
4946
|
-
return jspb.Message.
|
|
6297
|
+
proto.BaseItemTransactionDetail.prototype.getGlAccountDescription = function() {
|
|
6298
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4947
6299
|
};
|
|
4948
6300
|
|
|
4949
6301
|
|
|
4950
6302
|
/**
|
|
4951
|
-
*
|
|
4952
|
-
* @return {!proto.
|
|
6303
|
+
* @param {string} value
|
|
6304
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4953
6305
|
*/
|
|
4954
|
-
proto.
|
|
4955
|
-
return
|
|
6306
|
+
proto.BaseItemTransactionDetail.prototype.setGlAccountDescription = function(value) {
|
|
6307
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4956
6308
|
};
|
|
4957
6309
|
|
|
4958
6310
|
|
|
4959
6311
|
/**
|
|
4960
|
-
* optional string
|
|
6312
|
+
* optional string unit_of_measure = 3;
|
|
4961
6313
|
* @return {string}
|
|
4962
6314
|
*/
|
|
4963
|
-
proto.
|
|
4964
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6315
|
+
proto.BaseItemTransactionDetail.prototype.getUnitOfMeasure = function() {
|
|
6316
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4965
6317
|
};
|
|
4966
6318
|
|
|
4967
6319
|
|
|
4968
6320
|
/**
|
|
4969
6321
|
* @param {string} value
|
|
4970
|
-
* @return {!proto.
|
|
6322
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4971
6323
|
*/
|
|
4972
|
-
proto.
|
|
4973
|
-
return jspb.Message.setProto3StringField(this,
|
|
6324
|
+
proto.BaseItemTransactionDetail.prototype.setUnitOfMeasure = function(value) {
|
|
6325
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4974
6326
|
};
|
|
4975
6327
|
|
|
4976
6328
|
|
|
4977
6329
|
/**
|
|
4978
|
-
* optional string
|
|
6330
|
+
* optional string valuation_price = 4;
|
|
4979
6331
|
* @return {string}
|
|
4980
6332
|
*/
|
|
4981
|
-
proto.
|
|
4982
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6333
|
+
proto.BaseItemTransactionDetail.prototype.getValuationPrice = function() {
|
|
6334
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4983
6335
|
};
|
|
4984
6336
|
|
|
4985
6337
|
|
|
4986
6338
|
/**
|
|
4987
6339
|
* @param {string} value
|
|
4988
|
-
* @return {!proto.
|
|
6340
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4989
6341
|
*/
|
|
4990
|
-
proto.
|
|
4991
|
-
return jspb.Message.setProto3StringField(this,
|
|
6342
|
+
proto.BaseItemTransactionDetail.prototype.setValuationPrice = function(value) {
|
|
6343
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4992
6344
|
};
|
|
4993
6345
|
|
|
4994
6346
|
|
|
4995
6347
|
/**
|
|
4996
|
-
*
|
|
4997
|
-
* @return {
|
|
6348
|
+
* optional string requisitioner = 5;
|
|
6349
|
+
* @return {string}
|
|
4998
6350
|
*/
|
|
4999
|
-
proto.
|
|
5000
|
-
return /** @type{
|
|
5001
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 17));
|
|
6351
|
+
proto.BaseItemTransactionDetail.prototype.getRequisitioner = function() {
|
|
6352
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5002
6353
|
};
|
|
5003
6354
|
|
|
5004
6355
|
|
|
5005
6356
|
/**
|
|
5006
|
-
* @param {
|
|
5007
|
-
* @return {!proto.
|
|
5008
|
-
*/
|
|
5009
|
-
proto.
|
|
5010
|
-
return jspb.Message.
|
|
6357
|
+
* @param {string} value
|
|
6358
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
6359
|
+
*/
|
|
6360
|
+
proto.BaseItemTransactionDetail.prototype.setRequisitioner = function(value) {
|
|
6361
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5011
6362
|
};
|
|
5012
6363
|
|
|
5013
6364
|
|
|
5014
6365
|
/**
|
|
5015
|
-
*
|
|
5016
|
-
* @
|
|
5017
|
-
* @return {!proto.FileUploadReferencesReq}
|
|
6366
|
+
* optional string custom_transaction = 6;
|
|
6367
|
+
* @return {string}
|
|
5018
6368
|
*/
|
|
5019
|
-
proto.
|
|
5020
|
-
return jspb.Message.
|
|
6369
|
+
proto.BaseItemTransactionDetail.prototype.getCustomTransaction = function() {
|
|
6370
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5021
6371
|
};
|
|
5022
6372
|
|
|
5023
6373
|
|
|
5024
6374
|
/**
|
|
5025
|
-
*
|
|
5026
|
-
* @return {!proto.
|
|
6375
|
+
* @param {string} value
|
|
6376
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5027
6377
|
*/
|
|
5028
|
-
proto.
|
|
5029
|
-
return
|
|
6378
|
+
proto.BaseItemTransactionDetail.prototype.setCustomTransaction = function(value) {
|
|
6379
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5030
6380
|
};
|
|
5031
6381
|
|
|
5032
6382
|
|
|
5033
6383
|
/**
|
|
5034
|
-
* optional string
|
|
6384
|
+
* optional string distribution = 7;
|
|
5035
6385
|
* @return {string}
|
|
5036
6386
|
*/
|
|
5037
|
-
proto.
|
|
5038
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6387
|
+
proto.BaseItemTransactionDetail.prototype.getDistribution = function() {
|
|
6388
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5039
6389
|
};
|
|
5040
6390
|
|
|
5041
6391
|
|
|
5042
6392
|
/**
|
|
5043
6393
|
* @param {string} value
|
|
5044
|
-
* @return {!proto.
|
|
6394
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5045
6395
|
*/
|
|
5046
|
-
proto.
|
|
5047
|
-
return jspb.Message.setProto3StringField(this,
|
|
6396
|
+
proto.BaseItemTransactionDetail.prototype.setDistribution = function(value) {
|
|
6397
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
5048
6398
|
};
|
|
5049
6399
|
|
|
5050
6400
|
|
|
5051
6401
|
/**
|
|
5052
|
-
* optional string
|
|
6402
|
+
* optional string quantity = 8;
|
|
5053
6403
|
* @return {string}
|
|
5054
6404
|
*/
|
|
5055
|
-
proto.
|
|
5056
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6405
|
+
proto.BaseItemTransactionDetail.prototype.getQuantity = function() {
|
|
6406
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
5057
6407
|
};
|
|
5058
6408
|
|
|
5059
6409
|
|
|
5060
6410
|
/**
|
|
5061
6411
|
* @param {string} value
|
|
5062
|
-
* @return {!proto.
|
|
6412
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5063
6413
|
*/
|
|
5064
|
-
proto.
|
|
5065
|
-
return jspb.Message.setProto3StringField(this,
|
|
6414
|
+
proto.BaseItemTransactionDetail.prototype.setQuantity = function(value) {
|
|
6415
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
5066
6416
|
};
|
|
5067
6417
|
|
|
5068
6418
|
|
|
5069
6419
|
/**
|
|
5070
|
-
* optional string
|
|
6420
|
+
* optional string asset_no = 9;
|
|
5071
6421
|
* @return {string}
|
|
5072
6422
|
*/
|
|
5073
|
-
proto.
|
|
5074
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6423
|
+
proto.BaseItemTransactionDetail.prototype.getAssetNo = function() {
|
|
6424
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5075
6425
|
};
|
|
5076
6426
|
|
|
5077
6427
|
|
|
5078
6428
|
/**
|
|
5079
6429
|
* @param {string} value
|
|
5080
|
-
* @return {!proto.
|
|
6430
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5081
6431
|
*/
|
|
5082
|
-
proto.
|
|
5083
|
-
return jspb.Message.setProto3StringField(this,
|
|
6432
|
+
proto.BaseItemTransactionDetail.prototype.setAssetNo = function(value) {
|
|
6433
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
5084
6434
|
};
|
|
5085
6435
|
|
|
5086
6436
|
|
|
5087
6437
|
/**
|
|
5088
|
-
*
|
|
5089
|
-
* @return {
|
|
6438
|
+
* optional string item_transaction_ref = 10;
|
|
6439
|
+
* @return {string}
|
|
5090
6440
|
*/
|
|
5091
|
-
proto.
|
|
5092
|
-
return /** @type{
|
|
5093
|
-
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionService, 21));
|
|
6441
|
+
proto.BaseItemTransactionDetail.prototype.getItemTransactionRef = function() {
|
|
6442
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5094
6443
|
};
|
|
5095
6444
|
|
|
5096
6445
|
|
|
5097
6446
|
/**
|
|
5098
|
-
* @param {
|
|
5099
|
-
* @return {!proto.
|
|
5100
|
-
*/
|
|
5101
|
-
proto.
|
|
5102
|
-
return jspb.Message.
|
|
6447
|
+
* @param {string} value
|
|
6448
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
6449
|
+
*/
|
|
6450
|
+
proto.BaseItemTransactionDetail.prototype.setItemTransactionRef = function(value) {
|
|
6451
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5103
6452
|
};
|
|
5104
6453
|
|
|
5105
6454
|
|
|
5106
6455
|
/**
|
|
5107
|
-
*
|
|
5108
|
-
* @
|
|
5109
|
-
* @return {!proto.BaseItemTransactionService}
|
|
6456
|
+
* optional string cost_center = 11;
|
|
6457
|
+
* @return {string}
|
|
5110
6458
|
*/
|
|
5111
|
-
proto.
|
|
5112
|
-
return jspb.Message.
|
|
6459
|
+
proto.BaseItemTransactionDetail.prototype.getCostCenter = function() {
|
|
6460
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5113
6461
|
};
|
|
5114
6462
|
|
|
5115
6463
|
|
|
5116
6464
|
/**
|
|
5117
|
-
*
|
|
5118
|
-
* @return {!proto.
|
|
6465
|
+
* @param {string} value
|
|
6466
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5119
6467
|
*/
|
|
5120
|
-
proto.
|
|
5121
|
-
return
|
|
6468
|
+
proto.BaseItemTransactionDetail.prototype.setCostCenter = function(value) {
|
|
6469
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
6470
|
+
};
|
|
6471
|
+
|
|
6472
|
+
|
|
6473
|
+
/**
|
|
6474
|
+
* optional string order_number = 12;
|
|
6475
|
+
* @return {string}
|
|
6476
|
+
*/
|
|
6477
|
+
proto.BaseItemTransactionDetail.prototype.getOrderNumber = function() {
|
|
6478
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
6479
|
+
};
|
|
6480
|
+
|
|
6481
|
+
|
|
6482
|
+
/**
|
|
6483
|
+
* @param {string} value
|
|
6484
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
6485
|
+
*/
|
|
6486
|
+
proto.BaseItemTransactionDetail.prototype.setOrderNumber = function(value) {
|
|
6487
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
6488
|
+
};
|
|
6489
|
+
|
|
6490
|
+
|
|
6491
|
+
/**
|
|
6492
|
+
* optional string order_description = 13;
|
|
6493
|
+
* @return {string}
|
|
6494
|
+
*/
|
|
6495
|
+
proto.BaseItemTransactionDetail.prototype.getOrderDescription = function() {
|
|
6496
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
6497
|
+
};
|
|
6498
|
+
|
|
6499
|
+
|
|
6500
|
+
/**
|
|
6501
|
+
* @param {string} value
|
|
6502
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
6503
|
+
*/
|
|
6504
|
+
proto.BaseItemTransactionDetail.prototype.setOrderDescription = function(value) {
|
|
6505
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
6506
|
+
};
|
|
6507
|
+
|
|
6508
|
+
|
|
6509
|
+
/**
|
|
6510
|
+
* optional string service_no = 14;
|
|
6511
|
+
* @return {string}
|
|
6512
|
+
*/
|
|
6513
|
+
proto.BaseItemTransactionDetail.prototype.getServiceNo = function() {
|
|
6514
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
6515
|
+
};
|
|
6516
|
+
|
|
6517
|
+
|
|
6518
|
+
/**
|
|
6519
|
+
* @param {string} value
|
|
6520
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
6521
|
+
*/
|
|
6522
|
+
proto.BaseItemTransactionDetail.prototype.setServiceNo = function(value) {
|
|
6523
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
6524
|
+
};
|
|
6525
|
+
|
|
6526
|
+
|
|
6527
|
+
/**
|
|
6528
|
+
* optional string service_description = 15;
|
|
6529
|
+
* @return {string}
|
|
6530
|
+
*/
|
|
6531
|
+
proto.BaseItemTransactionDetail.prototype.getServiceDescription = function() {
|
|
6532
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
6533
|
+
};
|
|
6534
|
+
|
|
6535
|
+
|
|
6536
|
+
/**
|
|
6537
|
+
* @param {string} value
|
|
6538
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
6539
|
+
*/
|
|
6540
|
+
proto.BaseItemTransactionDetail.prototype.setServiceDescription = function(value) {
|
|
6541
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
6542
|
+
};
|
|
6543
|
+
|
|
6544
|
+
|
|
6545
|
+
/**
|
|
6546
|
+
* optional string amount_price = 16;
|
|
6547
|
+
* @return {string}
|
|
6548
|
+
*/
|
|
6549
|
+
proto.BaseItemTransactionDetail.prototype.getAmountPrice = function() {
|
|
6550
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
6551
|
+
};
|
|
6552
|
+
|
|
6553
|
+
|
|
6554
|
+
/**
|
|
6555
|
+
* @param {string} value
|
|
6556
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
6557
|
+
*/
|
|
6558
|
+
proto.BaseItemTransactionDetail.prototype.setAmountPrice = function(value) {
|
|
6559
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
6560
|
+
};
|
|
6561
|
+
|
|
6562
|
+
|
|
6563
|
+
/**
|
|
6564
|
+
* optional string material_code = 17;
|
|
6565
|
+
* @return {string}
|
|
6566
|
+
*/
|
|
6567
|
+
proto.BaseItemTransactionDetail.prototype.getMaterialCode = function() {
|
|
6568
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
5122
6569
|
};
|
|
5123
6570
|
|
|
5124
6571
|
|
|
5125
6572
|
/**
|
|
5126
|
-
*
|
|
5127
|
-
* @return {
|
|
6573
|
+
* @param {string} value
|
|
6574
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5128
6575
|
*/
|
|
5129
|
-
proto.
|
|
5130
|
-
return
|
|
6576
|
+
proto.BaseItemTransactionDetail.prototype.setMaterialCode = function(value) {
|
|
6577
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
5131
6578
|
};
|
|
5132
6579
|
|
|
5133
6580
|
|
|
5134
6581
|
/**
|
|
5135
|
-
*
|
|
5136
|
-
* @return {!proto.
|
|
6582
|
+
* repeated FileUploadReferencesReq files = 18;
|
|
6583
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
5137
6584
|
*/
|
|
5138
|
-
proto.
|
|
5139
|
-
return
|
|
6585
|
+
proto.BaseItemTransactionDetail.prototype.getFilesList = function() {
|
|
6586
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
6587
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 18));
|
|
5140
6588
|
};
|
|
5141
6589
|
|
|
5142
6590
|
|
|
5143
6591
|
/**
|
|
5144
|
-
*
|
|
5145
|
-
* @return {
|
|
5146
|
-
|
|
5147
|
-
proto.
|
|
5148
|
-
return
|
|
6592
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
6593
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
6594
|
+
*/
|
|
6595
|
+
proto.BaseItemTransactionDetail.prototype.setFilesList = function(value) {
|
|
6596
|
+
return jspb.Message.setRepeatedWrapperField(this, 18, value);
|
|
5149
6597
|
};
|
|
5150
6598
|
|
|
5151
6599
|
|
|
5152
6600
|
/**
|
|
5153
|
-
* @param {
|
|
5154
|
-
* @
|
|
6601
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
6602
|
+
* @param {number=} opt_index
|
|
6603
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
5155
6604
|
*/
|
|
5156
|
-
proto.
|
|
5157
|
-
return jspb.Message.
|
|
6605
|
+
proto.BaseItemTransactionDetail.prototype.addFiles = function(opt_value, opt_index) {
|
|
6606
|
+
return jspb.Message.addToRepeatedWrapperField(this, 18, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
5158
6607
|
};
|
|
5159
6608
|
|
|
5160
6609
|
|
|
5161
6610
|
/**
|
|
5162
|
-
*
|
|
5163
|
-
* @return {
|
|
6611
|
+
* Clears the list making it empty but non-null.
|
|
6612
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5164
6613
|
*/
|
|
5165
|
-
proto.
|
|
5166
|
-
return
|
|
6614
|
+
proto.BaseItemTransactionDetail.prototype.clearFilesList = function() {
|
|
6615
|
+
return this.setFilesList([]);
|
|
5167
6616
|
};
|
|
5168
6617
|
|
|
5169
6618
|
|
|
5170
6619
|
/**
|
|
5171
|
-
*
|
|
5172
|
-
* @return {!proto.
|
|
6620
|
+
* repeated BaseItemTransactionDetailPriceCondition item_transaction_detail_price_condition = 19;
|
|
6621
|
+
* @return {!Array<!proto.BaseItemTransactionDetailPriceCondition>}
|
|
5173
6622
|
*/
|
|
5174
|
-
proto.
|
|
5175
|
-
return
|
|
6623
|
+
proto.BaseItemTransactionDetail.prototype.getItemTransactionDetailPriceConditionList = function() {
|
|
6624
|
+
return /** @type{!Array<!proto.BaseItemTransactionDetailPriceCondition>} */ (
|
|
6625
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionDetailPriceCondition, 19));
|
|
5176
6626
|
};
|
|
5177
6627
|
|
|
5178
6628
|
|
|
5179
6629
|
/**
|
|
5180
|
-
*
|
|
5181
|
-
* @return {
|
|
6630
|
+
* @param {!Array<!proto.BaseItemTransactionDetailPriceCondition>} value
|
|
6631
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
6632
|
+
*/
|
|
6633
|
+
proto.BaseItemTransactionDetail.prototype.setItemTransactionDetailPriceConditionList = function(value) {
|
|
6634
|
+
return jspb.Message.setRepeatedWrapperField(this, 19, value);
|
|
6635
|
+
};
|
|
6636
|
+
|
|
6637
|
+
|
|
6638
|
+
/**
|
|
6639
|
+
* @param {!proto.BaseItemTransactionDetailPriceCondition=} opt_value
|
|
6640
|
+
* @param {number=} opt_index
|
|
6641
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition}
|
|
5182
6642
|
*/
|
|
5183
|
-
proto.
|
|
5184
|
-
return
|
|
6643
|
+
proto.BaseItemTransactionDetail.prototype.addItemTransactionDetailPriceCondition = function(opt_value, opt_index) {
|
|
6644
|
+
return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.BaseItemTransactionDetailPriceCondition, opt_index);
|
|
5185
6645
|
};
|
|
5186
6646
|
|
|
5187
6647
|
|
|
5188
6648
|
/**
|
|
5189
|
-
*
|
|
5190
|
-
* @return {!proto.
|
|
6649
|
+
* Clears the list making it empty but non-null.
|
|
6650
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5191
6651
|
*/
|
|
5192
|
-
proto.
|
|
5193
|
-
return
|
|
6652
|
+
proto.BaseItemTransactionDetail.prototype.clearItemTransactionDetailPriceConditionList = function() {
|
|
6653
|
+
return this.setItemTransactionDetailPriceConditionList([]);
|
|
5194
6654
|
};
|
|
5195
6655
|
|
|
5196
6656
|
|
|
5197
6657
|
/**
|
|
5198
|
-
* optional string
|
|
6658
|
+
* optional string references_id = 20;
|
|
5199
6659
|
* @return {string}
|
|
5200
6660
|
*/
|
|
5201
|
-
proto.
|
|
5202
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6661
|
+
proto.BaseItemTransactionDetail.prototype.getReferencesId = function() {
|
|
6662
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
5203
6663
|
};
|
|
5204
6664
|
|
|
5205
6665
|
|
|
5206
6666
|
/**
|
|
5207
6667
|
* @param {string} value
|
|
5208
|
-
* @return {!proto.
|
|
6668
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5209
6669
|
*/
|
|
5210
|
-
proto.
|
|
5211
|
-
return jspb.Message.setProto3StringField(this,
|
|
6670
|
+
proto.BaseItemTransactionDetail.prototype.setReferencesId = function(value) {
|
|
6671
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
5212
6672
|
};
|
|
5213
6673
|
|
|
5214
6674
|
|
|
@@ -5218,7 +6678,7 @@ proto.BaseItemTransaction.prototype.setPriceBeforeTax = function(value) {
|
|
|
5218
6678
|
* @private {!Array<number>}
|
|
5219
6679
|
* @const
|
|
5220
6680
|
*/
|
|
5221
|
-
proto.
|
|
6681
|
+
proto.BaseItemTransactionService.repeatedFields_ = [11,12];
|
|
5222
6682
|
|
|
5223
6683
|
|
|
5224
6684
|
|
|
@@ -5235,8 +6695,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5235
6695
|
* http://goto/soy-param-migration
|
|
5236
6696
|
* @return {!Object}
|
|
5237
6697
|
*/
|
|
5238
|
-
proto.
|
|
5239
|
-
return proto.
|
|
6698
|
+
proto.BaseItemTransactionService.prototype.toObject = function(opt_includeInstance) {
|
|
6699
|
+
return proto.BaseItemTransactionService.toObject(opt_includeInstance, this);
|
|
5240
6700
|
};
|
|
5241
6701
|
|
|
5242
6702
|
|
|
@@ -5245,33 +6705,25 @@ proto.BaseItemTransactionDetail.prototype.toObject = function(opt_includeInstanc
|
|
|
5245
6705
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5246
6706
|
* the JSPB instance for transitional soy proto support:
|
|
5247
6707
|
* http://goto/soy-param-migration
|
|
5248
|
-
* @param {!proto.
|
|
6708
|
+
* @param {!proto.BaseItemTransactionService} msg The msg instance to transform.
|
|
5249
6709
|
* @return {!Object}
|
|
5250
6710
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5251
6711
|
*/
|
|
5252
|
-
proto.
|
|
6712
|
+
proto.BaseItemTransactionService.toObject = function(includeInstance, msg) {
|
|
5253
6713
|
var f, obj = {
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5264
|
-
costCenter: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5265
|
-
orderNumber: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
5266
|
-
orderDescription: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
5267
|
-
serviceNo: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
5268
|
-
serviceDescription: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
5269
|
-
amountPrice: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
5270
|
-
materialCode: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
6714
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6715
|
+
glAccount: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6716
|
+
glAccountDescription: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6717
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6718
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6719
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
6720
|
+
serviceNo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
6721
|
+
serviceDescription: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
6722
|
+
amountPrice: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5271
6723
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
5272
6724
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
5273
|
-
|
|
5274
|
-
proto.
|
|
6725
|
+
itemTransactionServicePriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionServicePriceConditionList(),
|
|
6726
|
+
proto.BaseItemTransactionServicePriceCondition.toObject, includeInstance)
|
|
5275
6727
|
};
|
|
5276
6728
|
|
|
5277
6729
|
if (includeInstance) {
|
|
@@ -5285,106 +6737,74 @@ itemTransactionDetailPriceConditionList: jspb.Message.toObjectList(msg.getItemTr
|
|
|
5285
6737
|
/**
|
|
5286
6738
|
* Deserializes binary data (in protobuf wire format).
|
|
5287
6739
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5288
|
-
* @return {!proto.
|
|
6740
|
+
* @return {!proto.BaseItemTransactionService}
|
|
5289
6741
|
*/
|
|
5290
|
-
proto.
|
|
6742
|
+
proto.BaseItemTransactionService.deserializeBinary = function(bytes) {
|
|
5291
6743
|
var reader = new jspb.BinaryReader(bytes);
|
|
5292
|
-
var msg = new proto.
|
|
5293
|
-
return proto.
|
|
6744
|
+
var msg = new proto.BaseItemTransactionService;
|
|
6745
|
+
return proto.BaseItemTransactionService.deserializeBinaryFromReader(msg, reader);
|
|
5294
6746
|
};
|
|
5295
6747
|
|
|
5296
6748
|
|
|
5297
6749
|
/**
|
|
5298
6750
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5299
6751
|
* given reader into the given message object.
|
|
5300
|
-
* @param {!proto.
|
|
6752
|
+
* @param {!proto.BaseItemTransactionService} msg The message object to deserialize into.
|
|
5301
6753
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5302
|
-
* @return {!proto.
|
|
6754
|
+
* @return {!proto.BaseItemTransactionService}
|
|
5303
6755
|
*/
|
|
5304
|
-
proto.
|
|
6756
|
+
proto.BaseItemTransactionService.deserializeBinaryFromReader = function(msg, reader) {
|
|
5305
6757
|
while (reader.nextField()) {
|
|
5306
6758
|
if (reader.isEndGroup()) {
|
|
5307
6759
|
break;
|
|
5308
6760
|
}
|
|
5309
6761
|
var field = reader.getFieldNumber();
|
|
5310
6762
|
switch (field) {
|
|
5311
|
-
case 1:
|
|
5312
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5313
|
-
msg.setGlAccount(value);
|
|
5314
|
-
break;
|
|
5315
6763
|
case 2:
|
|
5316
6764
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5317
|
-
msg.
|
|
6765
|
+
msg.setItemTransactionRef(value);
|
|
5318
6766
|
break;
|
|
5319
6767
|
case 3:
|
|
5320
6768
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5321
|
-
msg.
|
|
6769
|
+
msg.setGlAccount(value);
|
|
5322
6770
|
break;
|
|
5323
6771
|
case 4:
|
|
5324
6772
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5325
|
-
msg.
|
|
6773
|
+
msg.setGlAccountDescription(value);
|
|
5326
6774
|
break;
|
|
5327
6775
|
case 5:
|
|
5328
6776
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5329
|
-
msg.
|
|
6777
|
+
msg.setCustomTransaction(value);
|
|
5330
6778
|
break;
|
|
5331
6779
|
case 6:
|
|
5332
6780
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5333
|
-
msg.
|
|
6781
|
+
msg.setQuantity(value);
|
|
5334
6782
|
break;
|
|
5335
6783
|
case 7:
|
|
5336
6784
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5337
|
-
msg.
|
|
6785
|
+
msg.setReferencesId(value);
|
|
5338
6786
|
break;
|
|
5339
6787
|
case 8:
|
|
5340
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5341
|
-
msg.setQuantity(value);
|
|
5342
|
-
break;
|
|
5343
|
-
case 9:
|
|
5344
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5345
|
-
msg.setAssetNo(value);
|
|
5346
|
-
break;
|
|
5347
|
-
case 10:
|
|
5348
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5349
|
-
msg.setItemTransactionRef(value);
|
|
5350
|
-
break;
|
|
5351
|
-
case 11:
|
|
5352
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5353
|
-
msg.setCostCenter(value);
|
|
5354
|
-
break;
|
|
5355
|
-
case 12:
|
|
5356
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5357
|
-
msg.setOrderNumber(value);
|
|
5358
|
-
break;
|
|
5359
|
-
case 13:
|
|
5360
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5361
|
-
msg.setOrderDescription(value);
|
|
5362
|
-
break;
|
|
5363
|
-
case 14:
|
|
5364
6788
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5365
6789
|
msg.setServiceNo(value);
|
|
5366
6790
|
break;
|
|
5367
|
-
case
|
|
6791
|
+
case 9:
|
|
5368
6792
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5369
6793
|
msg.setServiceDescription(value);
|
|
5370
6794
|
break;
|
|
5371
|
-
case
|
|
6795
|
+
case 10:
|
|
5372
6796
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5373
6797
|
msg.setAmountPrice(value);
|
|
5374
6798
|
break;
|
|
5375
|
-
case
|
|
5376
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5377
|
-
msg.setMaterialCode(value);
|
|
5378
|
-
break;
|
|
5379
|
-
case 18:
|
|
6799
|
+
case 11:
|
|
5380
6800
|
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
5381
6801
|
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
5382
6802
|
msg.addFiles(value);
|
|
5383
6803
|
break;
|
|
5384
|
-
case
|
|
5385
|
-
var value = new proto.
|
|
5386
|
-
reader.readMessage(value,proto.
|
|
5387
|
-
msg.
|
|
6804
|
+
case 12:
|
|
6805
|
+
var value = new proto.BaseItemTransactionServicePriceCondition;
|
|
6806
|
+
reader.readMessage(value,proto.BaseItemTransactionServicePriceCondition.deserializeBinaryFromReader);
|
|
6807
|
+
msg.addItemTransactionServicePriceCondition(value);
|
|
5388
6808
|
break;
|
|
5389
6809
|
default:
|
|
5390
6810
|
reader.skipField();
|
|
@@ -5399,482 +6819,282 @@ proto.BaseItemTransactionDetail.deserializeBinaryFromReader = function(msg, read
|
|
|
5399
6819
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5400
6820
|
* @return {!Uint8Array}
|
|
5401
6821
|
*/
|
|
5402
|
-
proto.
|
|
6822
|
+
proto.BaseItemTransactionService.prototype.serializeBinary = function() {
|
|
5403
6823
|
var writer = new jspb.BinaryWriter();
|
|
5404
|
-
proto.
|
|
6824
|
+
proto.BaseItemTransactionService.serializeBinaryToWriter(this, writer);
|
|
5405
6825
|
return writer.getResultBuffer();
|
|
5406
6826
|
};
|
|
5407
6827
|
|
|
5408
6828
|
|
|
5409
|
-
/**
|
|
5410
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
5411
|
-
* format), writing to the given BinaryWriter.
|
|
5412
|
-
* @param {!proto.
|
|
5413
|
-
* @param {!jspb.BinaryWriter} writer
|
|
5414
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5415
|
-
*/
|
|
5416
|
-
proto.
|
|
5417
|
-
var f = undefined;
|
|
5418
|
-
f = message.
|
|
5419
|
-
if (f.length > 0) {
|
|
5420
|
-
writer.writeString(
|
|
5421
|
-
1,
|
|
5422
|
-
f
|
|
5423
|
-
);
|
|
5424
|
-
}
|
|
5425
|
-
f = message.getGlAccountDescription();
|
|
5426
|
-
if (f.length > 0) {
|
|
5427
|
-
writer.writeString(
|
|
5428
|
-
2,
|
|
5429
|
-
f
|
|
5430
|
-
);
|
|
5431
|
-
}
|
|
5432
|
-
f = message.getUnitOfMeasure();
|
|
5433
|
-
if (f.length > 0) {
|
|
5434
|
-
writer.writeString(
|
|
5435
|
-
3,
|
|
5436
|
-
f
|
|
5437
|
-
);
|
|
5438
|
-
}
|
|
5439
|
-
f = message.getValuationPrice();
|
|
5440
|
-
if (f.length > 0) {
|
|
5441
|
-
writer.writeString(
|
|
5442
|
-
4,
|
|
5443
|
-
f
|
|
5444
|
-
);
|
|
5445
|
-
}
|
|
5446
|
-
f = message.getRequisitioner();
|
|
5447
|
-
if (f.length > 0) {
|
|
5448
|
-
writer.writeString(
|
|
5449
|
-
5,
|
|
5450
|
-
f
|
|
5451
|
-
);
|
|
5452
|
-
}
|
|
5453
|
-
f = message.getCustomTransaction();
|
|
5454
|
-
if (f.length > 0) {
|
|
5455
|
-
writer.writeString(
|
|
5456
|
-
6,
|
|
5457
|
-
f
|
|
5458
|
-
);
|
|
5459
|
-
}
|
|
5460
|
-
f = message.getDistribution();
|
|
5461
|
-
if (f.length > 0) {
|
|
5462
|
-
writer.writeString(
|
|
5463
|
-
7,
|
|
5464
|
-
f
|
|
5465
|
-
);
|
|
5466
|
-
}
|
|
5467
|
-
f = message.getQuantity();
|
|
6829
|
+
/**
|
|
6830
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6831
|
+
* format), writing to the given BinaryWriter.
|
|
6832
|
+
* @param {!proto.BaseItemTransactionService} message
|
|
6833
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6834
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6835
|
+
*/
|
|
6836
|
+
proto.BaseItemTransactionService.serializeBinaryToWriter = function(message, writer) {
|
|
6837
|
+
var f = undefined;
|
|
6838
|
+
f = message.getItemTransactionRef();
|
|
5468
6839
|
if (f.length > 0) {
|
|
5469
6840
|
writer.writeString(
|
|
5470
|
-
|
|
6841
|
+
2,
|
|
5471
6842
|
f
|
|
5472
6843
|
);
|
|
5473
6844
|
}
|
|
5474
|
-
f = message.
|
|
6845
|
+
f = message.getGlAccount();
|
|
5475
6846
|
if (f.length > 0) {
|
|
5476
6847
|
writer.writeString(
|
|
5477
|
-
|
|
6848
|
+
3,
|
|
5478
6849
|
f
|
|
5479
6850
|
);
|
|
5480
6851
|
}
|
|
5481
|
-
f = message.
|
|
6852
|
+
f = message.getGlAccountDescription();
|
|
5482
6853
|
if (f.length > 0) {
|
|
5483
6854
|
writer.writeString(
|
|
5484
|
-
|
|
6855
|
+
4,
|
|
5485
6856
|
f
|
|
5486
6857
|
);
|
|
5487
6858
|
}
|
|
5488
|
-
f = message.
|
|
6859
|
+
f = message.getCustomTransaction();
|
|
5489
6860
|
if (f.length > 0) {
|
|
5490
6861
|
writer.writeString(
|
|
5491
|
-
|
|
6862
|
+
5,
|
|
5492
6863
|
f
|
|
5493
6864
|
);
|
|
5494
6865
|
}
|
|
5495
|
-
f = message.
|
|
6866
|
+
f = message.getQuantity();
|
|
5496
6867
|
if (f.length > 0) {
|
|
5497
6868
|
writer.writeString(
|
|
5498
|
-
|
|
6869
|
+
6,
|
|
5499
6870
|
f
|
|
5500
6871
|
);
|
|
5501
6872
|
}
|
|
5502
|
-
f = message.
|
|
6873
|
+
f = message.getReferencesId();
|
|
5503
6874
|
if (f.length > 0) {
|
|
5504
6875
|
writer.writeString(
|
|
5505
|
-
|
|
6876
|
+
7,
|
|
5506
6877
|
f
|
|
5507
6878
|
);
|
|
5508
6879
|
}
|
|
5509
6880
|
f = message.getServiceNo();
|
|
5510
6881
|
if (f.length > 0) {
|
|
5511
6882
|
writer.writeString(
|
|
5512
|
-
|
|
6883
|
+
8,
|
|
5513
6884
|
f
|
|
5514
6885
|
);
|
|
5515
6886
|
}
|
|
5516
6887
|
f = message.getServiceDescription();
|
|
5517
6888
|
if (f.length > 0) {
|
|
5518
6889
|
writer.writeString(
|
|
5519
|
-
|
|
6890
|
+
9,
|
|
5520
6891
|
f
|
|
5521
6892
|
);
|
|
5522
6893
|
}
|
|
5523
6894
|
f = message.getAmountPrice();
|
|
5524
6895
|
if (f.length > 0) {
|
|
5525
6896
|
writer.writeString(
|
|
5526
|
-
|
|
5527
|
-
f
|
|
5528
|
-
);
|
|
5529
|
-
}
|
|
5530
|
-
f = message.getMaterialCode();
|
|
5531
|
-
if (f.length > 0) {
|
|
5532
|
-
writer.writeString(
|
|
5533
|
-
17,
|
|
6897
|
+
10,
|
|
5534
6898
|
f
|
|
5535
6899
|
);
|
|
5536
6900
|
}
|
|
5537
6901
|
f = message.getFilesList();
|
|
5538
6902
|
if (f.length > 0) {
|
|
5539
6903
|
writer.writeRepeatedMessage(
|
|
5540
|
-
|
|
6904
|
+
11,
|
|
5541
6905
|
f,
|
|
5542
6906
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
5543
6907
|
);
|
|
5544
6908
|
}
|
|
5545
|
-
f = message.
|
|
6909
|
+
f = message.getItemTransactionServicePriceConditionList();
|
|
5546
6910
|
if (f.length > 0) {
|
|
5547
6911
|
writer.writeRepeatedMessage(
|
|
5548
|
-
|
|
6912
|
+
12,
|
|
5549
6913
|
f,
|
|
5550
|
-
proto.
|
|
6914
|
+
proto.BaseItemTransactionServicePriceCondition.serializeBinaryToWriter
|
|
5551
6915
|
);
|
|
5552
6916
|
}
|
|
5553
6917
|
};
|
|
5554
6918
|
|
|
5555
6919
|
|
|
5556
6920
|
/**
|
|
5557
|
-
* optional string
|
|
5558
|
-
* @return {string}
|
|
5559
|
-
*/
|
|
5560
|
-
proto.BaseItemTransactionDetail.prototype.getGlAccount = function() {
|
|
5561
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5562
|
-
};
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
/**
|
|
5566
|
-
* @param {string} value
|
|
5567
|
-
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5568
|
-
*/
|
|
5569
|
-
proto.BaseItemTransactionDetail.prototype.setGlAccount = function(value) {
|
|
5570
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5571
|
-
};
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
/**
|
|
5575
|
-
* optional string gl_account_description = 2;
|
|
6921
|
+
* optional string item_transaction_ref = 2;
|
|
5576
6922
|
* @return {string}
|
|
5577
6923
|
*/
|
|
5578
|
-
proto.
|
|
6924
|
+
proto.BaseItemTransactionService.prototype.getItemTransactionRef = function() {
|
|
5579
6925
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5580
6926
|
};
|
|
5581
6927
|
|
|
5582
6928
|
|
|
5583
6929
|
/**
|
|
5584
6930
|
* @param {string} value
|
|
5585
|
-
* @return {!proto.
|
|
6931
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5586
6932
|
*/
|
|
5587
|
-
proto.
|
|
6933
|
+
proto.BaseItemTransactionService.prototype.setItemTransactionRef = function(value) {
|
|
5588
6934
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5589
6935
|
};
|
|
5590
6936
|
|
|
5591
6937
|
|
|
5592
6938
|
/**
|
|
5593
|
-
* optional string
|
|
6939
|
+
* optional string gl_account = 3;
|
|
5594
6940
|
* @return {string}
|
|
5595
6941
|
*/
|
|
5596
|
-
proto.
|
|
6942
|
+
proto.BaseItemTransactionService.prototype.getGlAccount = function() {
|
|
5597
6943
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5598
6944
|
};
|
|
5599
6945
|
|
|
5600
6946
|
|
|
5601
6947
|
/**
|
|
5602
6948
|
* @param {string} value
|
|
5603
|
-
* @return {!proto.
|
|
6949
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5604
6950
|
*/
|
|
5605
|
-
proto.
|
|
6951
|
+
proto.BaseItemTransactionService.prototype.setGlAccount = function(value) {
|
|
5606
6952
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5607
6953
|
};
|
|
5608
6954
|
|
|
5609
6955
|
|
|
5610
6956
|
/**
|
|
5611
|
-
* optional string
|
|
6957
|
+
* optional string gl_account_description = 4;
|
|
5612
6958
|
* @return {string}
|
|
5613
6959
|
*/
|
|
5614
|
-
proto.
|
|
6960
|
+
proto.BaseItemTransactionService.prototype.getGlAccountDescription = function() {
|
|
5615
6961
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5616
6962
|
};
|
|
5617
6963
|
|
|
5618
6964
|
|
|
5619
6965
|
/**
|
|
5620
6966
|
* @param {string} value
|
|
5621
|
-
* @return {!proto.
|
|
6967
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5622
6968
|
*/
|
|
5623
|
-
proto.
|
|
6969
|
+
proto.BaseItemTransactionService.prototype.setGlAccountDescription = function(value) {
|
|
5624
6970
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5625
6971
|
};
|
|
5626
6972
|
|
|
5627
6973
|
|
|
5628
6974
|
/**
|
|
5629
|
-
* optional string
|
|
6975
|
+
* optional string custom_transaction = 5;
|
|
5630
6976
|
* @return {string}
|
|
5631
6977
|
*/
|
|
5632
|
-
proto.
|
|
6978
|
+
proto.BaseItemTransactionService.prototype.getCustomTransaction = function() {
|
|
5633
6979
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5634
6980
|
};
|
|
5635
6981
|
|
|
5636
6982
|
|
|
5637
6983
|
/**
|
|
5638
6984
|
* @param {string} value
|
|
5639
|
-
* @return {!proto.
|
|
6985
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5640
6986
|
*/
|
|
5641
|
-
proto.
|
|
6987
|
+
proto.BaseItemTransactionService.prototype.setCustomTransaction = function(value) {
|
|
5642
6988
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5643
6989
|
};
|
|
5644
6990
|
|
|
5645
6991
|
|
|
5646
6992
|
/**
|
|
5647
|
-
* optional string
|
|
6993
|
+
* optional string quantity = 6;
|
|
5648
6994
|
* @return {string}
|
|
5649
6995
|
*/
|
|
5650
|
-
proto.
|
|
6996
|
+
proto.BaseItemTransactionService.prototype.getQuantity = function() {
|
|
5651
6997
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5652
6998
|
};
|
|
5653
6999
|
|
|
5654
7000
|
|
|
5655
7001
|
/**
|
|
5656
7002
|
* @param {string} value
|
|
5657
|
-
* @return {!proto.
|
|
7003
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5658
7004
|
*/
|
|
5659
|
-
proto.
|
|
7005
|
+
proto.BaseItemTransactionService.prototype.setQuantity = function(value) {
|
|
5660
7006
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5661
7007
|
};
|
|
5662
7008
|
|
|
5663
7009
|
|
|
5664
7010
|
/**
|
|
5665
|
-
* optional string
|
|
7011
|
+
* optional string references_id = 7;
|
|
5666
7012
|
* @return {string}
|
|
5667
7013
|
*/
|
|
5668
|
-
proto.
|
|
7014
|
+
proto.BaseItemTransactionService.prototype.getReferencesId = function() {
|
|
5669
7015
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5670
7016
|
};
|
|
5671
7017
|
|
|
5672
7018
|
|
|
5673
7019
|
/**
|
|
5674
7020
|
* @param {string} value
|
|
5675
|
-
* @return {!proto.
|
|
7021
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5676
7022
|
*/
|
|
5677
|
-
proto.
|
|
7023
|
+
proto.BaseItemTransactionService.prototype.setReferencesId = function(value) {
|
|
5678
7024
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
5679
7025
|
};
|
|
5680
7026
|
|
|
5681
7027
|
|
|
5682
7028
|
/**
|
|
5683
|
-
* optional string
|
|
7029
|
+
* optional string service_no = 8;
|
|
5684
7030
|
* @return {string}
|
|
5685
7031
|
*/
|
|
5686
|
-
proto.
|
|
7032
|
+
proto.BaseItemTransactionService.prototype.getServiceNo = function() {
|
|
5687
7033
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
5688
7034
|
};
|
|
5689
7035
|
|
|
5690
7036
|
|
|
5691
7037
|
/**
|
|
5692
7038
|
* @param {string} value
|
|
5693
|
-
* @return {!proto.
|
|
7039
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5694
7040
|
*/
|
|
5695
|
-
proto.
|
|
7041
|
+
proto.BaseItemTransactionService.prototype.setServiceNo = function(value) {
|
|
5696
7042
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
5697
7043
|
};
|
|
5698
7044
|
|
|
5699
7045
|
|
|
5700
7046
|
/**
|
|
5701
|
-
* optional string
|
|
5702
|
-
* @return {string}
|
|
5703
|
-
*/
|
|
5704
|
-
proto.BaseItemTransactionDetail.prototype.getAssetNo = function() {
|
|
5705
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5706
|
-
};
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
/**
|
|
5710
|
-
* @param {string} value
|
|
5711
|
-
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5712
|
-
*/
|
|
5713
|
-
proto.BaseItemTransactionDetail.prototype.setAssetNo = function(value) {
|
|
5714
|
-
return jspb.Message.setProto3StringField(this, 9, value);
|
|
5715
|
-
};
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
/**
|
|
5719
|
-
* optional string item_transaction_ref = 10;
|
|
5720
|
-
* @return {string}
|
|
5721
|
-
*/
|
|
5722
|
-
proto.BaseItemTransactionDetail.prototype.getItemTransactionRef = function() {
|
|
5723
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5724
|
-
};
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
/**
|
|
5728
|
-
* @param {string} value
|
|
5729
|
-
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5730
|
-
*/
|
|
5731
|
-
proto.BaseItemTransactionDetail.prototype.setItemTransactionRef = function(value) {
|
|
5732
|
-
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5733
|
-
};
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
/**
|
|
5737
|
-
* optional string cost_center = 11;
|
|
5738
|
-
* @return {string}
|
|
5739
|
-
*/
|
|
5740
|
-
proto.BaseItemTransactionDetail.prototype.getCostCenter = function() {
|
|
5741
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5742
|
-
};
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
/**
|
|
5746
|
-
* @param {string} value
|
|
5747
|
-
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5748
|
-
*/
|
|
5749
|
-
proto.BaseItemTransactionDetail.prototype.setCostCenter = function(value) {
|
|
5750
|
-
return jspb.Message.setProto3StringField(this, 11, value);
|
|
5751
|
-
};
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
/**
|
|
5755
|
-
* optional string order_number = 12;
|
|
5756
|
-
* @return {string}
|
|
5757
|
-
*/
|
|
5758
|
-
proto.BaseItemTransactionDetail.prototype.getOrderNumber = function() {
|
|
5759
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
5760
|
-
};
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
/**
|
|
5764
|
-
* @param {string} value
|
|
5765
|
-
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5766
|
-
*/
|
|
5767
|
-
proto.BaseItemTransactionDetail.prototype.setOrderNumber = function(value) {
|
|
5768
|
-
return jspb.Message.setProto3StringField(this, 12, value);
|
|
5769
|
-
};
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
/**
|
|
5773
|
-
* optional string order_description = 13;
|
|
5774
|
-
* @return {string}
|
|
5775
|
-
*/
|
|
5776
|
-
proto.BaseItemTransactionDetail.prototype.getOrderDescription = function() {
|
|
5777
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
5778
|
-
};
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
/**
|
|
5782
|
-
* @param {string} value
|
|
5783
|
-
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5784
|
-
*/
|
|
5785
|
-
proto.BaseItemTransactionDetail.prototype.setOrderDescription = function(value) {
|
|
5786
|
-
return jspb.Message.setProto3StringField(this, 13, value);
|
|
5787
|
-
};
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
/**
|
|
5791
|
-
* optional string service_no = 14;
|
|
5792
|
-
* @return {string}
|
|
5793
|
-
*/
|
|
5794
|
-
proto.BaseItemTransactionDetail.prototype.getServiceNo = function() {
|
|
5795
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
5796
|
-
};
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
/**
|
|
5800
|
-
* @param {string} value
|
|
5801
|
-
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5802
|
-
*/
|
|
5803
|
-
proto.BaseItemTransactionDetail.prototype.setServiceNo = function(value) {
|
|
5804
|
-
return jspb.Message.setProto3StringField(this, 14, value);
|
|
5805
|
-
};
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
/**
|
|
5809
|
-
* optional string service_description = 15;
|
|
5810
|
-
* @return {string}
|
|
5811
|
-
*/
|
|
5812
|
-
proto.BaseItemTransactionDetail.prototype.getServiceDescription = function() {
|
|
5813
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
5814
|
-
};
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
/**
|
|
5818
|
-
* @param {string} value
|
|
5819
|
-
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5820
|
-
*/
|
|
5821
|
-
proto.BaseItemTransactionDetail.prototype.setServiceDescription = function(value) {
|
|
5822
|
-
return jspb.Message.setProto3StringField(this, 15, value);
|
|
5823
|
-
};
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
/**
|
|
5827
|
-
* optional string amount_price = 16;
|
|
7047
|
+
* optional string service_description = 9;
|
|
5828
7048
|
* @return {string}
|
|
5829
7049
|
*/
|
|
5830
|
-
proto.
|
|
5831
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
7050
|
+
proto.BaseItemTransactionService.prototype.getServiceDescription = function() {
|
|
7051
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5832
7052
|
};
|
|
5833
7053
|
|
|
5834
7054
|
|
|
5835
7055
|
/**
|
|
5836
7056
|
* @param {string} value
|
|
5837
|
-
* @return {!proto.
|
|
7057
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5838
7058
|
*/
|
|
5839
|
-
proto.
|
|
5840
|
-
return jspb.Message.setProto3StringField(this,
|
|
7059
|
+
proto.BaseItemTransactionService.prototype.setServiceDescription = function(value) {
|
|
7060
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
5841
7061
|
};
|
|
5842
7062
|
|
|
5843
7063
|
|
|
5844
7064
|
/**
|
|
5845
|
-
* optional string
|
|
7065
|
+
* optional string amount_price = 10;
|
|
5846
7066
|
* @return {string}
|
|
5847
7067
|
*/
|
|
5848
|
-
proto.
|
|
5849
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
7068
|
+
proto.BaseItemTransactionService.prototype.getAmountPrice = function() {
|
|
7069
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5850
7070
|
};
|
|
5851
7071
|
|
|
5852
7072
|
|
|
5853
7073
|
/**
|
|
5854
7074
|
* @param {string} value
|
|
5855
|
-
* @return {!proto.
|
|
7075
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5856
7076
|
*/
|
|
5857
|
-
proto.
|
|
5858
|
-
return jspb.Message.setProto3StringField(this,
|
|
7077
|
+
proto.BaseItemTransactionService.prototype.setAmountPrice = function(value) {
|
|
7078
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5859
7079
|
};
|
|
5860
7080
|
|
|
5861
7081
|
|
|
5862
7082
|
/**
|
|
5863
|
-
* repeated FileUploadReferencesReq files =
|
|
7083
|
+
* repeated FileUploadReferencesReq files = 11;
|
|
5864
7084
|
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
5865
7085
|
*/
|
|
5866
|
-
proto.
|
|
7086
|
+
proto.BaseItemTransactionService.prototype.getFilesList = function() {
|
|
5867
7087
|
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
5868
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq,
|
|
7088
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 11));
|
|
5869
7089
|
};
|
|
5870
7090
|
|
|
5871
7091
|
|
|
5872
7092
|
/**
|
|
5873
7093
|
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
5874
|
-
* @return {!proto.
|
|
7094
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5875
7095
|
*/
|
|
5876
|
-
proto.
|
|
5877
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
7096
|
+
proto.BaseItemTransactionService.prototype.setFilesList = function(value) {
|
|
7097
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
5878
7098
|
};
|
|
5879
7099
|
|
|
5880
7100
|
|
|
@@ -5883,66 +7103,59 @@ proto.BaseItemTransactionDetail.prototype.setFilesList = function(value) {
|
|
|
5883
7103
|
* @param {number=} opt_index
|
|
5884
7104
|
* @return {!proto.FileUploadReferencesReq}
|
|
5885
7105
|
*/
|
|
5886
|
-
proto.
|
|
5887
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
7106
|
+
proto.BaseItemTransactionService.prototype.addFiles = function(opt_value, opt_index) {
|
|
7107
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
5888
7108
|
};
|
|
5889
7109
|
|
|
5890
7110
|
|
|
5891
7111
|
/**
|
|
5892
7112
|
* Clears the list making it empty but non-null.
|
|
5893
|
-
* @return {!proto.
|
|
7113
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5894
7114
|
*/
|
|
5895
|
-
proto.
|
|
7115
|
+
proto.BaseItemTransactionService.prototype.clearFilesList = function() {
|
|
5896
7116
|
return this.setFilesList([]);
|
|
5897
7117
|
};
|
|
5898
7118
|
|
|
5899
7119
|
|
|
5900
7120
|
/**
|
|
5901
|
-
* repeated
|
|
5902
|
-
* @return {!Array<!proto.
|
|
7121
|
+
* repeated BaseItemTransactionServicePriceCondition item_transaction_service_price_condition = 12;
|
|
7122
|
+
* @return {!Array<!proto.BaseItemTransactionServicePriceCondition>}
|
|
5903
7123
|
*/
|
|
5904
|
-
proto.
|
|
5905
|
-
return /** @type{!Array<!proto.
|
|
5906
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
7124
|
+
proto.BaseItemTransactionService.prototype.getItemTransactionServicePriceConditionList = function() {
|
|
7125
|
+
return /** @type{!Array<!proto.BaseItemTransactionServicePriceCondition>} */ (
|
|
7126
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionServicePriceCondition, 12));
|
|
5907
7127
|
};
|
|
5908
7128
|
|
|
5909
7129
|
|
|
5910
7130
|
/**
|
|
5911
|
-
* @param {!Array<!proto.
|
|
5912
|
-
* @return {!proto.
|
|
7131
|
+
* @param {!Array<!proto.BaseItemTransactionServicePriceCondition>} value
|
|
7132
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5913
7133
|
*/
|
|
5914
|
-
proto.
|
|
5915
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
7134
|
+
proto.BaseItemTransactionService.prototype.setItemTransactionServicePriceConditionList = function(value) {
|
|
7135
|
+
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
5916
7136
|
};
|
|
5917
7137
|
|
|
5918
7138
|
|
|
5919
7139
|
/**
|
|
5920
|
-
* @param {!proto.
|
|
7140
|
+
* @param {!proto.BaseItemTransactionServicePriceCondition=} opt_value
|
|
5921
7141
|
* @param {number=} opt_index
|
|
5922
|
-
* @return {!proto.
|
|
7142
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition}
|
|
5923
7143
|
*/
|
|
5924
|
-
proto.
|
|
5925
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
7144
|
+
proto.BaseItemTransactionService.prototype.addItemTransactionServicePriceCondition = function(opt_value, opt_index) {
|
|
7145
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.BaseItemTransactionServicePriceCondition, opt_index);
|
|
5926
7146
|
};
|
|
5927
7147
|
|
|
5928
7148
|
|
|
5929
7149
|
/**
|
|
5930
7150
|
* Clears the list making it empty but non-null.
|
|
5931
|
-
* @return {!proto.
|
|
7151
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5932
7152
|
*/
|
|
5933
|
-
proto.
|
|
5934
|
-
return this.
|
|
7153
|
+
proto.BaseItemTransactionService.prototype.clearItemTransactionServicePriceConditionList = function() {
|
|
7154
|
+
return this.setItemTransactionServicePriceConditionList([]);
|
|
5935
7155
|
};
|
|
5936
7156
|
|
|
5937
7157
|
|
|
5938
7158
|
|
|
5939
|
-
/**
|
|
5940
|
-
* List of repeated fields within this message type.
|
|
5941
|
-
* @private {!Array<number>}
|
|
5942
|
-
* @const
|
|
5943
|
-
*/
|
|
5944
|
-
proto.BaseItemTransactionService.repeatedFields_ = [11];
|
|
5945
|
-
|
|
5946
7159
|
|
|
5947
7160
|
|
|
5948
7161
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5958,8 +7171,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5958
7171
|
* http://goto/soy-param-migration
|
|
5959
7172
|
* @return {!Object}
|
|
5960
7173
|
*/
|
|
5961
|
-
proto.
|
|
5962
|
-
return proto.
|
|
7174
|
+
proto.BaseItemTransactionPriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
7175
|
+
return proto.BaseItemTransactionPriceCondition.toObject(opt_includeInstance, this);
|
|
5963
7176
|
};
|
|
5964
7177
|
|
|
5965
7178
|
|
|
@@ -5968,23 +7181,23 @@ proto.BaseItemTransactionService.prototype.toObject = function(opt_includeInstan
|
|
|
5968
7181
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5969
7182
|
* the JSPB instance for transitional soy proto support:
|
|
5970
7183
|
* http://goto/soy-param-migration
|
|
5971
|
-
* @param {!proto.
|
|
7184
|
+
* @param {!proto.BaseItemTransactionPriceCondition} msg The msg instance to transform.
|
|
5972
7185
|
* @return {!Object}
|
|
5973
7186
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5974
7187
|
*/
|
|
5975
|
-
proto.
|
|
7188
|
+
proto.BaseItemTransactionPriceCondition.toObject = function(includeInstance, msg) {
|
|
5976
7189
|
var f, obj = {
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
7190
|
+
amount: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7191
|
+
operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7192
|
+
divide: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7193
|
+
type: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7194
|
+
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
7195
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
7196
|
+
code: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
7197
|
+
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
7198
|
+
properties: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
7199
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
7200
|
+
currency: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
5988
7201
|
};
|
|
5989
7202
|
|
|
5990
7203
|
if (includeInstance) {
|
|
@@ -5998,69 +7211,72 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
|
5998
7211
|
/**
|
|
5999
7212
|
* Deserializes binary data (in protobuf wire format).
|
|
6000
7213
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6001
|
-
* @return {!proto.
|
|
7214
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
6002
7215
|
*/
|
|
6003
|
-
proto.
|
|
7216
|
+
proto.BaseItemTransactionPriceCondition.deserializeBinary = function(bytes) {
|
|
6004
7217
|
var reader = new jspb.BinaryReader(bytes);
|
|
6005
|
-
var msg = new proto.
|
|
6006
|
-
return proto.
|
|
7218
|
+
var msg = new proto.BaseItemTransactionPriceCondition;
|
|
7219
|
+
return proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
6007
7220
|
};
|
|
6008
7221
|
|
|
6009
7222
|
|
|
6010
7223
|
/**
|
|
6011
7224
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6012
7225
|
* given reader into the given message object.
|
|
6013
|
-
* @param {!proto.
|
|
7226
|
+
* @param {!proto.BaseItemTransactionPriceCondition} msg The message object to deserialize into.
|
|
6014
7227
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6015
|
-
* @return {!proto.
|
|
7228
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
6016
7229
|
*/
|
|
6017
|
-
proto.
|
|
7230
|
+
proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
6018
7231
|
while (reader.nextField()) {
|
|
6019
7232
|
if (reader.isEndGroup()) {
|
|
6020
7233
|
break;
|
|
6021
7234
|
}
|
|
6022
7235
|
var field = reader.getFieldNumber();
|
|
6023
7236
|
switch (field) {
|
|
7237
|
+
case 1:
|
|
7238
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7239
|
+
msg.setAmount(value);
|
|
7240
|
+
break;
|
|
6024
7241
|
case 2:
|
|
6025
7242
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6026
|
-
msg.
|
|
7243
|
+
msg.setOperator(value);
|
|
6027
7244
|
break;
|
|
6028
7245
|
case 3:
|
|
6029
7246
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6030
|
-
msg.
|
|
7247
|
+
msg.setDivide(value);
|
|
6031
7248
|
break;
|
|
6032
7249
|
case 4:
|
|
6033
7250
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6034
|
-
msg.
|
|
7251
|
+
msg.setType(value);
|
|
6035
7252
|
break;
|
|
6036
7253
|
case 5:
|
|
6037
7254
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6038
|
-
msg.
|
|
7255
|
+
msg.setName(value);
|
|
6039
7256
|
break;
|
|
6040
7257
|
case 6:
|
|
6041
7258
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6042
|
-
msg.
|
|
7259
|
+
msg.setItemTransactionRef(value);
|
|
6043
7260
|
break;
|
|
6044
7261
|
case 7:
|
|
6045
7262
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6046
|
-
msg.
|
|
7263
|
+
msg.setCode(value);
|
|
6047
7264
|
break;
|
|
6048
7265
|
case 8:
|
|
6049
|
-
var value = /** @type {
|
|
6050
|
-
msg.
|
|
7266
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
7267
|
+
msg.setIsGeneral(value);
|
|
6051
7268
|
break;
|
|
6052
7269
|
case 9:
|
|
6053
7270
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6054
|
-
msg.
|
|
7271
|
+
msg.setProperties(value);
|
|
6055
7272
|
break;
|
|
6056
7273
|
case 10:
|
|
6057
7274
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6058
|
-
msg.
|
|
7275
|
+
msg.setUnitOfMeasure(value);
|
|
6059
7276
|
break;
|
|
6060
7277
|
case 11:
|
|
6061
|
-
var value =
|
|
6062
|
-
|
|
6063
|
-
msg.addFiles(value);
|
|
7278
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7279
|
+
msg.setCurrency(value);
|
|
6064
7280
|
break;
|
|
6065
7281
|
default:
|
|
6066
7282
|
reader.skipField();
|
|
@@ -6075,9 +7291,9 @@ proto.BaseItemTransactionService.deserializeBinaryFromReader = function(msg, rea
|
|
|
6075
7291
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6076
7292
|
* @return {!Uint8Array}
|
|
6077
7293
|
*/
|
|
6078
|
-
proto.
|
|
7294
|
+
proto.BaseItemTransactionPriceCondition.prototype.serializeBinary = function() {
|
|
6079
7295
|
var writer = new jspb.BinaryWriter();
|
|
6080
|
-
proto.
|
|
7296
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter(this, writer);
|
|
6081
7297
|
return writer.getResultBuffer();
|
|
6082
7298
|
};
|
|
6083
7299
|
|
|
@@ -6085,283 +7301,287 @@ proto.BaseItemTransactionService.prototype.serializeBinary = function() {
|
|
|
6085
7301
|
/**
|
|
6086
7302
|
* Serializes the given message to binary data (in protobuf wire
|
|
6087
7303
|
* format), writing to the given BinaryWriter.
|
|
6088
|
-
* @param {!proto.
|
|
7304
|
+
* @param {!proto.BaseItemTransactionPriceCondition} message
|
|
6089
7305
|
* @param {!jspb.BinaryWriter} writer
|
|
6090
7306
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6091
7307
|
*/
|
|
6092
|
-
proto.
|
|
7308
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
6093
7309
|
var f = undefined;
|
|
6094
|
-
f = message.
|
|
7310
|
+
f = message.getAmount();
|
|
7311
|
+
if (f.length > 0) {
|
|
7312
|
+
writer.writeString(
|
|
7313
|
+
1,
|
|
7314
|
+
f
|
|
7315
|
+
);
|
|
7316
|
+
}
|
|
7317
|
+
f = message.getOperator();
|
|
6095
7318
|
if (f.length > 0) {
|
|
6096
7319
|
writer.writeString(
|
|
6097
7320
|
2,
|
|
6098
7321
|
f
|
|
6099
7322
|
);
|
|
6100
7323
|
}
|
|
6101
|
-
f = message.
|
|
7324
|
+
f = message.getDivide();
|
|
6102
7325
|
if (f.length > 0) {
|
|
6103
7326
|
writer.writeString(
|
|
6104
7327
|
3,
|
|
6105
7328
|
f
|
|
6106
7329
|
);
|
|
6107
7330
|
}
|
|
6108
|
-
f = message.
|
|
7331
|
+
f = message.getType();
|
|
6109
7332
|
if (f.length > 0) {
|
|
6110
7333
|
writer.writeString(
|
|
6111
7334
|
4,
|
|
6112
7335
|
f
|
|
6113
7336
|
);
|
|
6114
7337
|
}
|
|
6115
|
-
f = message.
|
|
7338
|
+
f = message.getName();
|
|
6116
7339
|
if (f.length > 0) {
|
|
6117
7340
|
writer.writeString(
|
|
6118
7341
|
5,
|
|
6119
7342
|
f
|
|
6120
7343
|
);
|
|
6121
7344
|
}
|
|
6122
|
-
f = message.
|
|
7345
|
+
f = message.getItemTransactionRef();
|
|
6123
7346
|
if (f.length > 0) {
|
|
6124
7347
|
writer.writeString(
|
|
6125
7348
|
6,
|
|
6126
7349
|
f
|
|
6127
7350
|
);
|
|
6128
7351
|
}
|
|
6129
|
-
f = message.
|
|
7352
|
+
f = message.getCode();
|
|
6130
7353
|
if (f.length > 0) {
|
|
6131
7354
|
writer.writeString(
|
|
6132
7355
|
7,
|
|
6133
7356
|
f
|
|
6134
7357
|
);
|
|
6135
7358
|
}
|
|
6136
|
-
f = message.
|
|
6137
|
-
if (f
|
|
6138
|
-
writer.
|
|
7359
|
+
f = message.getIsGeneral();
|
|
7360
|
+
if (f) {
|
|
7361
|
+
writer.writeBool(
|
|
6139
7362
|
8,
|
|
6140
7363
|
f
|
|
6141
7364
|
);
|
|
6142
7365
|
}
|
|
6143
|
-
f = message.
|
|
7366
|
+
f = message.getProperties();
|
|
6144
7367
|
if (f.length > 0) {
|
|
6145
7368
|
writer.writeString(
|
|
6146
7369
|
9,
|
|
6147
7370
|
f
|
|
6148
7371
|
);
|
|
6149
7372
|
}
|
|
6150
|
-
f = message.
|
|
7373
|
+
f = message.getUnitOfMeasure();
|
|
6151
7374
|
if (f.length > 0) {
|
|
6152
7375
|
writer.writeString(
|
|
6153
7376
|
10,
|
|
6154
7377
|
f
|
|
6155
7378
|
);
|
|
6156
7379
|
}
|
|
6157
|
-
f = message.
|
|
7380
|
+
f = message.getCurrency();
|
|
6158
7381
|
if (f.length > 0) {
|
|
6159
|
-
writer.
|
|
7382
|
+
writer.writeString(
|
|
6160
7383
|
11,
|
|
6161
|
-
f
|
|
6162
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
7384
|
+
f
|
|
6163
7385
|
);
|
|
6164
7386
|
}
|
|
6165
7387
|
};
|
|
6166
7388
|
|
|
6167
7389
|
|
|
6168
7390
|
/**
|
|
6169
|
-
* optional string
|
|
7391
|
+
* optional string amount = 1;
|
|
6170
7392
|
* @return {string}
|
|
6171
7393
|
*/
|
|
6172
|
-
proto.
|
|
7394
|
+
proto.BaseItemTransactionPriceCondition.prototype.getAmount = function() {
|
|
7395
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7396
|
+
};
|
|
7397
|
+
|
|
7398
|
+
|
|
7399
|
+
/**
|
|
7400
|
+
* @param {string} value
|
|
7401
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
7402
|
+
*/
|
|
7403
|
+
proto.BaseItemTransactionPriceCondition.prototype.setAmount = function(value) {
|
|
7404
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7405
|
+
};
|
|
7406
|
+
|
|
7407
|
+
|
|
7408
|
+
/**
|
|
7409
|
+
* optional string operator = 2;
|
|
7410
|
+
* @return {string}
|
|
7411
|
+
*/
|
|
7412
|
+
proto.BaseItemTransactionPriceCondition.prototype.getOperator = function() {
|
|
6173
7413
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6174
7414
|
};
|
|
6175
7415
|
|
|
6176
7416
|
|
|
6177
7417
|
/**
|
|
6178
7418
|
* @param {string} value
|
|
6179
|
-
* @return {!proto.
|
|
7419
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
6180
7420
|
*/
|
|
6181
|
-
proto.
|
|
7421
|
+
proto.BaseItemTransactionPriceCondition.prototype.setOperator = function(value) {
|
|
6182
7422
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6183
7423
|
};
|
|
6184
7424
|
|
|
6185
7425
|
|
|
6186
7426
|
/**
|
|
6187
|
-
* optional string
|
|
7427
|
+
* optional string divide = 3;
|
|
6188
7428
|
* @return {string}
|
|
6189
7429
|
*/
|
|
6190
|
-
proto.
|
|
7430
|
+
proto.BaseItemTransactionPriceCondition.prototype.getDivide = function() {
|
|
6191
7431
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6192
7432
|
};
|
|
6193
7433
|
|
|
6194
7434
|
|
|
6195
7435
|
/**
|
|
6196
7436
|
* @param {string} value
|
|
6197
|
-
* @return {!proto.
|
|
7437
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
6198
7438
|
*/
|
|
6199
|
-
proto.
|
|
7439
|
+
proto.BaseItemTransactionPriceCondition.prototype.setDivide = function(value) {
|
|
6200
7440
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
6201
7441
|
};
|
|
6202
7442
|
|
|
6203
7443
|
|
|
6204
7444
|
/**
|
|
6205
|
-
* optional string
|
|
7445
|
+
* optional string type = 4;
|
|
6206
7446
|
* @return {string}
|
|
6207
7447
|
*/
|
|
6208
|
-
proto.
|
|
7448
|
+
proto.BaseItemTransactionPriceCondition.prototype.getType = function() {
|
|
6209
7449
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
6210
7450
|
};
|
|
6211
7451
|
|
|
6212
7452
|
|
|
6213
7453
|
/**
|
|
6214
7454
|
* @param {string} value
|
|
6215
|
-
* @return {!proto.
|
|
7455
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
6216
7456
|
*/
|
|
6217
|
-
proto.
|
|
7457
|
+
proto.BaseItemTransactionPriceCondition.prototype.setType = function(value) {
|
|
6218
7458
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
6219
7459
|
};
|
|
6220
7460
|
|
|
6221
7461
|
|
|
6222
7462
|
/**
|
|
6223
|
-
* optional string
|
|
7463
|
+
* optional string name = 5;
|
|
6224
7464
|
* @return {string}
|
|
6225
7465
|
*/
|
|
6226
|
-
proto.
|
|
7466
|
+
proto.BaseItemTransactionPriceCondition.prototype.getName = function() {
|
|
6227
7467
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6228
7468
|
};
|
|
6229
7469
|
|
|
6230
7470
|
|
|
6231
7471
|
/**
|
|
6232
7472
|
* @param {string} value
|
|
6233
|
-
* @return {!proto.
|
|
7473
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
6234
7474
|
*/
|
|
6235
|
-
proto.
|
|
7475
|
+
proto.BaseItemTransactionPriceCondition.prototype.setName = function(value) {
|
|
6236
7476
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
6237
7477
|
};
|
|
6238
7478
|
|
|
6239
7479
|
|
|
6240
7480
|
/**
|
|
6241
|
-
* optional string
|
|
7481
|
+
* optional string item_transaction_ref = 6;
|
|
6242
7482
|
* @return {string}
|
|
6243
7483
|
*/
|
|
6244
|
-
proto.
|
|
7484
|
+
proto.BaseItemTransactionPriceCondition.prototype.getItemTransactionRef = function() {
|
|
6245
7485
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
6246
7486
|
};
|
|
6247
7487
|
|
|
6248
7488
|
|
|
6249
7489
|
/**
|
|
6250
7490
|
* @param {string} value
|
|
6251
|
-
* @return {!proto.
|
|
7491
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
6252
7492
|
*/
|
|
6253
|
-
proto.
|
|
7493
|
+
proto.BaseItemTransactionPriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
6254
7494
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
6255
7495
|
};
|
|
6256
7496
|
|
|
6257
7497
|
|
|
6258
7498
|
/**
|
|
6259
|
-
* optional string
|
|
7499
|
+
* optional string code = 7;
|
|
6260
7500
|
* @return {string}
|
|
6261
7501
|
*/
|
|
6262
|
-
proto.
|
|
7502
|
+
proto.BaseItemTransactionPriceCondition.prototype.getCode = function() {
|
|
6263
7503
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
6264
7504
|
};
|
|
6265
7505
|
|
|
6266
7506
|
|
|
6267
7507
|
/**
|
|
6268
7508
|
* @param {string} value
|
|
6269
|
-
* @return {!proto.
|
|
7509
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
6270
7510
|
*/
|
|
6271
|
-
proto.
|
|
7511
|
+
proto.BaseItemTransactionPriceCondition.prototype.setCode = function(value) {
|
|
6272
7512
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
6273
7513
|
};
|
|
6274
7514
|
|
|
6275
7515
|
|
|
6276
7516
|
/**
|
|
6277
|
-
* optional
|
|
6278
|
-
* @return {
|
|
7517
|
+
* optional bool is_general = 8;
|
|
7518
|
+
* @return {boolean}
|
|
6279
7519
|
*/
|
|
6280
|
-
proto.
|
|
6281
|
-
return /** @type {
|
|
7520
|
+
proto.BaseItemTransactionPriceCondition.prototype.getIsGeneral = function() {
|
|
7521
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
6282
7522
|
};
|
|
6283
7523
|
|
|
6284
7524
|
|
|
6285
|
-
/**
|
|
6286
|
-
* @param {
|
|
6287
|
-
* @return {!proto.
|
|
7525
|
+
/**
|
|
7526
|
+
* @param {boolean} value
|
|
7527
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
6288
7528
|
*/
|
|
6289
|
-
proto.
|
|
6290
|
-
return jspb.Message.
|
|
7529
|
+
proto.BaseItemTransactionPriceCondition.prototype.setIsGeneral = function(value) {
|
|
7530
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
6291
7531
|
};
|
|
6292
7532
|
|
|
6293
7533
|
|
|
6294
7534
|
/**
|
|
6295
|
-
* optional string
|
|
7535
|
+
* optional string properties = 9;
|
|
6296
7536
|
* @return {string}
|
|
6297
7537
|
*/
|
|
6298
|
-
proto.
|
|
7538
|
+
proto.BaseItemTransactionPriceCondition.prototype.getProperties = function() {
|
|
6299
7539
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
6300
7540
|
};
|
|
6301
7541
|
|
|
6302
7542
|
|
|
6303
7543
|
/**
|
|
6304
7544
|
* @param {string} value
|
|
6305
|
-
* @return {!proto.
|
|
7545
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
6306
7546
|
*/
|
|
6307
|
-
proto.
|
|
7547
|
+
proto.BaseItemTransactionPriceCondition.prototype.setProperties = function(value) {
|
|
6308
7548
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
6309
7549
|
};
|
|
6310
7550
|
|
|
6311
7551
|
|
|
6312
7552
|
/**
|
|
6313
|
-
* optional string
|
|
7553
|
+
* optional string unit_of_measure = 10;
|
|
6314
7554
|
* @return {string}
|
|
6315
7555
|
*/
|
|
6316
|
-
proto.
|
|
7556
|
+
proto.BaseItemTransactionPriceCondition.prototype.getUnitOfMeasure = function() {
|
|
6317
7557
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
6318
7558
|
};
|
|
6319
7559
|
|
|
6320
7560
|
|
|
6321
7561
|
/**
|
|
6322
7562
|
* @param {string} value
|
|
6323
|
-
* @return {!proto.
|
|
7563
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
6324
7564
|
*/
|
|
6325
|
-
proto.
|
|
7565
|
+
proto.BaseItemTransactionPriceCondition.prototype.setUnitOfMeasure = function(value) {
|
|
6326
7566
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
6327
7567
|
};
|
|
6328
7568
|
|
|
6329
7569
|
|
|
6330
7570
|
/**
|
|
6331
|
-
*
|
|
6332
|
-
* @return {
|
|
6333
|
-
*/
|
|
6334
|
-
proto.BaseItemTransactionService.prototype.getFilesList = function() {
|
|
6335
|
-
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
6336
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 11));
|
|
6337
|
-
};
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
/**
|
|
6341
|
-
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
6342
|
-
* @return {!proto.BaseItemTransactionService} returns this
|
|
6343
|
-
*/
|
|
6344
|
-
proto.BaseItemTransactionService.prototype.setFilesList = function(value) {
|
|
6345
|
-
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
6346
|
-
};
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
/**
|
|
6350
|
-
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
6351
|
-
* @param {number=} opt_index
|
|
6352
|
-
* @return {!proto.FileUploadReferencesReq}
|
|
7571
|
+
* optional string currency = 11;
|
|
7572
|
+
* @return {string}
|
|
6353
7573
|
*/
|
|
6354
|
-
proto.
|
|
6355
|
-
return jspb.Message.
|
|
7574
|
+
proto.BaseItemTransactionPriceCondition.prototype.getCurrency = function() {
|
|
7575
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
6356
7576
|
};
|
|
6357
7577
|
|
|
6358
7578
|
|
|
6359
7579
|
/**
|
|
6360
|
-
*
|
|
6361
|
-
* @return {!proto.
|
|
7580
|
+
* @param {string} value
|
|
7581
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
6362
7582
|
*/
|
|
6363
|
-
proto.
|
|
6364
|
-
return
|
|
7583
|
+
proto.BaseItemTransactionPriceCondition.prototype.setCurrency = function(value) {
|
|
7584
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
6365
7585
|
};
|
|
6366
7586
|
|
|
6367
7587
|
|
|
@@ -6381,8 +7601,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6381
7601
|
* http://goto/soy-param-migration
|
|
6382
7602
|
* @return {!Object}
|
|
6383
7603
|
*/
|
|
6384
|
-
proto.
|
|
6385
|
-
return proto.
|
|
7604
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
7605
|
+
return proto.BaseItemTransactionDetailPriceCondition.toObject(opt_includeInstance, this);
|
|
6386
7606
|
};
|
|
6387
7607
|
|
|
6388
7608
|
|
|
@@ -6391,11 +7611,11 @@ proto.BaseItemTransactionPriceCondition.prototype.toObject = function(opt_includ
|
|
|
6391
7611
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6392
7612
|
* the JSPB instance for transitional soy proto support:
|
|
6393
7613
|
* http://goto/soy-param-migration
|
|
6394
|
-
* @param {!proto.
|
|
7614
|
+
* @param {!proto.BaseItemTransactionDetailPriceCondition} msg The msg instance to transform.
|
|
6395
7615
|
* @return {!Object}
|
|
6396
7616
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6397
7617
|
*/
|
|
6398
|
-
proto.
|
|
7618
|
+
proto.BaseItemTransactionDetailPriceCondition.toObject = function(includeInstance, msg) {
|
|
6399
7619
|
var f, obj = {
|
|
6400
7620
|
amount: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6401
7621
|
operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -6407,7 +7627,8 @@ code: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
|
6407
7627
|
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
6408
7628
|
properties: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
6409
7629
|
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
6410
|
-
currency: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
7630
|
+
currency: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
7631
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
6411
7632
|
};
|
|
6412
7633
|
|
|
6413
7634
|
if (includeInstance) {
|
|
@@ -6421,23 +7642,23 @@ currency: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
|
6421
7642
|
/**
|
|
6422
7643
|
* Deserializes binary data (in protobuf wire format).
|
|
6423
7644
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6424
|
-
* @return {!proto.
|
|
7645
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition}
|
|
6425
7646
|
*/
|
|
6426
|
-
proto.
|
|
7647
|
+
proto.BaseItemTransactionDetailPriceCondition.deserializeBinary = function(bytes) {
|
|
6427
7648
|
var reader = new jspb.BinaryReader(bytes);
|
|
6428
|
-
var msg = new proto.
|
|
6429
|
-
return proto.
|
|
7649
|
+
var msg = new proto.BaseItemTransactionDetailPriceCondition;
|
|
7650
|
+
return proto.BaseItemTransactionDetailPriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
6430
7651
|
};
|
|
6431
7652
|
|
|
6432
7653
|
|
|
6433
7654
|
/**
|
|
6434
7655
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6435
7656
|
* given reader into the given message object.
|
|
6436
|
-
* @param {!proto.
|
|
7657
|
+
* @param {!proto.BaseItemTransactionDetailPriceCondition} msg The message object to deserialize into.
|
|
6437
7658
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6438
|
-
* @return {!proto.
|
|
7659
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition}
|
|
6439
7660
|
*/
|
|
6440
|
-
proto.
|
|
7661
|
+
proto.BaseItemTransactionDetailPriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
6441
7662
|
while (reader.nextField()) {
|
|
6442
7663
|
if (reader.isEndGroup()) {
|
|
6443
7664
|
break;
|
|
@@ -6488,6 +7709,10 @@ proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(m
|
|
|
6488
7709
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6489
7710
|
msg.setCurrency(value);
|
|
6490
7711
|
break;
|
|
7712
|
+
case 20:
|
|
7713
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7714
|
+
msg.setReferencesId(value);
|
|
7715
|
+
break;
|
|
6491
7716
|
default:
|
|
6492
7717
|
reader.skipField();
|
|
6493
7718
|
break;
|
|
@@ -6501,9 +7726,9 @@ proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(m
|
|
|
6501
7726
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6502
7727
|
* @return {!Uint8Array}
|
|
6503
7728
|
*/
|
|
6504
|
-
proto.
|
|
7729
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.serializeBinary = function() {
|
|
6505
7730
|
var writer = new jspb.BinaryWriter();
|
|
6506
|
-
proto.
|
|
7731
|
+
proto.BaseItemTransactionDetailPriceCondition.serializeBinaryToWriter(this, writer);
|
|
6507
7732
|
return writer.getResultBuffer();
|
|
6508
7733
|
};
|
|
6509
7734
|
|
|
@@ -6511,11 +7736,11 @@ proto.BaseItemTransactionPriceCondition.prototype.serializeBinary = function() {
|
|
|
6511
7736
|
/**
|
|
6512
7737
|
* Serializes the given message to binary data (in protobuf wire
|
|
6513
7738
|
* format), writing to the given BinaryWriter.
|
|
6514
|
-
* @param {!proto.
|
|
7739
|
+
* @param {!proto.BaseItemTransactionDetailPriceCondition} message
|
|
6515
7740
|
* @param {!jspb.BinaryWriter} writer
|
|
6516
7741
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6517
7742
|
*/
|
|
6518
|
-
proto.
|
|
7743
|
+
proto.BaseItemTransactionDetailPriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
6519
7744
|
var f = undefined;
|
|
6520
7745
|
f = message.getAmount();
|
|
6521
7746
|
if (f.length > 0) {
|
|
@@ -6594,6 +7819,13 @@ proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(messa
|
|
|
6594
7819
|
f
|
|
6595
7820
|
);
|
|
6596
7821
|
}
|
|
7822
|
+
f = message.getReferencesId();
|
|
7823
|
+
if (f.length > 0) {
|
|
7824
|
+
writer.writeString(
|
|
7825
|
+
20,
|
|
7826
|
+
f
|
|
7827
|
+
);
|
|
7828
|
+
}
|
|
6597
7829
|
};
|
|
6598
7830
|
|
|
6599
7831
|
|
|
@@ -6601,16 +7833,16 @@ proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(messa
|
|
|
6601
7833
|
* optional string amount = 1;
|
|
6602
7834
|
* @return {string}
|
|
6603
7835
|
*/
|
|
6604
|
-
proto.
|
|
7836
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getAmount = function() {
|
|
6605
7837
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6606
7838
|
};
|
|
6607
7839
|
|
|
6608
7840
|
|
|
6609
7841
|
/**
|
|
6610
7842
|
* @param {string} value
|
|
6611
|
-
* @return {!proto.
|
|
7843
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6612
7844
|
*/
|
|
6613
|
-
proto.
|
|
7845
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setAmount = function(value) {
|
|
6614
7846
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6615
7847
|
};
|
|
6616
7848
|
|
|
@@ -6619,16 +7851,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setAmount = function(value) {
|
|
|
6619
7851
|
* optional string operator = 2;
|
|
6620
7852
|
* @return {string}
|
|
6621
7853
|
*/
|
|
6622
|
-
proto.
|
|
7854
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getOperator = function() {
|
|
6623
7855
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6624
7856
|
};
|
|
6625
7857
|
|
|
6626
7858
|
|
|
6627
7859
|
/**
|
|
6628
7860
|
* @param {string} value
|
|
6629
|
-
* @return {!proto.
|
|
7861
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6630
7862
|
*/
|
|
6631
|
-
proto.
|
|
7863
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setOperator = function(value) {
|
|
6632
7864
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6633
7865
|
};
|
|
6634
7866
|
|
|
@@ -6637,16 +7869,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setOperator = function(value)
|
|
|
6637
7869
|
* optional string divide = 3;
|
|
6638
7870
|
* @return {string}
|
|
6639
7871
|
*/
|
|
6640
|
-
proto.
|
|
7872
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getDivide = function() {
|
|
6641
7873
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6642
7874
|
};
|
|
6643
7875
|
|
|
6644
7876
|
|
|
6645
7877
|
/**
|
|
6646
7878
|
* @param {string} value
|
|
6647
|
-
* @return {!proto.
|
|
7879
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6648
7880
|
*/
|
|
6649
|
-
proto.
|
|
7881
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setDivide = function(value) {
|
|
6650
7882
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
6651
7883
|
};
|
|
6652
7884
|
|
|
@@ -6655,16 +7887,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setDivide = function(value) {
|
|
|
6655
7887
|
* optional string type = 4;
|
|
6656
7888
|
* @return {string}
|
|
6657
7889
|
*/
|
|
6658
|
-
proto.
|
|
7890
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getType = function() {
|
|
6659
7891
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
6660
7892
|
};
|
|
6661
7893
|
|
|
6662
7894
|
|
|
6663
7895
|
/**
|
|
6664
7896
|
* @param {string} value
|
|
6665
|
-
* @return {!proto.
|
|
7897
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6666
7898
|
*/
|
|
6667
|
-
proto.
|
|
7899
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setType = function(value) {
|
|
6668
7900
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
6669
7901
|
};
|
|
6670
7902
|
|
|
@@ -6673,16 +7905,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setType = function(value) {
|
|
|
6673
7905
|
* optional string name = 5;
|
|
6674
7906
|
* @return {string}
|
|
6675
7907
|
*/
|
|
6676
|
-
proto.
|
|
7908
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getName = function() {
|
|
6677
7909
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6678
7910
|
};
|
|
6679
7911
|
|
|
6680
7912
|
|
|
6681
7913
|
/**
|
|
6682
7914
|
* @param {string} value
|
|
6683
|
-
* @return {!proto.
|
|
7915
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6684
7916
|
*/
|
|
6685
|
-
proto.
|
|
7917
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setName = function(value) {
|
|
6686
7918
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
6687
7919
|
};
|
|
6688
7920
|
|
|
@@ -6691,16 +7923,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setName = function(value) {
|
|
|
6691
7923
|
* optional string item_transaction_ref = 6;
|
|
6692
7924
|
* @return {string}
|
|
6693
7925
|
*/
|
|
6694
|
-
proto.
|
|
7926
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getItemTransactionRef = function() {
|
|
6695
7927
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
6696
7928
|
};
|
|
6697
7929
|
|
|
6698
7930
|
|
|
6699
7931
|
/**
|
|
6700
7932
|
* @param {string} value
|
|
6701
|
-
* @return {!proto.
|
|
7933
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6702
7934
|
*/
|
|
6703
|
-
proto.
|
|
7935
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
6704
7936
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
6705
7937
|
};
|
|
6706
7938
|
|
|
@@ -6709,16 +7941,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setItemTransactionRef = functi
|
|
|
6709
7941
|
* optional string code = 7;
|
|
6710
7942
|
* @return {string}
|
|
6711
7943
|
*/
|
|
6712
|
-
proto.
|
|
7944
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getCode = function() {
|
|
6713
7945
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
6714
7946
|
};
|
|
6715
7947
|
|
|
6716
7948
|
|
|
6717
7949
|
/**
|
|
6718
7950
|
* @param {string} value
|
|
6719
|
-
* @return {!proto.
|
|
7951
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6720
7952
|
*/
|
|
6721
|
-
proto.
|
|
7953
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setCode = function(value) {
|
|
6722
7954
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
6723
7955
|
};
|
|
6724
7956
|
|
|
@@ -6727,16 +7959,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setCode = function(value) {
|
|
|
6727
7959
|
* optional bool is_general = 8;
|
|
6728
7960
|
* @return {boolean}
|
|
6729
7961
|
*/
|
|
6730
|
-
proto.
|
|
7962
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getIsGeneral = function() {
|
|
6731
7963
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
6732
7964
|
};
|
|
6733
7965
|
|
|
6734
7966
|
|
|
6735
7967
|
/**
|
|
6736
7968
|
* @param {boolean} value
|
|
6737
|
-
* @return {!proto.
|
|
7969
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6738
7970
|
*/
|
|
6739
|
-
proto.
|
|
7971
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setIsGeneral = function(value) {
|
|
6740
7972
|
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
6741
7973
|
};
|
|
6742
7974
|
|
|
@@ -6745,16 +7977,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setIsGeneral = function(value)
|
|
|
6745
7977
|
* optional string properties = 9;
|
|
6746
7978
|
* @return {string}
|
|
6747
7979
|
*/
|
|
6748
|
-
proto.
|
|
7980
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getProperties = function() {
|
|
6749
7981
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
6750
7982
|
};
|
|
6751
7983
|
|
|
6752
7984
|
|
|
6753
7985
|
/**
|
|
6754
7986
|
* @param {string} value
|
|
6755
|
-
* @return {!proto.
|
|
7987
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6756
7988
|
*/
|
|
6757
|
-
proto.
|
|
7989
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setProperties = function(value) {
|
|
6758
7990
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
6759
7991
|
};
|
|
6760
7992
|
|
|
@@ -6763,16 +7995,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setProperties = function(value
|
|
|
6763
7995
|
* optional string unit_of_measure = 10;
|
|
6764
7996
|
* @return {string}
|
|
6765
7997
|
*/
|
|
6766
|
-
proto.
|
|
7998
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getUnitOfMeasure = function() {
|
|
6767
7999
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
6768
8000
|
};
|
|
6769
8001
|
|
|
6770
8002
|
|
|
6771
8003
|
/**
|
|
6772
8004
|
* @param {string} value
|
|
6773
|
-
* @return {!proto.
|
|
8005
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6774
8006
|
*/
|
|
6775
|
-
proto.
|
|
8007
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setUnitOfMeasure = function(value) {
|
|
6776
8008
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
6777
8009
|
};
|
|
6778
8010
|
|
|
@@ -6781,20 +8013,38 @@ proto.BaseItemTransactionPriceCondition.prototype.setUnitOfMeasure = function(va
|
|
|
6781
8013
|
* optional string currency = 11;
|
|
6782
8014
|
* @return {string}
|
|
6783
8015
|
*/
|
|
6784
|
-
proto.
|
|
8016
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getCurrency = function() {
|
|
6785
8017
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
6786
8018
|
};
|
|
6787
8019
|
|
|
6788
8020
|
|
|
6789
8021
|
/**
|
|
6790
8022
|
* @param {string} value
|
|
6791
|
-
* @return {!proto.
|
|
8023
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6792
8024
|
*/
|
|
6793
|
-
proto.
|
|
8025
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setCurrency = function(value) {
|
|
6794
8026
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
6795
8027
|
};
|
|
6796
8028
|
|
|
6797
8029
|
|
|
8030
|
+
/**
|
|
8031
|
+
* optional string references_id = 20;
|
|
8032
|
+
* @return {string}
|
|
8033
|
+
*/
|
|
8034
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getReferencesId = function() {
|
|
8035
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
8036
|
+
};
|
|
8037
|
+
|
|
8038
|
+
|
|
8039
|
+
/**
|
|
8040
|
+
* @param {string} value
|
|
8041
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
8042
|
+
*/
|
|
8043
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setReferencesId = function(value) {
|
|
8044
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
8045
|
+
};
|
|
8046
|
+
|
|
8047
|
+
|
|
6798
8048
|
|
|
6799
8049
|
|
|
6800
8050
|
|
|
@@ -6811,8 +8061,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6811
8061
|
* http://goto/soy-param-migration
|
|
6812
8062
|
* @return {!Object}
|
|
6813
8063
|
*/
|
|
6814
|
-
proto.
|
|
6815
|
-
return proto.
|
|
8064
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
8065
|
+
return proto.BaseItemTransactionServicePriceCondition.toObject(opt_includeInstance, this);
|
|
6816
8066
|
};
|
|
6817
8067
|
|
|
6818
8068
|
|
|
@@ -6821,11 +8071,11 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.toObject = function(opt_
|
|
|
6821
8071
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6822
8072
|
* the JSPB instance for transitional soy proto support:
|
|
6823
8073
|
* http://goto/soy-param-migration
|
|
6824
|
-
* @param {!proto.
|
|
8074
|
+
* @param {!proto.BaseItemTransactionServicePriceCondition} msg The msg instance to transform.
|
|
6825
8075
|
* @return {!Object}
|
|
6826
8076
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6827
8077
|
*/
|
|
6828
|
-
proto.
|
|
8078
|
+
proto.BaseItemTransactionServicePriceCondition.toObject = function(includeInstance, msg) {
|
|
6829
8079
|
var f, obj = {
|
|
6830
8080
|
amount: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6831
8081
|
operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -6837,7 +8087,8 @@ code: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
|
6837
8087
|
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
6838
8088
|
properties: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
6839
8089
|
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
6840
|
-
currency: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
8090
|
+
currency: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
8091
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
6841
8092
|
};
|
|
6842
8093
|
|
|
6843
8094
|
if (includeInstance) {
|
|
@@ -6851,23 +8102,23 @@ currency: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
|
6851
8102
|
/**
|
|
6852
8103
|
* Deserializes binary data (in protobuf wire format).
|
|
6853
8104
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6854
|
-
* @return {!proto.
|
|
8105
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition}
|
|
6855
8106
|
*/
|
|
6856
|
-
proto.
|
|
8107
|
+
proto.BaseItemTransactionServicePriceCondition.deserializeBinary = function(bytes) {
|
|
6857
8108
|
var reader = new jspb.BinaryReader(bytes);
|
|
6858
|
-
var msg = new proto.
|
|
6859
|
-
return proto.
|
|
8109
|
+
var msg = new proto.BaseItemTransactionServicePriceCondition;
|
|
8110
|
+
return proto.BaseItemTransactionServicePriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
6860
8111
|
};
|
|
6861
8112
|
|
|
6862
8113
|
|
|
6863
8114
|
/**
|
|
6864
8115
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6865
8116
|
* given reader into the given message object.
|
|
6866
|
-
* @param {!proto.
|
|
8117
|
+
* @param {!proto.BaseItemTransactionServicePriceCondition} msg The message object to deserialize into.
|
|
6867
8118
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6868
|
-
* @return {!proto.
|
|
8119
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition}
|
|
6869
8120
|
*/
|
|
6870
|
-
proto.
|
|
8121
|
+
proto.BaseItemTransactionServicePriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
6871
8122
|
while (reader.nextField()) {
|
|
6872
8123
|
if (reader.isEndGroup()) {
|
|
6873
8124
|
break;
|
|
@@ -6918,6 +8169,10 @@ proto.BaseItemTransactionDetailPriceCondition.deserializeBinaryFromReader = func
|
|
|
6918
8169
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6919
8170
|
msg.setCurrency(value);
|
|
6920
8171
|
break;
|
|
8172
|
+
case 20:
|
|
8173
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
8174
|
+
msg.setReferencesId(value);
|
|
8175
|
+
break;
|
|
6921
8176
|
default:
|
|
6922
8177
|
reader.skipField();
|
|
6923
8178
|
break;
|
|
@@ -6931,9 +8186,9 @@ proto.BaseItemTransactionDetailPriceCondition.deserializeBinaryFromReader = func
|
|
|
6931
8186
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6932
8187
|
* @return {!Uint8Array}
|
|
6933
8188
|
*/
|
|
6934
|
-
proto.
|
|
8189
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.serializeBinary = function() {
|
|
6935
8190
|
var writer = new jspb.BinaryWriter();
|
|
6936
|
-
proto.
|
|
8191
|
+
proto.BaseItemTransactionServicePriceCondition.serializeBinaryToWriter(this, writer);
|
|
6937
8192
|
return writer.getResultBuffer();
|
|
6938
8193
|
};
|
|
6939
8194
|
|
|
@@ -6941,11 +8196,11 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.serializeBinary = functi
|
|
|
6941
8196
|
/**
|
|
6942
8197
|
* Serializes the given message to binary data (in protobuf wire
|
|
6943
8198
|
* format), writing to the given BinaryWriter.
|
|
6944
|
-
* @param {!proto.
|
|
8199
|
+
* @param {!proto.BaseItemTransactionServicePriceCondition} message
|
|
6945
8200
|
* @param {!jspb.BinaryWriter} writer
|
|
6946
8201
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6947
8202
|
*/
|
|
6948
|
-
proto.
|
|
8203
|
+
proto.BaseItemTransactionServicePriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
6949
8204
|
var f = undefined;
|
|
6950
8205
|
f = message.getAmount();
|
|
6951
8206
|
if (f.length > 0) {
|
|
@@ -7024,6 +8279,13 @@ proto.BaseItemTransactionDetailPriceCondition.serializeBinaryToWriter = function
|
|
|
7024
8279
|
f
|
|
7025
8280
|
);
|
|
7026
8281
|
}
|
|
8282
|
+
f = message.getReferencesId();
|
|
8283
|
+
if (f.length > 0) {
|
|
8284
|
+
writer.writeString(
|
|
8285
|
+
20,
|
|
8286
|
+
f
|
|
8287
|
+
);
|
|
8288
|
+
}
|
|
7027
8289
|
};
|
|
7028
8290
|
|
|
7029
8291
|
|
|
@@ -7031,16 +8293,16 @@ proto.BaseItemTransactionDetailPriceCondition.serializeBinaryToWriter = function
|
|
|
7031
8293
|
* optional string amount = 1;
|
|
7032
8294
|
* @return {string}
|
|
7033
8295
|
*/
|
|
7034
|
-
proto.
|
|
8296
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getAmount = function() {
|
|
7035
8297
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7036
8298
|
};
|
|
7037
8299
|
|
|
7038
8300
|
|
|
7039
8301
|
/**
|
|
7040
8302
|
* @param {string} value
|
|
7041
|
-
* @return {!proto.
|
|
8303
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
7042
8304
|
*/
|
|
7043
|
-
proto.
|
|
8305
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setAmount = function(value) {
|
|
7044
8306
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7045
8307
|
};
|
|
7046
8308
|
|
|
@@ -7049,16 +8311,16 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.setAmount = function(val
|
|
|
7049
8311
|
* optional string operator = 2;
|
|
7050
8312
|
* @return {string}
|
|
7051
8313
|
*/
|
|
7052
|
-
proto.
|
|
8314
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getOperator = function() {
|
|
7053
8315
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7054
8316
|
};
|
|
7055
8317
|
|
|
7056
8318
|
|
|
7057
8319
|
/**
|
|
7058
8320
|
* @param {string} value
|
|
7059
|
-
* @return {!proto.
|
|
8321
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
7060
8322
|
*/
|
|
7061
|
-
proto.
|
|
8323
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setOperator = function(value) {
|
|
7062
8324
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7063
8325
|
};
|
|
7064
8326
|
|
|
@@ -7067,16 +8329,16 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.setOperator = function(v
|
|
|
7067
8329
|
* optional string divide = 3;
|
|
7068
8330
|
* @return {string}
|
|
7069
8331
|
*/
|
|
7070
|
-
proto.
|
|
8332
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getDivide = function() {
|
|
7071
8333
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7072
8334
|
};
|
|
7073
8335
|
|
|
7074
8336
|
|
|
7075
8337
|
/**
|
|
7076
8338
|
* @param {string} value
|
|
7077
|
-
* @return {!proto.
|
|
8339
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
7078
8340
|
*/
|
|
7079
|
-
proto.
|
|
8341
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setDivide = function(value) {
|
|
7080
8342
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7081
8343
|
};
|
|
7082
8344
|
|
|
@@ -7085,16 +8347,16 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.setDivide = function(val
|
|
|
7085
8347
|
* optional string type = 4;
|
|
7086
8348
|
* @return {string}
|
|
7087
8349
|
*/
|
|
7088
|
-
proto.
|
|
8350
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getType = function() {
|
|
7089
8351
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7090
8352
|
};
|
|
7091
8353
|
|
|
7092
8354
|
|
|
7093
8355
|
/**
|
|
7094
8356
|
* @param {string} value
|
|
7095
|
-
* @return {!proto.
|
|
8357
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
7096
8358
|
*/
|
|
7097
|
-
proto.
|
|
8359
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setType = function(value) {
|
|
7098
8360
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
7099
8361
|
};
|
|
7100
8362
|
|
|
@@ -7103,16 +8365,16 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.setType = function(value
|
|
|
7103
8365
|
* optional string name = 5;
|
|
7104
8366
|
* @return {string}
|
|
7105
8367
|
*/
|
|
7106
|
-
proto.
|
|
8368
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getName = function() {
|
|
7107
8369
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
7108
8370
|
};
|
|
7109
8371
|
|
|
7110
8372
|
|
|
7111
8373
|
/**
|
|
7112
8374
|
* @param {string} value
|
|
7113
|
-
* @return {!proto.
|
|
8375
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
7114
8376
|
*/
|
|
7115
|
-
proto.
|
|
8377
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setName = function(value) {
|
|
7116
8378
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
7117
8379
|
};
|
|
7118
8380
|
|
|
@@ -7121,16 +8383,16 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.setName = function(value
|
|
|
7121
8383
|
* optional string item_transaction_ref = 6;
|
|
7122
8384
|
* @return {string}
|
|
7123
8385
|
*/
|
|
7124
|
-
proto.
|
|
8386
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getItemTransactionRef = function() {
|
|
7125
8387
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
7126
8388
|
};
|
|
7127
8389
|
|
|
7128
8390
|
|
|
7129
8391
|
/**
|
|
7130
8392
|
* @param {string} value
|
|
7131
|
-
* @return {!proto.
|
|
8393
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
7132
8394
|
*/
|
|
7133
|
-
proto.
|
|
8395
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
7134
8396
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
7135
8397
|
};
|
|
7136
8398
|
|
|
@@ -7139,16 +8401,16 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.setItemTransactionRef =
|
|
|
7139
8401
|
* optional string code = 7;
|
|
7140
8402
|
* @return {string}
|
|
7141
8403
|
*/
|
|
7142
|
-
proto.
|
|
8404
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getCode = function() {
|
|
7143
8405
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
7144
8406
|
};
|
|
7145
8407
|
|
|
7146
8408
|
|
|
7147
8409
|
/**
|
|
7148
8410
|
* @param {string} value
|
|
7149
|
-
* @return {!proto.
|
|
8411
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
7150
8412
|
*/
|
|
7151
|
-
proto.
|
|
8413
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setCode = function(value) {
|
|
7152
8414
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
7153
8415
|
};
|
|
7154
8416
|
|
|
@@ -7157,16 +8419,16 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.setCode = function(value
|
|
|
7157
8419
|
* optional bool is_general = 8;
|
|
7158
8420
|
* @return {boolean}
|
|
7159
8421
|
*/
|
|
7160
|
-
proto.
|
|
8422
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getIsGeneral = function() {
|
|
7161
8423
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
7162
8424
|
};
|
|
7163
8425
|
|
|
7164
8426
|
|
|
7165
8427
|
/**
|
|
7166
8428
|
* @param {boolean} value
|
|
7167
|
-
* @return {!proto.
|
|
8429
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
7168
8430
|
*/
|
|
7169
|
-
proto.
|
|
8431
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setIsGeneral = function(value) {
|
|
7170
8432
|
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
7171
8433
|
};
|
|
7172
8434
|
|
|
@@ -7175,16 +8437,16 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.setIsGeneral = function(
|
|
|
7175
8437
|
* optional string properties = 9;
|
|
7176
8438
|
* @return {string}
|
|
7177
8439
|
*/
|
|
7178
|
-
proto.
|
|
8440
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getProperties = function() {
|
|
7179
8441
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
7180
8442
|
};
|
|
7181
8443
|
|
|
7182
8444
|
|
|
7183
8445
|
/**
|
|
7184
8446
|
* @param {string} value
|
|
7185
|
-
* @return {!proto.
|
|
8447
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
7186
8448
|
*/
|
|
7187
|
-
proto.
|
|
8449
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setProperties = function(value) {
|
|
7188
8450
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
7189
8451
|
};
|
|
7190
8452
|
|
|
@@ -7193,16 +8455,16 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.setProperties = function
|
|
|
7193
8455
|
* optional string unit_of_measure = 10;
|
|
7194
8456
|
* @return {string}
|
|
7195
8457
|
*/
|
|
7196
|
-
proto.
|
|
8458
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getUnitOfMeasure = function() {
|
|
7197
8459
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
7198
8460
|
};
|
|
7199
8461
|
|
|
7200
8462
|
|
|
7201
8463
|
/**
|
|
7202
8464
|
* @param {string} value
|
|
7203
|
-
* @return {!proto.
|
|
8465
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
7204
8466
|
*/
|
|
7205
|
-
proto.
|
|
8467
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setUnitOfMeasure = function(value) {
|
|
7206
8468
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
7207
8469
|
};
|
|
7208
8470
|
|
|
@@ -7211,18 +8473,36 @@ proto.BaseItemTransactionDetailPriceCondition.prototype.setUnitOfMeasure = funct
|
|
|
7211
8473
|
* optional string currency = 11;
|
|
7212
8474
|
* @return {string}
|
|
7213
8475
|
*/
|
|
7214
|
-
proto.
|
|
8476
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getCurrency = function() {
|
|
7215
8477
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
7216
8478
|
};
|
|
7217
8479
|
|
|
7218
8480
|
|
|
7219
8481
|
/**
|
|
7220
8482
|
* @param {string} value
|
|
7221
|
-
* @return {!proto.
|
|
8483
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
7222
8484
|
*/
|
|
7223
|
-
proto.
|
|
8485
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setCurrency = function(value) {
|
|
7224
8486
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
7225
8487
|
};
|
|
7226
8488
|
|
|
7227
8489
|
|
|
8490
|
+
/**
|
|
8491
|
+
* optional string references_id = 20;
|
|
8492
|
+
* @return {string}
|
|
8493
|
+
*/
|
|
8494
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.getReferencesId = function() {
|
|
8495
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
8496
|
+
};
|
|
8497
|
+
|
|
8498
|
+
|
|
8499
|
+
/**
|
|
8500
|
+
* @param {string} value
|
|
8501
|
+
* @return {!proto.BaseItemTransactionServicePriceCondition} returns this
|
|
8502
|
+
*/
|
|
8503
|
+
proto.BaseItemTransactionServicePriceCondition.prototype.setReferencesId = function(value) {
|
|
8504
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
8505
|
+
};
|
|
8506
|
+
|
|
8507
|
+
|
|
7228
8508
|
goog.object.extend(exports, proto);
|