@sniipwebmaster/transaction-service-client-grpcweb-ts 25.8.13205 → 25.9.13223
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_pb.d.ts +16 -0
- package/dependancies/service_pb.js +122 -2
- package/package.json +1 -1
|
@@ -252,6 +252,12 @@ export class BillRateItem extends jspb.Message {
|
|
|
252
252
|
getLoyaltyoptionid(): number;
|
|
253
253
|
setLoyaltyoptionid(value: number): BillRateItem;
|
|
254
254
|
|
|
255
|
+
getSurchargeincreaseamount(): number;
|
|
256
|
+
setSurchargeincreaseamount(value: number): BillRateItem;
|
|
257
|
+
|
|
258
|
+
getSurchargeincreaserate(): number;
|
|
259
|
+
setSurchargeincreaserate(value: number): BillRateItem;
|
|
260
|
+
|
|
255
261
|
serializeBinary(): Uint8Array;
|
|
256
262
|
toObject(includeInstance?: boolean): BillRateItem.AsObject;
|
|
257
263
|
static toObject(includeInstance: boolean, msg: BillRateItem): BillRateItem.AsObject;
|
|
@@ -271,6 +277,8 @@ export namespace BillRateItem {
|
|
|
271
277
|
isbusinesspayment: boolean,
|
|
272
278
|
paymentprocessor: string,
|
|
273
279
|
loyaltyoptionid: number,
|
|
280
|
+
surchargeincreaseamount: number,
|
|
281
|
+
surchargeincreaserate: number,
|
|
274
282
|
}
|
|
275
283
|
}
|
|
276
284
|
|
|
@@ -2914,6 +2922,12 @@ export class PaymentDetailsResponse extends jspb.Message {
|
|
|
2914
2922
|
getLoyaltyoptionid(): number;
|
|
2915
2923
|
setLoyaltyoptionid(value: number): PaymentDetailsResponse;
|
|
2916
2924
|
|
|
2925
|
+
getSurchargeincreaseamount(): number;
|
|
2926
|
+
setSurchargeincreaseamount(value: number): PaymentDetailsResponse;
|
|
2927
|
+
|
|
2928
|
+
getSurchargeincreaserate(): number;
|
|
2929
|
+
setSurchargeincreaserate(value: number): PaymentDetailsResponse;
|
|
2930
|
+
|
|
2917
2931
|
serializeBinary(): Uint8Array;
|
|
2918
2932
|
toObject(includeInstance?: boolean): PaymentDetailsResponse.AsObject;
|
|
2919
2933
|
static toObject(includeInstance: boolean, msg: PaymentDetailsResponse): PaymentDetailsResponse.AsObject;
|
|
@@ -2952,6 +2966,8 @@ export namespace PaymentDetailsResponse {
|
|
|
2952
2966
|
googlepaydetails?: GooglePayDetails.AsObject,
|
|
2953
2967
|
loyaltyprogramcode: string,
|
|
2954
2968
|
loyaltyoptionid: number,
|
|
2969
|
+
surchargeincreaseamount: number,
|
|
2970
|
+
surchargeincreaserate: number,
|
|
2955
2971
|
}
|
|
2956
2972
|
|
|
2957
2973
|
export enum ApplepaydetailsCase {
|
|
@@ -4755,7 +4755,9 @@ proto.sniiptransactionapi.BillRateItem.toObject = function(includeInstance, msg)
|
|
|
4755
4755
|
tiername: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4756
4756
|
isbusinesspayment: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
4757
4757
|
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4758
|
-
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
4758
|
+
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
4759
|
+
surchargeincreaseamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
4760
|
+
surchargeincreaserate: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
|
|
4759
4761
|
};
|
|
4760
4762
|
|
|
4761
4763
|
if (includeInstance) {
|
|
@@ -4828,6 +4830,14 @@ proto.sniiptransactionapi.BillRateItem.deserializeBinaryFromReader = function(ms
|
|
|
4828
4830
|
var value = /** @type {number} */ (reader.readInt64());
|
|
4829
4831
|
msg.setLoyaltyoptionid(value);
|
|
4830
4832
|
break;
|
|
4833
|
+
case 10:
|
|
4834
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
4835
|
+
msg.setSurchargeincreaseamount(value);
|
|
4836
|
+
break;
|
|
4837
|
+
case 11:
|
|
4838
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
4839
|
+
msg.setSurchargeincreaserate(value);
|
|
4840
|
+
break;
|
|
4831
4841
|
default:
|
|
4832
4842
|
reader.skipField();
|
|
4833
4843
|
break;
|
|
@@ -4920,6 +4930,20 @@ proto.sniiptransactionapi.BillRateItem.serializeBinaryToWriter = function(messag
|
|
|
4920
4930
|
f
|
|
4921
4931
|
);
|
|
4922
4932
|
}
|
|
4933
|
+
f = message.getSurchargeincreaseamount();
|
|
4934
|
+
if (f !== 0.0) {
|
|
4935
|
+
writer.writeDouble(
|
|
4936
|
+
10,
|
|
4937
|
+
f
|
|
4938
|
+
);
|
|
4939
|
+
}
|
|
4940
|
+
f = message.getSurchargeincreaserate();
|
|
4941
|
+
if (f !== 0.0) {
|
|
4942
|
+
writer.writeDouble(
|
|
4943
|
+
11,
|
|
4944
|
+
f
|
|
4945
|
+
);
|
|
4946
|
+
}
|
|
4923
4947
|
};
|
|
4924
4948
|
|
|
4925
4949
|
|
|
@@ -5085,6 +5109,42 @@ proto.sniiptransactionapi.BillRateItem.prototype.setLoyaltyoptionid = function(v
|
|
|
5085
5109
|
};
|
|
5086
5110
|
|
|
5087
5111
|
|
|
5112
|
+
/**
|
|
5113
|
+
* optional double surchargeIncreaseAmount = 10;
|
|
5114
|
+
* @return {number}
|
|
5115
|
+
*/
|
|
5116
|
+
proto.sniiptransactionapi.BillRateItem.prototype.getSurchargeincreaseamount = function() {
|
|
5117
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
5118
|
+
};
|
|
5119
|
+
|
|
5120
|
+
|
|
5121
|
+
/**
|
|
5122
|
+
* @param {number} value
|
|
5123
|
+
* @return {!proto.sniiptransactionapi.BillRateItem} returns this
|
|
5124
|
+
*/
|
|
5125
|
+
proto.sniiptransactionapi.BillRateItem.prototype.setSurchargeincreaseamount = function(value) {
|
|
5126
|
+
return jspb.Message.setProto3FloatField(this, 10, value);
|
|
5127
|
+
};
|
|
5128
|
+
|
|
5129
|
+
|
|
5130
|
+
/**
|
|
5131
|
+
* optional double surchargeIncreaseRate = 11;
|
|
5132
|
+
* @return {number}
|
|
5133
|
+
*/
|
|
5134
|
+
proto.sniiptransactionapi.BillRateItem.prototype.getSurchargeincreaserate = function() {
|
|
5135
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
|
5136
|
+
};
|
|
5137
|
+
|
|
5138
|
+
|
|
5139
|
+
/**
|
|
5140
|
+
* @param {number} value
|
|
5141
|
+
* @return {!proto.sniiptransactionapi.BillRateItem} returns this
|
|
5142
|
+
*/
|
|
5143
|
+
proto.sniiptransactionapi.BillRateItem.prototype.setSurchargeincreaserate = function(value) {
|
|
5144
|
+
return jspb.Message.setProto3FloatField(this, 11, value);
|
|
5145
|
+
};
|
|
5146
|
+
|
|
5147
|
+
|
|
5088
5148
|
|
|
5089
5149
|
|
|
5090
5150
|
|
|
@@ -24155,7 +24215,9 @@ proto.sniiptransactionapi.PaymentDetailsResponse.toObject = function(includeInst
|
|
|
24155
24215
|
applepaydetails: (f = msg.getApplepaydetails()) && proto.sniiptransactionapi.ApplePayDetails.toObject(includeInstance, f),
|
|
24156
24216
|
googlepaydetails: (f = msg.getGooglepaydetails()) && proto.sniiptransactionapi.GooglePayDetails.toObject(includeInstance, f),
|
|
24157
24217
|
loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
24158
|
-
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 28, 0)
|
|
24218
|
+
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 28, 0),
|
|
24219
|
+
surchargeincreaseamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 29, 0.0),
|
|
24220
|
+
surchargeincreaserate: jspb.Message.getFloatingPointFieldWithDefault(msg, 30, 0.0)
|
|
24159
24221
|
};
|
|
24160
24222
|
|
|
24161
24223
|
if (includeInstance) {
|
|
@@ -24307,6 +24369,14 @@ proto.sniiptransactionapi.PaymentDetailsResponse.deserializeBinaryFromReader = f
|
|
|
24307
24369
|
var value = /** @type {number} */ (reader.readInt64());
|
|
24308
24370
|
msg.setLoyaltyoptionid(value);
|
|
24309
24371
|
break;
|
|
24372
|
+
case 29:
|
|
24373
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
24374
|
+
msg.setSurchargeincreaseamount(value);
|
|
24375
|
+
break;
|
|
24376
|
+
case 30:
|
|
24377
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
24378
|
+
msg.setSurchargeincreaserate(value);
|
|
24379
|
+
break;
|
|
24310
24380
|
default:
|
|
24311
24381
|
reader.skipField();
|
|
24312
24382
|
break;
|
|
@@ -24535,6 +24605,20 @@ proto.sniiptransactionapi.PaymentDetailsResponse.serializeBinaryToWriter = funct
|
|
|
24535
24605
|
f
|
|
24536
24606
|
);
|
|
24537
24607
|
}
|
|
24608
|
+
f = message.getSurchargeincreaseamount();
|
|
24609
|
+
if (f !== 0.0) {
|
|
24610
|
+
writer.writeDouble(
|
|
24611
|
+
29,
|
|
24612
|
+
f
|
|
24613
|
+
);
|
|
24614
|
+
}
|
|
24615
|
+
f = message.getSurchargeincreaserate();
|
|
24616
|
+
if (f !== 0.0) {
|
|
24617
|
+
writer.writeDouble(
|
|
24618
|
+
30,
|
|
24619
|
+
f
|
|
24620
|
+
);
|
|
24621
|
+
}
|
|
24538
24622
|
};
|
|
24539
24623
|
|
|
24540
24624
|
|
|
@@ -25099,6 +25183,42 @@ proto.sniiptransactionapi.PaymentDetailsResponse.prototype.setLoyaltyoptionid =
|
|
|
25099
25183
|
};
|
|
25100
25184
|
|
|
25101
25185
|
|
|
25186
|
+
/**
|
|
25187
|
+
* optional double surchargeIncreaseAmount = 29;
|
|
25188
|
+
* @return {number}
|
|
25189
|
+
*/
|
|
25190
|
+
proto.sniiptransactionapi.PaymentDetailsResponse.prototype.getSurchargeincreaseamount = function() {
|
|
25191
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 29, 0.0));
|
|
25192
|
+
};
|
|
25193
|
+
|
|
25194
|
+
|
|
25195
|
+
/**
|
|
25196
|
+
* @param {number} value
|
|
25197
|
+
* @return {!proto.sniiptransactionapi.PaymentDetailsResponse} returns this
|
|
25198
|
+
*/
|
|
25199
|
+
proto.sniiptransactionapi.PaymentDetailsResponse.prototype.setSurchargeincreaseamount = function(value) {
|
|
25200
|
+
return jspb.Message.setProto3FloatField(this, 29, value);
|
|
25201
|
+
};
|
|
25202
|
+
|
|
25203
|
+
|
|
25204
|
+
/**
|
|
25205
|
+
* optional double surchargeIncreaseRate = 30;
|
|
25206
|
+
* @return {number}
|
|
25207
|
+
*/
|
|
25208
|
+
proto.sniiptransactionapi.PaymentDetailsResponse.prototype.getSurchargeincreaserate = function() {
|
|
25209
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 30, 0.0));
|
|
25210
|
+
};
|
|
25211
|
+
|
|
25212
|
+
|
|
25213
|
+
/**
|
|
25214
|
+
* @param {number} value
|
|
25215
|
+
* @return {!proto.sniiptransactionapi.PaymentDetailsResponse} returns this
|
|
25216
|
+
*/
|
|
25217
|
+
proto.sniiptransactionapi.PaymentDetailsResponse.prototype.setSurchargeincreaserate = function(value) {
|
|
25218
|
+
return jspb.Message.setProto3FloatField(this, 30, value);
|
|
25219
|
+
};
|
|
25220
|
+
|
|
25221
|
+
|
|
25102
25222
|
|
|
25103
25223
|
/**
|
|
25104
25224
|
* List of repeated fields within this message type.
|