@sniipwebmaster/transaction-service-client-grpcweb-ts 26.6.14945 → 26.6.14967
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.
|
@@ -4155,6 +4155,9 @@ export class ReceiptDetails extends jspb.Message {
|
|
|
4155
4155
|
getDeliverybatchtype(): DeliveryBatchType;
|
|
4156
4156
|
setDeliverybatchtype(value: DeliveryBatchType): ReceiptDetails;
|
|
4157
4157
|
|
|
4158
|
+
getLoyaltyprogramcode(): string;
|
|
4159
|
+
setLoyaltyprogramcode(value: string): ReceiptDetails;
|
|
4160
|
+
|
|
4158
4161
|
serializeBinary(): Uint8Array;
|
|
4159
4162
|
toObject(includeInstance?: boolean): ReceiptDetails.AsObject;
|
|
4160
4163
|
static toObject(includeInstance: boolean, msg: ReceiptDetails): ReceiptDetails.AsObject;
|
|
@@ -4228,6 +4231,7 @@ export namespace ReceiptDetails {
|
|
|
4228
4231
|
earnedloyaltypoints: number,
|
|
4229
4232
|
loyaltypointslabel: string,
|
|
4230
4233
|
deliverybatchtype: DeliveryBatchType,
|
|
4234
|
+
loyaltyprogramcode: string,
|
|
4231
4235
|
}
|
|
4232
4236
|
}
|
|
4233
4237
|
|
|
@@ -32940,7 +32940,8 @@ proto.sniiptransactionapi.ReceiptDetails.toObject = function(includeInstance, ms
|
|
|
32940
32940
|
loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 81, ""),
|
|
32941
32941
|
earnedloyaltypoints: jspb.Message.getFieldWithDefault(msg, 82, 0),
|
|
32942
32942
|
loyaltypointslabel: jspb.Message.getFieldWithDefault(msg, 83, ""),
|
|
32943
|
-
deliverybatchtype: jspb.Message.getFieldWithDefault(msg, 84, 0)
|
|
32943
|
+
deliverybatchtype: jspb.Message.getFieldWithDefault(msg, 84, 0),
|
|
32944
|
+
loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 85, "")
|
|
32944
32945
|
};
|
|
32945
32946
|
|
|
32946
32947
|
if (includeInstance) {
|
|
@@ -33232,6 +33233,10 @@ proto.sniiptransactionapi.ReceiptDetails.deserializeBinaryFromReader = function(
|
|
|
33232
33233
|
var value = /** @type {!proto.sniiptransactionapi.DeliveryBatchType} */ (reader.readEnum());
|
|
33233
33234
|
msg.setDeliverybatchtype(value);
|
|
33234
33235
|
break;
|
|
33236
|
+
case 85:
|
|
33237
|
+
var value = /** @type {string} */ (reader.readString());
|
|
33238
|
+
msg.setLoyaltyprogramcode(value);
|
|
33239
|
+
break;
|
|
33235
33240
|
default:
|
|
33236
33241
|
reader.skipField();
|
|
33237
33242
|
break;
|
|
@@ -33705,6 +33710,13 @@ proto.sniiptransactionapi.ReceiptDetails.serializeBinaryToWriter = function(mess
|
|
|
33705
33710
|
f
|
|
33706
33711
|
);
|
|
33707
33712
|
}
|
|
33713
|
+
f = message.getLoyaltyprogramcode();
|
|
33714
|
+
if (f.length > 0) {
|
|
33715
|
+
writer.writeString(
|
|
33716
|
+
85,
|
|
33717
|
+
f
|
|
33718
|
+
);
|
|
33719
|
+
}
|
|
33708
33720
|
};
|
|
33709
33721
|
|
|
33710
33722
|
|
|
@@ -34901,6 +34913,24 @@ proto.sniiptransactionapi.ReceiptDetails.prototype.setDeliverybatchtype = functi
|
|
|
34901
34913
|
};
|
|
34902
34914
|
|
|
34903
34915
|
|
|
34916
|
+
/**
|
|
34917
|
+
* optional string loyaltyProgramCode = 85;
|
|
34918
|
+
* @return {string}
|
|
34919
|
+
*/
|
|
34920
|
+
proto.sniiptransactionapi.ReceiptDetails.prototype.getLoyaltyprogramcode = function() {
|
|
34921
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 85, ""));
|
|
34922
|
+
};
|
|
34923
|
+
|
|
34924
|
+
|
|
34925
|
+
/**
|
|
34926
|
+
* @param {string} value
|
|
34927
|
+
* @return {!proto.sniiptransactionapi.ReceiptDetails} returns this
|
|
34928
|
+
*/
|
|
34929
|
+
proto.sniiptransactionapi.ReceiptDetails.prototype.setLoyaltyprogramcode = function(value) {
|
|
34930
|
+
return jspb.Message.setProto3StringField(this, 85, value);
|
|
34931
|
+
};
|
|
34932
|
+
|
|
34933
|
+
|
|
34904
34934
|
|
|
34905
34935
|
|
|
34906
34936
|
|