@sniipwebmaster/loyalty-program-client-grpcweb 22.16.182 → 22.16.198

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.
@@ -11,12 +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);
15
14
  goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest', null, global);
15
+ goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest', null, global);
16
+ goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest', null, global);
16
17
  goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest', null, global);
17
18
  goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType', null, global);
18
- goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest', null, global);
19
- goog.exportSymbol('proto.loyaltyprogramserviceapi.GetMembershipListRequest', null, global);
20
19
  goog.exportSymbol('proto.loyaltyprogramserviceapi.LinkMembershipRequest', null, global);
21
20
  goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetail', null, global);
22
21
  goog.exportSymbol('proto.loyaltyprogramserviceapi.MembershipDetailResponse', null, global);
@@ -41,12 +40,12 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.ValidateMembershipResponse', n
41
40
  * @extends {jspb.Message}
42
41
  * @constructor
43
42
  */
44
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest = function(opt_data) {
43
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest = function(opt_data) {
45
44
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
46
45
  };
47
- goog.inherits(proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest, jspb.Message);
46
+ goog.inherits(proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest, jspb.Message);
48
47
  if (goog.DEBUG && !COMPILED) {
49
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest';
48
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest';
50
49
  }
51
50
 
52
51
 
@@ -61,8 +60,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
61
60
  * for transitional soy proto support: http://goto/soy-param-migration
62
61
  * @return {!Object}
63
62
  */
64
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.toObject = function(opt_includeInstance) {
65
- return proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.toObject(opt_includeInstance, this);
63
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.toObject = function(opt_includeInstance) {
64
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.toObject(opt_includeInstance, this);
66
65
  };
67
66
 
68
67
 
@@ -71,12 +70,12 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype
71
70
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
72
71
  * instance for transitional soy proto support:
73
72
  * http://goto/soy-param-migration
74
- * @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} msg The msg instance to transform.
73
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} msg The msg instance to transform.
75
74
  * @return {!Object}
76
75
  */
