@sniipwebmaster/loyalty-program-client-grpcweb 22.16.156 → 22.16.173
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.
|
@@ -74,6 +74,86 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient =
|
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
|
|
77
|
+
/**
|
|
78
|
+
* @const
|
|
79
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
80
|
+
* !proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest,
|
|
81
|
+
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
82
|
+
*/
|
|
83
|
+
const methodDescriptor_LoyaltyProgramServiceAPIService_CreateJournalEntryForTransaction = new grpc.web.MethodDescriptor(
|
|
84
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateJournalEntryForTransaction',
|
|
85
|
+
grpc.web.MethodType.UNARY,
|
|
86
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest,
|
|
87
|
+
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
88
|
+
/**
|
|
89
|
+
* @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} request
|
|
90
|
+
* @return {!Uint8Array}
|
|
91
|
+
*/
|
|
92
|
+
function(request) {
|
|
93
|
+
return request.serializeBinary();
|
|
94
|
+
},
|
|
95
|
+
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
96
|
+
);
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @const
|
|
101
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
102
|
+
* !proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest,
|
|
103
|
+
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
104
|
+
*/
|
|
105
|
+
const methodInfo_LoyaltyProgramServiceAPIService_CreateJournalEntryForTransaction = new grpc.web.AbstractClientBase.MethodInfo(
|
|
106
|
+
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
107
|
+
/**
|
|
108
|
+
* @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} request
|
|
109
|
+
* @return {!Uint8Array}
|
|
110
|
+
*/
|
|
111
|
+
function(request) {
|
|
112
|
+
return request.serializeBinary();
|
|
113
|
+
},
|
|
114
|
+
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} request The
|
|
120
|
+
* request proto
|
|
121
|
+
* @param {?Object<string, string>} metadata User defined
|
|
122
|
+
* call metadata
|
|
123
|
+
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
124
|
+
* callback The callback function(error, response)
|
|
125
|
+
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
126
|
+
* The XHR Node Readable Stream
|
|
127
|
+
*/
|
|
128
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.createJournalEntryForTransaction =
|
|
129
|
+
function(request, metadata, callback) {
|
|
130
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
131
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateJournalEntryForTransaction',
|
|
132
|
+
request,
|
|
133
|
+
metadata || {},
|
|
134
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_CreateJournalEntryForTransaction,
|
|
135
|
+
callback);
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} request The
|
|
141
|
+
* request proto
|
|
142
|
+
* @param {?Object<string, string>} metadata User defined
|
|
143
|
+
* call metadata
|
|
144
|
+
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
145
|
+
* Promise that resolves to the response
|
|
146
|
+
*/
|
|
147
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.createJournalEntryForTransaction =
|
|
148
|
+
function(request, metadata) {
|
|
149
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
150
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateJournalEntryForTransaction',
|
|
151
|
+
request,
|
|
152
|
+
metadata || {},
|
|
153
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_CreateJournalEntryForTransaction);
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
|
|
77
157
|
/**
|
|
78
158
|
* @const
|
|
79
159
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -11,9 +11,11 @@ var global = Function('return this')();
|
|
|
11
11
|
|
|
12
12
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
13
13
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
14
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest', null, global);
|
|
14
15
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest', null, global);
|
|
15
16
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest', null, global);
|
|
16
17
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType', null, global);
|
|
18
|
+
goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest', null, global);
|
|
17
19
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.LinkMembershipRequest', null, global);
|
|
18
20
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetail', null, global);
|
|
19
21
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetailResponse', null, global);
|
|
@@ -25,6 +27,182 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.ResponseCode', null, global);
|
|
|
25
27
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.ValidateMembershipRequest', null, global);
|
|
26
28
|
goog.exportSymbol('proto.loyaltyprogramserviceapi.ValidateMembershipResponse', null, global);
|
|
27
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Generated by JsPbCodeGenerator.
|
|
32
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
33
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
34
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
35
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
36
|
+
* valid.
|
|
37
|
+
* @extends {jspb.Message}
|
|
38
|
+
* @constructor
|
|
39
|
+
*/
|
|
40
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest = function(opt_data) {
|
|
41
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
42
|
+
};
|
|
43
|
+
goog.inherits(proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest, jspb.Message);
|
|
44
|
+
if (goog.DEBUG && !COMPILED) {
|
|
45
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest';
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50
|
+
/**
|
|
51
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
52
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
53
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
54
|
+
* For the list of reserved names please see:
|
|
55
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
56
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
57
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
58
|
+
* @return {!Object}
|
|
59
|
+
*/
|
|
60
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
61
|
+
return proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.toObject(opt_includeInstance, this);
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Static version of the {@see toObject} method.
|
|
67
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
68
|
+
* instance for transitional soy proto support:
|
|
69
|
+
* http://goto/soy-param-migration
|
|
70
|
+
* @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} msg The msg instance to transform.
|
|
71
|
+
* @return {!Object}
|
|
72
|
+
*/
|
|
73
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.toObject = function(includeInstance, msg) {
|
|
74
|
+
var f, obj = {
|
|
75
|
+
data: (f = msg.getData()) && proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.toObject(includeInstance, f)
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
if (includeInstance) {
|
|
79
|
+
obj.$jspbMessageInstance = msg;
|
|
80
|
+
}
|
|
81
|
+
return obj;
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Deserializes binary data (in protobuf wire format).
|
|
88
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89
|
+
* @return {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest}
|
|
90
|
+
*/
|
|
91
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deserializeBinary = function(bytes) {
|
|
92
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
93
|
+
var msg = new proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest;
|
|
94
|
+
return proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deserializeBinaryFromReader(msg, reader);
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
100
|
+
* given reader into the given message object.
|
|
101
|
+
* @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} msg The message object to deserialize into.
|
|
102
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
103
|
+
* @return {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest}
|
|
104
|
+
*/
|
|
105
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
106
|
+
while (reader.nextField()) {
|
|
107
|
+
if (reader.isEndGroup()) {
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
var field = reader.getFieldNumber();
|
|
111
|
+
switch (field) {
|
|
112
|
+
case 1:
|
|
113
|
+
var value = new proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest;
|
|
114
|
+
reader.readMessage(value,proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinaryFromReader);
|
|
115
|
+
msg.setData(value);
|
|
116
|
+
break;
|
|
117
|
+
default:
|
|
118
|
+
reader.skipField();
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
return msg;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Class method variant: serializes the given message to binary data
|
|
128
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
129
|
+
* @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} message
|
|
130
|
+
* @param {!jspb.BinaryWriter} writer
|
|
131
|
+
*/
|
|
132
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
133
|
+
message.serializeBinaryToWriter(writer);
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
139
|
+
* @return {!Uint8Array}
|
|
140
|
+
*/
|
|
141
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.serializeBinary = function() {
|
|
142
|
+
var writer = new jspb.BinaryWriter();
|
|
143
|
+
this.serializeBinaryToWriter(writer);
|
|
144
|
+
return writer.getResultBuffer();
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
150
|
+
* writing to the given BinaryWriter.
|
|
151
|
+
* @param {!jspb.BinaryWriter} writer
|
|
152
|
+
*/
|
|
153
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
154
|
+
var f = undefined;
|
|
155
|
+
f = this.getData();
|
|
156
|
+
if (f != null) {
|
|
157
|
+
writer.writeMessage(
|
|
158
|
+
1,
|
|
159
|
+
f,
|
|
160
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.serializeBinaryToWriter
|
|
161
|
+
);
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
168
|
+
* @return {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} The clone.
|
|
169
|
+
*/
|
|
170
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.cloneMessage = function() {
|
|
171
|
+
return /** @type {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} */ (jspb.Message.cloneMessage(this));
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* optional CreateTransactionJournalEntryRequest data = 1;
|
|
177
|
+
* @return {proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest}
|
|
178
|
+
*/
|
|
179
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.getData = function() {
|
|
180
|
+
return /** @type{proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} */ (
|
|
181
|
+
jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest, 1));
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
/** @param {proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest|undefined} value */
|
|
186
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.setData = function(value) {
|
|
187
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.clearData = function() {
|
|
192
|
+
this.setData(undefined);
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Returns whether this field is set.
|
|
198
|
+
* @return{!boolean}
|
|
199
|
+
*/
|
|
200
|
+
proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.hasData = function() {
|
|
201
|
+
return jspb.Message.getField(this, 1) != null;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
28
206
|
/**
|
|
29
207
|
* Generated by JsPbCodeGenerator.
|
|
30
208
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -247,6 +425,7 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.toObject = functio
|
|
|
247
425
|
proto.loyaltyprogramserviceapi.CreateProgramRequest.toObject = function(includeInstance, msg) {
|
|
248
426
|
var f, obj = {
|
|
249
427
|
name: msg.getName(),
|
|
428
|
+
code: msg.getCode(),
|
|
250
429
|
logourl: msg.getLogourl(),
|
|
251
430
|
earnedamount: msg.getEarnedamount(),
|
|
252
431
|
spentamount: msg.getSpentamount(),
|
|
@@ -290,10 +469,14 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinaryFromReader
|
|
|
290
469
|
}
|
|
291
470
|
var field = reader.getFieldNumber();
|
|
292
471
|
switch (field) {
|
|
293
|
-
case
|
|
472
|
+
case 1:
|
|
294
473
|
var value = /** @type {string} */ (reader.readString());
|
|
295
474
|
msg.setName(value);
|
|
296
475
|
break;
|
|
476
|
+
case 2:
|
|
477
|
+
var value = /** @type {string} */ (reader.readString());
|
|
478
|
+
msg.setCode(value);
|
|
479
|
+
break;
|
|
297
480
|
case 3:
|
|
298
481
|
var value = /** @type {string} */ (reader.readString());
|
|
299
482
|
msg.setLogourl(value);
|
|
@@ -361,6 +544,13 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.serializeBinary =
|
|
|
361
544
|
proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
362
545
|
var f = undefined;
|
|
363
546
|
f = this.getName();
|
|
547
|
+
if (f.length > 0) {
|
|
548
|
+
writer.writeString(
|
|
549
|
+
1,
|
|
550
|
+
f
|
|
551
|
+
);
|
|
552
|
+
}
|
|
553
|
+
f = this.getCode();
|
|
364
554
|
if (f.length > 0) {
|
|
365
555
|
writer.writeString(
|
|
366
556
|
2,
|
|
@@ -429,16 +619,31 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.cloneMessage = fun
|
|
|
429
619
|
|
|
430
620
|
|
|
431
621
|
/**
|
|
432
|
-
* optional string name =
|
|
622
|
+
* optional string name = 1;
|
|
433
623
|
* @return {string}
|
|
434
624
|
*/
|
|
435
625
|
proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getName = function() {
|
|
436
|
-
return /** @type {string} */ (jspb.Message.getFieldProto3(this,
|
|
626
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
437
627
|
};
|
|
438
628
|
|
|
439
629
|
|
|
440
630
|
/** @param {string} value */
|
|
441
631
|
proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setName = function(value) {
|
|
632
|
+
jspb.Message.setField(this, 1, value);
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* optional string code = 2;
|
|
638
|
+
* @return {string}
|
|
639
|
+
*/
|
|
640
|
+
proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getCode = function() {
|
|
641
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
642
|
+
};
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
/** @param {string} value */
|
|
646
|
+
proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setCode = function(value) {
|
|
442
647
|
jspb.Message.setField(this, 2, value);
|
|
443
648
|
};
|
|
444
649
|
|
|
@@ -558,6 +763,246 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembersh
|
|
|
558
763
|
};
|
|
559
764
|
|
|
560
765
|
|
|
766
|
+
/**
|
|
767
|
+
* Generated by JsPbCodeGenerator.
|
|
768
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
769
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
770
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
771
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
772
|
+
* valid.
|
|
773
|
+
* @extends {jspb.Message}
|
|
774
|
+
* @constructor
|
|
775
|
+
*/
|
|
776
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest = function(opt_data) {
|
|
777
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
778
|
+
};
|
|
779
|
+
goog.inherits(proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest, jspb.Message);
|
|
780
|
+
if (goog.DEBUG && !COMPILED) {
|
|
781
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest';
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
786
|
+
/**
|
|
787
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
788
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
789
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
790
|
+
* For the list of reserved names please see:
|
|
791
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
792
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
793
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
794
|
+
* @return {!Object}
|
|
795
|
+
*/
|
|
796
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.toObject = function(opt_includeInstance) {
|
|
797
|
+
return proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.toObject(opt_includeInstance, this);
|
|
798
|
+
};
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* Static version of the {@see toObject} method.
|
|
803
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
804
|
+
* instance for transitional soy proto support:
|
|
805
|
+
* http://goto/soy-param-migration
|
|
806
|
+
* @param {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} msg The msg instance to transform.
|
|
807
|
+
* @return {!Object}
|
|
808
|
+
*/
|
|
809
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.toObject = function(includeInstance, msg) {
|
|
810
|
+
var f, obj = {
|
|
811
|
+
membershipid: msg.getMembershipid(),
|
|
812
|
+
userid: msg.getUserid(),
|
|
813
|
+
transactionid: msg.getTransactionid(),
|
|
814
|
+
paymentamount: msg.getPaymentamount()
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
if (includeInstance) {
|
|
818
|
+
obj.$jspbMessageInstance = msg;
|
|
819
|
+
}
|
|
820
|
+
return obj;
|
|
821
|
+
};
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Deserializes binary data (in protobuf wire format).
|
|
827
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
828
|
+
* @return {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest}
|
|
829
|
+
*/
|
|
830
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinary = function(bytes) {
|
|
831
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
832
|
+
var msg = new proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest;
|
|
833
|
+
return proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinaryFromReader(msg, reader);
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
839
|
+
* given reader into the given message object.
|
|
840
|
+
* @param {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} msg The message object to deserialize into.
|
|
841
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
842
|
+
* @return {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest}
|
|
843
|
+
*/
|
|
844
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
845
|
+
while (reader.nextField()) {
|
|
846
|
+
if (reader.isEndGroup()) {
|
|
847
|
+
break;
|
|
848
|
+
}
|
|
849
|
+
var field = reader.getFieldNumber();
|
|
850
|
+
switch (field) {
|
|
851
|
+
case 1:
|
|
852
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
853
|
+
msg.setMembershipid(value);
|
|
854
|
+
break;
|
|
855
|
+
case 2:
|
|
856
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
857
|
+
msg.setUserid(value);
|
|
858
|
+
break;
|
|
859
|
+
case 3:
|
|
860
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
861
|
+
msg.setTransactionid(value);
|
|
862
|
+
break;
|
|
863
|
+
case 4:
|
|
864
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
865
|
+
msg.setPaymentamount(value);
|
|
866
|
+
break;
|
|
867
|
+
default:
|
|
868
|
+
reader.skipField();
|
|
869
|
+
break;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
return msg;
|
|
873
|
+
};
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Class method variant: serializes the given message to binary data
|
|
878
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
879
|
+
* @param {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} message
|
|
880
|
+
* @param {!jspb.BinaryWriter} writer
|
|
881
|
+
*/
|
|
882
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.serializeBinaryToWriter = function(message, writer) {
|
|
883
|
+
message.serializeBinaryToWriter(writer);
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
889
|
+
* @return {!Uint8Array}
|
|
890
|
+
*/
|
|
891
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.serializeBinary = function() {
|
|
892
|
+
var writer = new jspb.BinaryWriter();
|
|
893
|
+
this.serializeBinaryToWriter(writer);
|
|
894
|
+
return writer.getResultBuffer();
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
900
|
+
* writing to the given BinaryWriter.
|
|
901
|
+
* @param {!jspb.BinaryWriter} writer
|
|
902
|
+
*/
|
|
903
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
904
|
+
var f = undefined;
|
|
905
|
+
f = this.getMembershipid();
|
|
906
|
+
if (f !== 0) {
|
|
907
|
+
writer.writeInt64(
|
|
908
|
+
1,
|
|
909
|
+
f
|
|
910
|
+
);
|
|
911
|
+
}
|
|
912
|
+
f = this.getUserid();
|
|
913
|
+
if (f !== 0) {
|
|
914
|
+
writer.writeInt64(
|
|
915
|
+
2,
|
|
916
|
+
f
|
|
917
|
+
);
|
|
918
|
+
}
|
|
919
|
+
f = this.getTransactionid();
|
|
920
|
+
if (f !== 0) {
|
|
921
|
+
writer.writeInt64(
|
|
922
|
+
3,
|
|
923
|
+
f
|
|
924
|
+
);
|
|
925
|
+
}
|
|
926
|
+
f = this.getPaymentamount();
|
|
927
|
+
if (f !== 0.0) {
|
|
928
|
+
writer.writeFloat(
|
|
929
|
+
4,
|
|
930
|
+
f
|
|
931
|
+
);
|
|
932
|
+
}
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
938
|
+
* @return {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} The clone.
|
|
939
|
+
*/
|
|
940
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.cloneMessage = function() {
|
|
941
|
+
return /** @type {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} */ (jspb.Message.cloneMessage(this));
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* optional int64 membershipId = 1;
|
|
947
|
+
* @return {number}
|
|
948
|
+
*/
|
|
949
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getMembershipid = function() {
|
|
950
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
951
|
+
};
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
/** @param {number} value */
|
|
955
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setMembershipid = function(value) {
|
|
956
|
+
jspb.Message.setField(this, 1, value);
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* optional int64 userId = 2;
|
|
962
|
+
* @return {number}
|
|
963
|
+
*/
|
|
964
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getUserid = function() {
|
|
965
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
966
|
+
};
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
/** @param {number} value */
|
|
970
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setUserid = function(value) {
|
|
971
|
+
jspb.Message.setField(this, 2, value);
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* optional int64 transactionId = 3;
|
|
977
|
+
* @return {number}
|
|
978
|
+
*/
|
|
979
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getTransactionid = function() {
|
|
980
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
/** @param {number} value */
|
|
985
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setTransactionid = function(value) {
|
|
986
|
+
jspb.Message.setField(this, 3, value);
|
|
987
|
+
};
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* optional float paymentAmount = 4;
|
|
992
|
+
* @return {number}
|
|
993
|
+
*/
|
|
994
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getPaymentamount = function() {
|
|
995
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
/** @param {number} value */
|
|
1000
|
+
proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setPaymentamount = function(value) {
|
|
1001
|
+
jspb.Message.setField(this, 4, value);
|
|
1002
|
+
};
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
|
|
561
1006
|
/**
|
|
562
1007
|
* Generated by JsPbCodeGenerator.
|
|
563
1008
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1361,6 +1806,7 @@ proto.loyaltyprogramserviceapi.ProgramDetail.toObject = function(includeInstance
|
|
|
1361
1806
|
var f, obj = {
|
|
1362
1807
|
id: msg.getId(),
|
|
1363
1808
|
name: msg.getName(),
|
|
1809
|
+
code: msg.getCode(),
|
|
1364
1810
|
logourl: msg.getLogourl(),
|
|
1365
1811
|
earnedamount: msg.getEarnedamount(),
|
|
1366
1812
|
spentamount: msg.getSpentamount(),
|
|
@@ -1414,29 +1860,33 @@ proto.loyaltyprogramserviceapi.ProgramDetail.deserializeBinaryFromReader = funct
|
|
|
1414
1860
|
break;
|
|
1415
1861
|
case 3:
|
|
1416
1862
|
var value = /** @type {string} */ (reader.readString());
|
|
1417
|
-
msg.
|
|
1863
|
+
msg.setCode(value);
|
|
1418
1864
|
break;
|
|
1419
1865
|
case 4:
|
|
1866
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1867
|
+
msg.setLogourl(value);
|
|
1868
|
+
break;
|
|
1869
|
+
case 5:
|
|
1420
1870
|
var value = /** @type {number} */ (reader.readInt32());
|
|
1421
1871
|
msg.setEarnedamount(value);
|
|
1422
1872
|
break;
|
|
1423
|
-
case
|
|
1873
|
+
case 6:
|
|
1424
1874
|
var value = /** @type {number} */ (reader.readInt32());
|
|
1425
1875
|
msg.setSpentamount(value);
|
|
1426
1876
|
break;
|
|
1427
|
-
case
|
|
1877
|
+
case 7:
|
|
1428
1878
|
var value = /** @type {number} */ (reader.readInt32());
|
|
1429
1879
|
msg.setMembershipnumberlength(value);
|
|
1430
1880
|
break;
|
|
1431
|
-
case
|
|
1881
|
+
case 8:
|
|
1432
1882
|
var value = /** @type {!proto.loyaltyprogramserviceapi.ProgramDetail.ProgramDetailMembershipNumberType} */ (reader.readEnum());
|
|
1433
1883
|
msg.setMembershipnumbertype(value);
|
|
1434
1884
|
break;
|
|
1435
|
-
case
|
|
1885
|
+
case 9:
|
|
1436
1886
|
var value = /** @type {string} */ (reader.readString());
|
|
1437
1887
|
msg.setTermsandconditionsurl(value);
|
|
1438
1888
|
break;
|
|
1439
|
-
case
|
|
1889
|
+
case 10:
|
|
1440
1890
|
var value = /** @type {string} */ (reader.readString());
|
|
1441
1891
|
msg.setExternalurl(value);
|
|
1442
1892
|
break;
|
|
@@ -1492,52 +1942,59 @@ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.serializeBinaryToWriter =
|
|
|
1492
1942
|
f
|
|
1493
1943
|
);
|
|
1494
1944
|
}
|
|
1495
|
-
f = this.
|
|
1945
|
+
f = this.getCode();
|
|
1496
1946
|
if (f.length > 0) {
|
|
1497
1947
|
writer.writeString(
|
|
1498
1948
|
3,
|
|
1499
1949
|
f
|
|
1500
1950
|
);
|
|
1501
1951
|
}
|
|
1952
|
+
f = this.getLogourl();
|
|
1953
|
+
if (f.length > 0) {
|
|
1954
|
+
writer.writeString(
|
|
1955
|
+
4,
|
|
1956
|
+
f
|
|
1957
|
+
);
|
|
1958
|
+
}
|
|
1502
1959
|
f = this.getEarnedamount();
|
|
1503
1960
|
if (f !== 0) {
|
|
1504
1961
|
writer.writeInt32(
|
|
1505
|
-
|
|
1962
|
+
5,
|
|
1506
1963
|
f
|
|
1507
1964
|
);
|
|
1508
1965
|
}
|
|
1509
1966
|
f = this.getSpentamount();
|
|
1510
1967
|
if (f !== 0) {
|
|
1511
1968
|
writer.writeInt32(
|
|
1512
|
-
|
|
1969
|
+
6,
|
|
1513
1970
|
f
|
|
1514
1971
|
);
|
|
1515
1972
|
}
|
|
1516
1973
|
f = this.getMembershipnumberlength();
|
|
1517
1974
|
if (f !== 0) {
|
|
1518
1975
|
writer.writeInt32(
|
|
1519
|
-
|
|
1976
|
+
7,
|
|
1520
1977
|
f
|
|
1521
1978
|
);
|
|
1522
1979
|
}
|
|
1523
1980
|
f = this.getMembershipnumbertype();
|
|
1524
1981
|
if (f !== 0.0) {
|
|
1525
1982
|
writer.writeEnum(
|
|
1526
|
-
|
|
1983
|
+
8,
|
|
1527
1984
|
f
|
|
1528
1985
|
);
|
|
1529
1986
|
}
|
|
1530
1987
|
f = this.getTermsandconditionsurl();
|
|
1531
1988
|
if (f.length > 0) {
|
|
1532
1989
|
writer.writeString(
|
|
1533
|
-
|
|
1990
|
+
9,
|
|
1534
1991
|
f
|
|
1535
1992
|
);
|
|
1536
1993
|
}
|
|
1537
1994
|
f = this.getExternalurl();
|
|
1538
1995
|
if (f.length > 0) {
|
|
1539
1996
|
writer.writeString(
|
|
1540
|
-
|
|
1997
|
+
10,
|
|
1541
1998
|
f
|
|
1542
1999
|
);
|
|
1543
2000
|
}
|
|
@@ -1584,107 +2041,122 @@ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setName = function(value)
|
|
|
1584
2041
|
|
|
1585
2042
|
|
|
1586
2043
|
/**
|
|
1587
|
-
* optional string
|
|
2044
|
+
* optional string code = 3;
|
|
1588
2045
|
* @return {string}
|
|
1589
2046
|
*/
|
|
1590
|
-
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.
|
|
2047
|
+
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getCode = function() {
|
|
1591
2048
|
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
1592
2049
|
};
|
|
1593
2050
|
|
|
1594
2051
|
|
|
1595
2052
|
/** @param {string} value */
|
|
1596
|
-
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.
|
|
2053
|
+
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setCode = function(value) {
|
|
1597
2054
|
jspb.Message.setField(this, 3, value);
|
|
1598
2055
|
};
|
|
1599
2056
|
|
|
1600
2057
|
|
|
1601
2058
|
/**
|
|
1602
|
-
* optional
|
|
2059
|
+
* optional string logoUrl = 4;
|
|
2060
|
+
* @return {string}
|
|
2061
|
+
*/
|
|
2062
|
+
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getLogourl = function() {
|
|
2063
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
2064
|
+
};
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
|
+
/** @param {string} value */
|
|
2068
|
+
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setLogourl = function(value) {
|
|
2069
|
+
jspb.Message.setField(this, 4, value);
|
|
2070
|
+
};
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* optional int32 earnedAmount = 5;
|
|
1603
2075
|
* @return {number}
|
|
1604
2076
|
*/
|
|
1605
2077
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getEarnedamount = function() {
|
|
1606
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this,
|
|
2078
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 5, 0));
|
|
1607
2079
|
};
|
|
1608
2080
|
|
|
1609
2081
|
|
|
1610
2082
|
/** @param {number} value */
|
|
1611
2083
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setEarnedamount = function(value) {
|
|
1612
|
-
jspb.Message.setField(this,
|
|
2084
|
+
jspb.Message.setField(this, 5, value);
|
|
1613
2085
|
};
|
|
1614
2086
|
|
|
1615
2087
|
|
|
1616
2088
|
/**
|
|
1617
|
-
* optional int32 spentAmount =
|
|
2089
|
+
* optional int32 spentAmount = 6;
|
|
1618
2090
|
* @return {number}
|
|
1619
2091
|
*/
|
|
1620
2092
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getSpentamount = function() {
|
|
1621
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this,
|
|
2093
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 6, 0));
|
|
1622
2094
|
};
|
|
1623
2095
|
|
|
1624
2096
|
|
|
1625
2097
|
/** @param {number} value */
|
|
1626
2098
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setSpentamount = function(value) {
|
|
1627
|
-
jspb.Message.setField(this,
|
|
2099
|
+
jspb.Message.setField(this, 6, value);
|
|
1628
2100
|
};
|
|
1629
2101
|
|
|
1630
2102
|
|
|
1631
2103
|
/**
|
|
1632
|
-
* optional int32 membershipNumberLength =
|
|
2104
|
+
* optional int32 membershipNumberLength = 7;
|
|
1633
2105
|
* @return {number}
|
|
1634
2106
|
*/
|
|
1635
2107
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getMembershipnumberlength = function() {
|
|
1636
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this,
|
|
2108
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 7, 0));
|
|
1637
2109
|
};
|
|
1638
2110
|
|
|
1639
2111
|
|
|
1640
2112
|
/** @param {number} value */
|
|
1641
2113
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setMembershipnumberlength = function(value) {
|
|
1642
|
-
jspb.Message.setField(this,
|
|
2114
|
+
jspb.Message.setField(this, 7, value);
|
|
1643
2115
|
};
|
|
1644
2116
|
|
|
1645
2117
|
|
|
1646
2118
|
/**
|
|
1647
|
-
* optional ProgramDetailMembershipNumberType membershipNumberType =
|
|
2119
|
+
* optional ProgramDetailMembershipNumberType membershipNumberType = 8;
|
|
1648
2120
|
* @return {!proto.loyaltyprogramserviceapi.ProgramDetail.ProgramDetailMembershipNumberType}
|
|
1649
2121
|
*/
|
|
1650
2122
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getMembershipnumbertype = function() {
|
|
1651
|
-
return /** @type {!proto.loyaltyprogramserviceapi.ProgramDetail.ProgramDetailMembershipNumberType} */ (jspb.Message.getFieldProto3(this,
|
|
2123
|
+
return /** @type {!proto.loyaltyprogramserviceapi.ProgramDetail.ProgramDetailMembershipNumberType} */ (jspb.Message.getFieldProto3(this, 8, 0));
|
|
1652
2124
|
};
|
|
1653
2125
|
|
|
1654
2126
|
|
|
1655
2127
|
/** @param {!proto.loyaltyprogramserviceapi.ProgramDetail.ProgramDetailMembershipNumberType} value */
|
|
1656
2128
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setMembershipnumbertype = function(value) {
|
|
1657
|
-
jspb.Message.setField(this,
|
|
2129
|
+
jspb.Message.setField(this, 8, value);
|
|
1658
2130
|
};
|
|
1659
2131
|
|
|
1660
2132
|
|
|
1661
2133
|
/**
|
|
1662
|
-
* optional string termsAndConditionsUrl =
|
|
2134
|
+
* optional string termsAndConditionsUrl = 9;
|
|
1663
2135
|
* @return {string}
|
|
1664
2136
|
*/
|
|
1665
2137
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getTermsandconditionsurl = function() {
|
|
1666
|
-
return /** @type {string} */ (jspb.Message.getFieldProto3(this,
|
|
2138
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
|
|
1667
2139
|
};
|
|
1668
2140
|
|
|
1669
2141
|
|
|
1670
2142
|
/** @param {string} value */
|
|
1671
2143
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setTermsandconditionsurl = function(value) {
|
|
1672
|
-
jspb.Message.setField(this,
|
|
2144
|
+
jspb.Message.setField(this, 9, value);
|
|
1673
2145
|
};
|
|
1674
2146
|
|
|
1675
2147
|
|
|
1676
2148
|
/**
|
|
1677
|
-
* optional string externalUrl =
|
|
2149
|
+
* optional string externalUrl = 10;
|
|
1678
2150
|
* @return {string}
|
|
1679
2151
|
*/
|
|
1680
2152
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getExternalurl = function() {
|
|
1681
|
-
return /** @type {string} */ (jspb.Message.getFieldProto3(this,
|
|
2153
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 10, ""));
|
|
1682
2154
|
};
|
|
1683
2155
|
|
|
1684
2156
|
|
|
1685
2157
|
/** @param {string} value */
|
|
1686
2158
|
proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setExternalurl = function(value) {
|
|
1687
|
-
jspb.Message.setField(this,
|
|
2159
|
+
jspb.Message.setField(this, 10, value);
|
|
1688
2160
|
};
|
|
1689
2161
|
|
|
1690
2162
|
|