@sniipwebmaster/payment-gateway-service-client-grpcweb 25.8.6800 → 25.9.6818
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.js +122 -2
- package/package.json +1 -1
|
@@ -1988,7 +1988,9 @@ proto.sniippaymentgatewayapi.BillRateItem.toObject = function(includeInstance, m
|
|
|
1988
1988
|
tiername: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1989
1989
|
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1990
1990
|
isbusinesspayment: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
1991
|
-
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
1991
|
+
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
1992
|
+
surchargeincreaseamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
1993
|
+
surchargeincreaserate: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
|
|
1992
1994
|
};
|
|
1993
1995
|
|
|
1994
1996
|
if (includeInstance) {
|
|
@@ -2061,6 +2063,14 @@ proto.sniippaymentgatewayapi.BillRateItem.deserializeBinaryFromReader = function
|
|
|
2061
2063
|
var value = /** @type {number} */ (reader.readInt64());
|
|
2062
2064
|
msg.setLoyaltyoptionid(value);
|
|
2063
2065
|
break;
|
|
2066
|
+
case 10:
|
|
2067
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
2068
|
+
msg.setSurchargeincreaseamount(value);
|
|
2069
|
+
break;
|
|
2070
|
+
case 11:
|
|
2071
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
2072
|
+
msg.setSurchargeincreaserate(value);
|
|
2073
|
+
break;
|
|
2064
2074
|
default:
|
|
2065
2075
|
reader.skipField();
|
|
2066
2076
|
break;
|
|
@@ -2153,6 +2163,20 @@ proto.sniippaymentgatewayapi.BillRateItem.serializeBinaryToWriter = function(mes
|
|
|
2153
2163
|
f
|
|
2154
2164
|
);
|
|
2155
2165
|
}
|
|
2166
|
+
f = message.getSurchargeincreaseamount();
|
|
2167
|
+
if (f !== 0.0) {
|
|
2168
|
+
writer.writeDouble(
|
|
2169
|
+
10,
|
|
2170
|
+
f
|
|
2171
|
+
);
|
|
2172
|
+
}
|
|
2173
|
+
f = message.getSurchargeincreaserate();
|
|
2174
|
+
if (f !== 0.0) {
|
|
2175
|
+
writer.writeDouble(
|
|
2176
|
+
11,
|
|
2177
|
+
f
|
|
2178
|
+
);
|
|
2179
|
+
}
|
|
2156
2180
|
};
|
|
2157
2181
|
|
|
2158
2182
|
|
|
@@ -2318,6 +2342,42 @@ proto.sniippaymentgatewayapi.BillRateItem.prototype.setLoyaltyoptionid = functio
|
|
|
2318
2342
|
};
|
|
2319
2343
|
|
|
2320
2344
|
|
|
2345
|
+
/**
|
|
2346
|
+
* optional double surchargeIncreaseAmount = 10;
|
|
2347
|
+
* @return {number}
|
|
2348
|
+
*/
|
|
2349
|
+
proto.sniippaymentgatewayapi.BillRateItem.prototype.getSurchargeincreaseamount = function() {
|
|
2350
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
2351
|
+
};
|
|
2352
|
+
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
* @param {number} value
|
|
2356
|
+
* @return {!proto.sniippaymentgatewayapi.BillRateItem} returns this
|
|
2357
|
+
*/
|
|
2358
|
+
proto.sniippaymentgatewayapi.BillRateItem.prototype.setSurchargeincreaseamount = function(value) {
|
|
2359
|
+
return jspb.Message.setProto3FloatField(this, 10, value);
|
|
2360
|
+
};
|
|
2361
|
+
|
|
2362
|
+
|
|
2363
|
+
/**
|
|
2364
|
+
* optional double surchargeIncreaseRate = 11;
|
|
2365
|
+
* @return {number}
|
|
2366
|
+
*/
|
|
2367
|
+
proto.sniippaymentgatewayapi.BillRateItem.prototype.getSurchargeincreaserate = function() {
|
|
2368
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
|
2369
|
+
};
|
|
2370
|
+
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
* @param {number} value
|
|
2374
|
+
* @return {!proto.sniippaymentgatewayapi.BillRateItem} returns this
|
|
2375
|
+
*/
|
|
2376
|
+
proto.sniippaymentgatewayapi.BillRateItem.prototype.setSurchargeincreaserate = function(value) {
|
|
2377
|
+
return jspb.Message.setProto3FloatField(this, 11, value);
|
|
2378
|
+
};
|
|
2379
|
+
|
|
2380
|
+
|
|
2321
2381
|
|
|
2322
2382
|
|
|
2323
2383
|
|
|
@@ -11736,7 +11796,9 @@ proto.sniippaymentgatewayapi.PaymentDetailsResponse.toObject = function(includeI
|
|
|
11736
11796
|
applepaydetails: (f = msg.getApplepaydetails()) && proto.sniippaymentgatewayapi.ApplePayDetails.toObject(includeInstance, f),
|
|
11737
11797
|
googlepaydetails: (f = msg.getGooglepaydetails()) && proto.sniippaymentgatewayapi.GooglePayDetails.toObject(includeInstance, f),
|
|
11738
11798
|
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
11739
|
-
usermembershipid: jspb.Message.getFieldWithDefault(msg, 24, 0)
|
|
11799
|
+
usermembershipid: jspb.Message.getFieldWithDefault(msg, 24, 0),
|
|
11800
|
+
surchargeincreaseamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0),
|
|
11801
|
+
surchargeincreaserate: jspb.Message.getFloatingPointFieldWithDefault(msg, 26, 0.0)
|
|
11740
11802
|
};
|
|
11741
11803
|
|
|
11742
11804
|
if (includeInstance) {
|
|
@@ -11872,6 +11934,14 @@ proto.sniippaymentgatewayapi.PaymentDetailsResponse.deserializeBinaryFromReader
|
|
|
11872
11934
|
var value = /** @type {number} */ (reader.readInt64());
|
|
11873
11935
|
msg.setUsermembershipid(value);
|
|
11874
11936
|
break;
|
|
11937
|
+
case 25:
|
|
11938
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
11939
|
+
msg.setSurchargeincreaseamount(value);
|
|
11940
|
+
break;
|
|
11941
|
+
case 26:
|
|
11942
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
11943
|
+
msg.setSurchargeincreaserate(value);
|
|
11944
|
+
break;
|
|
11875
11945
|
default:
|
|
11876
11946
|
reader.skipField();
|
|
11877
11947
|
break;
|
|
@@ -12072,6 +12142,20 @@ proto.sniippaymentgatewayapi.PaymentDetailsResponse.serializeBinaryToWriter = fu
|
|
|
12072
12142
|
f
|
|
12073
12143
|
);
|
|
12074
12144
|
}
|
|
12145
|
+
f = message.getSurchargeincreaseamount();
|
|
12146
|
+
if (f !== 0.0) {
|
|
12147
|
+
writer.writeDouble(
|
|
12148
|
+
25,
|
|
12149
|
+
f
|
|
12150
|
+
);
|
|
12151
|
+
}
|
|
12152
|
+
f = message.getSurchargeincreaserate();
|
|
12153
|
+
if (f !== 0.0) {
|
|
12154
|
+
writer.writeDouble(
|
|
12155
|
+
26,
|
|
12156
|
+
f
|
|
12157
|
+
);
|
|
12158
|
+
}
|
|
12075
12159
|
};
|
|
12076
12160
|
|
|
12077
12161
|
|
|
@@ -12564,6 +12648,42 @@ proto.sniippaymentgatewayapi.PaymentDetailsResponse.prototype.setUsermembershipi
|
|
|
12564
12648
|
};
|
|
12565
12649
|
|
|
12566
12650
|
|
|
12651
|
+
/**
|
|
12652
|
+
* optional double surchargeIncreaseAmount = 25;
|
|
12653
|
+
* @return {number}
|
|
12654
|
+
*/
|
|
12655
|
+
proto.sniippaymentgatewayapi.PaymentDetailsResponse.prototype.getSurchargeincreaseamount = function() {
|
|
12656
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 25, 0.0));
|
|
12657
|
+
};
|
|
12658
|
+
|
|
12659
|
+
|
|
12660
|
+
/**
|
|
12661
|
+
* @param {number} value
|
|
12662
|
+
* @return {!proto.sniippaymentgatewayapi.PaymentDetailsResponse} returns this
|
|
12663
|
+
*/
|
|
12664
|
+
proto.sniippaymentgatewayapi.PaymentDetailsResponse.prototype.setSurchargeincreaseamount = function(value) {
|
|
12665
|
+
return jspb.Message.setProto3FloatField(this, 25, value);
|
|
12666
|
+
};
|
|
12667
|
+
|
|
12668
|
+
|
|
12669
|
+
/**
|
|
12670
|
+
* optional double surchargeIncreaseRate = 26;
|
|
12671
|
+
* @return {number}
|
|
12672
|
+
*/
|
|
12673
|
+
proto.sniippaymentgatewayapi.PaymentDetailsResponse.prototype.getSurchargeincreaserate = function() {
|
|
12674
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 26, 0.0));
|
|
12675
|
+
};
|
|
12676
|
+
|
|
12677
|
+
|
|
12678
|
+
/**
|
|
12679
|
+
* @param {number} value
|
|
12680
|
+
* @return {!proto.sniippaymentgatewayapi.PaymentDetailsResponse} returns this
|
|
12681
|
+
*/
|
|
12682
|
+
proto.sniippaymentgatewayapi.PaymentDetailsResponse.prototype.setSurchargeincreaserate = function(value) {
|
|
12683
|
+
return jspb.Message.setProto3FloatField(this, 26, value);
|
|
12684
|
+
};
|
|
12685
|
+
|
|
12686
|
+
|
|
12567
12687
|
|
|
12568
12688
|
|
|
12569
12689
|
|