77
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.toObject = function(includeInstance, msg) {
76
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.toObject = function(includeInstance, msg) {
78
77
  var f, obj = {
79
- data: (f = msg.getData()) && proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.toObject(includeInstance, f)
78
+ data: (f = msg.getData()) && proto.loyaltyprogramserviceapi.CreateProgramRequest.toObject(includeInstance, f)
80
79
  };
81
80
 
82
81
  if (includeInstance) {
@@ -90,23 +89,23 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.toObject
90
89
  /**
91
90
  * Deserializes binary data (in protobuf wire format).
92
91
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
93
- * @return {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest}
92
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest}
94
93
  */
95
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deserializeBinary = function(bytes) {
94
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinary = function(bytes) {
96
95
  var reader = new jspb.BinaryReader(bytes);
97
- var msg = new proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest;
98
- return proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deserializeBinaryFromReader(msg, reader);
96
+ var msg = new proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest;
97
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFromReader(msg, reader);
99
98
  };
100
99
 
101
100
 
102
101
  /**
103
102
  * Deserializes binary data (in protobuf wire format) from the
104
103
  * given reader into the given message object.
105
- * @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} msg The message object to deserialize into.
104
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} msg The message object to deserialize into.
106
105
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
107
- * @return {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest}
106
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest}
108
107
  */
109
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
108
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFromReader = function(msg, reader) {
110
109
  while (reader.nextField()) {
111
110
  if (reader.isEndGroup()) {
112
111
  break;
@@ -114,8 +113,8 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deseriali
114
113
  var field = reader.getFieldNumber();
115
114
  switch (field) {
116
115
  case 1:
117
- var value = new proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest;
118
- reader.readMessage(value,proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinaryFromReader);
116
+ var value = new proto.loyaltyprogramserviceapi.CreateProgramRequest;
117
+ reader.readMessage(value,proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinaryFromReader);
119
118
  msg.setData(value);
120
119
  break;
121
120
  default:
@@ -130,10 +129,10 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.deseriali
130
129
  /**
131
130
  * Class method variant: serializes the given message to binary data
132
131
  * (in protobuf wire format), writing to the given BinaryWriter.
133
- * @param {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} message
132
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} message
134
133
  * @param {!jspb.BinaryWriter} writer
135
134
  */
136
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.serializeBinaryToWriter = function(message, writer) {
135
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.serializeBinaryToWriter = function(message, writer) {
137
136
  message.serializeBinaryToWriter(writer);
138
137
  };
139
138
 
@@ -142,7 +141,7 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.serialize
142
141
  * Serializes the message to binary data (in protobuf wire format).
143
142
  * @return {!Uint8Array}
144
143
  */
145
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.serializeBinary = function() {
144
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBinary = function() {
146
145
  var writer = new jspb.BinaryWriter();
147
146
  this.serializeBinaryToWriter(writer);
148
147
  return writer.getResultBuffer();
@@ -154,14 +153,14 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype
154
153
  * writing to the given BinaryWriter.
155
154
  * @param {!jspb.BinaryWriter} writer
156
155
  */
157
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.serializeBinaryToWriter = function (writer) {
156
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBinaryToWriter = function (writer) {
158
157
  var f = undefined;
159
158
  f = this.getData();
160
159
  if (f != null) {
161
160
  writer.writeMessage(
162
161
  1,
163
162
  f,
164
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.serializeBinaryToWriter
163
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.serializeBinaryToWriter
165
164
  );
166
165
  }
167
166
  };
@@ -169,30 +168,30 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype
169
168
 
170
169
  /**
171
170
  * Creates a deep clone of this proto. No data is shared with the original.
172
- * @return {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} The clone.
171
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} The clone.
173
172
  */
174
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.cloneMessage = function() {
175
- return /** @type {!proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest} */ (jspb.Message.cloneMessage(this));
173
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.cloneMessage = function() {
174
+ return /** @type {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} */ (jspb.Message.cloneMessage(this));
176
175
  };
177
176
 
178
177
 
179
178
  /**
180
- * optional CreateTransactionJournalEntryRequest data = 1;
181
- * @return {proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest}
179
+ * optional CreateProgramRequest data = 1;
180
+ * @return {proto.loyaltyprogramserviceapi.CreateProgramRequest}
182
181
  */
183
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.getData = function() {
184
- return /** @type{proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} */ (
185
- jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest, 1));
182
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.getData = function() {
183
+ return /** @type{proto.loyaltyprogramserviceapi.CreateProgramRequest} */ (
184
+ jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.CreateProgramRequest, 1));
186
185
  };
187
186
 
188
187
 
189
- /** @param {proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest|undefined} value */
190
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.setData = function(value) {
188
+ /** @param {proto.loyaltyprogramserviceapi.CreateProgramRequest|undefined} value */
189
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.setData = function(value) {
191
190
  jspb.Message.setWrapperField(this, 1, value);
192
191
  };
193
192
 
194
193
 
195
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.clearData = function() {
194
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.clearData = function() {
196
195
  this.setData(undefined);
197
196
  };
198
197
 
@@ -201,7 +200,7 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype
201
200
  * Returns whether this field is set.
202
201
  * @return{!boolean}
203
202
  */
204
- proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype.hasData = function() {
203
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.hasData = function() {
205
204
  return jspb.Message.getField(this, 1) != null;
206
205
  };
207
206
 
@@ -217,12 +216,12 @@ proto.loyaltyprogramserviceapi.CreateJournalEntryForTransactionRequest.prototype
217
216
  * @extends {jspb.Message}
218
217
  * @constructor
219
218
  */
220
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest = function(opt_data) {
219
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest = function(opt_data) {
221
220
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
222
221
  };
223
- goog.inherits(proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest, jspb.Message);
222
+ goog.inherits(proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest, jspb.Message);
224
223
  if (goog.DEBUG && !COMPILED) {
225
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest';
224
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest';
226
225
  }
227
226
 
228
227
 
@@ -237,8 +236,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
237
236
  * for transitional soy proto support: http://goto/soy-param-migration
238
237
  * @return {!Object}
239
238
  */
240
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.toObject = function(opt_includeInstance) {
241
- return proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.toObject(opt_includeInstance, this);
239
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.toObject = function(opt_includeInstance) {
240
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.toObject(opt_includeInstance, this);
242
241
  };
243
242
 
244
243
 
@@ -247,12 +246,12 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.toObject =
247
246
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
248
247
  * instance for transitional soy proto support:
249
248
  * http://goto/soy-param-migration
250
- * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} msg The msg instance to transform.
249
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} msg The msg instance to transform.
251
250
  * @return {!Object}
252
251
  */
253
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.toObject = function(includeInstance, msg) {
252
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.toObject = function(includeInstance, msg) {
254
253
  var f, obj = {
255
- data: (f = msg.getData()) && proto.loyaltyprogramserviceapi.CreateProgramRequest.toObject(includeInstance, f)
254
+ data: (f = msg.getData()) && proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.toObject(includeInstance, f)
256
255
  };
257
256
 
258
257
  if (includeInstance) {
@@ -266,23 +265,23 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.toObject = function(i
266
265
  /**
267
266
  * Deserializes binary data (in protobuf wire format).
268
267
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
269
- * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest}
268
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest}
270
269
  */
271
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinary = function(bytes) {
270
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.deserializeBinary = function(bytes) {
272
271
  var reader = new jspb.BinaryReader(bytes);
273
- var msg = new proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest;
274
- return proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFromReader(msg, reader);
272
+ var msg = new proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest;
273
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.deserializeBinaryFromReader(msg, reader);
275
274
  };
276
275
 
277
276
 
278
277
  /**
279
278
  * Deserializes binary data (in protobuf wire format) from the
280
279
  * given reader into the given message object.
281
- * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} msg The message object to deserialize into.
280
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} msg The message object to deserialize into.
282
281
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
283
- * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest}
282
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest}
284
283
  */
285
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFromReader = function(msg, reader) {
284
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
286
285
  while (reader.nextField()) {
287
286
  if (reader.isEndGroup()) {
288
287
  break;
@@ -290,8 +289,8 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFrom
290
289
  var field = reader.getFieldNumber();
291
290
  switch (field) {
292
291
  case 1:
293
- var value = new proto.loyaltyprogramserviceapi.CreateProgramRequest;
294
- reader.readMessage(value,proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinaryFromReader);
292
+ var value = new proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest;
293
+ reader.readMessage(value,proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.deserializeBinaryFromReader);
295
294
  msg.setData(value);
296
295
  break;
297
296
  default:
@@ -306,10 +305,10 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.deserializeBinaryFrom
306
305
  /**
307
306
  * Class method variant: serializes the given message to binary data
308
307
  * (in protobuf wire format), writing to the given BinaryWriter.
309
- * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} message
308
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} message
310
309
  * @param {!jspb.BinaryWriter} writer
311
310
  */
312
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.serializeBinaryToWriter = function(message, writer) {
311
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.serializeBinaryToWriter = function(message, writer) {
313
312
  message.serializeBinaryToWriter(writer);
314
313
  };
315
314
 
@@ -318,7 +317,7 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.serializeBinaryToWrit
318
317
  * Serializes the message to binary data (in protobuf wire format).
319
318
  * @return {!Uint8Array}
320
319
  */
321
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBinary = function() {
320
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.serializeBinary = function() {
322
321
  var writer = new jspb.BinaryWriter();
323
322
  this.serializeBinaryToWriter(writer);
324
323
  return writer.getResultBuffer();
@@ -330,14 +329,14 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBi
330
329
  * writing to the given BinaryWriter.
331
330
  * @param {!jspb.BinaryWriter} writer
332
331
  */
333
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBinaryToWriter = function (writer) {
332
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.serializeBinaryToWriter = function (writer) {
334
333
  var f = undefined;
335
334
  f = this.getData();
336
335
  if (f != null) {
337
336
  writer.writeMessage(
338
337
  1,
339
338
  f,
340
- proto.loyaltyprogramserviceapi.CreateProgramRequest.serializeBinaryToWriter
339
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.serializeBinaryToWriter
341
340
  );
342
341
  }
343
342
  };
@@ -345,30 +344,30 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.serializeBi
345
344
 
346
345
  /**
347
346
  * Creates a deep clone of this proto. No data is shared with the original.
348
- * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} The clone.
347
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} The clone.
349
348
  */
350
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.cloneMessage = function() {
351
- return /** @type {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} */ (jspb.Message.cloneMessage(this));
349
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.cloneMessage = function() {
350
+ return /** @type {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest} */ (jspb.Message.cloneMessage(this));
352
351
  };
353
352
 
354
353
 
355
354
  /**
356
- * optional CreateProgramRequest data = 1;
357
- * @return {proto.loyaltyprogramserviceapi.CreateProgramRequest}
355
+ * optional CreateLoyaltyTransactionRequest data = 1;
356
+ * @return {proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest}
358
357
  */
359
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.getData = function() {
360
- return /** @type{proto.loyaltyprogramserviceapi.CreateProgramRequest} */ (
361
- jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.CreateProgramRequest, 1));
358
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.getData = function() {
359
+ return /** @type{proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} */ (
360
+ jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest, 1));
362
361
  };
363
362
 
364
363
 
365
- /** @param {proto.loyaltyprogramserviceapi.CreateProgramRequest|undefined} value */
366
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.setData = function(value) {
364
+ /** @param {proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest|undefined} value */
365
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.setData = function(value) {
367
366
  jspb.Message.setWrapperField(this, 1, value);
368
367
  };
369
368
 
370
369
 
371
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.clearData = function() {
370
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.clearData = function() {
372
371
  this.setData(undefined);
373
372
  };
374
373
 
@@ -377,7 +376,7 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.clearData =
377
376
  * Returns whether this field is set.
378
377
  * @return{!boolean}
379
378
  */
380
- proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.hasData = function() {
379
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTransactionRequest.prototype.hasData = function() {
381
380
  return jspb.Message.getField(this, 1) != null;
382
381
  };
383
382
 
@@ -393,12 +392,12 @@ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest.prototype.hasData = f
393
392
  * @extends {jspb.Message}
394
393
  * @constructor
395
394
  */
396
- proto.loyaltyprogramserviceapi.CreateProgramRequest = function(opt_data) {
395
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest = function(opt_data) {
397
396
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
398
397
  };
399
- goog.inherits(proto.loyaltyprogramserviceapi.CreateProgramRequest, jspb.Message);
398
+ goog.inherits(proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest, jspb.Message);
400
399
  if (goog.DEBUG && !COMPILED) {
401
- proto.loyaltyprogramserviceapi.CreateProgramRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateProgramRequest';
400
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest';
402
401
  }
403
402
 
404
403
 
@@ -413,8 +412,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
413
412
  * for transitional soy proto support: http://goto/soy-param-migration
414
413
  * @return {!Object}
415
414
  */
416
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.toObject = function(opt_includeInstance) {
417
- return proto.loyaltyprogramserviceapi.CreateProgramRequest.toObject(opt_includeInstance, this);
415
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.toObject = function(opt_includeInstance) {
416
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.toObject(opt_includeInstance, this);
418
417
  };
419
418
 
420
419
 
@@ -423,20 +422,16 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.toObject = functio
423
422
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
424
423
  * instance for transitional soy proto support:
425
424
  * http://goto/soy-param-migration
426
- * @param {!proto.loyaltyprogramserviceapi.CreateProgramRequest} msg The msg instance to transform.
425
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} msg The msg instance to transform.
427
426
  * @return {!Object}
428
427
  */
429
- proto.loyaltyprogramserviceapi.CreateProgramRequest.toObject = function(includeInstance, msg) {
428
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.toObject = function(includeInstance, msg) {
430
429
  var f, obj = {
431
- name: msg.getName(),
432
- code: msg.getCode(),
433
- logourl: msg.getLogourl(),
434
- earnedamount: msg.getEarnedamount(),
435
- spentamount: msg.getSpentamount(),
436
- membershipnumberlength: msg.getMembershipnumberlength(),
437
- membershipnumbertype: msg.getMembershipnumbertype(),
438
- termsandconditionsurl: msg.getTermsandconditionsurl(),
439
- externalurl: msg.getExternalurl()
430
+ membershipid: msg.getMembershipid(),
431
+ userid: msg.getUserid(),
432
+ source: msg.getSource(),
433
+ sourceid: msg.getSourceid(),
434
+ paymentamount: msg.getPaymentamount()
440
435
  };
441
436
 
442
437
  if (includeInstance) {
@@ -450,23 +445,23 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.toObject = function(includeI
450
445
  /**
451
446
  * Deserializes binary data (in protobuf wire format).
452
447
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
453
- * @return {!proto.loyaltyprogramserviceapi.CreateProgramRequest}
448
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest}
454
449
  */
455
- proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinary = function(bytes) {
450
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.deserializeBinary = function(bytes) {
456
451
  var reader = new jspb.BinaryReader(bytes);
457
- var msg = new proto.loyaltyprogramserviceapi.CreateProgramRequest;
458
- return proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinaryFromReader(msg, reader);
452
+ var msg = new proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest;
453
+ return proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.deserializeBinaryFromReader(msg, reader);
459
454
  };
460
455
 
461
456
 
462
457
  /**
463
458
  * Deserializes binary data (in protobuf wire format) from the
464
459
  * given reader into the given message object.
465
- * @param {!proto.loyaltyprogramserviceapi.CreateProgramRequest} msg The message object to deserialize into.
460
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} msg The message object to deserialize into.
466
461
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
467
- * @return {!proto.loyaltyprogramserviceapi.CreateProgramRequest}
462
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest}
468
463
  */
469
- proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinaryFromReader = function(msg, reader) {
464
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
470
465
  while (reader.nextField()) {
471
466
  if (reader.isEndGroup()) {
472
467
  break;
@@ -474,40 +469,24 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinaryFromReader
474
469
  var field = reader.getFieldNumber();
475
470
  switch (field) {
476
471
  case 1:
477
- var value = /** @type {string} */ (reader.readString());
478
- msg.setName(value);
472
+ var value = /** @type {number} */ (reader.readInt64());
473
+ msg.setMembershipid(value);
479
474
  break;
480
475
  case 2:
481
- var value = /** @type {string} */ (reader.readString());
482
- msg.setCode(value);
476
+ var value = /** @type {number} */ (reader.readInt64());
477
+ msg.setUserid(value);
483
478
  break;
484
479
  case 3:
485
480
  var value = /** @type {string} */ (reader.readString());
486
- msg.setLogourl(value);
481
+ msg.setSource(value);
487
482
  break;
488
483
  case 4:
489
- var value = /** @type {number} */ (reader.readInt32());
490
- msg.setEarnedamount(value);
484
+ var value = /** @type {number} */ (reader.readInt64());
485
+ msg.setSourceid(value);
491
486
  break;
492
487
  case 5:
493
- var value = /** @type {number} */ (reader.readInt32());
494
- msg.setSpentamount(value);
495
- break;
496
- case 6:
497
- var value = /** @type {number} */ (reader.readInt32());
498
- msg.setMembershipnumberlength(value);
499
- break;
500
- case 7:
501
- var value = /** @type {!proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType} */ (reader.readEnum());
502
- msg.setMembershipnumbertype(value);
503
- break;
504
- case 8:
505
- var value = /** @type {string} */ (reader.readString());
506
- msg.setTermsandconditionsurl(value);
507
- break;
508
- case 9:
509
- var value = /** @type {string} */ (reader.readString());
510
- msg.setExternalurl(value);
488
+ var value = /** @type {number} */ (reader.readFloat());
489
+ msg.setPaymentamount(value);
511
490
  break;
512
491
  default:
513
492
  reader.skipField();
@@ -521,10 +500,10 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinaryFromReader
521
500
  /**
522
501
  * Class method variant: serializes the given message to binary data
523
502
  * (in protobuf wire format), writing to the given BinaryWriter.
524
- * @param {!proto.loyaltyprogramserviceapi.CreateProgramRequest} message
503
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} message
525
504
  * @param {!jspb.BinaryWriter} writer
526
505
  */
527
- proto.loyaltyprogramserviceapi.CreateProgramRequest.serializeBinaryToWriter = function(message, writer) {
506
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.serializeBinaryToWriter = function(message, writer) {
528
507
  message.serializeBinaryToWriter(writer);
529
508
  };
530
509
 
@@ -533,7 +512,7 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.serializeBinaryToWriter = fu
533
512
  * Serializes the message to binary data (in protobuf wire format).
534
513
  * @return {!Uint8Array}
535
514
  */
536
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.serializeBinary = function() {
515
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.serializeBinary = function() {
537
516
  var writer = new jspb.BinaryWriter();
538
517
  this.serializeBinaryToWriter(writer);
539
518
  return writer.getResultBuffer();
@@ -545,68 +524,40 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.serializeBinary =
545
524
  * writing to the given BinaryWriter.
546
525
  * @param {!jspb.BinaryWriter} writer
547
526
  */
548
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.serializeBinaryToWriter = function (writer) {
527
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.serializeBinaryToWriter = function (writer) {
549
528
  var f = undefined;
550
- f = this.getName();
551
- if (f.length > 0) {
552
- writer.writeString(
529
+ f = this.getMembershipid();
530
+ if (f !== 0) {
531
+ writer.writeInt64(
553
532
  1,
554
533
  f
555
534
  );
556
535
  }
557
- f = this.getCode();
558
- if (f.length > 0) {
559
- writer.writeString(
536
+ f = this.getUserid();
537
+ if (f !== 0) {
538
+ writer.writeInt64(
560
539
  2,
561
540
  f
562
541
  );
563
542
  }
564
- f = this.getLogourl();
543
+ f = this.getSource();
565
544
  if (f.length > 0) {
566
545
  writer.writeString(
567
546
  3,
568
547
  f
569
548
  );
570
549
  }
571
- f = this.getEarnedamount();
550
+ f = this.getSourceid();
572
551
  if (f !== 0) {
573
- writer.writeInt32(
552
+ writer.writeInt64(
574
553
  4,
575
554
  f
576
555
  );
577
556
  }
578
- f = this.getSpentamount();
579
- if (f !== 0) {
580
- writer.writeInt32(
581
- 5,
582
- f
583
- );
584
- }
585
- f = this.getMembershipnumberlength();
586
- if (f !== 0) {
587
- writer.writeInt32(
588
- 6,
589
- f
590
- );
591
- }
592
- f = this.getMembershipnumbertype();
557
+ f = this.getPaymentamount();
593
558
  if (f !== 0.0) {
594
- writer.writeEnum(
595
- 7,
596
- f
597
- );
598
- }
599
- f = this.getTermsandconditionsurl();
600
- if (f.length > 0) {
601
- writer.writeString(
602
- 8,
603
- f
604
- );
605
- }
606
- f = this.getExternalurl();
607
- if (f.length > 0) {
608
- writer.writeString(
609
- 9,
559
+ writer.writeFloat(
560
+ 5,
610
561
  f
611
562
  );
612
563
  }
@@ -615,190 +566,121 @@ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.serializeBinaryToW
615
566
 
616
567
  /**
617
568
  * Creates a deep clone of this proto. No data is shared with the original.
618
- * @return {!proto.loyaltyprogramserviceapi.CreateProgramRequest} The clone.
569
+ * @return {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} The clone.
619
570
  */
620
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.cloneMessage = function() {
621
- return /** @type {!proto.loyaltyprogramserviceapi.CreateProgramRequest} */ (jspb.Message.cloneMessage(this));
571
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.cloneMessage = function() {
572
+ return /** @type {!proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest} */ (jspb.Message.cloneMessage(this));
622
573
  };
623
574
 
624
575
 
625
576
  /**
626
- * optional string name = 1;
627
- * @return {string}
577
+ * optional int64 membershipId = 1;
578
+ * @return {number}
628
579
  */
629
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getName = function() {
630
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
580
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.getMembershipid = function() {
581
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
631
582
  };
632
583
 
633
584
 
634
- /** @param {string} value */
635
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setName = function(value) {
585
+ /** @param {number} value */
586
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.setMembershipid = function(value) {
636
587
  jspb.Message.setField(this, 1, value);
637
588
  };
638
589
 
639
590
 
640
591
  /**
641
- * optional string code = 2;
642
- * @return {string}
592
+ * optional int64 userId = 2;
593
+ * @return {number}
643
594
  */
644
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getCode = function() {
645
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
595
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.getUserid = function() {
596
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
646
597
  };
647
598
 
648
599
 
649
- /** @param {string} value */
650
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setCode = function(value) {
600
+ /** @param {number} value */
601
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.setUserid = function(value) {
651
602
  jspb.Message.setField(this, 2, value);
652
603
  };
653
604
 
654
605
 
655
606
  /**
656
- * optional string logoUrl = 3;
607
+ * optional string source = 3;
657
608
  * @return {string}
658
609
  */
659
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getLogourl = function() {
610
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.getSource = function() {
660
611
  return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
661
612
  };
662
613
 
663
614
 
664
615
  /** @param {string} value */
665
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setLogourl = function(value) {
616
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.setSource = function(value) {
666
617
  jspb.Message.setField(this, 3, value);
667
618
  };
668
619
 
669
620
 
670
621
  /**
671
- * optional int32 earnedAmount = 4;
622
+ * optional int64 sourceId = 4;
672
623
  * @return {number}
673
624
  */
674
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getEarnedamount = function() {
625
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.getSourceid = function() {
675
626
  return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
676
627
  };
677
628
 
678
629
 
679
630
  /** @param {number} value */
680
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setEarnedamount = function(value) {
631
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.setSourceid = function(value) {
681
632
  jspb.Message.setField(this, 4, value);
682
633
  };
683
634
 
684
635
 
685
636
  /**
686
- * optional int32 spentAmount = 5;
637
+ * optional float paymentAmount = 5;
687
638
  * @return {number}
688
639
  */
689
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getSpentamount = function() {
640
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.getPaymentamount = function() {
690
641
  return /** @type {number} */ (jspb.Message.getFieldProto3(this, 5, 0));
691
642
  };
692
643
 
693
644
 
694
645
  /** @param {number} value */
695
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setSpentamount = function(value) {
646
+ proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest.prototype.setPaymentamount = function(value) {
696
647
  jspb.Message.setField(this, 5, value);
697
648
  };
698
649
 
699
650
 
651
+
700
652
  /**
701
- * optional int32 membershipNumberLength = 6;
702
- * @return {number}
653
+ * Generated by JsPbCodeGenerator.
654
+ * @param {Array=} opt_data Optional initial data array, typically from a
655
+ * server response, or constructed directly in Javascript. The array is used
656
+ * in place and becomes part of the constructed object. It is not cloned.
657
+ * If no data is provided, the constructed object will be empty, but still
658
+ * valid.
659
+ * @extends {jspb.Message}
660
+ * @constructor
703
661
  */
704
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getMembershipnumberlength = function() {
705
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 6, 0));
706
- };
707
-
708
-
709
- /** @param {number} value */
710
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setMembershipnumberlength = function(value) {
711
- jspb.Message.setField(this, 6, value);
662
+ proto.loyaltyprogramserviceapi.CreateProgramRequest = function(opt_data) {
663
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
712
664
  };
665
+ goog.inherits(proto.loyaltyprogramserviceapi.CreateProgramRequest, jspb.Message);
666
+ if (goog.DEBUG && !COMPILED) {
667
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateProgramRequest';
668
+ }
713
669
 
714
670
 
671
+ if (jspb.Message.GENERATE_TO_OBJECT) {
715
672
  /**
716
- * optional CreateProgramRequestMembershipNumberType membershipNumberType = 7;
717
- * @return {!proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType}
673
+ * Creates an object representation of this proto suitable for use in Soy templates.
674
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
675
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
676
+ * For the list of reserved names please see:
677
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
678
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
679
+ * for transitional soy proto support: http://goto/soy-param-migration
680
+ * @return {!Object}
718
681
  */
719
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getMembershipnumbertype = function() {
720
- return /** @type {!proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType} */ (jspb.Message.getFieldProto3(this, 7, 0));
721
- };
722
-
723
-
724
- /** @param {!proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType} value */
725
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setMembershipnumbertype = function(value) {
726
- jspb.Message.setField(this, 7, value);
727
- };
728
-
729
-
730
- /**
731
- * optional string termsAndConditionsUrl = 8;
732
- * @return {string}
733
- */
734
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getTermsandconditionsurl = function() {
735
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
736
- };
737
-
738
-
739
- /** @param {string} value */
740
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setTermsandconditionsurl = function(value) {
741
- jspb.Message.setField(this, 8, value);
742
- };
743
-
744
-
745
- /**
746
- * optional string externalUrl = 9;
747
- * @return {string}
748
- */
749
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getExternalurl = function() {
750
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
751
- };
752
-
753
-
754
- /** @param {string} value */
755
- proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setExternalurl = function(value) {
756
- jspb.Message.setField(this, 9, value);
757
- };
758
-
759
-
760
- /**
761
- * @enum {number}
762
- */
763
- proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType = {
764
- CREATE_PROGRAM_REQUEST_MEMBERSHIP_NUMBER_TYPE_ONLY_NUMBERS: 0,
765
- CREATE_PROGRAM_REQUEST_MEMBERSHIP_NUMBER_TYPE_ONLY_LETTERS: 1,
766
- CREATE_PROGRAM_REQUEST_MEMBERSHIP_NUMBER_TYPE_NUMBERS_AND_LETTERS: 2
767
- };
768
-
769
-
770
- /**
771
- * Generated by JsPbCodeGenerator.
772
- * @param {Array=} opt_data Optional initial data array, typically from a
773
- * server response, or constructed directly in Javascript. The array is used
774
- * in place and becomes part of the constructed object. It is not cloned.
775
- * If no data is provided, the constructed object will be empty, but still
776
- * valid.
777
- * @extends {jspb.Message}
778
- * @constructor
779
- */
780
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest = function(opt_data) {
781
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
782
- };
783
- goog.inherits(proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest, jspb.Message);
784
- if (goog.DEBUG && !COMPILED) {
785
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest';
786
- }
787
-
788
-
789
- if (jspb.Message.GENERATE_TO_OBJECT) {
790
- /**
791
- * Creates an object representation of this proto suitable for use in Soy templates.
792
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
793
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
794
- * For the list of reserved names please see:
795
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
796
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
797
- * for transitional soy proto support: http://goto/soy-param-migration
798
- * @return {!Object}
799
- */
800
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.toObject = function(opt_includeInstance) {
801
- return proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.toObject(opt_includeInstance, this);
682
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.toObject = function(opt_includeInstance) {
683
+ return proto.loyaltyprogramserviceapi.CreateProgramRequest.toObject(opt_includeInstance, this);
802
684
  };
803
685
 
804
686
 
@@ -807,15 +689,20 @@ proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.to
807
689
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
808
690
  * instance for transitional soy proto support:
809
691
  * http://goto/soy-param-migration
810
- * @param {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} msg The msg instance to transform.
692
+ * @param {!proto.loyaltyprogramserviceapi.CreateProgramRequest} msg The msg instance to transform.
811
693
  * @return {!Object}
812
694
  */
813
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.toObject = function(includeInstance, msg) {
695
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.toObject = function(includeInstance, msg) {
814
696
  var f, obj = {
815
- membershipid: msg.getMembershipid(),
816
- userid: msg.getUserid(),
817
- transactionid: msg.getTransactionid(),
818
- paymentamount: msg.getPaymentamount()
697
+ name: msg.getName(),
698
+ code: msg.getCode(),
699
+ logourl: msg.getLogourl(),
700
+ earnedamount: msg.getEarnedamount(),
701
+ spentamount: msg.getSpentamount(),
702
+ membershipnumberlength: msg.getMembershipnumberlength(),
703
+ membershipnumbertype: msg.getMembershipnumbertype(),
704
+ termsandconditionsurl: msg.getTermsandconditionsurl(),
705
+ externalurl: msg.getExternalurl()
819
706
  };
820
707
 
821
708
  if (includeInstance) {
@@ -829,23 +716,23 @@ proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.toObject = f
829
716
  /**
830
717
  * Deserializes binary data (in protobuf wire format).
831
718
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
832
- * @return {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest}
719
+ * @return {!proto.loyaltyprogramserviceapi.CreateProgramRequest}
833
720
  */
834
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinary = function(bytes) {
721
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinary = function(bytes) {
835
722
  var reader = new jspb.BinaryReader(bytes);
836
- var msg = new proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest;
837
- return proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinaryFromReader(msg, reader);
723
+ var msg = new proto.loyaltyprogramserviceapi.CreateProgramRequest;
724
+ return proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinaryFromReader(msg, reader);
838
725
  };
839
726
 
840
727
 
841
728
  /**
842
729
  * Deserializes binary data (in protobuf wire format) from the
843
730
  * given reader into the given message object.
844
- * @param {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} msg The message object to deserialize into.
731
+ * @param {!proto.loyaltyprogramserviceapi.CreateProgramRequest} msg The message object to deserialize into.
845
732
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
846
- * @return {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest}
733
+ * @return {!proto.loyaltyprogramserviceapi.CreateProgramRequest}
847
734
  */
848
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeBinaryFromReader = function(msg, reader) {
735
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.deserializeBinaryFromReader = function(msg, reader) {
849
736
  while (reader.nextField()) {
850
737
  if (reader.isEndGroup()) {
851
738
  break;
@@ -853,20 +740,40 @@ proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeB
853
740
  var field = reader.getFieldNumber();
854
741
  switch (field) {
855
742
  case 1:
856
- var value = /** @type {number} */ (reader.readInt64());
857
- msg.setMembershipid(value);
743
+ var value = /** @type {string} */ (reader.readString());
744
+ msg.setName(value);
858
745
  break;
859
746
  case 2:
860
- var value = /** @type {number} */ (reader.readInt64());
861
- msg.setUserid(value);
747
+ var value = /** @type {string} */ (reader.readString());
748
+ msg.setCode(value);
862
749
  break;
863
750
  case 3:
864
- var value = /** @type {number} */ (reader.readInt64());
865
- msg.setTransactionid(value);
751
+ var value = /** @type {string} */ (reader.readString());
752
+ msg.setLogourl(value);
866
753
  break;
867
754
  case 4:
868
- var value = /** @type {number} */ (reader.readFloat());
869
- msg.setPaymentamount(value);
755
+ var value = /** @type {number} */ (reader.readInt32());
756
+ msg.setEarnedamount(value);
757
+ break;
758
+ case 5:
759
+ var value = /** @type {number} */ (reader.readInt32());
760
+ msg.setSpentamount(value);
761
+ break;
762
+ case 6:
763
+ var value = /** @type {number} */ (reader.readInt32());
764
+ msg.setMembershipnumberlength(value);
765
+ break;
766
+ case 7:
767
+ var value = /** @type {!proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType} */ (reader.readEnum());
768
+ msg.setMembershipnumbertype(value);
769
+ break;
770
+ case 8:
771
+ var value = /** @type {string} */ (reader.readString());
772
+ msg.setTermsandconditionsurl(value);
773
+ break;
774
+ case 9:
775
+ var value = /** @type {string} */ (reader.readString());
776
+ msg.setExternalurl(value);
870
777
  break;
871
778
  default:
872
779
  reader.skipField();
@@ -880,10 +787,10 @@ proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.deserializeB
880
787
  /**
881
788
  * Class method variant: serializes the given message to binary data
882
789
  * (in protobuf wire format), writing to the given BinaryWriter.
883
- * @param {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} message
790
+ * @param {!proto.loyaltyprogramserviceapi.CreateProgramRequest} message
884
791
  * @param {!jspb.BinaryWriter} writer
885
792
  */
886
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.serializeBinaryToWriter = function(message, writer) {
793
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.serializeBinaryToWriter = function(message, writer) {
887
794
  message.serializeBinaryToWriter(writer);
888
795
  };
889
796
 
@@ -892,7 +799,7 @@ proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.serializeBin
892
799
  * Serializes the message to binary data (in protobuf wire format).
893
800
  * @return {!Uint8Array}
894
801
  */
895
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.serializeBinary = function() {
802
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.serializeBinary = function() {
896
803
  var writer = new jspb.BinaryWriter();
897
804
  this.serializeBinaryToWriter(writer);
898
805
  return writer.getResultBuffer();
@@ -904,268 +811,228 @@ proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.se
904
811
  * writing to the given BinaryWriter.
905
812
  * @param {!jspb.BinaryWriter} writer
906
813
  */
907
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.serializeBinaryToWriter = function (writer) {
814
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.serializeBinaryToWriter = function (writer) {
908
815
  var f = undefined;
909
- f = this.getMembershipid();
910
- if (f !== 0) {
911
- writer.writeInt64(
816
+ f = this.getName();
817
+ if (f.length > 0) {
818
+ writer.writeString(
912
819
  1,
913
820
  f
914
821
  );
915
822
  }
916
- f = this.getUserid();
917
- if (f !== 0) {
918
- writer.writeInt64(
823
+ f = this.getCode();
824
+ if (f.length > 0) {
825
+ writer.writeString(
919
826
  2,
920
827
  f
921
828
  );
922
829
  }
923
- f = this.getTransactionid();
924
- if (f !== 0) {
925
- writer.writeInt64(
830
+ f = this.getLogourl();
831
+ if (f.length > 0) {
832
+ writer.writeString(
926
833
  3,
927
834
  f
928
835
  );
929
836
  }
930
- f = this.getPaymentamount();
931
- if (f !== 0.0) {
932
- writer.writeFloat(
837
+ f = this.getEarnedamount();
838
+ if (f !== 0) {
839
+ writer.writeInt32(
933
840
  4,
934
841
  f
935
842
  );
936
843
  }
844
+ f = this.getSpentamount();
845
+ if (f !== 0) {
846
+ writer.writeInt32(
847
+ 5,
848
+ f
849
+ );
850
+ }
851
+ f = this.getMembershipnumberlength();
852
+ if (f !== 0) {
853
+ writer.writeInt32(
854
+ 6,
855
+ f
856
+ );
857
+ }
858
+ f = this.getMembershipnumbertype();
859
+ if (f !== 0.0) {
860
+ writer.writeEnum(
861
+ 7,
862
+ f
863
+ );
864
+ }
865
+ f = this.getTermsandconditionsurl();
866
+ if (f.length > 0) {
867
+ writer.writeString(
868
+ 8,
869
+ f
870
+ );
871
+ }
872
+ f = this.getExternalurl();
873
+ if (f.length > 0) {
874
+ writer.writeString(
875
+ 9,
876
+ f
877
+ );
878
+ }
937
879
  };
938
880
 
939
881
 
940
882
  /**
941
883
  * Creates a deep clone of this proto. No data is shared with the original.
942
- * @return {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} The clone.
884
+ * @return {!proto.loyaltyprogramserviceapi.CreateProgramRequest} The clone.
943
885
  */
944
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.cloneMessage = function() {
945
- return /** @type {!proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest} */ (jspb.Message.cloneMessage(this));
886
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.cloneMessage = function() {
887
+ return /** @type {!proto.loyaltyprogramserviceapi.CreateProgramRequest} */ (jspb.Message.cloneMessage(this));
946
888
  };
947
889
 
948
890
 
949
891
  /**
950
- * optional int64 membershipId = 1;
951
- * @return {number}
892
+ * optional string name = 1;
893
+ * @return {string}
952
894
  */
953
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getMembershipid = function() {
954
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
895
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getName = function() {
896
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
955
897
  };
956
898
 
957
899
 
958
- /** @param {number} value */
959
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setMembershipid = function(value) {
900
+ /** @param {string} value */
901
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setName = function(value) {
960
902
  jspb.Message.setField(this, 1, value);
961
903
  };
962
904
 
963
905
 
964
906
  /**
965
- * optional int64 userId = 2;
966
- * @return {number}
907
+ * optional string code = 2;
908
+ * @return {string}
967
909
  */
968
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getUserid = function() {
969
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
910
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getCode = function() {
911
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
970
912
  };
971
913
 
972
914
 
973
- /** @param {number} value */
974
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setUserid = function(value) {
915
+ /** @param {string} value */
916
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setCode = function(value) {
975
917
  jspb.Message.setField(this, 2, value);
976
918
  };
977
919
 
978
920
 
979
921
  /**
980
- * optional int64 transactionId = 3;
981
- * @return {number}
922
+ * optional string logoUrl = 3;
923
+ * @return {string}
982
924
  */
983
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getTransactionid = function() {
984
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
925
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getLogourl = function() {
926
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
985
927
  };
986
928
 
987
929
 
988
- /** @param {number} value */
989
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setTransactionid = function(value) {
930
+ /** @param {string} value */
931
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setLogourl = function(value) {
990
932
  jspb.Message.setField(this, 3, value);
991
933
  };
992
934
 
993
935
 
994
936
  /**
995
- * optional float paymentAmount = 4;
937
+ * optional int32 earnedAmount = 4;
996
938
  * @return {number}
997
939
  */
998
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.getPaymentamount = function() {
940
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getEarnedamount = function() {
999
941
  return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
1000
942
  };
1001
943
 
1002
944
 
1003
945
  /** @param {number} value */
1004
- proto.loyaltyprogramserviceapi.CreateTransactionJournalEntryRequest.prototype.setPaymentamount = function(value) {
946
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setEarnedamount = function(value) {
1005
947
  jspb.Message.setField(this, 4, value);
1006
948
  };
1007
949
 
1008
950
 
1009
-
1010
951
  /**
1011
- * Generated by JsPbCodeGenerator.
1012
- * @param {Array=} opt_data Optional initial data array, typically from a
1013
- * server response, or constructed directly in Javascript. The array is used
1014
- * in place and becomes part of the constructed object. It is not cloned.
1015
- * If no data is provided, the constructed object will be empty, but still
1016
- * valid.
1017
- * @extends {jspb.Message}
1018
- * @constructor
952
+ * optional int32 spentAmount = 5;
953
+ * @return {number}
1019
954
  */
1020
- proto.loyaltyprogramserviceapi.GetMembershipListRequest = function(opt_data) {
1021
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
955
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getSpentamount = function() {
956
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 5, 0));
1022
957
  };
1023
- goog.inherits(proto.loyaltyprogramserviceapi.GetMembershipListRequest, jspb.Message);
1024
- if (goog.DEBUG && !COMPILED) {
1025
- proto.loyaltyprogramserviceapi.GetMembershipListRequest.displayName = 'proto.loyaltyprogramserviceapi.GetMembershipListRequest';
1026
- }
1027
958
 
1028
959
 
1029
- if (jspb.Message.GENERATE_TO_OBJECT) {
1030
- /**
1031
- * Creates an object representation of this proto suitable for use in Soy templates.
1032
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1033
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1034
- * For the list of reserved names please see:
1035
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1036
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1037
- * for transitional soy proto support: http://goto/soy-param-migration
1038
- * @return {!Object}
1039
- */
1040
- proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.toObject = function(opt_includeInstance) {
1041
- return proto.loyaltyprogramserviceapi.GetMembershipListRequest.toObject(opt_includeInstance, this);
960
+ /** @param {number} value */
961
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setSpentamount = function(value) {
962
+ jspb.Message.setField(this, 5, value);
1042
963
  };
1043
964
 
1044
965
 
1045
966
  /**
1046
- * Static version of the {@see toObject} method.
1047
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1048
- * instance for transitional soy proto support:
1049
- * http://goto/soy-param-migration
1050
- * @param {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} msg The msg instance to transform.
1051
- * @return {!Object}
967
+ * optional int32 membershipNumberLength = 6;
968
+ * @return {number}
1052
969
  */
1053
- proto.loyaltyprogramserviceapi.GetMembershipListRequest.toObject = function(includeInstance, msg) {
1054
- var f, obj = {
1055
- programid: msg.getProgramid()
1056
- };
1057
-
1058
- if (includeInstance) {
1059
- obj.$jspbMessageInstance = msg;
1060
- }
1061
- return obj;
970
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getMembershipnumberlength = function() {
971
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 6, 0));
1062
972
  };
1063
- }
1064
973
 
1065
974
 
1066
- /**
1067
- * Deserializes binary data (in protobuf wire format).
1068
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1069
- * @return {!proto.loyaltyprogramserviceapi.GetMembershipListRequest}
1070
- */
1071
- proto.loyaltyprogramserviceapi.GetMembershipListRequest.deserializeBinary = function(bytes) {
1072
- var reader = new jspb.BinaryReader(bytes);
1073
- var msg = new proto.loyaltyprogramserviceapi.GetMembershipListRequest;
1074
- return proto.loyaltyprogramserviceapi.GetMembershipListRequest.deserializeBinaryFromReader(msg, reader);
975
+ /** @param {number} value */
976
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setMembershipnumberlength = function(value) {
977
+ jspb.Message.setField(this, 6, value);
1075
978
  };
1076
979
 
1077
980
 
1078
981
  /**
1079
- * Deserializes binary data (in protobuf wire format) from the
1080
- * given reader into the given message object.
1081
- * @param {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} msg The message object to deserialize into.
1082
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1083
- * @return {!proto.loyaltyprogramserviceapi.GetMembershipListRequest}
982
+ * optional CreateProgramRequestMembershipNumberType membershipNumberType = 7;
983
+ * @return {!proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType}
1084
984
  */
1085
- proto.loyaltyprogramserviceapi.GetMembershipListRequest.deserializeBinaryFromReader = function(msg, reader) {
1086
- while (reader.nextField()) {
1087
- if (reader.isEndGroup()) {
1088
- break;
1089
- }
1090
- var field = reader.getFieldNumber();
1091
- switch (field) {
1092
- case 1:
1093
- var value = /** @type {number} */ (reader.readInt64());
1094
- msg.setProgramid(value);
1095
- break;
1096
- default:
1097
- reader.skipField();
1098
- break;
1099
- }
1100
- }
1101
- return msg;
985
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getMembershipnumbertype = function() {
986
+ return /** @type {!proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType} */ (jspb.Message.getFieldProto3(this, 7, 0));
1102
987
  };
1103
988
 
1104
989
 
1105
- /**
1106
- * Class method variant: serializes the given message to binary data
1107
- * (in protobuf wire format), writing to the given BinaryWriter.
1108
- * @param {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} message
1109
- * @param {!jspb.BinaryWriter} writer
1110
- */
1111
- proto.loyaltyprogramserviceapi.GetMembershipListRequest.serializeBinaryToWriter = function(message, writer) {
1112
- message.serializeBinaryToWriter(writer);
990
+ /** @param {!proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType} value */
991
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setMembershipnumbertype = function(value) {
992
+ jspb.Message.setField(this, 7, value);
1113
993
  };
1114
994
 
1115
995
 
1116
996
  /**
1117
- * Serializes the message to binary data (in protobuf wire format).
1118
- * @return {!Uint8Array}
997
+ * optional string termsAndConditionsUrl = 8;
998
+ * @return {string}
1119
999
  */
1120
- proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.serializeBinary = function() {
1121
- var writer = new jspb.BinaryWriter();
1122
- this.serializeBinaryToWriter(writer);
1123
- return writer.getResultBuffer();
1000
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getTermsandconditionsurl = function() {
1001
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
1124
1002
  };
1125
1003
 
1126
1004
 
1127
- /**
1128
- * Serializes the message to binary data (in protobuf wire format),
1129
- * writing to the given BinaryWriter.
1130
- * @param {!jspb.BinaryWriter} writer
1131
- */
1132
- proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.serializeBinaryToWriter = function (writer) {
1133
- var f = undefined;
1134
- f = this.getProgramid();
1135
- if (f !== 0) {
1136
- writer.writeInt64(
1137
- 1,
1138
- f
1139
- );
1140
- }
1005
+ /** @param {string} value */
1006
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setTermsandconditionsurl = function(value) {
1007
+ jspb.Message.setField(this, 8, value);
1141
1008
  };
1142
1009
 
1143
1010
 
1144
1011
  /**
1145
- * Creates a deep clone of this proto. No data is shared with the original.
1146
- * @return {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} The clone.
1012
+ * optional string externalUrl = 9;
1013
+ * @return {string}
1147
1014
  */
1148
- proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.cloneMessage = function() {
1149
- return /** @type {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} */ (jspb.Message.cloneMessage(this));
1015
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.getExternalurl = function() {
1016
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
1150
1017
  };
1151
1018
 
1152
1019
 
1153
- /**
1154
- * optional int64 programId = 1;
1155
- * @return {number}
1156
- */
1157
- proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.getProgramid = function() {
1158
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
1020
+ /** @param {string} value */
1021
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.prototype.setExternalurl = function(value) {
1022
+ jspb.Message.setField(this, 9, value);
1159
1023
  };
1160
1024
 
1161
1025
 
1162
- /** @param {number} value */
1163
- proto.loyaltyprogramserviceapi.GetMembershipListRequest.prototype.setProgramid = function(value) {
1164
- jspb.Message.setField(this, 1, value);
1026
+ /**
1027
+ * @enum {number}
1028
+ */
1029
+ proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType = {
1030
+ CREATE_PROGRAM_REQUEST_MEMBERSHIP_NUMBER_TYPE_ONLY_NUMBERS: 0,
1031
+ CREATE_PROGRAM_REQUEST_MEMBERSHIP_NUMBER_TYPE_ONLY_LETTERS: 1,
1032
+ CREATE_PROGRAM_REQUEST_MEMBERSHIP_NUMBER_TYPE_NUMBERS_AND_LETTERS: 2
1165
1033
  };
1166
1034
 
1167
1035
 
1168
-
1169
1036
  /**
1170
1037
  * Generated by JsPbCodeGenerator.
1171
1038
  * @param {Array=} opt_data Optional initial data array, typically from a