@aldiokta/protocgen 1.1.48 → 1.1.50
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/bidding/bidding_pb.js +62 -2
- package/prisca/v1/business_fields/business_fields_grpc_pb.js +180 -0
- package/prisca/v1/business_fields/business_fields_pb.js +4372 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +1 -0
- package/prisca/v1/core/auth/auth_pb.js +57 -2
- package/prisca/v1/core/bank/bank_grpc_pb.js +156 -0
- package/prisca/v1/core/bank/bank_pb.js +1988 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +31 -1
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +1783 -593
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +1 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +102 -1
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_grpc_pb.js +180 -0
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +3707 -0
- package/prisca/v1/core/plant/plant_grpc_pb.js +156 -0
- package/prisca/v1/core/plant/plant_pb.js +2078 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
- package/prisca/v1/global/meta/meta_pb.js +452 -0
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +11 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +31 -1
- package/prisca/v1/invoice/invoice_grpc_pb.js +11 -0
- package/prisca/v1/invoice/invoice_pb.js +55 -2
- package/prisca/v1/invoice_type/invoice_type_grpc_pb.js +202 -0
- package/prisca/v1/invoice_type/invoice_type_pb.js +3598 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +66 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +3670 -2242
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +44 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +1802 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +224 -2
|
@@ -21,10 +21,12 @@ var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/em
|
|
|
21
21
|
goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
|
|
22
22
|
goog.exportSymbol('proto.BaseItemTransaction', null, global);
|
|
23
23
|
goog.exportSymbol('proto.BaseItemTransactionDetail', null, global);
|
|
24
|
+
goog.exportSymbol('proto.BaseItemTransactionDetailPriceCondition', null, global);
|
|
24
25
|
goog.exportSymbol('proto.BaseItemTransactionPriceCondition', null, global);
|
|
25
26
|
goog.exportSymbol('proto.BaseItemTransactionService', null, global);
|
|
26
27
|
goog.exportSymbol('proto.ItemTransaction', null, global);
|
|
27
28
|
goog.exportSymbol('proto.ItemTransactionDetail', null, global);
|
|
29
|
+
goog.exportSymbol('proto.ItemTransactionDetailPriceCondition', null, global);
|
|
28
30
|
goog.exportSymbol('proto.ItemTransactionPriceCondition', null, global);
|
|
29
31
|
goog.exportSymbol('proto.ItemTransactionService', null, global);
|
|
30
32
|
/**
|
|
@@ -111,6 +113,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
111
113
|
*/
|
|
112
114
|
proto.ItemTransactionPriceCondition.displayName = 'proto.ItemTransactionPriceCondition';
|
|
113
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* Generated by JsPbCodeGenerator.
|
|
118
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
119
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
120
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
121
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
122
|
+
* valid.
|
|
123
|
+
* @extends {jspb.Message}
|
|
124
|
+
* @constructor
|
|
125
|
+
*/
|
|
126
|
+
proto.ItemTransactionDetailPriceCondition = function(opt_data) {
|
|
127
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
128
|
+
};
|
|
129
|
+
goog.inherits(proto.ItemTransactionDetailPriceCondition, jspb.Message);
|
|
130
|
+
if (goog.DEBUG && !COMPILED) {
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
* @override
|
|
134
|
+
*/
|
|
135
|
+
proto.ItemTransactionDetailPriceCondition.displayName = 'proto.ItemTransactionDetailPriceCondition';
|
|
136
|
+
}
|
|
114
137
|
/**
|
|
115
138
|
* Generated by JsPbCodeGenerator.
|
|
116
139
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -195,6 +218,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
195
218
|
*/
|
|
196
219
|
proto.BaseItemTransactionPriceCondition.displayName = 'proto.BaseItemTransactionPriceCondition';
|
|
197
220
|
}
|
|
221
|
+
/**
|
|
222
|
+
* Generated by JsPbCodeGenerator.
|
|
223
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
224
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
225
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
226
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
227
|
+
* valid.
|
|
228
|
+
* @extends {jspb.Message}
|
|
229
|
+
* @constructor
|
|
230
|
+
*/
|
|
231
|
+
proto.BaseItemTransactionDetailPriceCondition = function(opt_data) {
|
|
232
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
233
|
+
};
|
|
234
|
+
goog.inherits(proto.BaseItemTransactionDetailPriceCondition, jspb.Message);
|
|
235
|
+
if (goog.DEBUG && !COMPILED) {
|
|
236
|
+
/**
|
|
237
|
+
* @public
|
|
238
|
+
* @override
|
|
239
|
+
*/
|
|
240
|
+
proto.BaseItemTransactionDetailPriceCondition.displayName = 'proto.BaseItemTransactionDetailPriceCondition';
|
|
241
|
+
}
|
|
198
242
|
|
|
199
243
|
/**
|
|
200
244
|
* List of repeated fields within this message type.
|
|
@@ -1732,7 +1776,7 @@ proto.ItemTransaction.prototype.hasUpdatedByEmployee = function() {
|
|
|
1732
1776
|
* @private {!Array<number>}
|
|
1733
1777
|
* @const
|
|
1734
1778
|
*/
|
|
1735
|
-
proto.ItemTransactionDetail.repeatedFields_ = [22];
|
|
1779
|
+
proto.ItemTransactionDetail.repeatedFields_ = [22,23];
|
|
1736
1780
|
|
|
1737
1781
|
|
|
1738
1782
|
|
|
@@ -1787,7 +1831,11 @@ serviceNo: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
|
1787
1831
|
serviceDescription: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
1788
1832
|
amountPrice: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
1789
1833
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
1790
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
1834
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
1835
|
+
itemTransactionDetailPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionDetailPriceConditionList(),
|
|
1836
|
+
proto.ItemTransactionDetailPriceCondition.toObject, includeInstance),
|
|
1837
|
+
previousReferences: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
1838
|
+
remainingQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0)
|
|
1791
1839
|
};
|
|
1792
1840
|
|
|
1793
1841
|
if (includeInstance) {
|
|
@@ -1913,6 +1961,19 @@ proto.ItemTransactionDetail.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1913
1961
|
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
1914
1962
|
msg.addFiles(value);
|
|
1915
1963
|
break;
|
|
1964
|
+
case 23:
|
|
1965
|
+
var value = new proto.ItemTransactionDetailPriceCondition;
|
|
1966
|
+
reader.readMessage(value,proto.ItemTransactionDetailPriceCondition.deserializeBinaryFromReader);
|
|
1967
|
+
msg.addItemTransactionDetailPriceCondition(value);
|
|
1968
|
+
break;
|
|
1969
|
+
case 24:
|
|
1970
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1971
|
+
msg.setPreviousReferences(value);
|
|
1972
|
+
break;
|
|
1973
|
+
case 25:
|
|
1974
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1975
|
+
msg.setRemainingQuantity(value);
|
|
1976
|
+
break;
|
|
1916
1977
|
default:
|
|
1917
1978
|
reader.skipField();
|
|
1918
1979
|
break;
|
|
@@ -2097,6 +2158,28 @@ proto.ItemTransactionDetail.serializeBinaryToWriter = function(message, writer)
|
|
|
2097
2158
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
2098
2159
|
);
|
|
2099
2160
|
}
|
|
2161
|
+
f = message.getItemTransactionDetailPriceConditionList();
|
|
2162
|
+
if (f.length > 0) {
|
|
2163
|
+
writer.writeRepeatedMessage(
|
|
2164
|
+
23,
|
|
2165
|
+
f,
|
|
2166
|
+
proto.ItemTransactionDetailPriceCondition.serializeBinaryToWriter
|
|
2167
|
+
);
|
|
2168
|
+
}
|
|
2169
|
+
f = message.getPreviousReferences();
|
|
2170
|
+
if (f.length > 0) {
|
|
2171
|
+
writer.writeString(
|
|
2172
|
+
24,
|
|
2173
|
+
f
|
|
2174
|
+
);
|
|
2175
|
+
}
|
|
2176
|
+
f = message.getRemainingQuantity();
|
|
2177
|
+
if (f !== 0.0) {
|
|
2178
|
+
writer.writeDouble(
|
|
2179
|
+
25,
|
|
2180
|
+
f
|
|
2181
|
+
);
|
|
2182
|
+
}
|
|
2100
2183
|
};
|
|
2101
2184
|
|
|
2102
2185
|
|
|
@@ -2516,6 +2599,80 @@ proto.ItemTransactionDetail.prototype.clearFilesList = function() {
|
|
|
2516
2599
|
};
|
|
2517
2600
|
|
|
2518
2601
|
|
|
2602
|
+
/**
|
|
2603
|
+
* repeated ItemTransactionDetailPriceCondition item_transaction_detail_price_condition = 23;
|
|
2604
|
+
* @return {!Array<!proto.ItemTransactionDetailPriceCondition>}
|
|
2605
|
+
*/
|
|
2606
|
+
proto.ItemTransactionDetail.prototype.getItemTransactionDetailPriceConditionList = function() {
|
|
2607
|
+
return /** @type{!Array<!proto.ItemTransactionDetailPriceCondition>} */ (
|
|
2608
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ItemTransactionDetailPriceCondition, 23));
|
|
2609
|
+
};
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* @param {!Array<!proto.ItemTransactionDetailPriceCondition>} value
|
|
2614
|
+
* @return {!proto.ItemTransactionDetail} returns this
|
|
2615
|
+
*/
|
|
2616
|
+
proto.ItemTransactionDetail.prototype.setItemTransactionDetailPriceConditionList = function(value) {
|
|
2617
|
+
return jspb.Message.setRepeatedWrapperField(this, 23, value);
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* @param {!proto.ItemTransactionDetailPriceCondition=} opt_value
|
|
2623
|
+
* @param {number=} opt_index
|
|
2624
|
+
* @return {!proto.ItemTransactionDetailPriceCondition}
|
|
2625
|
+
*/
|
|
2626
|
+
proto.ItemTransactionDetail.prototype.addItemTransactionDetailPriceCondition = function(opt_value, opt_index) {
|
|
2627
|
+
return jspb.Message.addToRepeatedWrapperField(this, 23, opt_value, proto.ItemTransactionDetailPriceCondition, opt_index);
|
|
2628
|
+
};
|
|
2629
|
+
|
|
2630
|
+
|
|
2631
|
+
/**
|
|
2632
|
+
* Clears the list making it empty but non-null.
|
|
2633
|
+
* @return {!proto.ItemTransactionDetail} returns this
|
|
2634
|
+
*/
|
|
2635
|
+
proto.ItemTransactionDetail.prototype.clearItemTransactionDetailPriceConditionList = function() {
|
|
2636
|
+
return this.setItemTransactionDetailPriceConditionList([]);
|
|
2637
|
+
};
|
|
2638
|
+
|
|
2639
|
+
|
|
2640
|
+
/**
|
|
2641
|
+
* optional string previous_references = 24;
|
|
2642
|
+
* @return {string}
|
|
2643
|
+
*/
|
|
2644
|
+
proto.ItemTransactionDetail.prototype.getPreviousReferences = function() {
|
|
2645
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
2646
|
+
};
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
/**
|
|
2650
|
+
* @param {string} value
|
|
2651
|
+
* @return {!proto.ItemTransactionDetail} returns this
|
|
2652
|
+
*/
|
|
2653
|
+
proto.ItemTransactionDetail.prototype.setPreviousReferences = function(value) {
|
|
2654
|
+
return jspb.Message.setProto3StringField(this, 24, value);
|
|
2655
|
+
};
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
/**
|
|
2659
|
+
* optional double remaining_quantity = 25;
|
|
2660
|
+
* @return {number}
|
|
2661
|
+
*/
|
|
2662
|
+
proto.ItemTransactionDetail.prototype.getRemainingQuantity = function() {
|
|
2663
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 25, 0.0));
|
|
2664
|
+
};
|
|
2665
|
+
|
|
2666
|
+
|
|
2667
|
+
/**
|
|
2668
|
+
* @param {number} value
|
|
2669
|
+
* @return {!proto.ItemTransactionDetail} returns this
|
|
2670
|
+
*/
|
|
2671
|
+
proto.ItemTransactionDetail.prototype.setRemainingQuantity = function(value) {
|
|
2672
|
+
return jspb.Message.setProto3FloatField(this, 25, value);
|
|
2673
|
+
};
|
|
2674
|
+
|
|
2675
|
+
|
|
2519
2676
|
|
|
2520
2677
|
/**
|
|
2521
2678
|
* List of repeated fields within this message type.
|
|
@@ -3527,13 +3684,6 @@ proto.ItemTransactionPriceCondition.prototype.setCurrency = function(value) {
|
|
|
3527
3684
|
|
|
3528
3685
|
|
|
3529
3686
|
|
|
3530
|
-
/**
|
|
3531
|
-
* List of repeated fields within this message type.
|
|
3532
|
-
* @private {!Array<number>}
|
|
3533
|
-
* @const
|
|
3534
|
-
*/
|
|
3535
|
-
proto.BaseItemTransaction.repeatedFields_ = [13,14,17,21];
|
|
3536
|
-
|
|
3537
3687
|
|
|
3538
3688
|
|
|
3539
3689
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3549,8 +3699,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3549
3699
|
* http://goto/soy-param-migration
|
|
3550
3700
|
* @return {!Object}
|
|
3551
3701
|
*/
|
|
3552
|
-
proto.
|
|
3553
|
-
return proto.
|
|
3702
|
+
proto.ItemTransactionDetailPriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
3703
|
+
return proto.ItemTransactionDetailPriceCondition.toObject(opt_includeInstance, this);
|
|
3554
3704
|
};
|
|
3555
3705
|
|
|
3556
3706
|
|
|
@@ -3559,42 +3709,27 @@ proto.BaseItemTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
|
3559
3709
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3560
3710
|
* the JSPB instance for transitional soy proto support:
|
|
3561
3711
|
* http://goto/soy-param-migration
|
|
3562
|
-
* @param {!proto.
|
|
3712
|
+
* @param {!proto.ItemTransactionDetailPriceCondition} msg The msg instance to transform.
|
|
3563
3713
|
* @return {!Object}
|
|
3564
3714
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3565
3715
|
*/
|
|
3566
|
-
proto.
|
|
3716
|
+
proto.ItemTransactionDetailPriceCondition.toObject = function(includeInstance, msg) {
|
|
3567
3717
|
var f, obj = {
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
proto.BaseItemTransactionPriceCondition.toObject, includeInstance),
|
|
3584
|
-
previousReferences: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3585
|
-
previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
3586
|
-
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
3587
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
3588
|
-
currency: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
3589
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
3590
|
-
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
3591
|
-
itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
|
|
3592
|
-
proto.BaseItemTransactionService.toObject, includeInstance),
|
|
3593
|
-
purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
3594
|
-
purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
3595
|
-
includeVat: jspb.Message.getBooleanFieldWithDefault(msg, 34, false),
|
|
3596
|
-
incomeTax: jspb.Message.getFloatingPointFieldWithDefault(msg, 35, 0.0),
|
|
3597
|
-
priceBeforeTax: jspb.Message.getFieldWithDefault(msg, 36, "")
|
|
3718
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3719
|
+
amount: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3720
|
+
operator: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3721
|
+
divide: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3722
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3723
|
+
name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3724
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3725
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3726
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3727
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
3728
|
+
code: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
3729
|
+
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
3730
|
+
properties: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
3731
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
3732
|
+
currency: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
3598
3733
|
};
|
|
3599
3734
|
|
|
3600
3735
|
if (includeInstance) {
|
|
@@ -3608,23 +3743,23 @@ priceBeforeTax: jspb.Message.getFieldWithDefault(msg, 36, "")
|
|
|
3608
3743
|
/**
|
|
3609
3744
|
* Deserializes binary data (in protobuf wire format).
|
|
3610
3745
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3611
|
-
* @return {!proto.
|
|
3746
|
+
* @return {!proto.ItemTransactionDetailPriceCondition}
|
|
3612
3747
|
*/
|
|
3613
|
-
proto.
|
|
3748
|
+
proto.ItemTransactionDetailPriceCondition.deserializeBinary = function(bytes) {
|
|
3614
3749
|
var reader = new jspb.BinaryReader(bytes);
|
|
3615
|
-
var msg = new proto.
|
|
3616
|
-
return proto.
|
|
3750
|
+
var msg = new proto.ItemTransactionDetailPriceCondition;
|
|
3751
|
+
return proto.ItemTransactionDetailPriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
3617
3752
|
};
|
|
3618
3753
|
|
|
3619
3754
|
|
|
3620
3755
|
/**
|
|
3621
3756
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3622
3757
|
* given reader into the given message object.
|
|
3623
|
-
* @param {!proto.
|
|
3758
|
+
* @param {!proto.ItemTransactionDetailPriceCondition} msg The message object to deserialize into.
|
|
3624
3759
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3625
|
-
* @return {!proto.
|
|
3760
|
+
* @return {!proto.ItemTransactionDetailPriceCondition}
|
|
3626
3761
|
*/
|
|
3627
|
-
proto.
|
|
3762
|
+
proto.ItemTransactionDetailPriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
3628
3763
|
while (reader.nextField()) {
|
|
3629
3764
|
if (reader.isEndGroup()) {
|
|
3630
3765
|
break;
|
|
@@ -3632,115 +3767,67 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3632
3767
|
var field = reader.getFieldNumber();
|
|
3633
3768
|
switch (field) {
|
|
3634
3769
|
case 1:
|
|
3635
|
-
var value = /** @type {
|
|
3636
|
-
msg.
|
|
3770
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3771
|
+
msg.setId(value);
|
|
3637
3772
|
break;
|
|
3638
3773
|
case 2:
|
|
3639
3774
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3640
|
-
msg.
|
|
3775
|
+
msg.setAmount(value);
|
|
3641
3776
|
break;
|
|
3642
3777
|
case 3:
|
|
3643
3778
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3644
|
-
msg.
|
|
3779
|
+
msg.setOperator(value);
|
|
3645
3780
|
break;
|
|
3646
3781
|
case 4:
|
|
3647
3782
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3648
|
-
msg.
|
|
3783
|
+
msg.setDivide(value);
|
|
3649
3784
|
break;
|
|
3650
3785
|
case 5:
|
|
3651
3786
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3652
|
-
msg.
|
|
3787
|
+
msg.setType(value);
|
|
3653
3788
|
break;
|
|
3654
3789
|
case 6:
|
|
3655
3790
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3656
|
-
msg.
|
|
3791
|
+
msg.setName(value);
|
|
3657
3792
|
break;
|
|
3658
3793
|
case 7:
|
|
3659
3794
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3660
|
-
msg.
|
|
3795
|
+
msg.setItemTransactionRef(value);
|
|
3661
3796
|
break;
|
|
3662
3797
|
case 8:
|
|
3663
3798
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3664
|
-
msg.
|
|
3799
|
+
msg.setReferencesId(value);
|
|
3665
3800
|
break;
|
|
3666
3801
|
case 9:
|
|
3667
3802
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3668
|
-
msg.
|
|
3803
|
+
msg.setCreatedAt(value);
|
|
3669
3804
|
break;
|
|
3670
3805
|
case 10:
|
|
3671
3806
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3672
|
-
msg.
|
|
3807
|
+
msg.setUpdatedAt(value);
|
|
3673
3808
|
break;
|
|
3674
3809
|
case 11:
|
|
3675
3810
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3676
|
-
msg.
|
|
3811
|
+
msg.setCode(value);
|
|
3677
3812
|
break;
|
|
3678
3813
|
case 12:
|
|
3679
|
-
var value = /** @type {
|
|
3680
|
-
msg.
|
|
3814
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3815
|
+
msg.setIsGeneral(value);
|
|
3681
3816
|
break;
|
|
3682
3817
|
case 13:
|
|
3683
|
-
var value = new proto.BaseItemTransactionDetail;
|
|
3684
|
-
reader.readMessage(value,proto.BaseItemTransactionDetail.deserializeBinaryFromReader);
|
|
3685
|
-
msg.addItemTransactionDetail(value);
|
|
3686
|
-
break;
|
|
3687
|
-
case 14:
|
|
3688
|
-
var value = new proto.BaseItemTransactionPriceCondition;
|
|
3689
|
-
reader.readMessage(value,proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader);
|
|
3690
|
-
msg.addItemTransactionPriceCondition(value);
|
|
3691
|
-
break;
|
|
3692
|
-
case 15:
|
|
3693
3818
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3694
|
-
msg.
|
|
3819
|
+
msg.setProperties(value);
|
|
3695
3820
|
break;
|
|
3696
|
-
case
|
|
3821
|
+
case 14:
|
|
3697
3822
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3698
|
-
msg.
|
|
3699
|
-
break;
|
|
3700
|
-
case 17:
|
|
3701
|
-
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
3702
|
-
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
3703
|
-
msg.addFiles(value);
|
|
3823
|
+
msg.setUnitOfMeasure(value);
|
|
3704
3824
|
break;
|
|
3705
|
-
case
|
|
3825
|
+
case 15:
|
|
3706
3826
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3707
3827
|
msg.setCurrency(value);
|
|
3708
3828
|
break;
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
msg.setReferencesId(value);
|
|
3712
|
-
break;
|
|
3713
|
-
case 20:
|
|
3714
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3715
|
-
msg.setPurchaseRequisitionTransactionNumber(value);
|
|
3716
|
-
break;
|
|
3717
|
-
case 21:
|
|
3718
|
-
var value = new proto.BaseItemTransactionService;
|
|
3719
|
-
reader.readMessage(value,proto.BaseItemTransactionService.deserializeBinaryFromReader);
|
|
3720
|
-
msg.addItemTransactionService(value);
|
|
3721
|
-
break;
|
|
3722
|
-
case 22:
|
|
3723
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3724
|
-
msg.setPurchaseRequisitionQuantity(value);
|
|
3725
|
-
break;
|
|
3726
|
-
case 23:
|
|
3727
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3728
|
-
msg.setPurchaseRequisitionPrice(value);
|
|
3729
|
-
break;
|
|
3730
|
-
case 34:
|
|
3731
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
3732
|
-
msg.setIncludeVat(value);
|
|
3733
|
-
break;
|
|
3734
|
-
case 35:
|
|
3735
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
3736
|
-
msg.setIncomeTax(value);
|
|
3737
|
-
break;
|
|
3738
|
-
case 36:
|
|
3739
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3740
|
-
msg.setPriceBeforeTax(value);
|
|
3741
|
-
break;
|
|
3742
|
-
default:
|
|
3743
|
-
reader.skipField();
|
|
3829
|
+
default:
|
|
3830
|
+
reader.skipField();
|
|
3744
3831
|
break;
|
|
3745
3832
|
}
|
|
3746
3833
|
}
|
|
@@ -3752,9 +3839,9 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3752
3839
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3753
3840
|
* @return {!Uint8Array}
|
|
3754
3841
|
*/
|
|
3755
|
-
proto.
|
|
3842
|
+
proto.ItemTransactionDetailPriceCondition.prototype.serializeBinary = function() {
|
|
3756
3843
|
var writer = new jspb.BinaryWriter();
|
|
3757
|
-
proto.
|
|
3844
|
+
proto.ItemTransactionDetailPriceCondition.serializeBinaryToWriter(this, writer);
|
|
3758
3845
|
return writer.getResultBuffer();
|
|
3759
3846
|
};
|
|
3760
3847
|
|
|
@@ -3762,195 +3849,114 @@ proto.BaseItemTransaction.prototype.serializeBinary = function() {
|
|
|
3762
3849
|
/**
|
|
3763
3850
|
* Serializes the given message to binary data (in protobuf wire
|
|
3764
3851
|
* format), writing to the given BinaryWriter.
|
|
3765
|
-
* @param {!proto.
|
|
3852
|
+
* @param {!proto.ItemTransactionDetailPriceCondition} message
|
|
3766
3853
|
* @param {!jspb.BinaryWriter} writer
|
|
3767
3854
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3768
3855
|
*/
|
|
3769
|
-
proto.
|
|
3856
|
+
proto.ItemTransactionDetailPriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
3770
3857
|
var f = undefined;
|
|
3771
|
-
f = message.
|
|
3772
|
-
if (f
|
|
3773
|
-
writer.
|
|
3858
|
+
f = message.getId();
|
|
3859
|
+
if (f !== 0) {
|
|
3860
|
+
writer.writeInt64(
|
|
3774
3861
|
1,
|
|
3775
3862
|
f
|
|
3776
3863
|
);
|
|
3777
3864
|
}
|
|
3778
|
-
f = message.
|
|
3865
|
+
f = message.getAmount();
|
|
3779
3866
|
if (f.length > 0) {
|
|
3780
3867
|
writer.writeString(
|
|
3781
3868
|
2,
|
|
3782
3869
|
f
|
|
3783
3870
|
);
|
|
3784
3871
|
}
|
|
3785
|
-
f = message.
|
|
3872
|
+
f = message.getOperator();
|
|
3786
3873
|
if (f.length > 0) {
|
|
3787
3874
|
writer.writeString(
|
|
3788
3875
|
3,
|
|
3789
3876
|
f
|
|
3790
3877
|
);
|
|
3791
3878
|
}
|
|
3792
|
-
f = message.
|
|
3879
|
+
f = message.getDivide();
|
|
3793
3880
|
if (f.length > 0) {
|
|
3794
3881
|
writer.writeString(
|
|
3795
3882
|
4,
|
|
3796
3883
|
f
|
|
3797
3884
|
);
|
|
3798
3885
|
}
|
|
3799
|
-
f = message.
|
|
3886
|
+
f = message.getType();
|
|
3800
3887
|
if (f.length > 0) {
|
|
3801
3888
|
writer.writeString(
|
|
3802
3889
|
5,
|
|
3803
3890
|
f
|
|
3804
3891
|
);
|
|
3805
3892
|
}
|
|
3806
|
-
f = message.
|
|
3893
|
+
f = message.getName();
|
|
3807
3894
|
if (f.length > 0) {
|
|
3808
3895
|
writer.writeString(
|
|
3809
3896
|
6,
|
|
3810
3897
|
f
|
|
3811
3898
|
);
|
|
3812
3899
|
}
|
|
3813
|
-
f = message.
|
|
3900
|
+
f = message.getItemTransactionRef();
|
|
3814
3901
|
if (f.length > 0) {
|
|
3815
3902
|
writer.writeString(
|
|
3816
3903
|
7,
|
|
3817
3904
|
f
|
|
3818
3905
|
);
|
|
3819
3906
|
}
|
|
3820
|
-
f = message.
|
|
3907
|
+
f = message.getReferencesId();
|
|
3821
3908
|
if (f.length > 0) {
|
|
3822
3909
|
writer.writeString(
|
|
3823
3910
|
8,
|
|
3824
3911
|
f
|
|
3825
3912
|
);
|
|
3826
3913
|
}
|
|
3827
|
-
f = message.
|
|
3914
|
+
f = message.getCreatedAt();
|
|
3828
3915
|
if (f.length > 0) {
|
|
3829
3916
|
writer.writeString(
|
|
3830
3917
|
9,
|
|
3831
3918
|
f
|
|
3832
3919
|
);
|
|
3833
3920
|
}
|
|
3834
|
-
f = message.
|
|
3921
|
+
f = message.getUpdatedAt();
|
|
3835
3922
|
if (f.length > 0) {
|
|
3836
3923
|
writer.writeString(
|
|
3837
3924
|
10,
|
|
3838
3925
|
f
|
|
3839
3926
|
);
|
|
3840
3927
|
}
|
|
3841
|
-
f = message.
|
|
3928
|
+
f = message.getCode();
|
|
3842
3929
|
if (f.length > 0) {
|
|
3843
3930
|
writer.writeString(
|
|
3844
3931
|
11,
|
|
3845
3932
|
f
|
|
3846
3933
|
);
|
|
3847
3934
|
}
|
|
3848
|
-
f = message.
|
|
3849
|
-
if (f
|
|
3850
|
-
writer.
|
|
3935
|
+
f = message.getIsGeneral();
|
|
3936
|
+
if (f) {
|
|
3937
|
+
writer.writeBool(
|
|
3851
3938
|
12,
|
|
3852
3939
|
f
|
|
3853
3940
|
);
|
|
3854
3941
|
}
|
|
3855
|
-
f = message.
|
|
3856
|
-
if (f.length > 0) {
|
|
3857
|
-
writer.writeRepeatedMessage(
|
|
3858
|
-
13,
|
|
3859
|
-
f,
|
|
3860
|
-
proto.BaseItemTransactionDetail.serializeBinaryToWriter
|
|
3861
|
-
);
|
|
3862
|
-
}
|
|
3863
|
-
f = message.getItemTransactionPriceConditionList();
|
|
3864
|
-
if (f.length > 0) {
|
|
3865
|
-
writer.writeRepeatedMessage(
|
|
3866
|
-
14,
|
|
3867
|
-
f,
|
|
3868
|
-
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter
|
|
3869
|
-
);
|
|
3870
|
-
}
|
|
3871
|
-
f = message.getPreviousReferences();
|
|
3942
|
+
f = message.getProperties();
|
|
3872
3943
|
if (f.length > 0) {
|
|
3873
3944
|
writer.writeString(
|
|
3874
|
-
|
|
3945
|
+
13,
|
|
3875
3946
|
f
|
|
3876
3947
|
);
|
|
3877
3948
|
}
|
|
3878
|
-
f = message.
|
|
3949
|
+
f = message.getUnitOfMeasure();
|
|
3879
3950
|
if (f.length > 0) {
|
|
3880
3951
|
writer.writeString(
|
|
3881
|
-
|
|
3952
|
+
14,
|
|
3882
3953
|
f
|
|
3883
3954
|
);
|
|
3884
3955
|
}
|
|
3885
|
-
f = message.getFilesList();
|
|
3886
|
-
if (f.length > 0) {
|
|
3887
|
-
writer.writeRepeatedMessage(
|
|
3888
|
-
17,
|
|
3889
|
-
f,
|
|
3890
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
3891
|
-
);
|
|
3892
|
-
}
|
|
3893
3956
|
f = message.getCurrency();
|
|
3894
3957
|
if (f.length > 0) {
|
|
3895
3958
|
writer.writeString(
|
|
3896
|
-
|
|
3897
|
-
f
|
|
3898
|
-
);
|
|
3899
|
-
}
|
|
3900
|
-
f = message.getReferencesId();
|
|
3901
|
-
if (f.length > 0) {
|
|
3902
|
-
writer.writeString(
|
|
3903
|
-
19,
|
|
3904
|
-
f
|
|
3905
|
-
);
|
|
3906
|
-
}
|
|
3907
|
-
f = message.getPurchaseRequisitionTransactionNumber();
|
|
3908
|
-
if (f.length > 0) {
|
|
3909
|
-
writer.writeString(
|
|
3910
|
-
20,
|
|
3911
|
-
f
|
|
3912
|
-
);
|
|
3913
|
-
}
|
|
3914
|
-
f = message.getItemTransactionServiceList();
|
|
3915
|
-
if (f.length > 0) {
|
|
3916
|
-
writer.writeRepeatedMessage(
|
|
3917
|
-
21,
|
|
3918
|
-
f,
|
|
3919
|
-
proto.BaseItemTransactionService.serializeBinaryToWriter
|
|
3920
|
-
);
|
|
3921
|
-
}
|
|
3922
|
-
f = message.getPurchaseRequisitionQuantity();
|
|
3923
|
-
if (f.length > 0) {
|
|
3924
|
-
writer.writeString(
|
|
3925
|
-
22,
|
|
3926
|
-
f
|
|
3927
|
-
);
|
|
3928
|
-
}
|
|
3929
|
-
f = message.getPurchaseRequisitionPrice();
|
|
3930
|
-
if (f.length > 0) {
|
|
3931
|
-
writer.writeString(
|
|
3932
|
-
23,
|
|
3933
|
-
f
|
|
3934
|
-
);
|
|
3935
|
-
}
|
|
3936
|
-
f = message.getIncludeVat();
|
|
3937
|
-
if (f) {
|
|
3938
|
-
writer.writeBool(
|
|
3939
|
-
34,
|
|
3940
|
-
f
|
|
3941
|
-
);
|
|
3942
|
-
}
|
|
3943
|
-
f = message.getIncomeTax();
|
|
3944
|
-
if (f !== 0.0) {
|
|
3945
|
-
writer.writeFloat(
|
|
3946
|
-
35,
|
|
3947
|
-
f
|
|
3948
|
-
);
|
|
3949
|
-
}
|
|
3950
|
-
f = message.getPriceBeforeTax();
|
|
3951
|
-
if (f.length > 0) {
|
|
3952
|
-
writer.writeString(
|
|
3953
|
-
36,
|
|
3959
|
+
15,
|
|
3954
3960
|
f
|
|
3955
3961
|
);
|
|
3956
3962
|
}
|
|
@@ -3958,265 +3964,966 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
3958
3964
|
|
|
3959
3965
|
|
|
3960
3966
|
/**
|
|
3961
|
-
* optional
|
|
3962
|
-
* @return {
|
|
3967
|
+
* optional int64 id = 1;
|
|
3968
|
+
* @return {number}
|
|
3963
3969
|
*/
|
|
3964
|
-
proto.
|
|
3965
|
-
return /** @type {
|
|
3970
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getId = function() {
|
|
3971
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3966
3972
|
};
|
|
3967
3973
|
|
|
3968
3974
|
|
|
3969
3975
|
/**
|
|
3970
|
-
* @param {
|
|
3971
|
-
* @return {!proto.
|
|
3976
|
+
* @param {number} value
|
|
3977
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
3972
3978
|
*/
|
|
3973
|
-
proto.
|
|
3974
|
-
return jspb.Message.
|
|
3979
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setId = function(value) {
|
|
3980
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3975
3981
|
};
|
|
3976
3982
|
|
|
3977
3983
|
|
|
3978
3984
|
/**
|
|
3979
|
-
* optional string
|
|
3985
|
+
* optional string amount = 2;
|
|
3980
3986
|
* @return {string}
|
|
3981
3987
|
*/
|
|
3982
|
-
proto.
|
|
3988
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getAmount = function() {
|
|
3983
3989
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3984
3990
|
};
|
|
3985
3991
|
|
|
3986
3992
|
|
|
3987
3993
|
/**
|
|
3988
3994
|
* @param {string} value
|
|
3989
|
-
* @return {!proto.
|
|
3995
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
3990
3996
|
*/
|
|
3991
|
-
proto.
|
|
3997
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setAmount = function(value) {
|
|
3992
3998
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3993
3999
|
};
|
|
3994
4000
|
|
|
3995
4001
|
|
|
3996
4002
|
/**
|
|
3997
|
-
* optional string
|
|
4003
|
+
* optional string operator = 3;
|
|
3998
4004
|
* @return {string}
|
|
3999
4005
|
*/
|
|
4000
|
-
proto.
|
|
4006
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getOperator = function() {
|
|
4001
4007
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4002
4008
|
};
|
|
4003
4009
|
|
|
4004
4010
|
|
|
4005
4011
|
/**
|
|
4006
4012
|
* @param {string} value
|
|
4007
|
-
* @return {!proto.
|
|
4013
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4008
4014
|
*/
|
|
4009
|
-
proto.
|
|
4015
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setOperator = function(value) {
|
|
4010
4016
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4011
4017
|
};
|
|
4012
4018
|
|
|
4013
4019
|
|
|
4014
4020
|
/**
|
|
4015
|
-
* optional string
|
|
4021
|
+
* optional string divide = 4;
|
|
4016
4022
|
* @return {string}
|
|
4017
4023
|
*/
|
|
4018
|
-
proto.
|
|
4024
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getDivide = function() {
|
|
4019
4025
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4020
4026
|
};
|
|
4021
4027
|
|
|
4022
4028
|
|
|
4023
4029
|
/**
|
|
4024
4030
|
* @param {string} value
|
|
4025
|
-
* @return {!proto.
|
|
4031
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4026
4032
|
*/
|
|
4027
|
-
proto.
|
|
4033
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setDivide = function(value) {
|
|
4028
4034
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4029
4035
|
};
|
|
4030
4036
|
|
|
4031
4037
|
|
|
4032
4038
|
/**
|
|
4033
|
-
* optional string
|
|
4039
|
+
* optional string type = 5;
|
|
4034
4040
|
* @return {string}
|
|
4035
4041
|
*/
|
|
4036
|
-
proto.
|
|
4042
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getType = function() {
|
|
4037
4043
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4038
4044
|
};
|
|
4039
4045
|
|
|
4040
4046
|
|
|
4041
4047
|
/**
|
|
4042
4048
|
* @param {string} value
|
|
4043
|
-
* @return {!proto.
|
|
4049
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4044
4050
|
*/
|
|
4045
|
-
proto.
|
|
4051
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setType = function(value) {
|
|
4046
4052
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4047
4053
|
};
|
|
4048
4054
|
|
|
4049
4055
|
|
|
4050
4056
|
/**
|
|
4051
|
-
* optional string
|
|
4057
|
+
* optional string name = 6;
|
|
4052
4058
|
* @return {string}
|
|
4053
4059
|
*/
|
|
4054
|
-
proto.
|
|
4060
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getName = function() {
|
|
4055
4061
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4056
4062
|
};
|
|
4057
4063
|
|
|
4058
4064
|
|
|
4059
4065
|
/**
|
|
4060
4066
|
* @param {string} value
|
|
4061
|
-
* @return {!proto.
|
|
4067
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4062
4068
|
*/
|
|
4063
|
-
proto.
|
|
4069
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setName = function(value) {
|
|
4064
4070
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
4065
4071
|
};
|
|
4066
4072
|
|
|
4067
4073
|
|
|
4068
4074
|
/**
|
|
4069
|
-
* optional string
|
|
4075
|
+
* optional string item_transaction_ref = 7;
|
|
4070
4076
|
* @return {string}
|
|
4071
4077
|
*/
|
|
4072
|
-
proto.
|
|
4078
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getItemTransactionRef = function() {
|
|
4073
4079
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4074
4080
|
};
|
|
4075
4081
|
|
|
4076
4082
|
|
|
4077
4083
|
/**
|
|
4078
4084
|
* @param {string} value
|
|
4079
|
-
* @return {!proto.
|
|
4085
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4080
4086
|
*/
|
|
4081
|
-
proto.
|
|
4087
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
4082
4088
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4083
4089
|
};
|
|
4084
4090
|
|
|
4085
4091
|
|
|
4086
4092
|
/**
|
|
4087
|
-
* optional string
|
|
4093
|
+
* optional string references_id = 8;
|
|
4088
4094
|
* @return {string}
|
|
4089
4095
|
*/
|
|
4090
|
-
proto.
|
|
4096
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getReferencesId = function() {
|
|
4091
4097
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4092
4098
|
};
|
|
4093
4099
|
|
|
4094
4100
|
|
|
4095
4101
|
/**
|
|
4096
4102
|
* @param {string} value
|
|
4097
|
-
* @return {!proto.
|
|
4103
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4098
4104
|
*/
|
|
4099
|
-
proto.
|
|
4105
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setReferencesId = function(value) {
|
|
4100
4106
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
4101
4107
|
};
|
|
4102
4108
|
|
|
4103
4109
|
|
|
4104
4110
|
/**
|
|
4105
|
-
* optional string
|
|
4111
|
+
* optional string created_at = 9;
|
|
4106
4112
|
* @return {string}
|
|
4107
4113
|
*/
|
|
4108
|
-
proto.
|
|
4114
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getCreatedAt = function() {
|
|
4109
4115
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4110
4116
|
};
|
|
4111
4117
|
|
|
4112
4118
|
|
|
4113
4119
|
/**
|
|
4114
4120
|
* @param {string} value
|
|
4115
|
-
* @return {!proto.
|
|
4121
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4116
4122
|
*/
|
|
4117
|
-
proto.
|
|
4123
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setCreatedAt = function(value) {
|
|
4118
4124
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
4119
4125
|
};
|
|
4120
4126
|
|
|
4121
4127
|
|
|
4122
4128
|
/**
|
|
4123
|
-
* optional string
|
|
4129
|
+
* optional string updated_at = 10;
|
|
4124
4130
|
* @return {string}
|
|
4125
4131
|
*/
|
|
4126
|
-
proto.
|
|
4132
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getUpdatedAt = function() {
|
|
4127
4133
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4128
4134
|
};
|
|
4129
4135
|
|
|
4130
4136
|
|
|
4131
4137
|
/**
|
|
4132
4138
|
* @param {string} value
|
|
4133
|
-
* @return {!proto.
|
|
4139
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4134
4140
|
*/
|
|
4135
|
-
proto.
|
|
4141
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setUpdatedAt = function(value) {
|
|
4136
4142
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
4137
4143
|
};
|
|
4138
4144
|
|
|
4139
4145
|
|
|
4140
4146
|
/**
|
|
4141
|
-
* optional string
|
|
4147
|
+
* optional string code = 11;
|
|
4142
4148
|
* @return {string}
|
|
4143
4149
|
*/
|
|
4144
|
-
proto.
|
|
4150
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getCode = function() {
|
|
4145
4151
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
4146
4152
|
};
|
|
4147
4153
|
|
|
4148
4154
|
|
|
4149
4155
|
/**
|
|
4150
4156
|
* @param {string} value
|
|
4151
|
-
* @return {!proto.
|
|
4157
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4152
4158
|
*/
|
|
4153
|
-
proto.
|
|
4159
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setCode = function(value) {
|
|
4154
4160
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
4155
4161
|
};
|
|
4156
4162
|
|
|
4157
4163
|
|
|
4158
4164
|
/**
|
|
4159
|
-
* optional
|
|
4160
|
-
* @return {
|
|
4165
|
+
* optional bool is_general = 12;
|
|
4166
|
+
* @return {boolean}
|
|
4161
4167
|
*/
|
|
4162
|
-
proto.
|
|
4163
|
-
return /** @type {
|
|
4168
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getIsGeneral = function() {
|
|
4169
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
4164
4170
|
};
|
|
4165
4171
|
|
|
4166
4172
|
|
|
4167
4173
|
/**
|
|
4168
|
-
* @param {
|
|
4169
|
-
* @return {!proto.
|
|
4174
|
+
* @param {boolean} value
|
|
4175
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4170
4176
|
*/
|
|
4171
|
-
proto.
|
|
4172
|
-
return jspb.Message.
|
|
4177
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setIsGeneral = function(value) {
|
|
4178
|
+
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
4173
4179
|
};
|
|
4174
4180
|
|
|
4175
4181
|
|
|
4176
4182
|
/**
|
|
4177
|
-
*
|
|
4178
|
-
* @return {
|
|
4183
|
+
* optional string properties = 13;
|
|
4184
|
+
* @return {string}
|
|
4179
4185
|
*/
|
|
4180
|
-
proto.
|
|
4181
|
-
return /** @type{
|
|
4182
|
-
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionDetail, 13));
|
|
4186
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getProperties = function() {
|
|
4187
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
4183
4188
|
};
|
|
4184
4189
|
|
|
4185
4190
|
|
|
4186
4191
|
/**
|
|
4187
|
-
* @param {
|
|
4188
|
-
* @return {!proto.
|
|
4189
|
-
*/
|
|
4190
|
-
proto.
|
|
4191
|
-
return jspb.Message.
|
|
4192
|
+
* @param {string} value
|
|
4193
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4194
|
+
*/
|
|
4195
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setProperties = function(value) {
|
|
4196
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
4192
4197
|
};
|
|
4193
4198
|
|
|
4194
4199
|
|
|
4195
4200
|
/**
|
|
4196
|
-
*
|
|
4197
|
-
* @
|
|
4198
|
-
* @return {!proto.BaseItemTransactionDetail}
|
|
4201
|
+
* optional string unit_of_measure = 14;
|
|
4202
|
+
* @return {string}
|
|
4199
4203
|
*/
|
|
4200
|
-
proto.
|
|
4201
|
-
return jspb.Message.
|
|
4204
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getUnitOfMeasure = function() {
|
|
4205
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
4202
4206
|
};
|
|
4203
4207
|
|
|
4204
4208
|
|
|
4205
4209
|
/**
|
|
4206
|
-
*
|
|
4207
|
-
* @return {!proto.
|
|
4210
|
+
* @param {string} value
|
|
4211
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4208
4212
|
*/
|
|
4209
|
-
proto.
|
|
4210
|
-
return
|
|
4213
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setUnitOfMeasure = function(value) {
|
|
4214
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
4211
4215
|
};
|
|
4212
4216
|
|
|
4213
4217
|
|
|
4214
4218
|
/**
|
|
4215
|
-
*
|
|
4216
|
-
* @return {
|
|
4219
|
+
* optional string currency = 15;
|
|
4220
|
+
* @return {string}
|
|
4217
4221
|
*/
|
|
4218
|
-
proto.
|
|
4219
|
-
return /** @type{
|
|
4222
|
+
proto.ItemTransactionDetailPriceCondition.prototype.getCurrency = function() {
|
|
4223
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
4224
|
+
};
|
|
4225
|
+
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* @param {string} value
|
|
4229
|
+
* @return {!proto.ItemTransactionDetailPriceCondition} returns this
|
|
4230
|
+
*/
|
|
4231
|
+
proto.ItemTransactionDetailPriceCondition.prototype.setCurrency = function(value) {
|
|
4232
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
4233
|
+
};
|
|
4234
|
+
|
|
4235
|
+
|
|
4236
|
+
|
|
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
|
+
|
|
4245
|
+
|
|
4246
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4247
|
+
/**
|
|
4248
|
+
* Creates an object representation of this proto.
|
|
4249
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4250
|
+
* Optional fields that are not set will be set to undefined.
|
|
4251
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4252
|
+
* For the list of reserved names please see:
|
|
4253
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4254
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4255
|
+
* JSPB instance for transitional soy proto support:
|
|
4256
|
+
* http://goto/soy-param-migration
|
|
4257
|
+
* @return {!Object}
|
|
4258
|
+
*/
|
|
4259
|
+
proto.BaseItemTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
4260
|
+
return proto.BaseItemTransaction.toObject(opt_includeInstance, this);
|
|
4261
|
+
};
|
|
4262
|
+
|
|
4263
|
+
|
|
4264
|
+
/**
|
|
4265
|
+
* Static version of the {@see toObject} method.
|
|
4266
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4267
|
+
* the JSPB instance for transitional soy proto support:
|
|
4268
|
+
* http://goto/soy-param-migration
|
|
4269
|
+
* @param {!proto.BaseItemTransaction} msg The msg instance to transform.
|
|
4270
|
+
* @return {!Object}
|
|
4271
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4272
|
+
*/
|
|
4273
|
+
proto.BaseItemTransaction.toObject = function(includeInstance, msg) {
|
|
4274
|
+
var f, obj = {
|
|
4275
|
+
transactionReferences: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4276
|
+
accAssigment: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4277
|
+
materialGroup: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4278
|
+
materialCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4279
|
+
detailDescription: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4280
|
+
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4281
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4282
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4283
|
+
estimatedUnitPrice: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4284
|
+
deliveryDate: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4285
|
+
plannedDeliveryTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
4286
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
4287
|
+
itemTransactionDetailList: jspb.Message.toObjectList(msg.getItemTransactionDetailList(),
|
|
4288
|
+
proto.BaseItemTransactionDetail.toObject, includeInstance),
|
|
4289
|
+
itemTransactionPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionPriceConditionList(),
|
|
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, "")
|
|
4305
|
+
};
|
|
4306
|
+
|
|
4307
|
+
if (includeInstance) {
|
|
4308
|
+
obj.$jspbMessageInstance = msg;
|
|
4309
|
+
}
|
|
4310
|
+
return obj;
|
|
4311
|
+
};
|
|
4312
|
+
}
|
|
4313
|
+
|
|
4314
|
+
|
|
4315
|
+
/**
|
|
4316
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4317
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4318
|
+
* @return {!proto.BaseItemTransaction}
|
|
4319
|
+
*/
|
|
4320
|
+
proto.BaseItemTransaction.deserializeBinary = function(bytes) {
|
|
4321
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4322
|
+
var msg = new proto.BaseItemTransaction;
|
|
4323
|
+
return proto.BaseItemTransaction.deserializeBinaryFromReader(msg, reader);
|
|
4324
|
+
};
|
|
4325
|
+
|
|
4326
|
+
|
|
4327
|
+
/**
|
|
4328
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4329
|
+
* given reader into the given message object.
|
|
4330
|
+
* @param {!proto.BaseItemTransaction} msg The message object to deserialize into.
|
|
4331
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4332
|
+
* @return {!proto.BaseItemTransaction}
|
|
4333
|
+
*/
|
|
4334
|
+
proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
4335
|
+
while (reader.nextField()) {
|
|
4336
|
+
if (reader.isEndGroup()) {
|
|
4337
|
+
break;
|
|
4338
|
+
}
|
|
4339
|
+
var field = reader.getFieldNumber();
|
|
4340
|
+
switch (field) {
|
|
4341
|
+
case 1:
|
|
4342
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4343
|
+
msg.setTransactionReferences(value);
|
|
4344
|
+
break;
|
|
4345
|
+
case 2:
|
|
4346
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4347
|
+
msg.setAccAssigment(value);
|
|
4348
|
+
break;
|
|
4349
|
+
case 3:
|
|
4350
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4351
|
+
msg.setMaterialGroup(value);
|
|
4352
|
+
break;
|
|
4353
|
+
case 4:
|
|
4354
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4355
|
+
msg.setMaterialCode(value);
|
|
4356
|
+
break;
|
|
4357
|
+
case 5:
|
|
4358
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4359
|
+
msg.setDetailDescription(value);
|
|
4360
|
+
break;
|
|
4361
|
+
case 6:
|
|
4362
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4363
|
+
msg.setDescription(value);
|
|
4364
|
+
break;
|
|
4365
|
+
case 7:
|
|
4366
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4367
|
+
msg.setQuantity(value);
|
|
4368
|
+
break;
|
|
4369
|
+
case 8:
|
|
4370
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4371
|
+
msg.setUnitOfMeasure(value);
|
|
4372
|
+
break;
|
|
4373
|
+
case 9:
|
|
4374
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4375
|
+
msg.setEstimatedUnitPrice(value);
|
|
4376
|
+
break;
|
|
4377
|
+
case 10:
|
|
4378
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4379
|
+
msg.setDeliveryDate(value);
|
|
4380
|
+
break;
|
|
4381
|
+
case 11:
|
|
4382
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4383
|
+
msg.setPlannedDeliveryTime(value);
|
|
4384
|
+
break;
|
|
4385
|
+
case 12:
|
|
4386
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4387
|
+
msg.setCustomTransaction(value);
|
|
4388
|
+
break;
|
|
4389
|
+
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
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4401
|
+
msg.setPreviousReferences(value);
|
|
4402
|
+
break;
|
|
4403
|
+
case 16:
|
|
4404
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4405
|
+
msg.setPreviousTransactionReferences(value);
|
|
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);
|
|
4411
|
+
break;
|
|
4412
|
+
case 18:
|
|
4413
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4414
|
+
msg.setCurrency(value);
|
|
4415
|
+
break;
|
|
4416
|
+
case 19:
|
|
4417
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
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();
|
|
4451
|
+
break;
|
|
4452
|
+
}
|
|
4453
|
+
}
|
|
4454
|
+
return msg;
|
|
4455
|
+
};
|
|
4456
|
+
|
|
4457
|
+
|
|
4458
|
+
/**
|
|
4459
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4460
|
+
* @return {!Uint8Array}
|
|
4461
|
+
*/
|
|
4462
|
+
proto.BaseItemTransaction.prototype.serializeBinary = function() {
|
|
4463
|
+
var writer = new jspb.BinaryWriter();
|
|
4464
|
+
proto.BaseItemTransaction.serializeBinaryToWriter(this, writer);
|
|
4465
|
+
return writer.getResultBuffer();
|
|
4466
|
+
};
|
|
4467
|
+
|
|
4468
|
+
|
|
4469
|
+
/**
|
|
4470
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4471
|
+
* format), writing to the given BinaryWriter.
|
|
4472
|
+
* @param {!proto.BaseItemTransaction} message
|
|
4473
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4474
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4475
|
+
*/
|
|
4476
|
+
proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
4477
|
+
var f = undefined;
|
|
4478
|
+
f = message.getTransactionReferences();
|
|
4479
|
+
if (f.length > 0) {
|
|
4480
|
+
writer.writeString(
|
|
4481
|
+
1,
|
|
4482
|
+
f
|
|
4483
|
+
);
|
|
4484
|
+
}
|
|
4485
|
+
f = message.getAccAssigment();
|
|
4486
|
+
if (f.length > 0) {
|
|
4487
|
+
writer.writeString(
|
|
4488
|
+
2,
|
|
4489
|
+
f
|
|
4490
|
+
);
|
|
4491
|
+
}
|
|
4492
|
+
f = message.getMaterialGroup();
|
|
4493
|
+
if (f.length > 0) {
|
|
4494
|
+
writer.writeString(
|
|
4495
|
+
3,
|
|
4496
|
+
f
|
|
4497
|
+
);
|
|
4498
|
+
}
|
|
4499
|
+
f = message.getMaterialCode();
|
|
4500
|
+
if (f.length > 0) {
|
|
4501
|
+
writer.writeString(
|
|
4502
|
+
4,
|
|
4503
|
+
f
|
|
4504
|
+
);
|
|
4505
|
+
}
|
|
4506
|
+
f = message.getDetailDescription();
|
|
4507
|
+
if (f.length > 0) {
|
|
4508
|
+
writer.writeString(
|
|
4509
|
+
5,
|
|
4510
|
+
f
|
|
4511
|
+
);
|
|
4512
|
+
}
|
|
4513
|
+
f = message.getDescription();
|
|
4514
|
+
if (f.length > 0) {
|
|
4515
|
+
writer.writeString(
|
|
4516
|
+
6,
|
|
4517
|
+
f
|
|
4518
|
+
);
|
|
4519
|
+
}
|
|
4520
|
+
f = message.getQuantity();
|
|
4521
|
+
if (f.length > 0) {
|
|
4522
|
+
writer.writeString(
|
|
4523
|
+
7,
|
|
4524
|
+
f
|
|
4525
|
+
);
|
|
4526
|
+
}
|
|
4527
|
+
f = message.getUnitOfMeasure();
|
|
4528
|
+
if (f.length > 0) {
|
|
4529
|
+
writer.writeString(
|
|
4530
|
+
8,
|
|
4531
|
+
f
|
|
4532
|
+
);
|
|
4533
|
+
}
|
|
4534
|
+
f = message.getEstimatedUnitPrice();
|
|
4535
|
+
if (f.length > 0) {
|
|
4536
|
+
writer.writeString(
|
|
4537
|
+
9,
|
|
4538
|
+
f
|
|
4539
|
+
);
|
|
4540
|
+
}
|
|
4541
|
+
f = message.getDeliveryDate();
|
|
4542
|
+
if (f.length > 0) {
|
|
4543
|
+
writer.writeString(
|
|
4544
|
+
10,
|
|
4545
|
+
f
|
|
4546
|
+
);
|
|
4547
|
+
}
|
|
4548
|
+
f = message.getPlannedDeliveryTime();
|
|
4549
|
+
if (f.length > 0) {
|
|
4550
|
+
writer.writeString(
|
|
4551
|
+
11,
|
|
4552
|
+
f
|
|
4553
|
+
);
|
|
4554
|
+
}
|
|
4555
|
+
f = message.getCustomTransaction();
|
|
4556
|
+
if (f.length > 0) {
|
|
4557
|
+
writer.writeString(
|
|
4558
|
+
12,
|
|
4559
|
+
f
|
|
4560
|
+
);
|
|
4561
|
+
}
|
|
4562
|
+
f = message.getItemTransactionDetailList();
|
|
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();
|
|
4579
|
+
if (f.length > 0) {
|
|
4580
|
+
writer.writeString(
|
|
4581
|
+
15,
|
|
4582
|
+
f
|
|
4583
|
+
);
|
|
4584
|
+
}
|
|
4585
|
+
f = message.getPreviousTransactionReferences();
|
|
4586
|
+
if (f.length > 0) {
|
|
4587
|
+
writer.writeString(
|
|
4588
|
+
16,
|
|
4589
|
+
f
|
|
4590
|
+
);
|
|
4591
|
+
}
|
|
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
|
+
f = message.getCurrency();
|
|
4601
|
+
if (f.length > 0) {
|
|
4602
|
+
writer.writeString(
|
|
4603
|
+
18,
|
|
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,
|
|
4661
|
+
f
|
|
4662
|
+
);
|
|
4663
|
+
}
|
|
4664
|
+
};
|
|
4665
|
+
|
|
4666
|
+
|
|
4667
|
+
/**
|
|
4668
|
+
* optional string transaction_references = 1;
|
|
4669
|
+
* @return {string}
|
|
4670
|
+
*/
|
|
4671
|
+
proto.BaseItemTransaction.prototype.getTransactionReferences = function() {
|
|
4672
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4673
|
+
};
|
|
4674
|
+
|
|
4675
|
+
|
|
4676
|
+
/**
|
|
4677
|
+
* @param {string} value
|
|
4678
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4679
|
+
*/
|
|
4680
|
+
proto.BaseItemTransaction.prototype.setTransactionReferences = function(value) {
|
|
4681
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4682
|
+
};
|
|
4683
|
+
|
|
4684
|
+
|
|
4685
|
+
/**
|
|
4686
|
+
* optional string acc_assigment = 2;
|
|
4687
|
+
* @return {string}
|
|
4688
|
+
*/
|
|
4689
|
+
proto.BaseItemTransaction.prototype.getAccAssigment = function() {
|
|
4690
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4691
|
+
};
|
|
4692
|
+
|
|
4693
|
+
|
|
4694
|
+
/**
|
|
4695
|
+
* @param {string} value
|
|
4696
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4697
|
+
*/
|
|
4698
|
+
proto.BaseItemTransaction.prototype.setAccAssigment = function(value) {
|
|
4699
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4700
|
+
};
|
|
4701
|
+
|
|
4702
|
+
|
|
4703
|
+
/**
|
|
4704
|
+
* optional string material_group = 3;
|
|
4705
|
+
* @return {string}
|
|
4706
|
+
*/
|
|
4707
|
+
proto.BaseItemTransaction.prototype.getMaterialGroup = function() {
|
|
4708
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4709
|
+
};
|
|
4710
|
+
|
|
4711
|
+
|
|
4712
|
+
/**
|
|
4713
|
+
* @param {string} value
|
|
4714
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4715
|
+
*/
|
|
4716
|
+
proto.BaseItemTransaction.prototype.setMaterialGroup = function(value) {
|
|
4717
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4718
|
+
};
|
|
4719
|
+
|
|
4720
|
+
|
|
4721
|
+
/**
|
|
4722
|
+
* optional string material_code = 4;
|
|
4723
|
+
* @return {string}
|
|
4724
|
+
*/
|
|
4725
|
+
proto.BaseItemTransaction.prototype.getMaterialCode = function() {
|
|
4726
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4727
|
+
};
|
|
4728
|
+
|
|
4729
|
+
|
|
4730
|
+
/**
|
|
4731
|
+
* @param {string} value
|
|
4732
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4733
|
+
*/
|
|
4734
|
+
proto.BaseItemTransaction.prototype.setMaterialCode = function(value) {
|
|
4735
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4736
|
+
};
|
|
4737
|
+
|
|
4738
|
+
|
|
4739
|
+
/**
|
|
4740
|
+
* optional string detail_description = 5;
|
|
4741
|
+
* @return {string}
|
|
4742
|
+
*/
|
|
4743
|
+
proto.BaseItemTransaction.prototype.getDetailDescription = function() {
|
|
4744
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4745
|
+
};
|
|
4746
|
+
|
|
4747
|
+
|
|
4748
|
+
/**
|
|
4749
|
+
* @param {string} value
|
|
4750
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4751
|
+
*/
|
|
4752
|
+
proto.BaseItemTransaction.prototype.setDetailDescription = function(value) {
|
|
4753
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4754
|
+
};
|
|
4755
|
+
|
|
4756
|
+
|
|
4757
|
+
/**
|
|
4758
|
+
* optional string description = 6;
|
|
4759
|
+
* @return {string}
|
|
4760
|
+
*/
|
|
4761
|
+
proto.BaseItemTransaction.prototype.getDescription = function() {
|
|
4762
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4763
|
+
};
|
|
4764
|
+
|
|
4765
|
+
|
|
4766
|
+
/**
|
|
4767
|
+
* @param {string} value
|
|
4768
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4769
|
+
*/
|
|
4770
|
+
proto.BaseItemTransaction.prototype.setDescription = function(value) {
|
|
4771
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
4772
|
+
};
|
|
4773
|
+
|
|
4774
|
+
|
|
4775
|
+
/**
|
|
4776
|
+
* optional string quantity = 7;
|
|
4777
|
+
* @return {string}
|
|
4778
|
+
*/
|
|
4779
|
+
proto.BaseItemTransaction.prototype.getQuantity = function() {
|
|
4780
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4781
|
+
};
|
|
4782
|
+
|
|
4783
|
+
|
|
4784
|
+
/**
|
|
4785
|
+
* @param {string} value
|
|
4786
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4787
|
+
*/
|
|
4788
|
+
proto.BaseItemTransaction.prototype.setQuantity = function(value) {
|
|
4789
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4790
|
+
};
|
|
4791
|
+
|
|
4792
|
+
|
|
4793
|
+
/**
|
|
4794
|
+
* optional string unit_of_measure = 8;
|
|
4795
|
+
* @return {string}
|
|
4796
|
+
*/
|
|
4797
|
+
proto.BaseItemTransaction.prototype.getUnitOfMeasure = function() {
|
|
4798
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4799
|
+
};
|
|
4800
|
+
|
|
4801
|
+
|
|
4802
|
+
/**
|
|
4803
|
+
* @param {string} value
|
|
4804
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4805
|
+
*/
|
|
4806
|
+
proto.BaseItemTransaction.prototype.setUnitOfMeasure = function(value) {
|
|
4807
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
4808
|
+
};
|
|
4809
|
+
|
|
4810
|
+
|
|
4811
|
+
/**
|
|
4812
|
+
* optional string estimated_unit_price = 9;
|
|
4813
|
+
* @return {string}
|
|
4814
|
+
*/
|
|
4815
|
+
proto.BaseItemTransaction.prototype.getEstimatedUnitPrice = function() {
|
|
4816
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4817
|
+
};
|
|
4818
|
+
|
|
4819
|
+
|
|
4820
|
+
/**
|
|
4821
|
+
* @param {string} value
|
|
4822
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4823
|
+
*/
|
|
4824
|
+
proto.BaseItemTransaction.prototype.setEstimatedUnitPrice = function(value) {
|
|
4825
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
4826
|
+
};
|
|
4827
|
+
|
|
4828
|
+
|
|
4829
|
+
/**
|
|
4830
|
+
* optional string delivery_date = 10;
|
|
4831
|
+
* @return {string}
|
|
4832
|
+
*/
|
|
4833
|
+
proto.BaseItemTransaction.prototype.getDeliveryDate = function() {
|
|
4834
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4835
|
+
};
|
|
4836
|
+
|
|
4837
|
+
|
|
4838
|
+
/**
|
|
4839
|
+
* @param {string} value
|
|
4840
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4841
|
+
*/
|
|
4842
|
+
proto.BaseItemTransaction.prototype.setDeliveryDate = function(value) {
|
|
4843
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
4844
|
+
};
|
|
4845
|
+
|
|
4846
|
+
|
|
4847
|
+
/**
|
|
4848
|
+
* optional string planned_delivery_time = 11;
|
|
4849
|
+
* @return {string}
|
|
4850
|
+
*/
|
|
4851
|
+
proto.BaseItemTransaction.prototype.getPlannedDeliveryTime = function() {
|
|
4852
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
4853
|
+
};
|
|
4854
|
+
|
|
4855
|
+
|
|
4856
|
+
/**
|
|
4857
|
+
* @param {string} value
|
|
4858
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4859
|
+
*/
|
|
4860
|
+
proto.BaseItemTransaction.prototype.setPlannedDeliveryTime = function(value) {
|
|
4861
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
4862
|
+
};
|
|
4863
|
+
|
|
4864
|
+
|
|
4865
|
+
/**
|
|
4866
|
+
* optional string custom_transaction = 12;
|
|
4867
|
+
* @return {string}
|
|
4868
|
+
*/
|
|
4869
|
+
proto.BaseItemTransaction.prototype.getCustomTransaction = function() {
|
|
4870
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
4871
|
+
};
|
|
4872
|
+
|
|
4873
|
+
|
|
4874
|
+
/**
|
|
4875
|
+
* @param {string} value
|
|
4876
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4877
|
+
*/
|
|
4878
|
+
proto.BaseItemTransaction.prototype.setCustomTransaction = function(value) {
|
|
4879
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
4880
|
+
};
|
|
4881
|
+
|
|
4882
|
+
|
|
4883
|
+
/**
|
|
4884
|
+
* repeated BaseItemTransactionDetail item_transaction_detail = 13;
|
|
4885
|
+
* @return {!Array<!proto.BaseItemTransactionDetail>}
|
|
4886
|
+
*/
|
|
4887
|
+
proto.BaseItemTransaction.prototype.getItemTransactionDetailList = function() {
|
|
4888
|
+
return /** @type{!Array<!proto.BaseItemTransactionDetail>} */ (
|
|
4889
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionDetail, 13));
|
|
4890
|
+
};
|
|
4891
|
+
|
|
4892
|
+
|
|
4893
|
+
/**
|
|
4894
|
+
* @param {!Array<!proto.BaseItemTransactionDetail>} value
|
|
4895
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4896
|
+
*/
|
|
4897
|
+
proto.BaseItemTransaction.prototype.setItemTransactionDetailList = function(value) {
|
|
4898
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
4899
|
+
};
|
|
4900
|
+
|
|
4901
|
+
|
|
4902
|
+
/**
|
|
4903
|
+
* @param {!proto.BaseItemTransactionDetail=} opt_value
|
|
4904
|
+
* @param {number=} opt_index
|
|
4905
|
+
* @return {!proto.BaseItemTransactionDetail}
|
|
4906
|
+
*/
|
|
4907
|
+
proto.BaseItemTransaction.prototype.addItemTransactionDetail = function(opt_value, opt_index) {
|
|
4908
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.BaseItemTransactionDetail, opt_index);
|
|
4909
|
+
};
|
|
4910
|
+
|
|
4911
|
+
|
|
4912
|
+
/**
|
|
4913
|
+
* Clears the list making it empty but non-null.
|
|
4914
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4915
|
+
*/
|
|
4916
|
+
proto.BaseItemTransaction.prototype.clearItemTransactionDetailList = function() {
|
|
4917
|
+
return this.setItemTransactionDetailList([]);
|
|
4918
|
+
};
|
|
4919
|
+
|
|
4920
|
+
|
|
4921
|
+
/**
|
|
4922
|
+
* repeated BaseItemTransactionPriceCondition item_transaction_price_condition = 14;
|
|
4923
|
+
* @return {!Array<!proto.BaseItemTransactionPriceCondition>}
|
|
4924
|
+
*/
|
|
4925
|
+
proto.BaseItemTransaction.prototype.getItemTransactionPriceConditionList = function() {
|
|
4926
|
+
return /** @type{!Array<!proto.BaseItemTransactionPriceCondition>} */ (
|
|
4220
4927
|
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionPriceCondition, 14));
|
|
4221
4928
|
};
|
|
4222
4929
|
|
|
@@ -4511,7 +5218,7 @@ proto.BaseItemTransaction.prototype.setPriceBeforeTax = function(value) {
|
|
|
4511
5218
|
* @private {!Array<number>}
|
|
4512
5219
|
* @const
|
|
4513
5220
|
*/
|
|
4514
|
-
proto.BaseItemTransactionDetail.repeatedFields_ = [18];
|
|
5221
|
+
proto.BaseItemTransactionDetail.repeatedFields_ = [18,19];
|
|
4515
5222
|
|
|
4516
5223
|
|
|
4517
5224
|
|
|
@@ -4562,7 +5269,9 @@ serviceDescription: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
|
4562
5269
|
amountPrice: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
4563
5270
|
materialCode: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
4564
5271
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
4565
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
5272
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
5273
|
+
itemTransactionDetailPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionDetailPriceConditionList(),
|
|
5274
|
+
proto.BaseItemTransactionDetailPriceCondition.toObject, includeInstance)
|
|
4566
5275
|
};
|
|
4567
5276
|
|
|
4568
5277
|
if (includeInstance) {
|
|
@@ -4672,6 +5381,11 @@ proto.BaseItemTransactionDetail.deserializeBinaryFromReader = function(msg, read
|
|
|
4672
5381
|
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
4673
5382
|
msg.addFiles(value);
|
|
4674
5383
|
break;
|
|
5384
|
+
case 19:
|
|
5385
|
+
var value = new proto.BaseItemTransactionDetailPriceCondition;
|
|
5386
|
+
reader.readMessage(value,proto.BaseItemTransactionDetailPriceCondition.deserializeBinaryFromReader);
|
|
5387
|
+
msg.addItemTransactionDetailPriceCondition(value);
|
|
5388
|
+
break;
|
|
4675
5389
|
default:
|
|
4676
5390
|
reader.skipField();
|
|
4677
5391
|
break;
|
|
@@ -4828,15 +5542,239 @@ proto.BaseItemTransactionDetail.serializeBinaryToWriter = function(message, writ
|
|
|
4828
5542
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
4829
5543
|
);
|
|
4830
5544
|
}
|
|
5545
|
+
f = message.getItemTransactionDetailPriceConditionList();
|
|
5546
|
+
if (f.length > 0) {
|
|
5547
|
+
writer.writeRepeatedMessage(
|
|
5548
|
+
19,
|
|
5549
|
+
f,
|
|
5550
|
+
proto.BaseItemTransactionDetailPriceCondition.serializeBinaryToWriter
|
|
5551
|
+
);
|
|
5552
|
+
}
|
|
5553
|
+
};
|
|
5554
|
+
|
|
5555
|
+
|
|
5556
|
+
/**
|
|
5557
|
+
* optional string gl_account = 1;
|
|
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;
|
|
5576
|
+
* @return {string}
|
|
5577
|
+
*/
|
|
5578
|
+
proto.BaseItemTransactionDetail.prototype.getGlAccountDescription = function() {
|
|
5579
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5580
|
+
};
|
|
5581
|
+
|
|
5582
|
+
|
|
5583
|
+
/**
|
|
5584
|
+
* @param {string} value
|
|
5585
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5586
|
+
*/
|
|
5587
|
+
proto.BaseItemTransactionDetail.prototype.setGlAccountDescription = function(value) {
|
|
5588
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5589
|
+
};
|
|
5590
|
+
|
|
5591
|
+
|
|
5592
|
+
/**
|
|
5593
|
+
* optional string unit_of_measure = 3;
|
|
5594
|
+
* @return {string}
|
|
5595
|
+
*/
|
|
5596
|
+
proto.BaseItemTransactionDetail.prototype.getUnitOfMeasure = function() {
|
|
5597
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5598
|
+
};
|
|
5599
|
+
|
|
5600
|
+
|
|
5601
|
+
/**
|
|
5602
|
+
* @param {string} value
|
|
5603
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5604
|
+
*/
|
|
5605
|
+
proto.BaseItemTransactionDetail.prototype.setUnitOfMeasure = function(value) {
|
|
5606
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5607
|
+
};
|
|
5608
|
+
|
|
5609
|
+
|
|
5610
|
+
/**
|
|
5611
|
+
* optional string valuation_price = 4;
|
|
5612
|
+
* @return {string}
|
|
5613
|
+
*/
|
|
5614
|
+
proto.BaseItemTransactionDetail.prototype.getValuationPrice = function() {
|
|
5615
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5616
|
+
};
|
|
5617
|
+
|
|
5618
|
+
|
|
5619
|
+
/**
|
|
5620
|
+
* @param {string} value
|
|
5621
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5622
|
+
*/
|
|
5623
|
+
proto.BaseItemTransactionDetail.prototype.setValuationPrice = function(value) {
|
|
5624
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5625
|
+
};
|
|
5626
|
+
|
|
5627
|
+
|
|
5628
|
+
/**
|
|
5629
|
+
* optional string requisitioner = 5;
|
|
5630
|
+
* @return {string}
|
|
5631
|
+
*/
|
|
5632
|
+
proto.BaseItemTransactionDetail.prototype.getRequisitioner = function() {
|
|
5633
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5634
|
+
};
|
|
5635
|
+
|
|
5636
|
+
|
|
5637
|
+
/**
|
|
5638
|
+
* @param {string} value
|
|
5639
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5640
|
+
*/
|
|
5641
|
+
proto.BaseItemTransactionDetail.prototype.setRequisitioner = function(value) {
|
|
5642
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5643
|
+
};
|
|
5644
|
+
|
|
5645
|
+
|
|
5646
|
+
/**
|
|
5647
|
+
* optional string custom_transaction = 6;
|
|
5648
|
+
* @return {string}
|
|
5649
|
+
*/
|
|
5650
|
+
proto.BaseItemTransactionDetail.prototype.getCustomTransaction = function() {
|
|
5651
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5652
|
+
};
|
|
5653
|
+
|
|
5654
|
+
|
|
5655
|
+
/**
|
|
5656
|
+
* @param {string} value
|
|
5657
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5658
|
+
*/
|
|
5659
|
+
proto.BaseItemTransactionDetail.prototype.setCustomTransaction = function(value) {
|
|
5660
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5661
|
+
};
|
|
5662
|
+
|
|
5663
|
+
|
|
5664
|
+
/**
|
|
5665
|
+
* optional string distribution = 7;
|
|
5666
|
+
* @return {string}
|
|
5667
|
+
*/
|
|
5668
|
+
proto.BaseItemTransactionDetail.prototype.getDistribution = function() {
|
|
5669
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5670
|
+
};
|
|
5671
|
+
|
|
5672
|
+
|
|
5673
|
+
/**
|
|
5674
|
+
* @param {string} value
|
|
5675
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5676
|
+
*/
|
|
5677
|
+
proto.BaseItemTransactionDetail.prototype.setDistribution = function(value) {
|
|
5678
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
5679
|
+
};
|
|
5680
|
+
|
|
5681
|
+
|
|
5682
|
+
/**
|
|
5683
|
+
* optional string quantity = 8;
|
|
5684
|
+
* @return {string}
|
|
5685
|
+
*/
|
|
5686
|
+
proto.BaseItemTransactionDetail.prototype.getQuantity = function() {
|
|
5687
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
5688
|
+
};
|
|
5689
|
+
|
|
5690
|
+
|
|
5691
|
+
/**
|
|
5692
|
+
* @param {string} value
|
|
5693
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5694
|
+
*/
|
|
5695
|
+
proto.BaseItemTransactionDetail.prototype.setQuantity = function(value) {
|
|
5696
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
5697
|
+
};
|
|
5698
|
+
|
|
5699
|
+
|
|
5700
|
+
/**
|
|
5701
|
+
* optional string asset_no = 9;
|
|
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);
|
|
4831
5769
|
};
|
|
4832
5770
|
|
|
4833
5771
|
|
|
4834
5772
|
/**
|
|
4835
|
-
* optional string
|
|
5773
|
+
* optional string order_description = 13;
|
|
4836
5774
|
* @return {string}
|
|
4837
5775
|
*/
|
|
4838
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4839
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5776
|
+
proto.BaseItemTransactionDetail.prototype.getOrderDescription = function() {
|
|
5777
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
4840
5778
|
};
|
|
4841
5779
|
|
|
4842
5780
|
|
|
@@ -4844,17 +5782,17 @@ proto.BaseItemTransactionDetail.prototype.getGlAccount = function() {
|
|
|
4844
5782
|
* @param {string} value
|
|
4845
5783
|
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4846
5784
|
*/
|
|
4847
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4848
|
-
return jspb.Message.setProto3StringField(this,
|
|
5785
|
+
proto.BaseItemTransactionDetail.prototype.setOrderDescription = function(value) {
|
|
5786
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
4849
5787
|
};
|
|
4850
5788
|
|
|
4851
5789
|
|
|
4852
5790
|
/**
|
|
4853
|
-
* optional string
|
|
5791
|
+
* optional string service_no = 14;
|
|
4854
5792
|
* @return {string}
|
|
4855
5793
|
*/
|
|
4856
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4857
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5794
|
+
proto.BaseItemTransactionDetail.prototype.getServiceNo = function() {
|
|
5795
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
4858
5796
|
};
|
|
4859
5797
|
|
|
4860
5798
|
|
|
@@ -4862,17 +5800,17 @@ proto.BaseItemTransactionDetail.prototype.getGlAccountDescription = function() {
|
|
|
4862
5800
|
* @param {string} value
|
|
4863
5801
|
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4864
5802
|
*/
|
|
4865
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4866
|
-
return jspb.Message.setProto3StringField(this,
|
|
5803
|
+
proto.BaseItemTransactionDetail.prototype.setServiceNo = function(value) {
|
|
5804
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
4867
5805
|
};
|
|
4868
5806
|
|
|
4869
5807
|
|
|
4870
5808
|
/**
|
|
4871
|
-
* optional string
|
|
5809
|
+
* optional string service_description = 15;
|
|
4872
5810
|
* @return {string}
|
|
4873
5811
|
*/
|
|
4874
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4875
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5812
|
+
proto.BaseItemTransactionDetail.prototype.getServiceDescription = function() {
|
|
5813
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
4876
5814
|
};
|
|
4877
5815
|
|
|
4878
5816
|
|
|
@@ -4880,17 +5818,17 @@ proto.BaseItemTransactionDetail.prototype.getUnitOfMeasure = function() {
|
|
|
4880
5818
|
* @param {string} value
|
|
4881
5819
|
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4882
5820
|
*/
|
|
4883
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4884
|
-
return jspb.Message.setProto3StringField(this,
|
|
5821
|
+
proto.BaseItemTransactionDetail.prototype.setServiceDescription = function(value) {
|
|
5822
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
4885
5823
|
};
|
|
4886
5824
|
|
|
4887
5825
|
|
|
4888
5826
|
/**
|
|
4889
|
-
* optional string
|
|
5827
|
+
* optional string amount_price = 16;
|
|
4890
5828
|
* @return {string}
|
|
4891
5829
|
*/
|
|
4892
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4893
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5830
|
+
proto.BaseItemTransactionDetail.prototype.getAmountPrice = function() {
|
|
5831
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
4894
5832
|
};
|
|
4895
5833
|
|
|
4896
5834
|
|
|
@@ -4898,17 +5836,17 @@ proto.BaseItemTransactionDetail.prototype.getValuationPrice = function() {
|
|
|
4898
5836
|
* @param {string} value
|
|
4899
5837
|
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4900
5838
|
*/
|
|
4901
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4902
|
-
return jspb.Message.setProto3StringField(this,
|
|
5839
|
+
proto.BaseItemTransactionDetail.prototype.setAmountPrice = function(value) {
|
|
5840
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
4903
5841
|
};
|
|
4904
5842
|
|
|
4905
5843
|
|
|
4906
5844
|
/**
|
|
4907
|
-
* optional string
|
|
5845
|
+
* optional string material_code = 17;
|
|
4908
5846
|
* @return {string}
|
|
4909
5847
|
*/
|
|
4910
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4911
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5848
|
+
proto.BaseItemTransactionDetail.prototype.getMaterialCode = function() {
|
|
5849
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
4912
5850
|
};
|
|
4913
5851
|
|
|
4914
5852
|
|
|
@@ -4916,243 +5854,495 @@ proto.BaseItemTransactionDetail.prototype.getRequisitioner = function() {
|
|
|
4916
5854
|
* @param {string} value
|
|
4917
5855
|
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4918
5856
|
*/
|
|
4919
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4920
|
-
return jspb.Message.setProto3StringField(this,
|
|
5857
|
+
proto.BaseItemTransactionDetail.prototype.setMaterialCode = function(value) {
|
|
5858
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
4921
5859
|
};
|
|
4922
5860
|
|
|
4923
5861
|
|
|
4924
5862
|
/**
|
|
4925
|
-
*
|
|
4926
|
-
* @return {
|
|
5863
|
+
* repeated FileUploadReferencesReq files = 18;
|
|
5864
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
4927
5865
|
*/
|
|
4928
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4929
|
-
return /** @type
|
|
5866
|
+
proto.BaseItemTransactionDetail.prototype.getFilesList = function() {
|
|
5867
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
5868
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 18));
|
|
4930
5869
|
};
|
|
4931
5870
|
|
|
4932
5871
|
|
|
4933
5872
|
/**
|
|
4934
|
-
* @param {
|
|
5873
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
4935
5874
|
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4936
|
-
|
|
4937
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4938
|
-
return jspb.Message.
|
|
5875
|
+
*/
|
|
5876
|
+
proto.BaseItemTransactionDetail.prototype.setFilesList = function(value) {
|
|
5877
|
+
return jspb.Message.setRepeatedWrapperField(this, 18, value);
|
|
4939
5878
|
};
|
|
4940
5879
|
|
|
4941
5880
|
|
|
4942
5881
|
/**
|
|
4943
|
-
*
|
|
4944
|
-
* @
|
|
5882
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
5883
|
+
* @param {number=} opt_index
|
|
5884
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
4945
5885
|
*/
|
|
4946
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4947
|
-
return
|
|
5886
|
+
proto.BaseItemTransactionDetail.prototype.addFiles = function(opt_value, opt_index) {
|
|
5887
|
+
return jspb.Message.addToRepeatedWrapperField(this, 18, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
4948
5888
|
};
|
|
4949
5889
|
|
|
4950
5890
|
|
|
4951
5891
|
/**
|
|
4952
|
-
*
|
|
5892
|
+
* Clears the list making it empty but non-null.
|
|
4953
5893
|
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4954
5894
|
*/
|
|
4955
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4956
|
-
return
|
|
5895
|
+
proto.BaseItemTransactionDetail.prototype.clearFilesList = function() {
|
|
5896
|
+
return this.setFilesList([]);
|
|
4957
5897
|
};
|
|
4958
5898
|
|
|
4959
5899
|
|
|
4960
5900
|
/**
|
|
4961
|
-
*
|
|
4962
|
-
* @return {
|
|
5901
|
+
* repeated BaseItemTransactionDetailPriceCondition item_transaction_detail_price_condition = 19;
|
|
5902
|
+
* @return {!Array<!proto.BaseItemTransactionDetailPriceCondition>}
|
|
4963
5903
|
*/
|
|
4964
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4965
|
-
return /** @type
|
|
5904
|
+
proto.BaseItemTransactionDetail.prototype.getItemTransactionDetailPriceConditionList = function() {
|
|
5905
|
+
return /** @type{!Array<!proto.BaseItemTransactionDetailPriceCondition>} */ (
|
|
5906
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionDetailPriceCondition, 19));
|
|
4966
5907
|
};
|
|
4967
5908
|
|
|
4968
5909
|
|
|
4969
5910
|
/**
|
|
4970
|
-
* @param {
|
|
5911
|
+
* @param {!Array<!proto.BaseItemTransactionDetailPriceCondition>} value
|
|
5912
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
5913
|
+
*/
|
|
5914
|
+
proto.BaseItemTransactionDetail.prototype.setItemTransactionDetailPriceConditionList = function(value) {
|
|
5915
|
+
return jspb.Message.setRepeatedWrapperField(this, 19, value);
|
|
5916
|
+
};
|
|
5917
|
+
|
|
5918
|
+
|
|
5919
|
+
/**
|
|
5920
|
+
* @param {!proto.BaseItemTransactionDetailPriceCondition=} opt_value
|
|
5921
|
+
* @param {number=} opt_index
|
|
5922
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition}
|
|
5923
|
+
*/
|
|
5924
|
+
proto.BaseItemTransactionDetail.prototype.addItemTransactionDetailPriceCondition = function(opt_value, opt_index) {
|
|
5925
|
+
return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.BaseItemTransactionDetailPriceCondition, opt_index);
|
|
5926
|
+
};
|
|
5927
|
+
|
|
5928
|
+
|
|
5929
|
+
/**
|
|
5930
|
+
* Clears the list making it empty but non-null.
|
|
4971
5931
|
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4972
5932
|
*/
|
|
4973
|
-
proto.BaseItemTransactionDetail.prototype.
|
|
4974
|
-
return
|
|
5933
|
+
proto.BaseItemTransactionDetail.prototype.clearItemTransactionDetailPriceConditionList = function() {
|
|
5934
|
+
return this.setItemTransactionDetailPriceConditionList([]);
|
|
5935
|
+
};
|
|
5936
|
+
|
|
5937
|
+
|
|
5938
|
+
|
|
5939
|
+
/**
|
|
5940
|
+
* List of repeated fields within this message type.
|
|
5941
|
+
* @private {!Array<number>}
|
|
5942
|
+
* @const
|
|
5943
|
+
*/
|
|
5944
|
+
proto.BaseItemTransactionService.repeatedFields_ = [11];
|
|
5945
|
+
|
|
5946
|
+
|
|
5947
|
+
|
|
5948
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5949
|
+
/**
|
|
5950
|
+
* Creates an object representation of this proto.
|
|
5951
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5952
|
+
* Optional fields that are not set will be set to undefined.
|
|
5953
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5954
|
+
* For the list of reserved names please see:
|
|
5955
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5956
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5957
|
+
* JSPB instance for transitional soy proto support:
|
|
5958
|
+
* http://goto/soy-param-migration
|
|
5959
|
+
* @return {!Object}
|
|
5960
|
+
*/
|
|
5961
|
+
proto.BaseItemTransactionService.prototype.toObject = function(opt_includeInstance) {
|
|
5962
|
+
return proto.BaseItemTransactionService.toObject(opt_includeInstance, this);
|
|
5963
|
+
};
|
|
5964
|
+
|
|
5965
|
+
|
|
5966
|
+
/**
|
|
5967
|
+
* Static version of the {@see toObject} method.
|
|
5968
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5969
|
+
* the JSPB instance for transitional soy proto support:
|
|
5970
|
+
* http://goto/soy-param-migration
|
|
5971
|
+
* @param {!proto.BaseItemTransactionService} msg The msg instance to transform.
|
|
5972
|
+
* @return {!Object}
|
|
5973
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5974
|
+
*/
|
|
5975
|
+
proto.BaseItemTransactionService.toObject = function(includeInstance, msg) {
|
|
5976
|
+
var f, obj = {
|
|
5977
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5978
|
+
glAccount: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5979
|
+
glAccountDescription: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5980
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5981
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5982
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5983
|
+
serviceNo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
5984
|
+
serviceDescription: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5985
|
+
amountPrice: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5986
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
5987
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
5988
|
+
};
|
|
5989
|
+
|
|
5990
|
+
if (includeInstance) {
|
|
5991
|
+
obj.$jspbMessageInstance = msg;
|
|
5992
|
+
}
|
|
5993
|
+
return obj;
|
|
5994
|
+
};
|
|
5995
|
+
}
|
|
5996
|
+
|
|
5997
|
+
|
|
5998
|
+
/**
|
|
5999
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6000
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6001
|
+
* @return {!proto.BaseItemTransactionService}
|
|
6002
|
+
*/
|
|
6003
|
+
proto.BaseItemTransactionService.deserializeBinary = function(bytes) {
|
|
6004
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6005
|
+
var msg = new proto.BaseItemTransactionService;
|
|
6006
|
+
return proto.BaseItemTransactionService.deserializeBinaryFromReader(msg, reader);
|
|
6007
|
+
};
|
|
6008
|
+
|
|
6009
|
+
|
|
6010
|
+
/**
|
|
6011
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6012
|
+
* given reader into the given message object.
|
|
6013
|
+
* @param {!proto.BaseItemTransactionService} msg The message object to deserialize into.
|
|
6014
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6015
|
+
* @return {!proto.BaseItemTransactionService}
|
|
6016
|
+
*/
|
|
6017
|
+
proto.BaseItemTransactionService.deserializeBinaryFromReader = function(msg, reader) {
|
|
6018
|
+
while (reader.nextField()) {
|
|
6019
|
+
if (reader.isEndGroup()) {
|
|
6020
|
+
break;
|
|
6021
|
+
}
|
|
6022
|
+
var field = reader.getFieldNumber();
|
|
6023
|
+
switch (field) {
|
|
6024
|
+
case 2:
|
|
6025
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6026
|
+
msg.setItemTransactionRef(value);
|
|
6027
|
+
break;
|
|
6028
|
+
case 3:
|
|
6029
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6030
|
+
msg.setGlAccount(value);
|
|
6031
|
+
break;
|
|
6032
|
+
case 4:
|
|
6033
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6034
|
+
msg.setGlAccountDescription(value);
|
|
6035
|
+
break;
|
|
6036
|
+
case 5:
|
|
6037
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6038
|
+
msg.setCustomTransaction(value);
|
|
6039
|
+
break;
|
|
6040
|
+
case 6:
|
|
6041
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6042
|
+
msg.setQuantity(value);
|
|
6043
|
+
break;
|
|
6044
|
+
case 7:
|
|
6045
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6046
|
+
msg.setReferencesId(value);
|
|
6047
|
+
break;
|
|
6048
|
+
case 8:
|
|
6049
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6050
|
+
msg.setServiceNo(value);
|
|
6051
|
+
break;
|
|
6052
|
+
case 9:
|
|
6053
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6054
|
+
msg.setServiceDescription(value);
|
|
6055
|
+
break;
|
|
6056
|
+
case 10:
|
|
6057
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6058
|
+
msg.setAmountPrice(value);
|
|
6059
|
+
break;
|
|
6060
|
+
case 11:
|
|
6061
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
6062
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
6063
|
+
msg.addFiles(value);
|
|
6064
|
+
break;
|
|
6065
|
+
default:
|
|
6066
|
+
reader.skipField();
|
|
6067
|
+
break;
|
|
6068
|
+
}
|
|
6069
|
+
}
|
|
6070
|
+
return msg;
|
|
6071
|
+
};
|
|
6072
|
+
|
|
6073
|
+
|
|
6074
|
+
/**
|
|
6075
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6076
|
+
* @return {!Uint8Array}
|
|
6077
|
+
*/
|
|
6078
|
+
proto.BaseItemTransactionService.prototype.serializeBinary = function() {
|
|
6079
|
+
var writer = new jspb.BinaryWriter();
|
|
6080
|
+
proto.BaseItemTransactionService.serializeBinaryToWriter(this, writer);
|
|
6081
|
+
return writer.getResultBuffer();
|
|
6082
|
+
};
|
|
6083
|
+
|
|
6084
|
+
|
|
6085
|
+
/**
|
|
6086
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6087
|
+
* format), writing to the given BinaryWriter.
|
|
6088
|
+
* @param {!proto.BaseItemTransactionService} message
|
|
6089
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6090
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6091
|
+
*/
|
|
6092
|
+
proto.BaseItemTransactionService.serializeBinaryToWriter = function(message, writer) {
|
|
6093
|
+
var f = undefined;
|
|
6094
|
+
f = message.getItemTransactionRef();
|
|
6095
|
+
if (f.length > 0) {
|
|
6096
|
+
writer.writeString(
|
|
6097
|
+
2,
|
|
6098
|
+
f
|
|
6099
|
+
);
|
|
6100
|
+
}
|
|
6101
|
+
f = message.getGlAccount();
|
|
6102
|
+
if (f.length > 0) {
|
|
6103
|
+
writer.writeString(
|
|
6104
|
+
3,
|
|
6105
|
+
f
|
|
6106
|
+
);
|
|
6107
|
+
}
|
|
6108
|
+
f = message.getGlAccountDescription();
|
|
6109
|
+
if (f.length > 0) {
|
|
6110
|
+
writer.writeString(
|
|
6111
|
+
4,
|
|
6112
|
+
f
|
|
6113
|
+
);
|
|
6114
|
+
}
|
|
6115
|
+
f = message.getCustomTransaction();
|
|
6116
|
+
if (f.length > 0) {
|
|
6117
|
+
writer.writeString(
|
|
6118
|
+
5,
|
|
6119
|
+
f
|
|
6120
|
+
);
|
|
6121
|
+
}
|
|
6122
|
+
f = message.getQuantity();
|
|
6123
|
+
if (f.length > 0) {
|
|
6124
|
+
writer.writeString(
|
|
6125
|
+
6,
|
|
6126
|
+
f
|
|
6127
|
+
);
|
|
6128
|
+
}
|
|
6129
|
+
f = message.getReferencesId();
|
|
6130
|
+
if (f.length > 0) {
|
|
6131
|
+
writer.writeString(
|
|
6132
|
+
7,
|
|
6133
|
+
f
|
|
6134
|
+
);
|
|
6135
|
+
}
|
|
6136
|
+
f = message.getServiceNo();
|
|
6137
|
+
if (f.length > 0) {
|
|
6138
|
+
writer.writeString(
|
|
6139
|
+
8,
|
|
6140
|
+
f
|
|
6141
|
+
);
|
|
6142
|
+
}
|
|
6143
|
+
f = message.getServiceDescription();
|
|
6144
|
+
if (f.length > 0) {
|
|
6145
|
+
writer.writeString(
|
|
6146
|
+
9,
|
|
6147
|
+
f
|
|
6148
|
+
);
|
|
6149
|
+
}
|
|
6150
|
+
f = message.getAmountPrice();
|
|
6151
|
+
if (f.length > 0) {
|
|
6152
|
+
writer.writeString(
|
|
6153
|
+
10,
|
|
6154
|
+
f
|
|
6155
|
+
);
|
|
6156
|
+
}
|
|
6157
|
+
f = message.getFilesList();
|
|
6158
|
+
if (f.length > 0) {
|
|
6159
|
+
writer.writeRepeatedMessage(
|
|
6160
|
+
11,
|
|
6161
|
+
f,
|
|
6162
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
6163
|
+
);
|
|
6164
|
+
}
|
|
4975
6165
|
};
|
|
4976
6166
|
|
|
4977
6167
|
|
|
4978
6168
|
/**
|
|
4979
|
-
* optional string
|
|
6169
|
+
* optional string item_transaction_ref = 2;
|
|
4980
6170
|
* @return {string}
|
|
4981
6171
|
*/
|
|
4982
|
-
proto.
|
|
4983
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6172
|
+
proto.BaseItemTransactionService.prototype.getItemTransactionRef = function() {
|
|
6173
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4984
6174
|
};
|
|
4985
6175
|
|
|
4986
6176
|
|
|
4987
6177
|
/**
|
|
4988
6178
|
* @param {string} value
|
|
4989
|
-
* @return {!proto.
|
|
6179
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
4990
6180
|
*/
|
|
4991
|
-
proto.
|
|
4992
|
-
return jspb.Message.setProto3StringField(this,
|
|
6181
|
+
proto.BaseItemTransactionService.prototype.setItemTransactionRef = function(value) {
|
|
6182
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4993
6183
|
};
|
|
4994
6184
|
|
|
4995
6185
|
|
|
4996
6186
|
/**
|
|
4997
|
-
* optional string
|
|
6187
|
+
* optional string gl_account = 3;
|
|
4998
6188
|
* @return {string}
|
|
4999
6189
|
*/
|
|
5000
|
-
proto.
|
|
5001
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6190
|
+
proto.BaseItemTransactionService.prototype.getGlAccount = function() {
|
|
6191
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5002
6192
|
};
|
|
5003
6193
|
|
|
5004
6194
|
|
|
5005
6195
|
/**
|
|
5006
6196
|
* @param {string} value
|
|
5007
|
-
* @return {!proto.
|
|
6197
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5008
6198
|
*/
|
|
5009
|
-
proto.
|
|
5010
|
-
return jspb.Message.setProto3StringField(this,
|
|
6199
|
+
proto.BaseItemTransactionService.prototype.setGlAccount = function(value) {
|
|
6200
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5011
6201
|
};
|
|
5012
6202
|
|
|
5013
6203
|
|
|
5014
6204
|
/**
|
|
5015
|
-
* optional string
|
|
6205
|
+
* optional string gl_account_description = 4;
|
|
5016
6206
|
* @return {string}
|
|
5017
6207
|
*/
|
|
5018
|
-
proto.
|
|
5019
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6208
|
+
proto.BaseItemTransactionService.prototype.getGlAccountDescription = function() {
|
|
6209
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5020
6210
|
};
|
|
5021
6211
|
|
|
5022
6212
|
|
|
5023
6213
|
/**
|
|
5024
6214
|
* @param {string} value
|
|
5025
|
-
* @return {!proto.
|
|
6215
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5026
6216
|
*/
|
|
5027
|
-
proto.
|
|
5028
|
-
return jspb.Message.setProto3StringField(this,
|
|
6217
|
+
proto.BaseItemTransactionService.prototype.setGlAccountDescription = function(value) {
|
|
6218
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5029
6219
|
};
|
|
5030
6220
|
|
|
5031
6221
|
|
|
5032
6222
|
/**
|
|
5033
|
-
* optional string
|
|
6223
|
+
* optional string custom_transaction = 5;
|
|
5034
6224
|
* @return {string}
|
|
5035
6225
|
*/
|
|
5036
|
-
proto.
|
|
5037
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6226
|
+
proto.BaseItemTransactionService.prototype.getCustomTransaction = function() {
|
|
6227
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5038
6228
|
};
|
|
5039
6229
|
|
|
5040
6230
|
|
|
5041
6231
|
/**
|
|
5042
6232
|
* @param {string} value
|
|
5043
|
-
* @return {!proto.
|
|
6233
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5044
6234
|
*/
|
|
5045
|
-
proto.
|
|
5046
|
-
return jspb.Message.setProto3StringField(this,
|
|
6235
|
+
proto.BaseItemTransactionService.prototype.setCustomTransaction = function(value) {
|
|
6236
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5047
6237
|
};
|
|
5048
6238
|
|
|
5049
6239
|
|
|
5050
6240
|
/**
|
|
5051
|
-
* optional string
|
|
6241
|
+
* optional string quantity = 6;
|
|
5052
6242
|
* @return {string}
|
|
5053
6243
|
*/
|
|
5054
|
-
proto.
|
|
5055
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6244
|
+
proto.BaseItemTransactionService.prototype.getQuantity = function() {
|
|
6245
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5056
6246
|
};
|
|
5057
6247
|
|
|
5058
6248
|
|
|
5059
6249
|
/**
|
|
5060
6250
|
* @param {string} value
|
|
5061
|
-
* @return {!proto.
|
|
6251
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5062
6252
|
*/
|
|
5063
|
-
proto.
|
|
5064
|
-
return jspb.Message.setProto3StringField(this,
|
|
6253
|
+
proto.BaseItemTransactionService.prototype.setQuantity = function(value) {
|
|
6254
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5065
6255
|
};
|
|
5066
6256
|
|
|
5067
6257
|
|
|
5068
6258
|
/**
|
|
5069
|
-
* optional string
|
|
6259
|
+
* optional string references_id = 7;
|
|
5070
6260
|
* @return {string}
|
|
5071
6261
|
*/
|
|
5072
|
-
proto.
|
|
5073
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6262
|
+
proto.BaseItemTransactionService.prototype.getReferencesId = function() {
|
|
6263
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5074
6264
|
};
|
|
5075
6265
|
|
|
5076
6266
|
|
|
5077
6267
|
/**
|
|
5078
6268
|
* @param {string} value
|
|
5079
|
-
* @return {!proto.
|
|
6269
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5080
6270
|
*/
|
|
5081
|
-
proto.
|
|
5082
|
-
return jspb.Message.setProto3StringField(this,
|
|
6271
|
+
proto.BaseItemTransactionService.prototype.setReferencesId = function(value) {
|
|
6272
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
5083
6273
|
};
|
|
5084
6274
|
|
|
5085
6275
|
|
|
5086
6276
|
/**
|
|
5087
|
-
* optional string
|
|
6277
|
+
* optional string service_no = 8;
|
|
5088
6278
|
* @return {string}
|
|
5089
6279
|
*/
|
|
5090
|
-
proto.
|
|
5091
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6280
|
+
proto.BaseItemTransactionService.prototype.getServiceNo = function() {
|
|
6281
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
5092
6282
|
};
|
|
5093
6283
|
|
|
5094
6284
|
|
|
5095
6285
|
/**
|
|
5096
6286
|
* @param {string} value
|
|
5097
|
-
* @return {!proto.
|
|
6287
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5098
6288
|
*/
|
|
5099
|
-
proto.
|
|
5100
|
-
return jspb.Message.setProto3StringField(this,
|
|
6289
|
+
proto.BaseItemTransactionService.prototype.setServiceNo = function(value) {
|
|
6290
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
5101
6291
|
};
|
|
5102
6292
|
|
|
5103
6293
|
|
|
5104
6294
|
/**
|
|
5105
|
-
* optional string
|
|
6295
|
+
* optional string service_description = 9;
|
|
5106
6296
|
* @return {string}
|
|
5107
6297
|
*/
|
|
5108
|
-
proto.
|
|
5109
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6298
|
+
proto.BaseItemTransactionService.prototype.getServiceDescription = function() {
|
|
6299
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5110
6300
|
};
|
|
5111
6301
|
|
|
5112
6302
|
|
|
5113
6303
|
/**
|
|
5114
6304
|
* @param {string} value
|
|
5115
|
-
* @return {!proto.
|
|
6305
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5116
6306
|
*/
|
|
5117
|
-
proto.
|
|
5118
|
-
return jspb.Message.setProto3StringField(this,
|
|
6307
|
+
proto.BaseItemTransactionService.prototype.setServiceDescription = function(value) {
|
|
6308
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
5119
6309
|
};
|
|
5120
6310
|
|
|
5121
6311
|
|
|
5122
6312
|
/**
|
|
5123
|
-
* optional string
|
|
6313
|
+
* optional string amount_price = 10;
|
|
5124
6314
|
* @return {string}
|
|
5125
6315
|
*/
|
|
5126
|
-
proto.
|
|
5127
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6316
|
+
proto.BaseItemTransactionService.prototype.getAmountPrice = function() {
|
|
6317
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5128
6318
|
};
|
|
5129
6319
|
|
|
5130
6320
|
|
|
5131
6321
|
/**
|
|
5132
6322
|
* @param {string} value
|
|
5133
|
-
* @return {!proto.
|
|
6323
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5134
6324
|
*/
|
|
5135
|
-
proto.
|
|
5136
|
-
return jspb.Message.setProto3StringField(this,
|
|
6325
|
+
proto.BaseItemTransactionService.prototype.setAmountPrice = function(value) {
|
|
6326
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5137
6327
|
};
|
|
5138
6328
|
|
|
5139
6329
|
|
|
5140
6330
|
/**
|
|
5141
|
-
* repeated FileUploadReferencesReq files =
|
|
6331
|
+
* repeated FileUploadReferencesReq files = 11;
|
|
5142
6332
|
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
5143
6333
|
*/
|
|
5144
|
-
proto.
|
|
6334
|
+
proto.BaseItemTransactionService.prototype.getFilesList = function() {
|
|
5145
6335
|
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
5146
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq,
|
|
6336
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 11));
|
|
5147
6337
|
};
|
|
5148
6338
|
|
|
5149
6339
|
|
|
5150
6340
|
/**
|
|
5151
6341
|
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
5152
|
-
* @return {!proto.
|
|
6342
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5153
6343
|
*/
|
|
5154
|
-
proto.
|
|
5155
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
6344
|
+
proto.BaseItemTransactionService.prototype.setFilesList = function(value) {
|
|
6345
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
5156
6346
|
};
|
|
5157
6347
|
|
|
5158
6348
|
|
|
@@ -5161,28 +6351,21 @@ proto.BaseItemTransactionDetail.prototype.setFilesList = function(value) {
|
|
|
5161
6351
|
* @param {number=} opt_index
|
|
5162
6352
|
* @return {!proto.FileUploadReferencesReq}
|
|
5163
6353
|
*/
|
|
5164
|
-
proto.
|
|
5165
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
6354
|
+
proto.BaseItemTransactionService.prototype.addFiles = function(opt_value, opt_index) {
|
|
6355
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
5166
6356
|
};
|
|
5167
6357
|
|
|
5168
6358
|
|
|
5169
6359
|
/**
|
|
5170
6360
|
* Clears the list making it empty but non-null.
|
|
5171
|
-
* @return {!proto.
|
|
6361
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
5172
6362
|
*/
|
|
5173
|
-
proto.
|
|
6363
|
+
proto.BaseItemTransactionService.prototype.clearFilesList = function() {
|
|
5174
6364
|
return this.setFilesList([]);
|
|
5175
6365
|
};
|
|
5176
6366
|
|
|
5177
6367
|
|
|
5178
6368
|
|
|
5179
|
-
/**
|
|
5180
|
-
* List of repeated fields within this message type.
|
|
5181
|
-
* @private {!Array<number>}
|
|
5182
|
-
* @const
|
|
5183
|
-
*/
|
|
5184
|
-
proto.BaseItemTransactionService.repeatedFields_ = [11];
|
|
5185
|
-
|
|
5186
6369
|
|
|
5187
6370
|
|
|
5188
6371
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5198,8 +6381,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5198
6381
|
* http://goto/soy-param-migration
|
|
5199
6382
|
* @return {!Object}
|
|
5200
6383
|
*/
|
|
5201
|
-
proto.
|
|
5202
|
-
return proto.
|
|
6384
|
+
proto.BaseItemTransactionPriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
6385
|
+
return proto.BaseItemTransactionPriceCondition.toObject(opt_includeInstance, this);
|
|
5203
6386
|
};
|
|
5204
6387
|
|
|
5205
6388
|
|
|
@@ -5208,23 +6391,23 @@ proto.BaseItemTransactionService.prototype.toObject = function(opt_includeInstan
|
|
|
5208
6391
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5209
6392
|
* the JSPB instance for transitional soy proto support:
|
|
5210
6393
|
* http://goto/soy-param-migration
|
|
5211
|
-
* @param {!proto.
|
|
6394
|
+
* @param {!proto.BaseItemTransactionPriceCondition} msg The msg instance to transform.
|
|
5212
6395
|
* @return {!Object}
|
|
5213
6396
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5214
6397
|
*/
|
|
5215
|
-
proto.
|
|
6398
|
+
proto.BaseItemTransactionPriceCondition.toObject = function(includeInstance, msg) {
|
|
5216
6399
|
var f, obj = {
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
6400
|
+
amount: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6401
|
+
operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6402
|
+
divide: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6403
|
+
type: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6404
|
+
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6405
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6406
|
+
code: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
6407
|
+
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
6408
|
+
properties: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
6409
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
6410
|
+
currency: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
5228
6411
|
};
|
|
5229
6412
|
|
|
5230
6413
|
if (includeInstance) {
|
|
@@ -5238,69 +6421,72 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
|
5238
6421
|
/**
|
|
5239
6422
|
* Deserializes binary data (in protobuf wire format).
|
|
5240
6423
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5241
|
-
* @return {!proto.
|
|
6424
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
5242
6425
|
*/
|
|
5243
|
-
proto.
|
|
6426
|
+
proto.BaseItemTransactionPriceCondition.deserializeBinary = function(bytes) {
|
|
5244
6427
|
var reader = new jspb.BinaryReader(bytes);
|
|
5245
|
-
var msg = new proto.
|
|
5246
|
-
return proto.
|
|
6428
|
+
var msg = new proto.BaseItemTransactionPriceCondition;
|
|
6429
|
+
return proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
5247
6430
|
};
|
|
5248
6431
|
|
|
5249
6432
|
|
|
5250
6433
|
/**
|
|
5251
6434
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5252
6435
|
* given reader into the given message object.
|
|
5253
|
-
* @param {!proto.
|
|
6436
|
+
* @param {!proto.BaseItemTransactionPriceCondition} msg The message object to deserialize into.
|
|
5254
6437
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5255
|
-
* @return {!proto.
|
|
6438
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
5256
6439
|
*/
|
|
5257
|
-
proto.
|
|
6440
|
+
proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
5258
6441
|
while (reader.nextField()) {
|
|
5259
6442
|
if (reader.isEndGroup()) {
|
|
5260
6443
|
break;
|
|
5261
6444
|
}
|
|
5262
6445
|
var field = reader.getFieldNumber();
|
|
5263
6446
|
switch (field) {
|
|
6447
|
+
case 1:
|
|
6448
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6449
|
+
msg.setAmount(value);
|
|
6450
|
+
break;
|
|
5264
6451
|
case 2:
|
|
5265
6452
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5266
|
-
msg.
|
|
6453
|
+
msg.setOperator(value);
|
|
5267
6454
|
break;
|
|
5268
6455
|
case 3:
|
|
5269
6456
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5270
|
-
msg.
|
|
6457
|
+
msg.setDivide(value);
|
|
5271
6458
|
break;
|
|
5272
6459
|
case 4:
|
|
5273
6460
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5274
|
-
msg.
|
|
6461
|
+
msg.setType(value);
|
|
5275
6462
|
break;
|
|
5276
6463
|
case 5:
|
|
5277
6464
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5278
|
-
msg.
|
|
6465
|
+
msg.setName(value);
|
|
5279
6466
|
break;
|
|
5280
6467
|
case 6:
|
|
5281
6468
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5282
|
-
msg.
|
|
6469
|
+
msg.setItemTransactionRef(value);
|
|
5283
6470
|
break;
|
|
5284
6471
|
case 7:
|
|
5285
6472
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5286
|
-
msg.
|
|
6473
|
+
msg.setCode(value);
|
|
5287
6474
|
break;
|
|
5288
6475
|
case 8:
|
|
5289
|
-
var value = /** @type {
|
|
5290
|
-
msg.
|
|
6476
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6477
|
+
msg.setIsGeneral(value);
|
|
5291
6478
|
break;
|
|
5292
6479
|
case 9:
|
|
5293
6480
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5294
|
-
msg.
|
|
6481
|
+
msg.setProperties(value);
|
|
5295
6482
|
break;
|
|
5296
6483
|
case 10:
|
|
5297
6484
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5298
|
-
msg.
|
|
6485
|
+
msg.setUnitOfMeasure(value);
|
|
5299
6486
|
break;
|
|
5300
6487
|
case 11:
|
|
5301
|
-
var value =
|
|
5302
|
-
|
|
5303
|
-
msg.addFiles(value);
|
|
6488
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6489
|
+
msg.setCurrency(value);
|
|
5304
6490
|
break;
|
|
5305
6491
|
default:
|
|
5306
6492
|
reader.skipField();
|
|
@@ -5315,9 +6501,9 @@ proto.BaseItemTransactionService.deserializeBinaryFromReader = function(msg, rea
|
|
|
5315
6501
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5316
6502
|
* @return {!Uint8Array}
|
|
5317
6503
|
*/
|
|
5318
|
-
proto.
|
|
6504
|
+
proto.BaseItemTransactionPriceCondition.prototype.serializeBinary = function() {
|
|
5319
6505
|
var writer = new jspb.BinaryWriter();
|
|
5320
|
-
proto.
|
|
6506
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter(this, writer);
|
|
5321
6507
|
return writer.getResultBuffer();
|
|
5322
6508
|
};
|
|
5323
6509
|
|
|
@@ -5325,283 +6511,287 @@ proto.BaseItemTransactionService.prototype.serializeBinary = function() {
|
|
|
5325
6511
|
/**
|
|
5326
6512
|
* Serializes the given message to binary data (in protobuf wire
|
|
5327
6513
|
* format), writing to the given BinaryWriter.
|
|
5328
|
-
* @param {!proto.
|
|
6514
|
+
* @param {!proto.BaseItemTransactionPriceCondition} message
|
|
5329
6515
|
* @param {!jspb.BinaryWriter} writer
|
|
5330
6516
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5331
6517
|
*/
|
|
5332
|
-
proto.
|
|
6518
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
5333
6519
|
var f = undefined;
|
|
5334
|
-
f = message.
|
|
6520
|
+
f = message.getAmount();
|
|
6521
|
+
if (f.length > 0) {
|
|
6522
|
+
writer.writeString(
|
|
6523
|
+
1,
|
|
6524
|
+
f
|
|
6525
|
+
);
|
|
6526
|
+
}
|
|
6527
|
+
f = message.getOperator();
|
|
5335
6528
|
if (f.length > 0) {
|
|
5336
6529
|
writer.writeString(
|
|
5337
6530
|
2,
|
|
5338
6531
|
f
|
|
5339
6532
|
);
|
|
5340
6533
|
}
|
|
5341
|
-
f = message.
|
|
6534
|
+
f = message.getDivide();
|
|
5342
6535
|
if (f.length > 0) {
|
|
5343
6536
|
writer.writeString(
|
|
5344
6537
|
3,
|
|
5345
6538
|
f
|
|
5346
6539
|
);
|
|
5347
6540
|
}
|
|
5348
|
-
f = message.
|
|
6541
|
+
f = message.getType();
|
|
5349
6542
|
if (f.length > 0) {
|
|
5350
6543
|
writer.writeString(
|
|
5351
6544
|
4,
|
|
5352
6545
|
f
|
|
5353
6546
|
);
|
|
5354
6547
|
}
|
|
5355
|
-
f = message.
|
|
6548
|
+
f = message.getName();
|
|
5356
6549
|
if (f.length > 0) {
|
|
5357
6550
|
writer.writeString(
|
|
5358
6551
|
5,
|
|
5359
6552
|
f
|
|
5360
6553
|
);
|
|
5361
6554
|
}
|
|
5362
|
-
f = message.
|
|
6555
|
+
f = message.getItemTransactionRef();
|
|
5363
6556
|
if (f.length > 0) {
|
|
5364
6557
|
writer.writeString(
|
|
5365
6558
|
6,
|
|
5366
6559
|
f
|
|
5367
6560
|
);
|
|
5368
6561
|
}
|
|
5369
|
-
f = message.
|
|
6562
|
+
f = message.getCode();
|
|
5370
6563
|
if (f.length > 0) {
|
|
5371
6564
|
writer.writeString(
|
|
5372
6565
|
7,
|
|
5373
6566
|
f
|
|
5374
6567
|
);
|
|
5375
6568
|
}
|
|
5376
|
-
f = message.
|
|
5377
|
-
if (f
|
|
5378
|
-
writer.
|
|
6569
|
+
f = message.getIsGeneral();
|
|
6570
|
+
if (f) {
|
|
6571
|
+
writer.writeBool(
|
|
5379
6572
|
8,
|
|
5380
6573
|
f
|
|
5381
6574
|
);
|
|
5382
6575
|
}
|
|
5383
|
-
f = message.
|
|
6576
|
+
f = message.getProperties();
|
|
5384
6577
|
if (f.length > 0) {
|
|
5385
6578
|
writer.writeString(
|
|
5386
6579
|
9,
|
|
5387
6580
|
f
|
|
5388
6581
|
);
|
|
5389
6582
|
}
|
|
5390
|
-
f = message.
|
|
6583
|
+
f = message.getUnitOfMeasure();
|
|
5391
6584
|
if (f.length > 0) {
|
|
5392
6585
|
writer.writeString(
|
|
5393
6586
|
10,
|
|
5394
6587
|
f
|
|
5395
6588
|
);
|
|
5396
6589
|
}
|
|
5397
|
-
f = message.
|
|
6590
|
+
f = message.getCurrency();
|
|
5398
6591
|
if (f.length > 0) {
|
|
5399
|
-
writer.
|
|
6592
|
+
writer.writeString(
|
|
5400
6593
|
11,
|
|
5401
|
-
f
|
|
5402
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
6594
|
+
f
|
|
5403
6595
|
);
|
|
5404
6596
|
}
|
|
5405
6597
|
};
|
|
5406
6598
|
|
|
5407
6599
|
|
|
5408
6600
|
/**
|
|
5409
|
-
* optional string
|
|
6601
|
+
* optional string amount = 1;
|
|
5410
6602
|
* @return {string}
|
|
5411
6603
|
*/
|
|
5412
|
-
proto.
|
|
6604
|
+
proto.BaseItemTransactionPriceCondition.prototype.getAmount = function() {
|
|
6605
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6606
|
+
};
|
|
6607
|
+
|
|
6608
|
+
|
|
6609
|
+
/**
|
|
6610
|
+
* @param {string} value
|
|
6611
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
6612
|
+
*/
|
|
6613
|
+
proto.BaseItemTransactionPriceCondition.prototype.setAmount = function(value) {
|
|
6614
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6615
|
+
};
|
|
6616
|
+
|
|
6617
|
+
|
|
6618
|
+
/**
|
|
6619
|
+
* optional string operator = 2;
|
|
6620
|
+
* @return {string}
|
|
6621
|
+
*/
|
|
6622
|
+
proto.BaseItemTransactionPriceCondition.prototype.getOperator = function() {
|
|
5413
6623
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5414
6624
|
};
|
|
5415
6625
|
|
|
5416
6626
|
|
|
5417
6627
|
/**
|
|
5418
6628
|
* @param {string} value
|
|
5419
|
-
* @return {!proto.
|
|
6629
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5420
6630
|
*/
|
|
5421
|
-
proto.
|
|
6631
|
+
proto.BaseItemTransactionPriceCondition.prototype.setOperator = function(value) {
|
|
5422
6632
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5423
6633
|
};
|
|
5424
6634
|
|
|
5425
6635
|
|
|
5426
6636
|
/**
|
|
5427
|
-
* optional string
|
|
6637
|
+
* optional string divide = 3;
|
|
5428
6638
|
* @return {string}
|
|
5429
6639
|
*/
|
|
5430
|
-
proto.
|
|
6640
|
+
proto.BaseItemTransactionPriceCondition.prototype.getDivide = function() {
|
|
5431
6641
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5432
6642
|
};
|
|
5433
6643
|
|
|
5434
6644
|
|
|
5435
6645
|
/**
|
|
5436
6646
|
* @param {string} value
|
|
5437
|
-
* @return {!proto.
|
|
6647
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5438
6648
|
*/
|
|
5439
|
-
proto.
|
|
6649
|
+
proto.BaseItemTransactionPriceCondition.prototype.setDivide = function(value) {
|
|
5440
6650
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5441
6651
|
};
|
|
5442
6652
|
|
|
5443
6653
|
|
|
5444
6654
|
/**
|
|
5445
|
-
* optional string
|
|
6655
|
+
* optional string type = 4;
|
|
5446
6656
|
* @return {string}
|
|
5447
6657
|
*/
|
|
5448
|
-
proto.
|
|
6658
|
+
proto.BaseItemTransactionPriceCondition.prototype.getType = function() {
|
|
5449
6659
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5450
6660
|
};
|
|
5451
6661
|
|
|
5452
6662
|
|
|
5453
6663
|
/**
|
|
5454
6664
|
* @param {string} value
|
|
5455
|
-
* @return {!proto.
|
|
6665
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5456
6666
|
*/
|
|
5457
|
-
proto.
|
|
6667
|
+
proto.BaseItemTransactionPriceCondition.prototype.setType = function(value) {
|
|
5458
6668
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5459
6669
|
};
|
|
5460
6670
|
|
|
5461
6671
|
|
|
5462
6672
|
/**
|
|
5463
|
-
* optional string
|
|
6673
|
+
* optional string name = 5;
|
|
5464
6674
|
* @return {string}
|
|
5465
6675
|
*/
|
|
5466
|
-
proto.
|
|
6676
|
+
proto.BaseItemTransactionPriceCondition.prototype.getName = function() {
|
|
5467
6677
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5468
6678
|
};
|
|
5469
6679
|
|
|
5470
6680
|
|
|
5471
6681
|
/**
|
|
5472
6682
|
* @param {string} value
|
|
5473
|
-
* @return {!proto.
|
|
6683
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5474
6684
|
*/
|
|
5475
|
-
proto.
|
|
6685
|
+
proto.BaseItemTransactionPriceCondition.prototype.setName = function(value) {
|
|
5476
6686
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5477
6687
|
};
|
|
5478
6688
|
|
|
5479
6689
|
|
|
5480
6690
|
/**
|
|
5481
|
-
* optional string
|
|
6691
|
+
* optional string item_transaction_ref = 6;
|
|
5482
6692
|
* @return {string}
|
|
5483
6693
|
*/
|
|
5484
|
-
proto.
|
|
6694
|
+
proto.BaseItemTransactionPriceCondition.prototype.getItemTransactionRef = function() {
|
|
5485
6695
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5486
6696
|
};
|
|
5487
6697
|
|
|
5488
6698
|
|
|
5489
6699
|
/**
|
|
5490
6700
|
* @param {string} value
|
|
5491
|
-
* @return {!proto.
|
|
6701
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5492
6702
|
*/
|
|
5493
|
-
proto.
|
|
6703
|
+
proto.BaseItemTransactionPriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
5494
6704
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5495
6705
|
};
|
|
5496
6706
|
|
|
5497
6707
|
|
|
5498
6708
|
/**
|
|
5499
|
-
* optional string
|
|
6709
|
+
* optional string code = 7;
|
|
5500
6710
|
* @return {string}
|
|
5501
6711
|
*/
|
|
5502
|
-
proto.
|
|
6712
|
+
proto.BaseItemTransactionPriceCondition.prototype.getCode = function() {
|
|
5503
6713
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5504
6714
|
};
|
|
5505
6715
|
|
|
5506
6716
|
|
|
5507
6717
|
/**
|
|
5508
6718
|
* @param {string} value
|
|
5509
|
-
* @return {!proto.
|
|
6719
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5510
6720
|
*/
|
|
5511
|
-
proto.
|
|
6721
|
+
proto.BaseItemTransactionPriceCondition.prototype.setCode = function(value) {
|
|
5512
6722
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
5513
6723
|
};
|
|
5514
6724
|
|
|
5515
6725
|
|
|
5516
6726
|
/**
|
|
5517
|
-
* optional
|
|
5518
|
-
* @return {
|
|
6727
|
+
* optional bool is_general = 8;
|
|
6728
|
+
* @return {boolean}
|
|
5519
6729
|
*/
|
|
5520
|
-
proto.
|
|
5521
|
-
return /** @type {
|
|
6730
|
+
proto.BaseItemTransactionPriceCondition.prototype.getIsGeneral = function() {
|
|
6731
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
5522
6732
|
};
|
|
5523
6733
|
|
|
5524
6734
|
|
|
5525
6735
|
/**
|
|
5526
|
-
* @param {
|
|
5527
|
-
* @return {!proto.
|
|
6736
|
+
* @param {boolean} value
|
|
6737
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5528
6738
|
*/
|
|
5529
|
-
proto.
|
|
5530
|
-
return jspb.Message.
|
|
6739
|
+
proto.BaseItemTransactionPriceCondition.prototype.setIsGeneral = function(value) {
|
|
6740
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
5531
6741
|
};
|
|
5532
6742
|
|
|
5533
6743
|
|
|
5534
6744
|
/**
|
|
5535
|
-
* optional string
|
|
6745
|
+
* optional string properties = 9;
|
|
5536
6746
|
* @return {string}
|
|
5537
6747
|
*/
|
|
5538
|
-
proto.
|
|
6748
|
+
proto.BaseItemTransactionPriceCondition.prototype.getProperties = function() {
|
|
5539
6749
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5540
6750
|
};
|
|
5541
6751
|
|
|
5542
6752
|
|
|
5543
6753
|
/**
|
|
5544
6754
|
* @param {string} value
|
|
5545
|
-
* @return {!proto.
|
|
6755
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5546
6756
|
*/
|
|
5547
|
-
proto.
|
|
6757
|
+
proto.BaseItemTransactionPriceCondition.prototype.setProperties = function(value) {
|
|
5548
6758
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
5549
6759
|
};
|
|
5550
6760
|
|
|
5551
6761
|
|
|
5552
6762
|
/**
|
|
5553
|
-
* optional string
|
|
6763
|
+
* optional string unit_of_measure = 10;
|
|
5554
6764
|
* @return {string}
|
|
5555
6765
|
*/
|
|
5556
|
-
proto.
|
|
6766
|
+
proto.BaseItemTransactionPriceCondition.prototype.getUnitOfMeasure = function() {
|
|
5557
6767
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5558
6768
|
};
|
|
5559
6769
|
|
|
5560
6770
|
|
|
5561
6771
|
/**
|
|
5562
6772
|
* @param {string} value
|
|
5563
|
-
* @return {!proto.
|
|
6773
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5564
6774
|
*/
|
|
5565
|
-
proto.
|
|
6775
|
+
proto.BaseItemTransactionPriceCondition.prototype.setUnitOfMeasure = function(value) {
|
|
5566
6776
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5567
6777
|
};
|
|
5568
6778
|
|
|
5569
6779
|
|
|
5570
6780
|
/**
|
|
5571
|
-
*
|
|
5572
|
-
* @return {
|
|
5573
|
-
*/
|
|
5574
|
-
proto.BaseItemTransactionService.prototype.getFilesList = function() {
|
|
5575
|
-
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
5576
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 11));
|
|
5577
|
-
};
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
/**
|
|
5581
|
-
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
5582
|
-
* @return {!proto.BaseItemTransactionService} returns this
|
|
5583
|
-
*/
|
|
5584
|
-
proto.BaseItemTransactionService.prototype.setFilesList = function(value) {
|
|
5585
|
-
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
5586
|
-
};
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
/**
|
|
5590
|
-
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
5591
|
-
* @param {number=} opt_index
|
|
5592
|
-
* @return {!proto.FileUploadReferencesReq}
|
|
6781
|
+
* optional string currency = 11;
|
|
6782
|
+
* @return {string}
|
|
5593
6783
|
*/
|
|
5594
|
-
proto.
|
|
5595
|
-
return jspb.Message.
|
|
6784
|
+
proto.BaseItemTransactionPriceCondition.prototype.getCurrency = function() {
|
|
6785
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5596
6786
|
};
|
|
5597
6787
|
|
|
5598
6788
|
|
|
5599
6789
|
/**
|
|
5600
|
-
*
|
|
5601
|
-
* @return {!proto.
|
|
6790
|
+
* @param {string} value
|
|
6791
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5602
6792
|
*/
|
|
5603
|
-
proto.
|
|
5604
|
-
return
|
|
6793
|
+
proto.BaseItemTransactionPriceCondition.prototype.setCurrency = function(value) {
|
|
6794
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
5605
6795
|
};
|
|
5606
6796
|
|
|
5607
6797
|
|
|
@@ -5621,8 +6811,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5621
6811
|
* http://goto/soy-param-migration
|
|
5622
6812
|
* @return {!Object}
|
|
5623
6813
|
*/
|
|
5624
|
-
proto.
|
|
5625
|
-
return proto.
|
|
6814
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
6815
|
+
return proto.BaseItemTransactionDetailPriceCondition.toObject(opt_includeInstance, this);
|
|
5626
6816
|
};
|
|
5627
6817
|
|
|
5628
6818
|
|
|
@@ -5631,11 +6821,11 @@ proto.BaseItemTransactionPriceCondition.prototype.toObject = function(opt_includ
|
|
|
5631
6821
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5632
6822
|
* the JSPB instance for transitional soy proto support:
|
|
5633
6823
|
* http://goto/soy-param-migration
|
|
5634
|
-
* @param {!proto.
|
|
6824
|
+
* @param {!proto.BaseItemTransactionDetailPriceCondition} msg The msg instance to transform.
|
|
5635
6825
|
* @return {!Object}
|
|
5636
6826
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5637
6827
|
*/
|
|
5638
|
-
proto.
|
|
6828
|
+
proto.BaseItemTransactionDetailPriceCondition.toObject = function(includeInstance, msg) {
|
|
5639
6829
|
var f, obj = {
|
|
5640
6830
|
amount: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5641
6831
|
operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -5661,23 +6851,23 @@ currency: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
|
5661
6851
|
/**
|
|
5662
6852
|
* Deserializes binary data (in protobuf wire format).
|
|
5663
6853
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5664
|
-
* @return {!proto.
|
|
6854
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition}
|
|
5665
6855
|
*/
|
|
5666
|
-
proto.
|
|
6856
|
+
proto.BaseItemTransactionDetailPriceCondition.deserializeBinary = function(bytes) {
|
|
5667
6857
|
var reader = new jspb.BinaryReader(bytes);
|
|
5668
|
-
var msg = new proto.
|
|
5669
|
-
return proto.
|
|
6858
|
+
var msg = new proto.BaseItemTransactionDetailPriceCondition;
|
|
6859
|
+
return proto.BaseItemTransactionDetailPriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
5670
6860
|
};
|
|
5671
6861
|
|
|
5672
6862
|
|
|
5673
6863
|
/**
|
|
5674
6864
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5675
6865
|
* given reader into the given message object.
|
|
5676
|
-
* @param {!proto.
|
|
6866
|
+
* @param {!proto.BaseItemTransactionDetailPriceCondition} msg The message object to deserialize into.
|
|
5677
6867
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5678
|
-
* @return {!proto.
|
|
6868
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition}
|
|
5679
6869
|
*/
|
|
5680
|
-
proto.
|
|
6870
|
+
proto.BaseItemTransactionDetailPriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
5681
6871
|
while (reader.nextField()) {
|
|
5682
6872
|
if (reader.isEndGroup()) {
|
|
5683
6873
|
break;
|
|
@@ -5741,9 +6931,9 @@ proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(m
|
|
|
5741
6931
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5742
6932
|
* @return {!Uint8Array}
|
|
5743
6933
|
*/
|
|
5744
|
-
proto.
|
|
6934
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.serializeBinary = function() {
|
|
5745
6935
|
var writer = new jspb.BinaryWriter();
|
|
5746
|
-
proto.
|
|
6936
|
+
proto.BaseItemTransactionDetailPriceCondition.serializeBinaryToWriter(this, writer);
|
|
5747
6937
|
return writer.getResultBuffer();
|
|
5748
6938
|
};
|
|
5749
6939
|
|
|
@@ -5751,11 +6941,11 @@ proto.BaseItemTransactionPriceCondition.prototype.serializeBinary = function() {
|
|
|
5751
6941
|
/**
|
|
5752
6942
|
* Serializes the given message to binary data (in protobuf wire
|
|
5753
6943
|
* format), writing to the given BinaryWriter.
|
|
5754
|
-
* @param {!proto.
|
|
6944
|
+
* @param {!proto.BaseItemTransactionDetailPriceCondition} message
|
|
5755
6945
|
* @param {!jspb.BinaryWriter} writer
|
|
5756
6946
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5757
6947
|
*/
|
|
5758
|
-
proto.
|
|
6948
|
+
proto.BaseItemTransactionDetailPriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
5759
6949
|
var f = undefined;
|
|
5760
6950
|
f = message.getAmount();
|
|
5761
6951
|
if (f.length > 0) {
|
|
@@ -5841,16 +7031,16 @@ proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(messa
|
|
|
5841
7031
|
* optional string amount = 1;
|
|
5842
7032
|
* @return {string}
|
|
5843
7033
|
*/
|
|
5844
|
-
proto.
|
|
7034
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getAmount = function() {
|
|
5845
7035
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5846
7036
|
};
|
|
5847
7037
|
|
|
5848
7038
|
|
|
5849
7039
|
/**
|
|
5850
7040
|
* @param {string} value
|
|
5851
|
-
* @return {!proto.
|
|
7041
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
5852
7042
|
*/
|
|
5853
|
-
proto.
|
|
7043
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setAmount = function(value) {
|
|
5854
7044
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5855
7045
|
};
|
|
5856
7046
|
|
|
@@ -5859,16 +7049,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setAmount = function(value) {
|
|
|
5859
7049
|
* optional string operator = 2;
|
|
5860
7050
|
* @return {string}
|
|
5861
7051
|
*/
|
|
5862
|
-
proto.
|
|
7052
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getOperator = function() {
|
|
5863
7053
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5864
7054
|
};
|
|
5865
7055
|
|
|
5866
7056
|
|
|
5867
7057
|
/**
|
|
5868
7058
|
* @param {string} value
|
|
5869
|
-
* @return {!proto.
|
|
7059
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
5870
7060
|
*/
|
|
5871
|
-
proto.
|
|
7061
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setOperator = function(value) {
|
|
5872
7062
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5873
7063
|
};
|
|
5874
7064
|
|
|
@@ -5877,16 +7067,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setOperator = function(value)
|
|
|
5877
7067
|
* optional string divide = 3;
|
|
5878
7068
|
* @return {string}
|
|
5879
7069
|
*/
|
|
5880
|
-
proto.
|
|
7070
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getDivide = function() {
|
|
5881
7071
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5882
7072
|
};
|
|
5883
7073
|
|
|
5884
7074
|
|
|
5885
7075
|
/**
|
|
5886
7076
|
* @param {string} value
|
|
5887
|
-
* @return {!proto.
|
|
7077
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
5888
7078
|
*/
|
|
5889
|
-
proto.
|
|
7079
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setDivide = function(value) {
|
|
5890
7080
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5891
7081
|
};
|
|
5892
7082
|
|
|
@@ -5895,16 +7085,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setDivide = function(value) {
|
|
|
5895
7085
|
* optional string type = 4;
|
|
5896
7086
|
* @return {string}
|
|
5897
7087
|
*/
|
|
5898
|
-
proto.
|
|
7088
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getType = function() {
|
|
5899
7089
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5900
7090
|
};
|
|
5901
7091
|
|
|
5902
7092
|
|
|
5903
7093
|
/**
|
|
5904
7094
|
* @param {string} value
|
|
5905
|
-
* @return {!proto.
|
|
7095
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
5906
7096
|
*/
|
|
5907
|
-
proto.
|
|
7097
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setType = function(value) {
|
|
5908
7098
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5909
7099
|
};
|
|
5910
7100
|
|
|
@@ -5913,16 +7103,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setType = function(value) {
|
|
|
5913
7103
|
* optional string name = 5;
|
|
5914
7104
|
* @return {string}
|
|
5915
7105
|
*/
|
|
5916
|
-
proto.
|
|
7106
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getName = function() {
|
|
5917
7107
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5918
7108
|
};
|
|
5919
7109
|
|
|
5920
7110
|
|
|
5921
7111
|
/**
|
|
5922
7112
|
* @param {string} value
|
|
5923
|
-
* @return {!proto.
|
|
7113
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
5924
7114
|
*/
|
|
5925
|
-
proto.
|
|
7115
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setName = function(value) {
|
|
5926
7116
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5927
7117
|
};
|
|
5928
7118
|
|
|
@@ -5931,16 +7121,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setName = function(value) {
|
|
|
5931
7121
|
* optional string item_transaction_ref = 6;
|
|
5932
7122
|
* @return {string}
|
|
5933
7123
|
*/
|
|
5934
|
-
proto.
|
|
7124
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getItemTransactionRef = function() {
|
|
5935
7125
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5936
7126
|
};
|
|
5937
7127
|
|
|
5938
7128
|
|
|
5939
7129
|
/**
|
|
5940
7130
|
* @param {string} value
|
|
5941
|
-
* @return {!proto.
|
|
7131
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
5942
7132
|
*/
|
|
5943
|
-
proto.
|
|
7133
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
5944
7134
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5945
7135
|
};
|
|
5946
7136
|
|
|
@@ -5949,16 +7139,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setItemTransactionRef = functi
|
|
|
5949
7139
|
* optional string code = 7;
|
|
5950
7140
|
* @return {string}
|
|
5951
7141
|
*/
|
|
5952
|
-
proto.
|
|
7142
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getCode = function() {
|
|
5953
7143
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5954
7144
|
};
|
|
5955
7145
|
|
|
5956
7146
|
|
|
5957
7147
|
/**
|
|
5958
7148
|
* @param {string} value
|
|
5959
|
-
* @return {!proto.
|
|
7149
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
5960
7150
|
*/
|
|
5961
|
-
proto.
|
|
7151
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setCode = function(value) {
|
|
5962
7152
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
5963
7153
|
};
|
|
5964
7154
|
|
|
@@ -5967,16 +7157,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setCode = function(value) {
|
|
|
5967
7157
|
* optional bool is_general = 8;
|
|
5968
7158
|
* @return {boolean}
|
|
5969
7159
|
*/
|
|
5970
|
-
proto.
|
|
7160
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getIsGeneral = function() {
|
|
5971
7161
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
5972
7162
|
};
|
|
5973
7163
|
|
|
5974
7164
|
|
|
5975
7165
|
/**
|
|
5976
7166
|
* @param {boolean} value
|
|
5977
|
-
* @return {!proto.
|
|
7167
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
5978
7168
|
*/
|
|
5979
|
-
proto.
|
|
7169
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setIsGeneral = function(value) {
|
|
5980
7170
|
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
5981
7171
|
};
|
|
5982
7172
|
|
|
@@ -5985,16 +7175,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setIsGeneral = function(value)
|
|
|
5985
7175
|
* optional string properties = 9;
|
|
5986
7176
|
* @return {string}
|
|
5987
7177
|
*/
|
|
5988
|
-
proto.
|
|
7178
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getProperties = function() {
|
|
5989
7179
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5990
7180
|
};
|
|
5991
7181
|
|
|
5992
7182
|
|
|
5993
7183
|
/**
|
|
5994
7184
|
* @param {string} value
|
|
5995
|
-
* @return {!proto.
|
|
7185
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
5996
7186
|
*/
|
|
5997
|
-
proto.
|
|
7187
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setProperties = function(value) {
|
|
5998
7188
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
5999
7189
|
};
|
|
6000
7190
|
|
|
@@ -6003,16 +7193,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setProperties = function(value
|
|
|
6003
7193
|
* optional string unit_of_measure = 10;
|
|
6004
7194
|
* @return {string}
|
|
6005
7195
|
*/
|
|
6006
|
-
proto.
|
|
7196
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getUnitOfMeasure = function() {
|
|
6007
7197
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
6008
7198
|
};
|
|
6009
7199
|
|
|
6010
7200
|
|
|
6011
7201
|
/**
|
|
6012
7202
|
* @param {string} value
|
|
6013
|
-
* @return {!proto.
|
|
7203
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6014
7204
|
*/
|
|
6015
|
-
proto.
|
|
7205
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setUnitOfMeasure = function(value) {
|
|
6016
7206
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
6017
7207
|
};
|
|
6018
7208
|
|
|
@@ -6021,16 +7211,16 @@ proto.BaseItemTransactionPriceCondition.prototype.setUnitOfMeasure = function(va
|
|
|
6021
7211
|
* optional string currency = 11;
|
|
6022
7212
|
* @return {string}
|
|
6023
7213
|
*/
|
|
6024
|
-
proto.
|
|
7214
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.getCurrency = function() {
|
|
6025
7215
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
6026
7216
|
};
|
|
6027
7217
|
|
|
6028
7218
|
|
|
6029
7219
|
/**
|
|
6030
7220
|
* @param {string} value
|
|
6031
|
-
* @return {!proto.
|
|
7221
|
+
* @return {!proto.BaseItemTransactionDetailPriceCondition} returns this
|
|
6032
7222
|
*/
|
|
6033
|
-
proto.
|
|
7223
|
+
proto.BaseItemTransactionDetailPriceCondition.prototype.setCurrency = function(value) {
|
|
6034
7224
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
6035
7225
|
};
|
|
6036
7226
|
|