@miradorlabs/web-grpc 2.1.0 → 2.2.0
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.
|
@@ -101,6 +101,16 @@ goog.exportSymbol('proto.gateway.web.v1.StreamTraceAnalyticsRequest', null, glob
|
|
|
101
101
|
goog.exportSymbol('proto.gateway.web.v1.StreamTraceEventsRequest', null, global);
|
|
102
102
|
goog.exportSymbol('proto.gateway.web.v1.StreamTraceMetadataRequest', null, global);
|
|
103
103
|
goog.exportSymbol('proto.gateway.web.v1.StreamTracesRequest', null, global);
|
|
104
|
+
goog.exportSymbol('proto.gateway.web.v1.StripeFundsAvailable', null, global);
|
|
105
|
+
goog.exportSymbol('proto.gateway.web.v1.StripeHintAdded', null, global);
|
|
106
|
+
goog.exportSymbol('proto.gateway.web.v1.StripeHintStatus', null, global);
|
|
107
|
+
goog.exportSymbol('proto.gateway.web.v1.StripeMoney', null, global);
|
|
108
|
+
goog.exportSymbol('proto.gateway.web.v1.StripePaymentStatus', null, global);
|
|
109
|
+
goog.exportSymbol('proto.gateway.web.v1.StripePaymentSucceeded', null, global);
|
|
110
|
+
goog.exportSymbol('proto.gateway.web.v1.StripePayoutPaid', null, global);
|
|
111
|
+
goog.exportSymbol('proto.gateway.web.v1.StripePayoutStatus', null, global);
|
|
112
|
+
goog.exportSymbol('proto.gateway.web.v1.StripeTrackingFinished', null, global);
|
|
113
|
+
goog.exportSymbol('proto.gateway.web.v1.StripeTrackingStarted', null, global);
|
|
104
114
|
goog.exportSymbol('proto.gateway.web.v1.TagMatchMode', null, global);
|
|
105
115
|
goog.exportSymbol('proto.gateway.web.v1.TagsUpdated', null, global);
|
|
106
116
|
goog.exportSymbol('proto.gateway.web.v1.Trace', null, global);
|
|
@@ -1856,6 +1866,153 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1856
1866
|
*/
|
|
1857
1867
|
proto.gateway.web.v1.RelayNotFound.displayName = 'proto.gateway.web.v1.RelayNotFound';
|
|
1858
1868
|
}
|
|
1869
|
+
/**
|
|
1870
|
+
* Generated by JsPbCodeGenerator.
|
|
1871
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1872
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1873
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1874
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1875
|
+
* valid.
|
|
1876
|
+
* @extends {jspb.Message}
|
|
1877
|
+
* @constructor
|
|
1878
|
+
*/
|
|
1879
|
+
proto.gateway.web.v1.StripeHintAdded = function(opt_data) {
|
|
1880
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1881
|
+
};
|
|
1882
|
+
goog.inherits(proto.gateway.web.v1.StripeHintAdded, jspb.Message);
|
|
1883
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1884
|
+
/**
|
|
1885
|
+
* @public
|
|
1886
|
+
* @override
|
|
1887
|
+
*/
|
|
1888
|
+
proto.gateway.web.v1.StripeHintAdded.displayName = 'proto.gateway.web.v1.StripeHintAdded';
|
|
1889
|
+
}
|
|
1890
|
+
/**
|
|
1891
|
+
* Generated by JsPbCodeGenerator.
|
|
1892
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1893
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1894
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1895
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1896
|
+
* valid.
|
|
1897
|
+
* @extends {jspb.Message}
|
|
1898
|
+
* @constructor
|
|
1899
|
+
*/
|
|
1900
|
+
proto.gateway.web.v1.StripeTrackingStarted = function(opt_data) {
|
|
1901
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1902
|
+
};
|
|
1903
|
+
goog.inherits(proto.gateway.web.v1.StripeTrackingStarted, jspb.Message);
|
|
1904
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1905
|
+
/**
|
|
1906
|
+
* @public
|
|
1907
|
+
* @override
|
|
1908
|
+
*/
|
|
1909
|
+
proto.gateway.web.v1.StripeTrackingStarted.displayName = 'proto.gateway.web.v1.StripeTrackingStarted';
|
|
1910
|
+
}
|
|
1911
|
+
/**
|
|
1912
|
+
* Generated by JsPbCodeGenerator.
|
|
1913
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1914
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1915
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1916
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1917
|
+
* valid.
|
|
1918
|
+
* @extends {jspb.Message}
|
|
1919
|
+
* @constructor
|
|
1920
|
+
*/
|
|
1921
|
+
proto.gateway.web.v1.StripePaymentSucceeded = function(opt_data) {
|
|
1922
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1923
|
+
};
|
|
1924
|
+
goog.inherits(proto.gateway.web.v1.StripePaymentSucceeded, jspb.Message);
|
|
1925
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1926
|
+
/**
|
|
1927
|
+
* @public
|
|
1928
|
+
* @override
|
|
1929
|
+
*/
|
|
1930
|
+
proto.gateway.web.v1.StripePaymentSucceeded.displayName = 'proto.gateway.web.v1.StripePaymentSucceeded';
|
|
1931
|
+
}
|
|
1932
|
+
/**
|
|
1933
|
+
* Generated by JsPbCodeGenerator.
|
|
1934
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1935
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1936
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1937
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1938
|
+
* valid.
|
|
1939
|
+
* @extends {jspb.Message}
|
|
1940
|
+
* @constructor
|
|
1941
|
+
*/
|
|
1942
|
+
proto.gateway.web.v1.StripeFundsAvailable = function(opt_data) {
|
|
1943
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1944
|
+
};
|
|
1945
|
+
goog.inherits(proto.gateway.web.v1.StripeFundsAvailable, jspb.Message);
|
|
1946
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1947
|
+
/**
|
|
1948
|
+
* @public
|
|
1949
|
+
* @override
|
|
1950
|
+
*/
|
|
1951
|
+
proto.gateway.web.v1.StripeFundsAvailable.displayName = 'proto.gateway.web.v1.StripeFundsAvailable';
|
|
1952
|
+
}
|
|
1953
|
+
/**
|
|
1954
|
+
* Generated by JsPbCodeGenerator.
|
|
1955
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1956
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1957
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1958
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1959
|
+
* valid.
|
|
1960
|
+
* @extends {jspb.Message}
|
|
1961
|
+
* @constructor
|
|
1962
|
+
*/
|
|
1963
|
+
proto.gateway.web.v1.StripePayoutPaid = function(opt_data) {
|
|
1964
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1965
|
+
};
|
|
1966
|
+
goog.inherits(proto.gateway.web.v1.StripePayoutPaid, jspb.Message);
|
|
1967
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1968
|
+
/**
|
|
1969
|
+
* @public
|
|
1970
|
+
* @override
|
|
1971
|
+
*/
|
|
1972
|
+
proto.gateway.web.v1.StripePayoutPaid.displayName = 'proto.gateway.web.v1.StripePayoutPaid';
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* Generated by JsPbCodeGenerator.
|
|
1976
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1977
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1978
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1979
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1980
|
+
* valid.
|
|
1981
|
+
* @extends {jspb.Message}
|
|
1982
|
+
* @constructor
|
|
1983
|
+
*/
|
|
1984
|
+
proto.gateway.web.v1.StripeTrackingFinished = function(opt_data) {
|
|
1985
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1986
|
+
};
|
|
1987
|
+
goog.inherits(proto.gateway.web.v1.StripeTrackingFinished, jspb.Message);
|
|
1988
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1989
|
+
/**
|
|
1990
|
+
* @public
|
|
1991
|
+
* @override
|
|
1992
|
+
*/
|
|
1993
|
+
proto.gateway.web.v1.StripeTrackingFinished.displayName = 'proto.gateway.web.v1.StripeTrackingFinished';
|
|
1994
|
+
}
|
|
1995
|
+
/**
|
|
1996
|
+
* Generated by JsPbCodeGenerator.
|
|
1997
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1998
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1999
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2000
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2001
|
+
* valid.
|
|
2002
|
+
* @extends {jspb.Message}
|
|
2003
|
+
* @constructor
|
|
2004
|
+
*/
|
|
2005
|
+
proto.gateway.web.v1.StripeMoney = function(opt_data) {
|
|
2006
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2007
|
+
};
|
|
2008
|
+
goog.inherits(proto.gateway.web.v1.StripeMoney, jspb.Message);
|
|
2009
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2010
|
+
/**
|
|
2011
|
+
* @public
|
|
2012
|
+
* @override
|
|
2013
|
+
*/
|
|
2014
|
+
proto.gateway.web.v1.StripeMoney.displayName = 'proto.gateway.web.v1.StripeMoney';
|
|
2015
|
+
}
|
|
1859
2016
|
/**
|
|
1860
2017
|
* Generated by JsPbCodeGenerator.
|
|
1861
2018
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9462,7 +9619,7 @@ proto.gateway.web.v1.RuleMatch.prototype.hasMatchedAt = function() {
|
|
|
9462
9619
|
* @private {!Array<!Array<number>>}
|
|
9463
9620
|
* @const
|
|
9464
9621
|
*/
|
|
9465
|
-
proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_ = [[20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66]];
|
|
9622
|
+
proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_ = [[20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72]];
|
|
9466
9623
|
|
|
9467
9624
|
/**
|
|
9468
9625
|
* @enum {number}
|
|
@@ -9512,7 +9669,13 @@ proto.gateway.web.v1.TraceEventEnvelope.PayloadCase = {
|
|
|
9512
9669
|
RULE_MATCH_ADDED: 63,
|
|
9513
9670
|
CANTON_TX_ADDED: 64,
|
|
9514
9671
|
SPAN_STARTED: 65,
|
|
9515
|
-
SPAN_ENDED: 66
|
|
9672
|
+
SPAN_ENDED: 66,
|
|
9673
|
+
STRIPE_HINT_ADDED: 67,
|
|
9674
|
+
STRIPE_TRACKING_STARTED: 68,
|
|
9675
|
+
STRIPE_PAYMENT_SUCCEEDED: 69,
|
|
9676
|
+
STRIPE_FUNDS_AVAILABLE: 70,
|
|
9677
|
+
STRIPE_PAYOUT_PAID: 71,
|
|
9678
|
+
STRIPE_TRACKING_FINISHED: 72
|
|
9516
9679
|
};
|
|
9517
9680
|
|
|
9518
9681
|
/**
|
|
@@ -9608,7 +9771,13 @@ relayNotFound: (f = msg.getRelayNotFound()) && proto.gateway.web.v1.RelayNotFoun
|
|
|
9608
9771
|
ruleMatchAdded: (f = msg.getRuleMatchAdded()) && proto.gateway.web.v1.RuleMatchAdded.toObject(includeInstance, f),
|
|
9609
9772
|
cantonTxAdded: (f = msg.getCantonTxAdded()) && proto.gateway.web.v1.CantonTxAdded.toObject(includeInstance, f),
|
|
9610
9773
|
spanStarted: (f = msg.getSpanStarted()) && proto.gateway.web.v1.SpanStarted.toObject(includeInstance, f),
|
|
9611
|
-
spanEnded: (f = msg.getSpanEnded()) && proto.gateway.web.v1.SpanEnded.toObject(includeInstance, f)
|
|
9774
|
+
spanEnded: (f = msg.getSpanEnded()) && proto.gateway.web.v1.SpanEnded.toObject(includeInstance, f),
|
|
9775
|
+
stripeHintAdded: (f = msg.getStripeHintAdded()) && proto.gateway.web.v1.StripeHintAdded.toObject(includeInstance, f),
|
|
9776
|
+
stripeTrackingStarted: (f = msg.getStripeTrackingStarted()) && proto.gateway.web.v1.StripeTrackingStarted.toObject(includeInstance, f),
|
|
9777
|
+
stripePaymentSucceeded: (f = msg.getStripePaymentSucceeded()) && proto.gateway.web.v1.StripePaymentSucceeded.toObject(includeInstance, f),
|
|
9778
|
+
stripeFundsAvailable: (f = msg.getStripeFundsAvailable()) && proto.gateway.web.v1.StripeFundsAvailable.toObject(includeInstance, f),
|
|
9779
|
+
stripePayoutPaid: (f = msg.getStripePayoutPaid()) && proto.gateway.web.v1.StripePayoutPaid.toObject(includeInstance, f),
|
|
9780
|
+
stripeTrackingFinished: (f = msg.getStripeTrackingFinished()) && proto.gateway.web.v1.StripeTrackingFinished.toObject(includeInstance, f)
|
|
9612
9781
|
};
|
|
9613
9782
|
|
|
9614
9783
|
if (includeInstance) {
|
|
@@ -9915,6 +10084,36 @@ proto.gateway.web.v1.TraceEventEnvelope.deserializeBinaryFromReader = function(m
|
|
|
9915
10084
|
reader.readMessage(value,proto.gateway.web.v1.SpanEnded.deserializeBinaryFromReader);
|
|
9916
10085
|
msg.setSpanEnded(value);
|
|
9917
10086
|
break;
|
|
10087
|
+
case 67:
|
|
10088
|
+
var value = new proto.gateway.web.v1.StripeHintAdded;
|
|
10089
|
+
reader.readMessage(value,proto.gateway.web.v1.StripeHintAdded.deserializeBinaryFromReader);
|
|
10090
|
+
msg.setStripeHintAdded(value);
|
|
10091
|
+
break;
|
|
10092
|
+
case 68:
|
|
10093
|
+
var value = new proto.gateway.web.v1.StripeTrackingStarted;
|
|
10094
|
+
reader.readMessage(value,proto.gateway.web.v1.StripeTrackingStarted.deserializeBinaryFromReader);
|
|
10095
|
+
msg.setStripeTrackingStarted(value);
|
|
10096
|
+
break;
|
|
10097
|
+
case 69:
|
|
10098
|
+
var value = new proto.gateway.web.v1.StripePaymentSucceeded;
|
|
10099
|
+
reader.readMessage(value,proto.gateway.web.v1.StripePaymentSucceeded.deserializeBinaryFromReader);
|
|
10100
|
+
msg.setStripePaymentSucceeded(value);
|
|
10101
|
+
break;
|
|
10102
|
+
case 70:
|
|
10103
|
+
var value = new proto.gateway.web.v1.StripeFundsAvailable;
|
|
10104
|
+
reader.readMessage(value,proto.gateway.web.v1.StripeFundsAvailable.deserializeBinaryFromReader);
|
|
10105
|
+
msg.setStripeFundsAvailable(value);
|
|
10106
|
+
break;
|
|
10107
|
+
case 71:
|
|
10108
|
+
var value = new proto.gateway.web.v1.StripePayoutPaid;
|
|
10109
|
+
reader.readMessage(value,proto.gateway.web.v1.StripePayoutPaid.deserializeBinaryFromReader);
|
|
10110
|
+
msg.setStripePayoutPaid(value);
|
|
10111
|
+
break;
|
|
10112
|
+
case 72:
|
|
10113
|
+
var value = new proto.gateway.web.v1.StripeTrackingFinished;
|
|
10114
|
+
reader.readMessage(value,proto.gateway.web.v1.StripeTrackingFinished.deserializeBinaryFromReader);
|
|
10115
|
+
msg.setStripeTrackingFinished(value);
|
|
10116
|
+
break;
|
|
9918
10117
|
default:
|
|
9919
10118
|
reader.skipField();
|
|
9920
10119
|
break;
|
|
@@ -10382,6 +10581,54 @@ proto.gateway.web.v1.TraceEventEnvelope.serializeBinaryToWriter = function(messa
|
|
|
10382
10581
|
proto.gateway.web.v1.SpanEnded.serializeBinaryToWriter
|
|
10383
10582
|
);
|
|
10384
10583
|
}
|
|
10584
|
+
f = message.getStripeHintAdded();
|
|
10585
|
+
if (f != null) {
|
|
10586
|
+
writer.writeMessage(
|
|
10587
|
+
67,
|
|
10588
|
+
f,
|
|
10589
|
+
proto.gateway.web.v1.StripeHintAdded.serializeBinaryToWriter
|
|
10590
|
+
);
|
|
10591
|
+
}
|
|
10592
|
+
f = message.getStripeTrackingStarted();
|
|
10593
|
+
if (f != null) {
|
|
10594
|
+
writer.writeMessage(
|
|
10595
|
+
68,
|
|
10596
|
+
f,
|
|
10597
|
+
proto.gateway.web.v1.StripeTrackingStarted.serializeBinaryToWriter
|
|
10598
|
+
);
|
|
10599
|
+
}
|
|
10600
|
+
f = message.getStripePaymentSucceeded();
|
|
10601
|
+
if (f != null) {
|
|
10602
|
+
writer.writeMessage(
|
|
10603
|
+
69,
|
|
10604
|
+
f,
|
|
10605
|
+
proto.gateway.web.v1.StripePaymentSucceeded.serializeBinaryToWriter
|
|
10606
|
+
);
|
|
10607
|
+
}
|
|
10608
|
+
f = message.getStripeFundsAvailable();
|
|
10609
|
+
if (f != null) {
|
|
10610
|
+
writer.writeMessage(
|
|
10611
|
+
70,
|
|
10612
|
+
f,
|
|
10613
|
+
proto.gateway.web.v1.StripeFundsAvailable.serializeBinaryToWriter
|
|
10614
|
+
);
|
|
10615
|
+
}
|
|
10616
|
+
f = message.getStripePayoutPaid();
|
|
10617
|
+
if (f != null) {
|
|
10618
|
+
writer.writeMessage(
|
|
10619
|
+
71,
|
|
10620
|
+
f,
|
|
10621
|
+
proto.gateway.web.v1.StripePayoutPaid.serializeBinaryToWriter
|
|
10622
|
+
);
|
|
10623
|
+
}
|
|
10624
|
+
f = message.getStripeTrackingFinished();
|
|
10625
|
+
if (f != null) {
|
|
10626
|
+
writer.writeMessage(
|
|
10627
|
+
72,
|
|
10628
|
+
f,
|
|
10629
|
+
proto.gateway.web.v1.StripeTrackingFinished.serializeBinaryToWriter
|
|
10630
|
+
);
|
|
10631
|
+
}
|
|
10385
10632
|
};
|
|
10386
10633
|
|
|
10387
10634
|
|
|
@@ -12267,113 +12514,335 @@ proto.gateway.web.v1.TraceEventEnvelope.prototype.hasSpanEnded = function() {
|
|
|
12267
12514
|
};
|
|
12268
12515
|
|
|
12269
12516
|
|
|
12517
|
+
/**
|
|
12518
|
+
* optional StripeHintAdded stripe_hint_added = 67;
|
|
12519
|
+
* @return {?proto.gateway.web.v1.StripeHintAdded}
|
|
12520
|
+
*/
|
|
12521
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.getStripeHintAdded = function() {
|
|
12522
|
+
return /** @type{?proto.gateway.web.v1.StripeHintAdded} */ (
|
|
12523
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeHintAdded, 67));
|
|
12524
|
+
};
|
|
12270
12525
|
|
|
12271
12526
|
|
|
12272
|
-
|
|
12273
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12274
12527
|
/**
|
|
12275
|
-
*
|
|
12276
|
-
*
|
|
12277
|
-
|
|
12278
|
-
|
|
12279
|
-
|
|
12280
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12281
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12282
|
-
* JSPB instance for transitional soy proto support:
|
|
12283
|
-
* http://goto/soy-param-migration
|
|
12284
|
-
* @return {!Object}
|
|
12285
|
-
*/
|
|
12286
|
-
proto.gateway.web.v1.SpanStarted.prototype.toObject = function(opt_includeInstance) {
|
|
12287
|
-
return proto.gateway.web.v1.SpanStarted.toObject(opt_includeInstance, this);
|
|
12528
|
+
* @param {?proto.gateway.web.v1.StripeHintAdded|undefined} value
|
|
12529
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12530
|
+
*/
|
|
12531
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.setStripeHintAdded = function(value) {
|
|
12532
|
+
return jspb.Message.setOneofWrapperField(this, 67, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
|
|
12288
12533
|
};
|
|
12289
12534
|
|
|
12290
12535
|
|
|
12291
12536
|
/**
|
|
12292
|
-
*
|
|
12293
|
-
* @
|
|
12294
|
-
* the JSPB instance for transitional soy proto support:
|
|
12295
|
-
* http://goto/soy-param-migration
|
|
12296
|
-
* @param {!proto.gateway.web.v1.SpanStarted} msg The msg instance to transform.
|
|
12297
|
-
* @return {!Object}
|
|
12298
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12537
|
+
* Clears the message field making it undefined.
|
|
12538
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12299
12539
|
*/
|
|
12300
|
-
proto.gateway.web.v1.
|
|
12301
|
-
|
|
12302
|
-
spanId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12303
|
-
parentSpanId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
12304
|
-
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12305
|
-
startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12306
|
-
attributesMap: (f = msg.getAttributesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
12307
|
-
};
|
|
12308
|
-
|
|
12309
|
-
if (includeInstance) {
|
|
12310
|
-
obj.$jspbMessageInstance = msg;
|
|
12311
|
-
}
|
|
12312
|
-
return obj;
|
|
12540
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.clearStripeHintAdded = function() {
|
|
12541
|
+
return this.setStripeHintAdded(undefined);
|
|
12313
12542
|
};
|
|
12314
|
-
}
|
|
12315
12543
|
|
|
12316
12544
|
|
|
12317
12545
|
/**
|
|
12318
|
-
*
|
|
12319
|
-
* @
|
|
12320
|
-
* @return {!proto.gateway.web.v1.SpanStarted}
|
|
12546
|
+
* Returns whether this field is set.
|
|
12547
|
+
* @return {boolean}
|
|
12321
12548
|
*/
|
|
12322
|
-
proto.gateway.web.v1.
|
|
12323
|
-
|
|
12324
|
-
var msg = new proto.gateway.web.v1.SpanStarted;
|
|
12325
|
-
return proto.gateway.web.v1.SpanStarted.deserializeBinaryFromReader(msg, reader);
|
|
12549
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.hasStripeHintAdded = function() {
|
|
12550
|
+
return jspb.Message.getField(this, 67) != null;
|
|
12326
12551
|
};
|
|
12327
12552
|
|
|
12328
12553
|
|
|
12329
12554
|
/**
|
|
12330
|
-
*
|
|
12331
|
-
*
|
|
12332
|
-
* @param {!proto.gateway.web.v1.SpanStarted} msg The message object to deserialize into.
|
|
12333
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12334
|
-
* @return {!proto.gateway.web.v1.SpanStarted}
|
|
12555
|
+
* optional StripeTrackingStarted stripe_tracking_started = 68;
|
|
12556
|
+
* @return {?proto.gateway.web.v1.StripeTrackingStarted}
|
|
12335
12557
|
*/
|
|
12336
|
-
proto.gateway.web.v1.
|
|
12337
|
-
|
|
12338
|
-
|
|
12339
|
-
break;
|
|
12340
|
-
}
|
|
12341
|
-
var field = reader.getFieldNumber();
|
|
12342
|
-
switch (field) {
|
|
12343
|
-
case 1:
|
|
12344
|
-
var value = /** @type {string} */ (reader.readString());
|
|
12345
|
-
msg.setSpanId(value);
|
|
12346
|
-
break;
|
|
12347
|
-
case 2:
|
|
12348
|
-
var value = /** @type {string} */ (reader.readString());
|
|
12349
|
-
msg.setParentSpanId(value);
|
|
12350
|
-
break;
|
|
12351
|
-
case 3:
|
|
12352
|
-
var value = /** @type {string} */ (reader.readString());
|
|
12353
|
-
msg.setName(value);
|
|
12354
|
-
break;
|
|
12355
|
-
case 4:
|
|
12356
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
12357
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
12358
|
-
msg.setStartTime(value);
|
|
12359
|
-
break;
|
|
12360
|
-
case 5:
|
|
12361
|
-
var value = msg.getAttributesMap();
|
|
12362
|
-
reader.readMessage(value, function(message, reader) {
|
|
12363
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
12364
|
-
});
|
|
12365
|
-
break;
|
|
12366
|
-
default:
|
|
12367
|
-
reader.skipField();
|
|
12368
|
-
break;
|
|
12369
|
-
}
|
|
12370
|
-
}
|
|
12371
|
-
return msg;
|
|
12558
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.getStripeTrackingStarted = function() {
|
|
12559
|
+
return /** @type{?proto.gateway.web.v1.StripeTrackingStarted} */ (
|
|
12560
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeTrackingStarted, 68));
|
|
12372
12561
|
};
|
|
12373
12562
|
|
|
12374
12563
|
|
|
12375
12564
|
/**
|
|
12376
|
-
*
|
|
12565
|
+
* @param {?proto.gateway.web.v1.StripeTrackingStarted|undefined} value
|
|
12566
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12567
|
+
*/
|
|
12568
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.setStripeTrackingStarted = function(value) {
|
|
12569
|
+
return jspb.Message.setOneofWrapperField(this, 68, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
|
|
12570
|
+
};
|
|
12571
|
+
|
|
12572
|
+
|
|
12573
|
+
/**
|
|
12574
|
+
* Clears the message field making it undefined.
|
|
12575
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12576
|
+
*/
|
|
12577
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.clearStripeTrackingStarted = function() {
|
|
12578
|
+
return this.setStripeTrackingStarted(undefined);
|
|
12579
|
+
};
|
|
12580
|
+
|
|
12581
|
+
|
|
12582
|
+
/**
|
|
12583
|
+
* Returns whether this field is set.
|
|
12584
|
+
* @return {boolean}
|
|
12585
|
+
*/
|
|
12586
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.hasStripeTrackingStarted = function() {
|
|
12587
|
+
return jspb.Message.getField(this, 68) != null;
|
|
12588
|
+
};
|
|
12589
|
+
|
|
12590
|
+
|
|
12591
|
+
/**
|
|
12592
|
+
* optional StripePaymentSucceeded stripe_payment_succeeded = 69;
|
|
12593
|
+
* @return {?proto.gateway.web.v1.StripePaymentSucceeded}
|
|
12594
|
+
*/
|
|
12595
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.getStripePaymentSucceeded = function() {
|
|
12596
|
+
return /** @type{?proto.gateway.web.v1.StripePaymentSucceeded} */ (
|
|
12597
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripePaymentSucceeded, 69));
|
|
12598
|
+
};
|
|
12599
|
+
|
|
12600
|
+
|
|
12601
|
+
/**
|
|
12602
|
+
* @param {?proto.gateway.web.v1.StripePaymentSucceeded|undefined} value
|
|
12603
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12604
|
+
*/
|
|
12605
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.setStripePaymentSucceeded = function(value) {
|
|
12606
|
+
return jspb.Message.setOneofWrapperField(this, 69, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
|
|
12607
|
+
};
|
|
12608
|
+
|
|
12609
|
+
|
|
12610
|
+
/**
|
|
12611
|
+
* Clears the message field making it undefined.
|
|
12612
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12613
|
+
*/
|
|
12614
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.clearStripePaymentSucceeded = function() {
|
|
12615
|
+
return this.setStripePaymentSucceeded(undefined);
|
|
12616
|
+
};
|
|
12617
|
+
|
|
12618
|
+
|
|
12619
|
+
/**
|
|
12620
|
+
* Returns whether this field is set.
|
|
12621
|
+
* @return {boolean}
|
|
12622
|
+
*/
|
|
12623
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.hasStripePaymentSucceeded = function() {
|
|
12624
|
+
return jspb.Message.getField(this, 69) != null;
|
|
12625
|
+
};
|
|
12626
|
+
|
|
12627
|
+
|
|
12628
|
+
/**
|
|
12629
|
+
* optional StripeFundsAvailable stripe_funds_available = 70;
|
|
12630
|
+
* @return {?proto.gateway.web.v1.StripeFundsAvailable}
|
|
12631
|
+
*/
|
|
12632
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.getStripeFundsAvailable = function() {
|
|
12633
|
+
return /** @type{?proto.gateway.web.v1.StripeFundsAvailable} */ (
|
|
12634
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeFundsAvailable, 70));
|
|
12635
|
+
};
|
|
12636
|
+
|
|
12637
|
+
|
|
12638
|
+
/**
|
|
12639
|
+
* @param {?proto.gateway.web.v1.StripeFundsAvailable|undefined} value
|
|
12640
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12641
|
+
*/
|
|
12642
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.setStripeFundsAvailable = function(value) {
|
|
12643
|
+
return jspb.Message.setOneofWrapperField(this, 70, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
|
|
12644
|
+
};
|
|
12645
|
+
|
|
12646
|
+
|
|
12647
|
+
/**
|
|
12648
|
+
* Clears the message field making it undefined.
|
|
12649
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12650
|
+
*/
|
|
12651
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.clearStripeFundsAvailable = function() {
|
|
12652
|
+
return this.setStripeFundsAvailable(undefined);
|
|
12653
|
+
};
|
|
12654
|
+
|
|
12655
|
+
|
|
12656
|
+
/**
|
|
12657
|
+
* Returns whether this field is set.
|
|
12658
|
+
* @return {boolean}
|
|
12659
|
+
*/
|
|
12660
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.hasStripeFundsAvailable = function() {
|
|
12661
|
+
return jspb.Message.getField(this, 70) != null;
|
|
12662
|
+
};
|
|
12663
|
+
|
|
12664
|
+
|
|
12665
|
+
/**
|
|
12666
|
+
* optional StripePayoutPaid stripe_payout_paid = 71;
|
|
12667
|
+
* @return {?proto.gateway.web.v1.StripePayoutPaid}
|
|
12668
|
+
*/
|
|
12669
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.getStripePayoutPaid = function() {
|
|
12670
|
+
return /** @type{?proto.gateway.web.v1.StripePayoutPaid} */ (
|
|
12671
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripePayoutPaid, 71));
|
|
12672
|
+
};
|
|
12673
|
+
|
|
12674
|
+
|
|
12675
|
+
/**
|
|
12676
|
+
* @param {?proto.gateway.web.v1.StripePayoutPaid|undefined} value
|
|
12677
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12678
|
+
*/
|
|
12679
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.setStripePayoutPaid = function(value) {
|
|
12680
|
+
return jspb.Message.setOneofWrapperField(this, 71, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
|
|
12681
|
+
};
|
|
12682
|
+
|
|
12683
|
+
|
|
12684
|
+
/**
|
|
12685
|
+
* Clears the message field making it undefined.
|
|
12686
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12687
|
+
*/
|
|
12688
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.clearStripePayoutPaid = function() {
|
|
12689
|
+
return this.setStripePayoutPaid(undefined);
|
|
12690
|
+
};
|
|
12691
|
+
|
|
12692
|
+
|
|
12693
|
+
/**
|
|
12694
|
+
* Returns whether this field is set.
|
|
12695
|
+
* @return {boolean}
|
|
12696
|
+
*/
|
|
12697
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.hasStripePayoutPaid = function() {
|
|
12698
|
+
return jspb.Message.getField(this, 71) != null;
|
|
12699
|
+
};
|
|
12700
|
+
|
|
12701
|
+
|
|
12702
|
+
/**
|
|
12703
|
+
* optional StripeTrackingFinished stripe_tracking_finished = 72;
|
|
12704
|
+
* @return {?proto.gateway.web.v1.StripeTrackingFinished}
|
|
12705
|
+
*/
|
|
12706
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.getStripeTrackingFinished = function() {
|
|
12707
|
+
return /** @type{?proto.gateway.web.v1.StripeTrackingFinished} */ (
|
|
12708
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeTrackingFinished, 72));
|
|
12709
|
+
};
|
|
12710
|
+
|
|
12711
|
+
|
|
12712
|
+
/**
|
|
12713
|
+
* @param {?proto.gateway.web.v1.StripeTrackingFinished|undefined} value
|
|
12714
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12715
|
+
*/
|
|
12716
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.setStripeTrackingFinished = function(value) {
|
|
12717
|
+
return jspb.Message.setOneofWrapperField(this, 72, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
|
|
12718
|
+
};
|
|
12719
|
+
|
|
12720
|
+
|
|
12721
|
+
/**
|
|
12722
|
+
* Clears the message field making it undefined.
|
|
12723
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12724
|
+
*/
|
|
12725
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.clearStripeTrackingFinished = function() {
|
|
12726
|
+
return this.setStripeTrackingFinished(undefined);
|
|
12727
|
+
};
|
|
12728
|
+
|
|
12729
|
+
|
|
12730
|
+
/**
|
|
12731
|
+
* Returns whether this field is set.
|
|
12732
|
+
* @return {boolean}
|
|
12733
|
+
*/
|
|
12734
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.hasStripeTrackingFinished = function() {
|
|
12735
|
+
return jspb.Message.getField(this, 72) != null;
|
|
12736
|
+
};
|
|
12737
|
+
|
|
12738
|
+
|
|
12739
|
+
|
|
12740
|
+
|
|
12741
|
+
|
|
12742
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12743
|
+
/**
|
|
12744
|
+
* Creates an object representation of this proto.
|
|
12745
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12746
|
+
* Optional fields that are not set will be set to undefined.
|
|
12747
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12748
|
+
* For the list of reserved names please see:
|
|
12749
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12750
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12751
|
+
* JSPB instance for transitional soy proto support:
|
|
12752
|
+
* http://goto/soy-param-migration
|
|
12753
|
+
* @return {!Object}
|
|
12754
|
+
*/
|
|
12755
|
+
proto.gateway.web.v1.SpanStarted.prototype.toObject = function(opt_includeInstance) {
|
|
12756
|
+
return proto.gateway.web.v1.SpanStarted.toObject(opt_includeInstance, this);
|
|
12757
|
+
};
|
|
12758
|
+
|
|
12759
|
+
|
|
12760
|
+
/**
|
|
12761
|
+
* Static version of the {@see toObject} method.
|
|
12762
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12763
|
+
* the JSPB instance for transitional soy proto support:
|
|
12764
|
+
* http://goto/soy-param-migration
|
|
12765
|
+
* @param {!proto.gateway.web.v1.SpanStarted} msg The msg instance to transform.
|
|
12766
|
+
* @return {!Object}
|
|
12767
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12768
|
+
*/
|
|
12769
|
+
proto.gateway.web.v1.SpanStarted.toObject = function(includeInstance, msg) {
|
|
12770
|
+
var f, obj = {
|
|
12771
|
+
spanId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12772
|
+
parentSpanId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
12773
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12774
|
+
startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12775
|
+
attributesMap: (f = msg.getAttributesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
12776
|
+
};
|
|
12777
|
+
|
|
12778
|
+
if (includeInstance) {
|
|
12779
|
+
obj.$jspbMessageInstance = msg;
|
|
12780
|
+
}
|
|
12781
|
+
return obj;
|
|
12782
|
+
};
|
|
12783
|
+
}
|
|
12784
|
+
|
|
12785
|
+
|
|
12786
|
+
/**
|
|
12787
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12788
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12789
|
+
* @return {!proto.gateway.web.v1.SpanStarted}
|
|
12790
|
+
*/
|
|
12791
|
+
proto.gateway.web.v1.SpanStarted.deserializeBinary = function(bytes) {
|
|
12792
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12793
|
+
var msg = new proto.gateway.web.v1.SpanStarted;
|
|
12794
|
+
return proto.gateway.web.v1.SpanStarted.deserializeBinaryFromReader(msg, reader);
|
|
12795
|
+
};
|
|
12796
|
+
|
|
12797
|
+
|
|
12798
|
+
/**
|
|
12799
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12800
|
+
* given reader into the given message object.
|
|
12801
|
+
* @param {!proto.gateway.web.v1.SpanStarted} msg The message object to deserialize into.
|
|
12802
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12803
|
+
* @return {!proto.gateway.web.v1.SpanStarted}
|
|
12804
|
+
*/
|
|
12805
|
+
proto.gateway.web.v1.SpanStarted.deserializeBinaryFromReader = function(msg, reader) {
|
|
12806
|
+
while (reader.nextField()) {
|
|
12807
|
+
if (reader.isEndGroup()) {
|
|
12808
|
+
break;
|
|
12809
|
+
}
|
|
12810
|
+
var field = reader.getFieldNumber();
|
|
12811
|
+
switch (field) {
|
|
12812
|
+
case 1:
|
|
12813
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12814
|
+
msg.setSpanId(value);
|
|
12815
|
+
break;
|
|
12816
|
+
case 2:
|
|
12817
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12818
|
+
msg.setParentSpanId(value);
|
|
12819
|
+
break;
|
|
12820
|
+
case 3:
|
|
12821
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12822
|
+
msg.setName(value);
|
|
12823
|
+
break;
|
|
12824
|
+
case 4:
|
|
12825
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
12826
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
12827
|
+
msg.setStartTime(value);
|
|
12828
|
+
break;
|
|
12829
|
+
case 5:
|
|
12830
|
+
var value = msg.getAttributesMap();
|
|
12831
|
+
reader.readMessage(value, function(message, reader) {
|
|
12832
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
12833
|
+
});
|
|
12834
|
+
break;
|
|
12835
|
+
default:
|
|
12836
|
+
reader.skipField();
|
|
12837
|
+
break;
|
|
12838
|
+
}
|
|
12839
|
+
}
|
|
12840
|
+
return msg;
|
|
12841
|
+
};
|
|
12842
|
+
|
|
12843
|
+
|
|
12844
|
+
/**
|
|
12845
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12377
12846
|
* @return {!Uint8Array}
|
|
12378
12847
|
*/
|
|
12379
12848
|
proto.gateway.web.v1.SpanStarted.prototype.serializeBinary = function() {
|
|
@@ -28750,8 +29219,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
28750
29219
|
* http://goto/soy-param-migration
|
|
28751
29220
|
* @return {!Object}
|
|
28752
29221
|
*/
|
|
28753
|
-
proto.gateway.web.v1.
|
|
28754
|
-
return proto.gateway.web.v1.
|
|
29222
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.toObject = function(opt_includeInstance) {
|
|
29223
|
+
return proto.gateway.web.v1.StripeHintAdded.toObject(opt_includeInstance, this);
|
|
28755
29224
|
};
|
|
28756
29225
|
|
|
28757
29226
|
|
|
@@ -28760,15 +29229,17 @@ proto.gateway.web.v1.Pagination.prototype.toObject = function(opt_includeInstanc
|
|
|
28760
29229
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
28761
29230
|
* the JSPB instance for transitional soy proto support:
|
|
28762
29231
|
* http://goto/soy-param-migration
|
|
28763
|
-
* @param {!proto.gateway.web.v1.
|
|
29232
|
+
* @param {!proto.gateway.web.v1.StripeHintAdded} msg The msg instance to transform.
|
|
28764
29233
|
* @return {!Object}
|
|
28765
29234
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
28766
29235
|
*/
|
|
28767
|
-
proto.gateway.web.v1.
|
|
29236
|
+
proto.gateway.web.v1.StripeHintAdded.toObject = function(includeInstance, msg) {
|
|
28768
29237
|
var f, obj = {
|
|
28769
|
-
|
|
28770
|
-
|
|
28771
|
-
|
|
29238
|
+
pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
29239
|
+
paymentIntentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
29240
|
+
accountId: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
29241
|
+
details: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
|
|
29242
|
+
clientTimestamp: (f = msg.getClientTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
28772
29243
|
};
|
|
28773
29244
|
|
|
28774
29245
|
if (includeInstance) {
|
|
@@ -28782,23 +29253,23 @@ perPage: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
|
28782
29253
|
/**
|
|
28783
29254
|
* Deserializes binary data (in protobuf wire format).
|
|
28784
29255
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
28785
|
-
* @return {!proto.gateway.web.v1.
|
|
29256
|
+
* @return {!proto.gateway.web.v1.StripeHintAdded}
|
|
28786
29257
|
*/
|
|
28787
|
-
proto.gateway.web.v1.
|
|
29258
|
+
proto.gateway.web.v1.StripeHintAdded.deserializeBinary = function(bytes) {
|
|
28788
29259
|
var reader = new jspb.BinaryReader(bytes);
|
|
28789
|
-
var msg = new proto.gateway.web.v1.
|
|
28790
|
-
return proto.gateway.web.v1.
|
|
29260
|
+
var msg = new proto.gateway.web.v1.StripeHintAdded;
|
|
29261
|
+
return proto.gateway.web.v1.StripeHintAdded.deserializeBinaryFromReader(msg, reader);
|
|
28791
29262
|
};
|
|
28792
29263
|
|
|
28793
29264
|
|
|
28794
29265
|
/**
|
|
28795
29266
|
* Deserializes binary data (in protobuf wire format) from the
|
|
28796
29267
|
* given reader into the given message object.
|
|
28797
|
-
* @param {!proto.gateway.web.v1.
|
|
29268
|
+
* @param {!proto.gateway.web.v1.StripeHintAdded} msg The message object to deserialize into.
|
|
28798
29269
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
28799
|
-
* @return {!proto.gateway.web.v1.
|
|
29270
|
+
* @return {!proto.gateway.web.v1.StripeHintAdded}
|
|
28800
29271
|
*/
|
|
28801
|
-
proto.gateway.web.v1.
|
|
29272
|
+
proto.gateway.web.v1.StripeHintAdded.deserializeBinaryFromReader = function(msg, reader) {
|
|
28802
29273
|
while (reader.nextField()) {
|
|
28803
29274
|
if (reader.isEndGroup()) {
|
|
28804
29275
|
break;
|
|
@@ -28806,20 +29277,2185 @@ proto.gateway.web.v1.Pagination.deserializeBinaryFromReader = function(msg, read
|
|
|
28806
29277
|
var field = reader.getFieldNumber();
|
|
28807
29278
|
switch (field) {
|
|
28808
29279
|
case 1:
|
|
28809
|
-
var value =
|
|
28810
|
-
|
|
28811
|
-
msg.setAnchorTimestamp(value);
|
|
29280
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29281
|
+
msg.setPluginCorrelationId(value);
|
|
28812
29282
|
break;
|
|
28813
29283
|
case 2:
|
|
28814
|
-
var value = /** @type {
|
|
28815
|
-
msg.
|
|
29284
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29285
|
+
msg.setPaymentIntentId(value);
|
|
28816
29286
|
break;
|
|
28817
29287
|
case 3:
|
|
28818
|
-
var value = /** @type {
|
|
28819
|
-
msg.
|
|
29288
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29289
|
+
msg.setAccountId(value);
|
|
28820
29290
|
break;
|
|
28821
|
-
|
|
28822
|
-
reader.
|
|
29291
|
+
case 4:
|
|
29292
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29293
|
+
msg.setDetails(value);
|
|
29294
|
+
break;
|
|
29295
|
+
case 5:
|
|
29296
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
29297
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
29298
|
+
msg.setClientTimestamp(value);
|
|
29299
|
+
break;
|
|
29300
|
+
default:
|
|
29301
|
+
reader.skipField();
|
|
29302
|
+
break;
|
|
29303
|
+
}
|
|
29304
|
+
}
|
|
29305
|
+
return msg;
|
|
29306
|
+
};
|
|
29307
|
+
|
|
29308
|
+
|
|
29309
|
+
/**
|
|
29310
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
29311
|
+
* @return {!Uint8Array}
|
|
29312
|
+
*/
|
|
29313
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.serializeBinary = function() {
|
|
29314
|
+
var writer = new jspb.BinaryWriter();
|
|
29315
|
+
proto.gateway.web.v1.StripeHintAdded.serializeBinaryToWriter(this, writer);
|
|
29316
|
+
return writer.getResultBuffer();
|
|
29317
|
+
};
|
|
29318
|
+
|
|
29319
|
+
|
|
29320
|
+
/**
|
|
29321
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
29322
|
+
* format), writing to the given BinaryWriter.
|
|
29323
|
+
* @param {!proto.gateway.web.v1.StripeHintAdded} message
|
|
29324
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29325
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29326
|
+
*/
|
|
29327
|
+
proto.gateway.web.v1.StripeHintAdded.serializeBinaryToWriter = function(message, writer) {
|
|
29328
|
+
var f = undefined;
|
|
29329
|
+
f = message.getPluginCorrelationId();
|
|
29330
|
+
if (f.length > 0) {
|
|
29331
|
+
writer.writeString(
|
|
29332
|
+
1,
|
|
29333
|
+
f
|
|
29334
|
+
);
|
|
29335
|
+
}
|
|
29336
|
+
f = message.getPaymentIntentId();
|
|
29337
|
+
if (f.length > 0) {
|
|
29338
|
+
writer.writeString(
|
|
29339
|
+
2,
|
|
29340
|
+
f
|
|
29341
|
+
);
|
|
29342
|
+
}
|
|
29343
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
29344
|
+
if (f != null) {
|
|
29345
|
+
writer.writeString(
|
|
29346
|
+
3,
|
|
29347
|
+
f
|
|
29348
|
+
);
|
|
29349
|
+
}
|
|
29350
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
29351
|
+
if (f != null) {
|
|
29352
|
+
writer.writeString(
|
|
29353
|
+
4,
|
|
29354
|
+
f
|
|
29355
|
+
);
|
|
29356
|
+
}
|
|
29357
|
+
f = message.getClientTimestamp();
|
|
29358
|
+
if (f != null) {
|
|
29359
|
+
writer.writeMessage(
|
|
29360
|
+
5,
|
|
29361
|
+
f,
|
|
29362
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
29363
|
+
);
|
|
29364
|
+
}
|
|
29365
|
+
};
|
|
29366
|
+
|
|
29367
|
+
|
|
29368
|
+
/**
|
|
29369
|
+
* optional string plugin_correlation_id = 1;
|
|
29370
|
+
* @return {string}
|
|
29371
|
+
*/
|
|
29372
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.getPluginCorrelationId = function() {
|
|
29373
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
29374
|
+
};
|
|
29375
|
+
|
|
29376
|
+
|
|
29377
|
+
/**
|
|
29378
|
+
* @param {string} value
|
|
29379
|
+
* @return {!proto.gateway.web.v1.StripeHintAdded} returns this
|
|
29380
|
+
*/
|
|
29381
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.setPluginCorrelationId = function(value) {
|
|
29382
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
29383
|
+
};
|
|
29384
|
+
|
|
29385
|
+
|
|
29386
|
+
/**
|
|
29387
|
+
* optional string payment_intent_id = 2;
|
|
29388
|
+
* @return {string}
|
|
29389
|
+
*/
|
|
29390
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.getPaymentIntentId = function() {
|
|
29391
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
29392
|
+
};
|
|
29393
|
+
|
|
29394
|
+
|
|
29395
|
+
/**
|
|
29396
|
+
* @param {string} value
|
|
29397
|
+
* @return {!proto.gateway.web.v1.StripeHintAdded} returns this
|
|
29398
|
+
*/
|
|
29399
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.setPaymentIntentId = function(value) {
|
|
29400
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
29401
|
+
};
|
|
29402
|
+
|
|
29403
|
+
|
|
29404
|
+
/**
|
|
29405
|
+
* optional string account_id = 3;
|
|
29406
|
+
* @return {string}
|
|
29407
|
+
*/
|
|
29408
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.getAccountId = function() {
|
|
29409
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
29410
|
+
};
|
|
29411
|
+
|
|
29412
|
+
|
|
29413
|
+
/**
|
|
29414
|
+
* @param {string} value
|
|
29415
|
+
* @return {!proto.gateway.web.v1.StripeHintAdded} returns this
|
|
29416
|
+
*/
|
|
29417
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.setAccountId = function(value) {
|
|
29418
|
+
return jspb.Message.setField(this, 3, value);
|
|
29419
|
+
};
|
|
29420
|
+
|
|
29421
|
+
|
|
29422
|
+
/**
|
|
29423
|
+
* Clears the field making it undefined.
|
|
29424
|
+
* @return {!proto.gateway.web.v1.StripeHintAdded} returns this
|
|
29425
|
+
*/
|
|
29426
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.clearAccountId = function() {
|
|
29427
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
29428
|
+
};
|
|
29429
|
+
|
|
29430
|
+
|
|
29431
|
+
/**
|
|
29432
|
+
* Returns whether this field is set.
|
|
29433
|
+
* @return {boolean}
|
|
29434
|
+
*/
|
|
29435
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.hasAccountId = function() {
|
|
29436
|
+
return jspb.Message.getField(this, 3) != null;
|
|
29437
|
+
};
|
|
29438
|
+
|
|
29439
|
+
|
|
29440
|
+
/**
|
|
29441
|
+
* optional string details = 4;
|
|
29442
|
+
* @return {string}
|
|
29443
|
+
*/
|
|
29444
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.getDetails = function() {
|
|
29445
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
29446
|
+
};
|
|
29447
|
+
|
|
29448
|
+
|
|
29449
|
+
/**
|
|
29450
|
+
* @param {string} value
|
|
29451
|
+
* @return {!proto.gateway.web.v1.StripeHintAdded} returns this
|
|
29452
|
+
*/
|
|
29453
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.setDetails = function(value) {
|
|
29454
|
+
return jspb.Message.setField(this, 4, value);
|
|
29455
|
+
};
|
|
29456
|
+
|
|
29457
|
+
|
|
29458
|
+
/**
|
|
29459
|
+
* Clears the field making it undefined.
|
|
29460
|
+
* @return {!proto.gateway.web.v1.StripeHintAdded} returns this
|
|
29461
|
+
*/
|
|
29462
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.clearDetails = function() {
|
|
29463
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
29464
|
+
};
|
|
29465
|
+
|
|
29466
|
+
|
|
29467
|
+
/**
|
|
29468
|
+
* Returns whether this field is set.
|
|
29469
|
+
* @return {boolean}
|
|
29470
|
+
*/
|
|
29471
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.hasDetails = function() {
|
|
29472
|
+
return jspb.Message.getField(this, 4) != null;
|
|
29473
|
+
};
|
|
29474
|
+
|
|
29475
|
+
|
|
29476
|
+
/**
|
|
29477
|
+
* optional google.protobuf.Timestamp client_timestamp = 5;
|
|
29478
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
29479
|
+
*/
|
|
29480
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.getClientTimestamp = function() {
|
|
29481
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
29482
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
29483
|
+
};
|
|
29484
|
+
|
|
29485
|
+
|
|
29486
|
+
/**
|
|
29487
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
29488
|
+
* @return {!proto.gateway.web.v1.StripeHintAdded} returns this
|
|
29489
|
+
*/
|
|
29490
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.setClientTimestamp = function(value) {
|
|
29491
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
29492
|
+
};
|
|
29493
|
+
|
|
29494
|
+
|
|
29495
|
+
/**
|
|
29496
|
+
* Clears the message field making it undefined.
|
|
29497
|
+
* @return {!proto.gateway.web.v1.StripeHintAdded} returns this
|
|
29498
|
+
*/
|
|
29499
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.clearClientTimestamp = function() {
|
|
29500
|
+
return this.setClientTimestamp(undefined);
|
|
29501
|
+
};
|
|
29502
|
+
|
|
29503
|
+
|
|
29504
|
+
/**
|
|
29505
|
+
* Returns whether this field is set.
|
|
29506
|
+
* @return {boolean}
|
|
29507
|
+
*/
|
|
29508
|
+
proto.gateway.web.v1.StripeHintAdded.prototype.hasClientTimestamp = function() {
|
|
29509
|
+
return jspb.Message.getField(this, 5) != null;
|
|
29510
|
+
};
|
|
29511
|
+
|
|
29512
|
+
|
|
29513
|
+
|
|
29514
|
+
|
|
29515
|
+
|
|
29516
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29517
|
+
/**
|
|
29518
|
+
* Creates an object representation of this proto.
|
|
29519
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
29520
|
+
* Optional fields that are not set will be set to undefined.
|
|
29521
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
29522
|
+
* For the list of reserved names please see:
|
|
29523
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
29524
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
29525
|
+
* JSPB instance for transitional soy proto support:
|
|
29526
|
+
* http://goto/soy-param-migration
|
|
29527
|
+
* @return {!Object}
|
|
29528
|
+
*/
|
|
29529
|
+
proto.gateway.web.v1.StripeTrackingStarted.prototype.toObject = function(opt_includeInstance) {
|
|
29530
|
+
return proto.gateway.web.v1.StripeTrackingStarted.toObject(opt_includeInstance, this);
|
|
29531
|
+
};
|
|
29532
|
+
|
|
29533
|
+
|
|
29534
|
+
/**
|
|
29535
|
+
* Static version of the {@see toObject} method.
|
|
29536
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
29537
|
+
* the JSPB instance for transitional soy proto support:
|
|
29538
|
+
* http://goto/soy-param-migration
|
|
29539
|
+
* @param {!proto.gateway.web.v1.StripeTrackingStarted} msg The msg instance to transform.
|
|
29540
|
+
* @return {!Object}
|
|
29541
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29542
|
+
*/
|
|
29543
|
+
proto.gateway.web.v1.StripeTrackingStarted.toObject = function(includeInstance, msg) {
|
|
29544
|
+
var f, obj = {
|
|
29545
|
+
pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
29546
|
+
paymentIntentId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
29547
|
+
};
|
|
29548
|
+
|
|
29549
|
+
if (includeInstance) {
|
|
29550
|
+
obj.$jspbMessageInstance = msg;
|
|
29551
|
+
}
|
|
29552
|
+
return obj;
|
|
29553
|
+
};
|
|
29554
|
+
}
|
|
29555
|
+
|
|
29556
|
+
|
|
29557
|
+
/**
|
|
29558
|
+
* Deserializes binary data (in protobuf wire format).
|
|
29559
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
29560
|
+
* @return {!proto.gateway.web.v1.StripeTrackingStarted}
|
|
29561
|
+
*/
|
|
29562
|
+
proto.gateway.web.v1.StripeTrackingStarted.deserializeBinary = function(bytes) {
|
|
29563
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
29564
|
+
var msg = new proto.gateway.web.v1.StripeTrackingStarted;
|
|
29565
|
+
return proto.gateway.web.v1.StripeTrackingStarted.deserializeBinaryFromReader(msg, reader);
|
|
29566
|
+
};
|
|
29567
|
+
|
|
29568
|
+
|
|
29569
|
+
/**
|
|
29570
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
29571
|
+
* given reader into the given message object.
|
|
29572
|
+
* @param {!proto.gateway.web.v1.StripeTrackingStarted} msg The message object to deserialize into.
|
|
29573
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
29574
|
+
* @return {!proto.gateway.web.v1.StripeTrackingStarted}
|
|
29575
|
+
*/
|
|
29576
|
+
proto.gateway.web.v1.StripeTrackingStarted.deserializeBinaryFromReader = function(msg, reader) {
|
|
29577
|
+
while (reader.nextField()) {
|
|
29578
|
+
if (reader.isEndGroup()) {
|
|
29579
|
+
break;
|
|
29580
|
+
}
|
|
29581
|
+
var field = reader.getFieldNumber();
|
|
29582
|
+
switch (field) {
|
|
29583
|
+
case 1:
|
|
29584
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29585
|
+
msg.setPluginCorrelationId(value);
|
|
29586
|
+
break;
|
|
29587
|
+
case 2:
|
|
29588
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29589
|
+
msg.setPaymentIntentId(value);
|
|
29590
|
+
break;
|
|
29591
|
+
default:
|
|
29592
|
+
reader.skipField();
|
|
29593
|
+
break;
|
|
29594
|
+
}
|
|
29595
|
+
}
|
|
29596
|
+
return msg;
|
|
29597
|
+
};
|
|
29598
|
+
|
|
29599
|
+
|
|
29600
|
+
/**
|
|
29601
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
29602
|
+
* @return {!Uint8Array}
|
|
29603
|
+
*/
|
|
29604
|
+
proto.gateway.web.v1.StripeTrackingStarted.prototype.serializeBinary = function() {
|
|
29605
|
+
var writer = new jspb.BinaryWriter();
|
|
29606
|
+
proto.gateway.web.v1.StripeTrackingStarted.serializeBinaryToWriter(this, writer);
|
|
29607
|
+
return writer.getResultBuffer();
|
|
29608
|
+
};
|
|
29609
|
+
|
|
29610
|
+
|
|
29611
|
+
/**
|
|
29612
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
29613
|
+
* format), writing to the given BinaryWriter.
|
|
29614
|
+
* @param {!proto.gateway.web.v1.StripeTrackingStarted} message
|
|
29615
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29616
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29617
|
+
*/
|
|
29618
|
+
proto.gateway.web.v1.StripeTrackingStarted.serializeBinaryToWriter = function(message, writer) {
|
|
29619
|
+
var f = undefined;
|
|
29620
|
+
f = message.getPluginCorrelationId();
|
|
29621
|
+
if (f.length > 0) {
|
|
29622
|
+
writer.writeString(
|
|
29623
|
+
1,
|
|
29624
|
+
f
|
|
29625
|
+
);
|
|
29626
|
+
}
|
|
29627
|
+
f = message.getPaymentIntentId();
|
|
29628
|
+
if (f.length > 0) {
|
|
29629
|
+
writer.writeString(
|
|
29630
|
+
2,
|
|
29631
|
+
f
|
|
29632
|
+
);
|
|
29633
|
+
}
|
|
29634
|
+
};
|
|
29635
|
+
|
|
29636
|
+
|
|
29637
|
+
/**
|
|
29638
|
+
* optional string plugin_correlation_id = 1;
|
|
29639
|
+
* @return {string}
|
|
29640
|
+
*/
|
|
29641
|
+
proto.gateway.web.v1.StripeTrackingStarted.prototype.getPluginCorrelationId = function() {
|
|
29642
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
29643
|
+
};
|
|
29644
|
+
|
|
29645
|
+
|
|
29646
|
+
/**
|
|
29647
|
+
* @param {string} value
|
|
29648
|
+
* @return {!proto.gateway.web.v1.StripeTrackingStarted} returns this
|
|
29649
|
+
*/
|
|
29650
|
+
proto.gateway.web.v1.StripeTrackingStarted.prototype.setPluginCorrelationId = function(value) {
|
|
29651
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
29652
|
+
};
|
|
29653
|
+
|
|
29654
|
+
|
|
29655
|
+
/**
|
|
29656
|
+
* optional string payment_intent_id = 2;
|
|
29657
|
+
* @return {string}
|
|
29658
|
+
*/
|
|
29659
|
+
proto.gateway.web.v1.StripeTrackingStarted.prototype.getPaymentIntentId = function() {
|
|
29660
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
29661
|
+
};
|
|
29662
|
+
|
|
29663
|
+
|
|
29664
|
+
/**
|
|
29665
|
+
* @param {string} value
|
|
29666
|
+
* @return {!proto.gateway.web.v1.StripeTrackingStarted} returns this
|
|
29667
|
+
*/
|
|
29668
|
+
proto.gateway.web.v1.StripeTrackingStarted.prototype.setPaymentIntentId = function(value) {
|
|
29669
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
29670
|
+
};
|
|
29671
|
+
|
|
29672
|
+
|
|
29673
|
+
|
|
29674
|
+
|
|
29675
|
+
|
|
29676
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29677
|
+
/**
|
|
29678
|
+
* Creates an object representation of this proto.
|
|
29679
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
29680
|
+
* Optional fields that are not set will be set to undefined.
|
|
29681
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
29682
|
+
* For the list of reserved names please see:
|
|
29683
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
29684
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
29685
|
+
* JSPB instance for transitional soy proto support:
|
|
29686
|
+
* http://goto/soy-param-migration
|
|
29687
|
+
* @return {!Object}
|
|
29688
|
+
*/
|
|
29689
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.toObject = function(opt_includeInstance) {
|
|
29690
|
+
return proto.gateway.web.v1.StripePaymentSucceeded.toObject(opt_includeInstance, this);
|
|
29691
|
+
};
|
|
29692
|
+
|
|
29693
|
+
|
|
29694
|
+
/**
|
|
29695
|
+
* Static version of the {@see toObject} method.
|
|
29696
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
29697
|
+
* the JSPB instance for transitional soy proto support:
|
|
29698
|
+
* http://goto/soy-param-migration
|
|
29699
|
+
* @param {!proto.gateway.web.v1.StripePaymentSucceeded} msg The msg instance to transform.
|
|
29700
|
+
* @return {!Object}
|
|
29701
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29702
|
+
*/
|
|
29703
|
+
proto.gateway.web.v1.StripePaymentSucceeded.toObject = function(includeInstance, msg) {
|
|
29704
|
+
var f, obj = {
|
|
29705
|
+
pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
29706
|
+
paymentIntentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
29707
|
+
status: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
29708
|
+
amount: (f = msg.getAmount()) && proto.gateway.web.v1.StripeMoney.toObject(includeInstance, f),
|
|
29709
|
+
chargeId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
29710
|
+
balanceTransactionId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
29711
|
+
observedAt: (f = msg.getObservedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
29712
|
+
};
|
|
29713
|
+
|
|
29714
|
+
if (includeInstance) {
|
|
29715
|
+
obj.$jspbMessageInstance = msg;
|
|
29716
|
+
}
|
|
29717
|
+
return obj;
|
|
29718
|
+
};
|
|
29719
|
+
}
|
|
29720
|
+
|
|
29721
|
+
|
|
29722
|
+
/**
|
|
29723
|
+
* Deserializes binary data (in protobuf wire format).
|
|
29724
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
29725
|
+
* @return {!proto.gateway.web.v1.StripePaymentSucceeded}
|
|
29726
|
+
*/
|
|
29727
|
+
proto.gateway.web.v1.StripePaymentSucceeded.deserializeBinary = function(bytes) {
|
|
29728
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
29729
|
+
var msg = new proto.gateway.web.v1.StripePaymentSucceeded;
|
|
29730
|
+
return proto.gateway.web.v1.StripePaymentSucceeded.deserializeBinaryFromReader(msg, reader);
|
|
29731
|
+
};
|
|
29732
|
+
|
|
29733
|
+
|
|
29734
|
+
/**
|
|
29735
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
29736
|
+
* given reader into the given message object.
|
|
29737
|
+
* @param {!proto.gateway.web.v1.StripePaymentSucceeded} msg The message object to deserialize into.
|
|
29738
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
29739
|
+
* @return {!proto.gateway.web.v1.StripePaymentSucceeded}
|
|
29740
|
+
*/
|
|
29741
|
+
proto.gateway.web.v1.StripePaymentSucceeded.deserializeBinaryFromReader = function(msg, reader) {
|
|
29742
|
+
while (reader.nextField()) {
|
|
29743
|
+
if (reader.isEndGroup()) {
|
|
29744
|
+
break;
|
|
29745
|
+
}
|
|
29746
|
+
var field = reader.getFieldNumber();
|
|
29747
|
+
switch (field) {
|
|
29748
|
+
case 1:
|
|
29749
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29750
|
+
msg.setPluginCorrelationId(value);
|
|
29751
|
+
break;
|
|
29752
|
+
case 2:
|
|
29753
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29754
|
+
msg.setPaymentIntentId(value);
|
|
29755
|
+
break;
|
|
29756
|
+
case 3:
|
|
29757
|
+
var value = /** @type {!proto.gateway.web.v1.StripePaymentStatus} */ (reader.readEnum());
|
|
29758
|
+
msg.setStatus(value);
|
|
29759
|
+
break;
|
|
29760
|
+
case 4:
|
|
29761
|
+
var value = new proto.gateway.web.v1.StripeMoney;
|
|
29762
|
+
reader.readMessage(value,proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader);
|
|
29763
|
+
msg.setAmount(value);
|
|
29764
|
+
break;
|
|
29765
|
+
case 5:
|
|
29766
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29767
|
+
msg.setChargeId(value);
|
|
29768
|
+
break;
|
|
29769
|
+
case 6:
|
|
29770
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29771
|
+
msg.setBalanceTransactionId(value);
|
|
29772
|
+
break;
|
|
29773
|
+
case 7:
|
|
29774
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
29775
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
29776
|
+
msg.setObservedAt(value);
|
|
29777
|
+
break;
|
|
29778
|
+
default:
|
|
29779
|
+
reader.skipField();
|
|
29780
|
+
break;
|
|
29781
|
+
}
|
|
29782
|
+
}
|
|
29783
|
+
return msg;
|
|
29784
|
+
};
|
|
29785
|
+
|
|
29786
|
+
|
|
29787
|
+
/**
|
|
29788
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
29789
|
+
* @return {!Uint8Array}
|
|
29790
|
+
*/
|
|
29791
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.serializeBinary = function() {
|
|
29792
|
+
var writer = new jspb.BinaryWriter();
|
|
29793
|
+
proto.gateway.web.v1.StripePaymentSucceeded.serializeBinaryToWriter(this, writer);
|
|
29794
|
+
return writer.getResultBuffer();
|
|
29795
|
+
};
|
|
29796
|
+
|
|
29797
|
+
|
|
29798
|
+
/**
|
|
29799
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
29800
|
+
* format), writing to the given BinaryWriter.
|
|
29801
|
+
* @param {!proto.gateway.web.v1.StripePaymentSucceeded} message
|
|
29802
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29803
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29804
|
+
*/
|
|
29805
|
+
proto.gateway.web.v1.StripePaymentSucceeded.serializeBinaryToWriter = function(message, writer) {
|
|
29806
|
+
var f = undefined;
|
|
29807
|
+
f = message.getPluginCorrelationId();
|
|
29808
|
+
if (f.length > 0) {
|
|
29809
|
+
writer.writeString(
|
|
29810
|
+
1,
|
|
29811
|
+
f
|
|
29812
|
+
);
|
|
29813
|
+
}
|
|
29814
|
+
f = message.getPaymentIntentId();
|
|
29815
|
+
if (f.length > 0) {
|
|
29816
|
+
writer.writeString(
|
|
29817
|
+
2,
|
|
29818
|
+
f
|
|
29819
|
+
);
|
|
29820
|
+
}
|
|
29821
|
+
f = message.getStatus();
|
|
29822
|
+
if (f !== 0.0) {
|
|
29823
|
+
writer.writeEnum(
|
|
29824
|
+
3,
|
|
29825
|
+
f
|
|
29826
|
+
);
|
|
29827
|
+
}
|
|
29828
|
+
f = message.getAmount();
|
|
29829
|
+
if (f != null) {
|
|
29830
|
+
writer.writeMessage(
|
|
29831
|
+
4,
|
|
29832
|
+
f,
|
|
29833
|
+
proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter
|
|
29834
|
+
);
|
|
29835
|
+
}
|
|
29836
|
+
f = message.getChargeId();
|
|
29837
|
+
if (f.length > 0) {
|
|
29838
|
+
writer.writeString(
|
|
29839
|
+
5,
|
|
29840
|
+
f
|
|
29841
|
+
);
|
|
29842
|
+
}
|
|
29843
|
+
f = message.getBalanceTransactionId();
|
|
29844
|
+
if (f.length > 0) {
|
|
29845
|
+
writer.writeString(
|
|
29846
|
+
6,
|
|
29847
|
+
f
|
|
29848
|
+
);
|
|
29849
|
+
}
|
|
29850
|
+
f = message.getObservedAt();
|
|
29851
|
+
if (f != null) {
|
|
29852
|
+
writer.writeMessage(
|
|
29853
|
+
7,
|
|
29854
|
+
f,
|
|
29855
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
29856
|
+
);
|
|
29857
|
+
}
|
|
29858
|
+
};
|
|
29859
|
+
|
|
29860
|
+
|
|
29861
|
+
/**
|
|
29862
|
+
* optional string plugin_correlation_id = 1;
|
|
29863
|
+
* @return {string}
|
|
29864
|
+
*/
|
|
29865
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.getPluginCorrelationId = function() {
|
|
29866
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
29867
|
+
};
|
|
29868
|
+
|
|
29869
|
+
|
|
29870
|
+
/**
|
|
29871
|
+
* @param {string} value
|
|
29872
|
+
* @return {!proto.gateway.web.v1.StripePaymentSucceeded} returns this
|
|
29873
|
+
*/
|
|
29874
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.setPluginCorrelationId = function(value) {
|
|
29875
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
29876
|
+
};
|
|
29877
|
+
|
|
29878
|
+
|
|
29879
|
+
/**
|
|
29880
|
+
* optional string payment_intent_id = 2;
|
|
29881
|
+
* @return {string}
|
|
29882
|
+
*/
|
|
29883
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.getPaymentIntentId = function() {
|
|
29884
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
29885
|
+
};
|
|
29886
|
+
|
|
29887
|
+
|
|
29888
|
+
/**
|
|
29889
|
+
* @param {string} value
|
|
29890
|
+
* @return {!proto.gateway.web.v1.StripePaymentSucceeded} returns this
|
|
29891
|
+
*/
|
|
29892
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.setPaymentIntentId = function(value) {
|
|
29893
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
29894
|
+
};
|
|
29895
|
+
|
|
29896
|
+
|
|
29897
|
+
/**
|
|
29898
|
+
* optional StripePaymentStatus status = 3;
|
|
29899
|
+
* @return {!proto.gateway.web.v1.StripePaymentStatus}
|
|
29900
|
+
*/
|
|
29901
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.getStatus = function() {
|
|
29902
|
+
return /** @type {!proto.gateway.web.v1.StripePaymentStatus} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
29903
|
+
};
|
|
29904
|
+
|
|
29905
|
+
|
|
29906
|
+
/**
|
|
29907
|
+
* @param {!proto.gateway.web.v1.StripePaymentStatus} value
|
|
29908
|
+
* @return {!proto.gateway.web.v1.StripePaymentSucceeded} returns this
|
|
29909
|
+
*/
|
|
29910
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.setStatus = function(value) {
|
|
29911
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
29912
|
+
};
|
|
29913
|
+
|
|
29914
|
+
|
|
29915
|
+
/**
|
|
29916
|
+
* optional StripeMoney amount = 4;
|
|
29917
|
+
* @return {?proto.gateway.web.v1.StripeMoney}
|
|
29918
|
+
*/
|
|
29919
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.getAmount = function() {
|
|
29920
|
+
return /** @type{?proto.gateway.web.v1.StripeMoney} */ (
|
|
29921
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeMoney, 4));
|
|
29922
|
+
};
|
|
29923
|
+
|
|
29924
|
+
|
|
29925
|
+
/**
|
|
29926
|
+
* @param {?proto.gateway.web.v1.StripeMoney|undefined} value
|
|
29927
|
+
* @return {!proto.gateway.web.v1.StripePaymentSucceeded} returns this
|
|
29928
|
+
*/
|
|
29929
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.setAmount = function(value) {
|
|
29930
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
29931
|
+
};
|
|
29932
|
+
|
|
29933
|
+
|
|
29934
|
+
/**
|
|
29935
|
+
* Clears the message field making it undefined.
|
|
29936
|
+
* @return {!proto.gateway.web.v1.StripePaymentSucceeded} returns this
|
|
29937
|
+
*/
|
|
29938
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.clearAmount = function() {
|
|
29939
|
+
return this.setAmount(undefined);
|
|
29940
|
+
};
|
|
29941
|
+
|
|
29942
|
+
|
|
29943
|
+
/**
|
|
29944
|
+
* Returns whether this field is set.
|
|
29945
|
+
* @return {boolean}
|
|
29946
|
+
*/
|
|
29947
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.hasAmount = function() {
|
|
29948
|
+
return jspb.Message.getField(this, 4) != null;
|
|
29949
|
+
};
|
|
29950
|
+
|
|
29951
|
+
|
|
29952
|
+
/**
|
|
29953
|
+
* optional string charge_id = 5;
|
|
29954
|
+
* @return {string}
|
|
29955
|
+
*/
|
|
29956
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.getChargeId = function() {
|
|
29957
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
29958
|
+
};
|
|
29959
|
+
|
|
29960
|
+
|
|
29961
|
+
/**
|
|
29962
|
+
* @param {string} value
|
|
29963
|
+
* @return {!proto.gateway.web.v1.StripePaymentSucceeded} returns this
|
|
29964
|
+
*/
|
|
29965
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.setChargeId = function(value) {
|
|
29966
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
29967
|
+
};
|
|
29968
|
+
|
|
29969
|
+
|
|
29970
|
+
/**
|
|
29971
|
+
* optional string balance_transaction_id = 6;
|
|
29972
|
+
* @return {string}
|
|
29973
|
+
*/
|
|
29974
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.getBalanceTransactionId = function() {
|
|
29975
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
29976
|
+
};
|
|
29977
|
+
|
|
29978
|
+
|
|
29979
|
+
/**
|
|
29980
|
+
* @param {string} value
|
|
29981
|
+
* @return {!proto.gateway.web.v1.StripePaymentSucceeded} returns this
|
|
29982
|
+
*/
|
|
29983
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.setBalanceTransactionId = function(value) {
|
|
29984
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
29985
|
+
};
|
|
29986
|
+
|
|
29987
|
+
|
|
29988
|
+
/**
|
|
29989
|
+
* optional google.protobuf.Timestamp observed_at = 7;
|
|
29990
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
29991
|
+
*/
|
|
29992
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.getObservedAt = function() {
|
|
29993
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
29994
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
29995
|
+
};
|
|
29996
|
+
|
|
29997
|
+
|
|
29998
|
+
/**
|
|
29999
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
30000
|
+
* @return {!proto.gateway.web.v1.StripePaymentSucceeded} returns this
|
|
30001
|
+
*/
|
|
30002
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.setObservedAt = function(value) {
|
|
30003
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
30004
|
+
};
|
|
30005
|
+
|
|
30006
|
+
|
|
30007
|
+
/**
|
|
30008
|
+
* Clears the message field making it undefined.
|
|
30009
|
+
* @return {!proto.gateway.web.v1.StripePaymentSucceeded} returns this
|
|
30010
|
+
*/
|
|
30011
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.clearObservedAt = function() {
|
|
30012
|
+
return this.setObservedAt(undefined);
|
|
30013
|
+
};
|
|
30014
|
+
|
|
30015
|
+
|
|
30016
|
+
/**
|
|
30017
|
+
* Returns whether this field is set.
|
|
30018
|
+
* @return {boolean}
|
|
30019
|
+
*/
|
|
30020
|
+
proto.gateway.web.v1.StripePaymentSucceeded.prototype.hasObservedAt = function() {
|
|
30021
|
+
return jspb.Message.getField(this, 7) != null;
|
|
30022
|
+
};
|
|
30023
|
+
|
|
30024
|
+
|
|
30025
|
+
|
|
30026
|
+
|
|
30027
|
+
|
|
30028
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30029
|
+
/**
|
|
30030
|
+
* Creates an object representation of this proto.
|
|
30031
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30032
|
+
* Optional fields that are not set will be set to undefined.
|
|
30033
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30034
|
+
* For the list of reserved names please see:
|
|
30035
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30036
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30037
|
+
* JSPB instance for transitional soy proto support:
|
|
30038
|
+
* http://goto/soy-param-migration
|
|
30039
|
+
* @return {!Object}
|
|
30040
|
+
*/
|
|
30041
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.toObject = function(opt_includeInstance) {
|
|
30042
|
+
return proto.gateway.web.v1.StripeFundsAvailable.toObject(opt_includeInstance, this);
|
|
30043
|
+
};
|
|
30044
|
+
|
|
30045
|
+
|
|
30046
|
+
/**
|
|
30047
|
+
* Static version of the {@see toObject} method.
|
|
30048
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30049
|
+
* the JSPB instance for transitional soy proto support:
|
|
30050
|
+
* http://goto/soy-param-migration
|
|
30051
|
+
* @param {!proto.gateway.web.v1.StripeFundsAvailable} msg The msg instance to transform.
|
|
30052
|
+
* @return {!Object}
|
|
30053
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30054
|
+
*/
|
|
30055
|
+
proto.gateway.web.v1.StripeFundsAvailable.toObject = function(includeInstance, msg) {
|
|
30056
|
+
var f, obj = {
|
|
30057
|
+
pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
30058
|
+
balanceTransactionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
30059
|
+
gross: (f = msg.getGross()) && proto.gateway.web.v1.StripeMoney.toObject(includeInstance, f),
|
|
30060
|
+
fee: (f = msg.getFee()) && proto.gateway.web.v1.StripeMoney.toObject(includeInstance, f),
|
|
30061
|
+
net: (f = msg.getNet()) && proto.gateway.web.v1.StripeMoney.toObject(includeInstance, f),
|
|
30062
|
+
availableOn: (f = msg.getAvailableOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
30063
|
+
observedAt: (f = msg.getObservedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
30064
|
+
};
|
|
30065
|
+
|
|
30066
|
+
if (includeInstance) {
|
|
30067
|
+
obj.$jspbMessageInstance = msg;
|
|
30068
|
+
}
|
|
30069
|
+
return obj;
|
|
30070
|
+
};
|
|
30071
|
+
}
|
|
30072
|
+
|
|
30073
|
+
|
|
30074
|
+
/**
|
|
30075
|
+
* Deserializes binary data (in protobuf wire format).
|
|
30076
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30077
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable}
|
|
30078
|
+
*/
|
|
30079
|
+
proto.gateway.web.v1.StripeFundsAvailable.deserializeBinary = function(bytes) {
|
|
30080
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
30081
|
+
var msg = new proto.gateway.web.v1.StripeFundsAvailable;
|
|
30082
|
+
return proto.gateway.web.v1.StripeFundsAvailable.deserializeBinaryFromReader(msg, reader);
|
|
30083
|
+
};
|
|
30084
|
+
|
|
30085
|
+
|
|
30086
|
+
/**
|
|
30087
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
30088
|
+
* given reader into the given message object.
|
|
30089
|
+
* @param {!proto.gateway.web.v1.StripeFundsAvailable} msg The message object to deserialize into.
|
|
30090
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30091
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable}
|
|
30092
|
+
*/
|
|
30093
|
+
proto.gateway.web.v1.StripeFundsAvailable.deserializeBinaryFromReader = function(msg, reader) {
|
|
30094
|
+
while (reader.nextField()) {
|
|
30095
|
+
if (reader.isEndGroup()) {
|
|
30096
|
+
break;
|
|
30097
|
+
}
|
|
30098
|
+
var field = reader.getFieldNumber();
|
|
30099
|
+
switch (field) {
|
|
30100
|
+
case 1:
|
|
30101
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30102
|
+
msg.setPluginCorrelationId(value);
|
|
30103
|
+
break;
|
|
30104
|
+
case 2:
|
|
30105
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30106
|
+
msg.setBalanceTransactionId(value);
|
|
30107
|
+
break;
|
|
30108
|
+
case 3:
|
|
30109
|
+
var value = new proto.gateway.web.v1.StripeMoney;
|
|
30110
|
+
reader.readMessage(value,proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader);
|
|
30111
|
+
msg.setGross(value);
|
|
30112
|
+
break;
|
|
30113
|
+
case 4:
|
|
30114
|
+
var value = new proto.gateway.web.v1.StripeMoney;
|
|
30115
|
+
reader.readMessage(value,proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader);
|
|
30116
|
+
msg.setFee(value);
|
|
30117
|
+
break;
|
|
30118
|
+
case 5:
|
|
30119
|
+
var value = new proto.gateway.web.v1.StripeMoney;
|
|
30120
|
+
reader.readMessage(value,proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader);
|
|
30121
|
+
msg.setNet(value);
|
|
30122
|
+
break;
|
|
30123
|
+
case 6:
|
|
30124
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
30125
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
30126
|
+
msg.setAvailableOn(value);
|
|
30127
|
+
break;
|
|
30128
|
+
case 7:
|
|
30129
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
30130
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
30131
|
+
msg.setObservedAt(value);
|
|
30132
|
+
break;
|
|
30133
|
+
default:
|
|
30134
|
+
reader.skipField();
|
|
30135
|
+
break;
|
|
30136
|
+
}
|
|
30137
|
+
}
|
|
30138
|
+
return msg;
|
|
30139
|
+
};
|
|
30140
|
+
|
|
30141
|
+
|
|
30142
|
+
/**
|
|
30143
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
30144
|
+
* @return {!Uint8Array}
|
|
30145
|
+
*/
|
|
30146
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.serializeBinary = function() {
|
|
30147
|
+
var writer = new jspb.BinaryWriter();
|
|
30148
|
+
proto.gateway.web.v1.StripeFundsAvailable.serializeBinaryToWriter(this, writer);
|
|
30149
|
+
return writer.getResultBuffer();
|
|
30150
|
+
};
|
|
30151
|
+
|
|
30152
|
+
|
|
30153
|
+
/**
|
|
30154
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
30155
|
+
* format), writing to the given BinaryWriter.
|
|
30156
|
+
* @param {!proto.gateway.web.v1.StripeFundsAvailable} message
|
|
30157
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30158
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30159
|
+
*/
|
|
30160
|
+
proto.gateway.web.v1.StripeFundsAvailable.serializeBinaryToWriter = function(message, writer) {
|
|
30161
|
+
var f = undefined;
|
|
30162
|
+
f = message.getPluginCorrelationId();
|
|
30163
|
+
if (f.length > 0) {
|
|
30164
|
+
writer.writeString(
|
|
30165
|
+
1,
|
|
30166
|
+
f
|
|
30167
|
+
);
|
|
30168
|
+
}
|
|
30169
|
+
f = message.getBalanceTransactionId();
|
|
30170
|
+
if (f.length > 0) {
|
|
30171
|
+
writer.writeString(
|
|
30172
|
+
2,
|
|
30173
|
+
f
|
|
30174
|
+
);
|
|
30175
|
+
}
|
|
30176
|
+
f = message.getGross();
|
|
30177
|
+
if (f != null) {
|
|
30178
|
+
writer.writeMessage(
|
|
30179
|
+
3,
|
|
30180
|
+
f,
|
|
30181
|
+
proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter
|
|
30182
|
+
);
|
|
30183
|
+
}
|
|
30184
|
+
f = message.getFee();
|
|
30185
|
+
if (f != null) {
|
|
30186
|
+
writer.writeMessage(
|
|
30187
|
+
4,
|
|
30188
|
+
f,
|
|
30189
|
+
proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter
|
|
30190
|
+
);
|
|
30191
|
+
}
|
|
30192
|
+
f = message.getNet();
|
|
30193
|
+
if (f != null) {
|
|
30194
|
+
writer.writeMessage(
|
|
30195
|
+
5,
|
|
30196
|
+
f,
|
|
30197
|
+
proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter
|
|
30198
|
+
);
|
|
30199
|
+
}
|
|
30200
|
+
f = message.getAvailableOn();
|
|
30201
|
+
if (f != null) {
|
|
30202
|
+
writer.writeMessage(
|
|
30203
|
+
6,
|
|
30204
|
+
f,
|
|
30205
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
30206
|
+
);
|
|
30207
|
+
}
|
|
30208
|
+
f = message.getObservedAt();
|
|
30209
|
+
if (f != null) {
|
|
30210
|
+
writer.writeMessage(
|
|
30211
|
+
7,
|
|
30212
|
+
f,
|
|
30213
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
30214
|
+
);
|
|
30215
|
+
}
|
|
30216
|
+
};
|
|
30217
|
+
|
|
30218
|
+
|
|
30219
|
+
/**
|
|
30220
|
+
* optional string plugin_correlation_id = 1;
|
|
30221
|
+
* @return {string}
|
|
30222
|
+
*/
|
|
30223
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.getPluginCorrelationId = function() {
|
|
30224
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
30225
|
+
};
|
|
30226
|
+
|
|
30227
|
+
|
|
30228
|
+
/**
|
|
30229
|
+
* @param {string} value
|
|
30230
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30231
|
+
*/
|
|
30232
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.setPluginCorrelationId = function(value) {
|
|
30233
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
30234
|
+
};
|
|
30235
|
+
|
|
30236
|
+
|
|
30237
|
+
/**
|
|
30238
|
+
* optional string balance_transaction_id = 2;
|
|
30239
|
+
* @return {string}
|
|
30240
|
+
*/
|
|
30241
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.getBalanceTransactionId = function() {
|
|
30242
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
30243
|
+
};
|
|
30244
|
+
|
|
30245
|
+
|
|
30246
|
+
/**
|
|
30247
|
+
* @param {string} value
|
|
30248
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30249
|
+
*/
|
|
30250
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.setBalanceTransactionId = function(value) {
|
|
30251
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
30252
|
+
};
|
|
30253
|
+
|
|
30254
|
+
|
|
30255
|
+
/**
|
|
30256
|
+
* optional StripeMoney gross = 3;
|
|
30257
|
+
* @return {?proto.gateway.web.v1.StripeMoney}
|
|
30258
|
+
*/
|
|
30259
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.getGross = function() {
|
|
30260
|
+
return /** @type{?proto.gateway.web.v1.StripeMoney} */ (
|
|
30261
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeMoney, 3));
|
|
30262
|
+
};
|
|
30263
|
+
|
|
30264
|
+
|
|
30265
|
+
/**
|
|
30266
|
+
* @param {?proto.gateway.web.v1.StripeMoney|undefined} value
|
|
30267
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30268
|
+
*/
|
|
30269
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.setGross = function(value) {
|
|
30270
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
30271
|
+
};
|
|
30272
|
+
|
|
30273
|
+
|
|
30274
|
+
/**
|
|
30275
|
+
* Clears the message field making it undefined.
|
|
30276
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30277
|
+
*/
|
|
30278
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.clearGross = function() {
|
|
30279
|
+
return this.setGross(undefined);
|
|
30280
|
+
};
|
|
30281
|
+
|
|
30282
|
+
|
|
30283
|
+
/**
|
|
30284
|
+
* Returns whether this field is set.
|
|
30285
|
+
* @return {boolean}
|
|
30286
|
+
*/
|
|
30287
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.hasGross = function() {
|
|
30288
|
+
return jspb.Message.getField(this, 3) != null;
|
|
30289
|
+
};
|
|
30290
|
+
|
|
30291
|
+
|
|
30292
|
+
/**
|
|
30293
|
+
* optional StripeMoney fee = 4;
|
|
30294
|
+
* @return {?proto.gateway.web.v1.StripeMoney}
|
|
30295
|
+
*/
|
|
30296
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.getFee = function() {
|
|
30297
|
+
return /** @type{?proto.gateway.web.v1.StripeMoney} */ (
|
|
30298
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeMoney, 4));
|
|
30299
|
+
};
|
|
30300
|
+
|
|
30301
|
+
|
|
30302
|
+
/**
|
|
30303
|
+
* @param {?proto.gateway.web.v1.StripeMoney|undefined} value
|
|
30304
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30305
|
+
*/
|
|
30306
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.setFee = function(value) {
|
|
30307
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
30308
|
+
};
|
|
30309
|
+
|
|
30310
|
+
|
|
30311
|
+
/**
|
|
30312
|
+
* Clears the message field making it undefined.
|
|
30313
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30314
|
+
*/
|
|
30315
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.clearFee = function() {
|
|
30316
|
+
return this.setFee(undefined);
|
|
30317
|
+
};
|
|
30318
|
+
|
|
30319
|
+
|
|
30320
|
+
/**
|
|
30321
|
+
* Returns whether this field is set.
|
|
30322
|
+
* @return {boolean}
|
|
30323
|
+
*/
|
|
30324
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.hasFee = function() {
|
|
30325
|
+
return jspb.Message.getField(this, 4) != null;
|
|
30326
|
+
};
|
|
30327
|
+
|
|
30328
|
+
|
|
30329
|
+
/**
|
|
30330
|
+
* optional StripeMoney net = 5;
|
|
30331
|
+
* @return {?proto.gateway.web.v1.StripeMoney}
|
|
30332
|
+
*/
|
|
30333
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.getNet = function() {
|
|
30334
|
+
return /** @type{?proto.gateway.web.v1.StripeMoney} */ (
|
|
30335
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeMoney, 5));
|
|
30336
|
+
};
|
|
30337
|
+
|
|
30338
|
+
|
|
30339
|
+
/**
|
|
30340
|
+
* @param {?proto.gateway.web.v1.StripeMoney|undefined} value
|
|
30341
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30342
|
+
*/
|
|
30343
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.setNet = function(value) {
|
|
30344
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
30345
|
+
};
|
|
30346
|
+
|
|
30347
|
+
|
|
30348
|
+
/**
|
|
30349
|
+
* Clears the message field making it undefined.
|
|
30350
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30351
|
+
*/
|
|
30352
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.clearNet = function() {
|
|
30353
|
+
return this.setNet(undefined);
|
|
30354
|
+
};
|
|
30355
|
+
|
|
30356
|
+
|
|
30357
|
+
/**
|
|
30358
|
+
* Returns whether this field is set.
|
|
30359
|
+
* @return {boolean}
|
|
30360
|
+
*/
|
|
30361
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.hasNet = function() {
|
|
30362
|
+
return jspb.Message.getField(this, 5) != null;
|
|
30363
|
+
};
|
|
30364
|
+
|
|
30365
|
+
|
|
30366
|
+
/**
|
|
30367
|
+
* optional google.protobuf.Timestamp available_on = 6;
|
|
30368
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
30369
|
+
*/
|
|
30370
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.getAvailableOn = function() {
|
|
30371
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
30372
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
30373
|
+
};
|
|
30374
|
+
|
|
30375
|
+
|
|
30376
|
+
/**
|
|
30377
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
30378
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30379
|
+
*/
|
|
30380
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.setAvailableOn = function(value) {
|
|
30381
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
30382
|
+
};
|
|
30383
|
+
|
|
30384
|
+
|
|
30385
|
+
/**
|
|
30386
|
+
* Clears the message field making it undefined.
|
|
30387
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30388
|
+
*/
|
|
30389
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.clearAvailableOn = function() {
|
|
30390
|
+
return this.setAvailableOn(undefined);
|
|
30391
|
+
};
|
|
30392
|
+
|
|
30393
|
+
|
|
30394
|
+
/**
|
|
30395
|
+
* Returns whether this field is set.
|
|
30396
|
+
* @return {boolean}
|
|
30397
|
+
*/
|
|
30398
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.hasAvailableOn = function() {
|
|
30399
|
+
return jspb.Message.getField(this, 6) != null;
|
|
30400
|
+
};
|
|
30401
|
+
|
|
30402
|
+
|
|
30403
|
+
/**
|
|
30404
|
+
* optional google.protobuf.Timestamp observed_at = 7;
|
|
30405
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
30406
|
+
*/
|
|
30407
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.getObservedAt = function() {
|
|
30408
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
30409
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
30410
|
+
};
|
|
30411
|
+
|
|
30412
|
+
|
|
30413
|
+
/**
|
|
30414
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
30415
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30416
|
+
*/
|
|
30417
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.setObservedAt = function(value) {
|
|
30418
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
30419
|
+
};
|
|
30420
|
+
|
|
30421
|
+
|
|
30422
|
+
/**
|
|
30423
|
+
* Clears the message field making it undefined.
|
|
30424
|
+
* @return {!proto.gateway.web.v1.StripeFundsAvailable} returns this
|
|
30425
|
+
*/
|
|
30426
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.clearObservedAt = function() {
|
|
30427
|
+
return this.setObservedAt(undefined);
|
|
30428
|
+
};
|
|
30429
|
+
|
|
30430
|
+
|
|
30431
|
+
/**
|
|
30432
|
+
* Returns whether this field is set.
|
|
30433
|
+
* @return {boolean}
|
|
30434
|
+
*/
|
|
30435
|
+
proto.gateway.web.v1.StripeFundsAvailable.prototype.hasObservedAt = function() {
|
|
30436
|
+
return jspb.Message.getField(this, 7) != null;
|
|
30437
|
+
};
|
|
30438
|
+
|
|
30439
|
+
|
|
30440
|
+
|
|
30441
|
+
|
|
30442
|
+
|
|
30443
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30444
|
+
/**
|
|
30445
|
+
* Creates an object representation of this proto.
|
|
30446
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30447
|
+
* Optional fields that are not set will be set to undefined.
|
|
30448
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30449
|
+
* For the list of reserved names please see:
|
|
30450
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30451
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30452
|
+
* JSPB instance for transitional soy proto support:
|
|
30453
|
+
* http://goto/soy-param-migration
|
|
30454
|
+
* @return {!Object}
|
|
30455
|
+
*/
|
|
30456
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.toObject = function(opt_includeInstance) {
|
|
30457
|
+
return proto.gateway.web.v1.StripePayoutPaid.toObject(opt_includeInstance, this);
|
|
30458
|
+
};
|
|
30459
|
+
|
|
30460
|
+
|
|
30461
|
+
/**
|
|
30462
|
+
* Static version of the {@see toObject} method.
|
|
30463
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30464
|
+
* the JSPB instance for transitional soy proto support:
|
|
30465
|
+
* http://goto/soy-param-migration
|
|
30466
|
+
* @param {!proto.gateway.web.v1.StripePayoutPaid} msg The msg instance to transform.
|
|
30467
|
+
* @return {!Object}
|
|
30468
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30469
|
+
*/
|
|
30470
|
+
proto.gateway.web.v1.StripePayoutPaid.toObject = function(includeInstance, msg) {
|
|
30471
|
+
var f, obj = {
|
|
30472
|
+
pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
30473
|
+
payoutId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
30474
|
+
amount: (f = msg.getAmount()) && proto.gateway.web.v1.StripeMoney.toObject(includeInstance, f),
|
|
30475
|
+
status: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
30476
|
+
automatic: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
30477
|
+
arrivalDate: (f = msg.getArrivalDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
30478
|
+
observedAt: (f = msg.getObservedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
30479
|
+
};
|
|
30480
|
+
|
|
30481
|
+
if (includeInstance) {
|
|
30482
|
+
obj.$jspbMessageInstance = msg;
|
|
30483
|
+
}
|
|
30484
|
+
return obj;
|
|
30485
|
+
};
|
|
30486
|
+
}
|
|
30487
|
+
|
|
30488
|
+
|
|
30489
|
+
/**
|
|
30490
|
+
* Deserializes binary data (in protobuf wire format).
|
|
30491
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30492
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid}
|
|
30493
|
+
*/
|
|
30494
|
+
proto.gateway.web.v1.StripePayoutPaid.deserializeBinary = function(bytes) {
|
|
30495
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
30496
|
+
var msg = new proto.gateway.web.v1.StripePayoutPaid;
|
|
30497
|
+
return proto.gateway.web.v1.StripePayoutPaid.deserializeBinaryFromReader(msg, reader);
|
|
30498
|
+
};
|
|
30499
|
+
|
|
30500
|
+
|
|
30501
|
+
/**
|
|
30502
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
30503
|
+
* given reader into the given message object.
|
|
30504
|
+
* @param {!proto.gateway.web.v1.StripePayoutPaid} msg The message object to deserialize into.
|
|
30505
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30506
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid}
|
|
30507
|
+
*/
|
|
30508
|
+
proto.gateway.web.v1.StripePayoutPaid.deserializeBinaryFromReader = function(msg, reader) {
|
|
30509
|
+
while (reader.nextField()) {
|
|
30510
|
+
if (reader.isEndGroup()) {
|
|
30511
|
+
break;
|
|
30512
|
+
}
|
|
30513
|
+
var field = reader.getFieldNumber();
|
|
30514
|
+
switch (field) {
|
|
30515
|
+
case 1:
|
|
30516
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30517
|
+
msg.setPluginCorrelationId(value);
|
|
30518
|
+
break;
|
|
30519
|
+
case 2:
|
|
30520
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30521
|
+
msg.setPayoutId(value);
|
|
30522
|
+
break;
|
|
30523
|
+
case 3:
|
|
30524
|
+
var value = new proto.gateway.web.v1.StripeMoney;
|
|
30525
|
+
reader.readMessage(value,proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader);
|
|
30526
|
+
msg.setAmount(value);
|
|
30527
|
+
break;
|
|
30528
|
+
case 4:
|
|
30529
|
+
var value = /** @type {!proto.gateway.web.v1.StripePayoutStatus} */ (reader.readEnum());
|
|
30530
|
+
msg.setStatus(value);
|
|
30531
|
+
break;
|
|
30532
|
+
case 5:
|
|
30533
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
30534
|
+
msg.setAutomatic(value);
|
|
30535
|
+
break;
|
|
30536
|
+
case 6:
|
|
30537
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
30538
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
30539
|
+
msg.setArrivalDate(value);
|
|
30540
|
+
break;
|
|
30541
|
+
case 7:
|
|
30542
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
30543
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
30544
|
+
msg.setObservedAt(value);
|
|
30545
|
+
break;
|
|
30546
|
+
default:
|
|
30547
|
+
reader.skipField();
|
|
30548
|
+
break;
|
|
30549
|
+
}
|
|
30550
|
+
}
|
|
30551
|
+
return msg;
|
|
30552
|
+
};
|
|
30553
|
+
|
|
30554
|
+
|
|
30555
|
+
/**
|
|
30556
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
30557
|
+
* @return {!Uint8Array}
|
|
30558
|
+
*/
|
|
30559
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.serializeBinary = function() {
|
|
30560
|
+
var writer = new jspb.BinaryWriter();
|
|
30561
|
+
proto.gateway.web.v1.StripePayoutPaid.serializeBinaryToWriter(this, writer);
|
|
30562
|
+
return writer.getResultBuffer();
|
|
30563
|
+
};
|
|
30564
|
+
|
|
30565
|
+
|
|
30566
|
+
/**
|
|
30567
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
30568
|
+
* format), writing to the given BinaryWriter.
|
|
30569
|
+
* @param {!proto.gateway.web.v1.StripePayoutPaid} message
|
|
30570
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30571
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30572
|
+
*/
|
|
30573
|
+
proto.gateway.web.v1.StripePayoutPaid.serializeBinaryToWriter = function(message, writer) {
|
|
30574
|
+
var f = undefined;
|
|
30575
|
+
f = message.getPluginCorrelationId();
|
|
30576
|
+
if (f.length > 0) {
|
|
30577
|
+
writer.writeString(
|
|
30578
|
+
1,
|
|
30579
|
+
f
|
|
30580
|
+
);
|
|
30581
|
+
}
|
|
30582
|
+
f = message.getPayoutId();
|
|
30583
|
+
if (f.length > 0) {
|
|
30584
|
+
writer.writeString(
|
|
30585
|
+
2,
|
|
30586
|
+
f
|
|
30587
|
+
);
|
|
30588
|
+
}
|
|
30589
|
+
f = message.getAmount();
|
|
30590
|
+
if (f != null) {
|
|
30591
|
+
writer.writeMessage(
|
|
30592
|
+
3,
|
|
30593
|
+
f,
|
|
30594
|
+
proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter
|
|
30595
|
+
);
|
|
30596
|
+
}
|
|
30597
|
+
f = message.getStatus();
|
|
30598
|
+
if (f !== 0.0) {
|
|
30599
|
+
writer.writeEnum(
|
|
30600
|
+
4,
|
|
30601
|
+
f
|
|
30602
|
+
);
|
|
30603
|
+
}
|
|
30604
|
+
f = message.getAutomatic();
|
|
30605
|
+
if (f) {
|
|
30606
|
+
writer.writeBool(
|
|
30607
|
+
5,
|
|
30608
|
+
f
|
|
30609
|
+
);
|
|
30610
|
+
}
|
|
30611
|
+
f = message.getArrivalDate();
|
|
30612
|
+
if (f != null) {
|
|
30613
|
+
writer.writeMessage(
|
|
30614
|
+
6,
|
|
30615
|
+
f,
|
|
30616
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
30617
|
+
);
|
|
30618
|
+
}
|
|
30619
|
+
f = message.getObservedAt();
|
|
30620
|
+
if (f != null) {
|
|
30621
|
+
writer.writeMessage(
|
|
30622
|
+
7,
|
|
30623
|
+
f,
|
|
30624
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
30625
|
+
);
|
|
30626
|
+
}
|
|
30627
|
+
};
|
|
30628
|
+
|
|
30629
|
+
|
|
30630
|
+
/**
|
|
30631
|
+
* optional string plugin_correlation_id = 1;
|
|
30632
|
+
* @return {string}
|
|
30633
|
+
*/
|
|
30634
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.getPluginCorrelationId = function() {
|
|
30635
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
30636
|
+
};
|
|
30637
|
+
|
|
30638
|
+
|
|
30639
|
+
/**
|
|
30640
|
+
* @param {string} value
|
|
30641
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid} returns this
|
|
30642
|
+
*/
|
|
30643
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.setPluginCorrelationId = function(value) {
|
|
30644
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
30645
|
+
};
|
|
30646
|
+
|
|
30647
|
+
|
|
30648
|
+
/**
|
|
30649
|
+
* optional string payout_id = 2;
|
|
30650
|
+
* @return {string}
|
|
30651
|
+
*/
|
|
30652
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.getPayoutId = function() {
|
|
30653
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
30654
|
+
};
|
|
30655
|
+
|
|
30656
|
+
|
|
30657
|
+
/**
|
|
30658
|
+
* @param {string} value
|
|
30659
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid} returns this
|
|
30660
|
+
*/
|
|
30661
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.setPayoutId = function(value) {
|
|
30662
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
30663
|
+
};
|
|
30664
|
+
|
|
30665
|
+
|
|
30666
|
+
/**
|
|
30667
|
+
* optional StripeMoney amount = 3;
|
|
30668
|
+
* @return {?proto.gateway.web.v1.StripeMoney}
|
|
30669
|
+
*/
|
|
30670
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.getAmount = function() {
|
|
30671
|
+
return /** @type{?proto.gateway.web.v1.StripeMoney} */ (
|
|
30672
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeMoney, 3));
|
|
30673
|
+
};
|
|
30674
|
+
|
|
30675
|
+
|
|
30676
|
+
/**
|
|
30677
|
+
* @param {?proto.gateway.web.v1.StripeMoney|undefined} value
|
|
30678
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid} returns this
|
|
30679
|
+
*/
|
|
30680
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.setAmount = function(value) {
|
|
30681
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
30682
|
+
};
|
|
30683
|
+
|
|
30684
|
+
|
|
30685
|
+
/**
|
|
30686
|
+
* Clears the message field making it undefined.
|
|
30687
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid} returns this
|
|
30688
|
+
*/
|
|
30689
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.clearAmount = function() {
|
|
30690
|
+
return this.setAmount(undefined);
|
|
30691
|
+
};
|
|
30692
|
+
|
|
30693
|
+
|
|
30694
|
+
/**
|
|
30695
|
+
* Returns whether this field is set.
|
|
30696
|
+
* @return {boolean}
|
|
30697
|
+
*/
|
|
30698
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.hasAmount = function() {
|
|
30699
|
+
return jspb.Message.getField(this, 3) != null;
|
|
30700
|
+
};
|
|
30701
|
+
|
|
30702
|
+
|
|
30703
|
+
/**
|
|
30704
|
+
* optional StripePayoutStatus status = 4;
|
|
30705
|
+
* @return {!proto.gateway.web.v1.StripePayoutStatus}
|
|
30706
|
+
*/
|
|
30707
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.getStatus = function() {
|
|
30708
|
+
return /** @type {!proto.gateway.web.v1.StripePayoutStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
30709
|
+
};
|
|
30710
|
+
|
|
30711
|
+
|
|
30712
|
+
/**
|
|
30713
|
+
* @param {!proto.gateway.web.v1.StripePayoutStatus} value
|
|
30714
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid} returns this
|
|
30715
|
+
*/
|
|
30716
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.setStatus = function(value) {
|
|
30717
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
30718
|
+
};
|
|
30719
|
+
|
|
30720
|
+
|
|
30721
|
+
/**
|
|
30722
|
+
* optional bool automatic = 5;
|
|
30723
|
+
* @return {boolean}
|
|
30724
|
+
*/
|
|
30725
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.getAutomatic = function() {
|
|
30726
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
30727
|
+
};
|
|
30728
|
+
|
|
30729
|
+
|
|
30730
|
+
/**
|
|
30731
|
+
* @param {boolean} value
|
|
30732
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid} returns this
|
|
30733
|
+
*/
|
|
30734
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.setAutomatic = function(value) {
|
|
30735
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
30736
|
+
};
|
|
30737
|
+
|
|
30738
|
+
|
|
30739
|
+
/**
|
|
30740
|
+
* optional google.protobuf.Timestamp arrival_date = 6;
|
|
30741
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
30742
|
+
*/
|
|
30743
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.getArrivalDate = function() {
|
|
30744
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
30745
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
30746
|
+
};
|
|
30747
|
+
|
|
30748
|
+
|
|
30749
|
+
/**
|
|
30750
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
30751
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid} returns this
|
|
30752
|
+
*/
|
|
30753
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.setArrivalDate = function(value) {
|
|
30754
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
30755
|
+
};
|
|
30756
|
+
|
|
30757
|
+
|
|
30758
|
+
/**
|
|
30759
|
+
* Clears the message field making it undefined.
|
|
30760
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid} returns this
|
|
30761
|
+
*/
|
|
30762
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.clearArrivalDate = function() {
|
|
30763
|
+
return this.setArrivalDate(undefined);
|
|
30764
|
+
};
|
|
30765
|
+
|
|
30766
|
+
|
|
30767
|
+
/**
|
|
30768
|
+
* Returns whether this field is set.
|
|
30769
|
+
* @return {boolean}
|
|
30770
|
+
*/
|
|
30771
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.hasArrivalDate = function() {
|
|
30772
|
+
return jspb.Message.getField(this, 6) != null;
|
|
30773
|
+
};
|
|
30774
|
+
|
|
30775
|
+
|
|
30776
|
+
/**
|
|
30777
|
+
* optional google.protobuf.Timestamp observed_at = 7;
|
|
30778
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
30779
|
+
*/
|
|
30780
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.getObservedAt = function() {
|
|
30781
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
30782
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
30783
|
+
};
|
|
30784
|
+
|
|
30785
|
+
|
|
30786
|
+
/**
|
|
30787
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
30788
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid} returns this
|
|
30789
|
+
*/
|
|
30790
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.setObservedAt = function(value) {
|
|
30791
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
30792
|
+
};
|
|
30793
|
+
|
|
30794
|
+
|
|
30795
|
+
/**
|
|
30796
|
+
* Clears the message field making it undefined.
|
|
30797
|
+
* @return {!proto.gateway.web.v1.StripePayoutPaid} returns this
|
|
30798
|
+
*/
|
|
30799
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.clearObservedAt = function() {
|
|
30800
|
+
return this.setObservedAt(undefined);
|
|
30801
|
+
};
|
|
30802
|
+
|
|
30803
|
+
|
|
30804
|
+
/**
|
|
30805
|
+
* Returns whether this field is set.
|
|
30806
|
+
* @return {boolean}
|
|
30807
|
+
*/
|
|
30808
|
+
proto.gateway.web.v1.StripePayoutPaid.prototype.hasObservedAt = function() {
|
|
30809
|
+
return jspb.Message.getField(this, 7) != null;
|
|
30810
|
+
};
|
|
30811
|
+
|
|
30812
|
+
|
|
30813
|
+
|
|
30814
|
+
|
|
30815
|
+
|
|
30816
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30817
|
+
/**
|
|
30818
|
+
* Creates an object representation of this proto.
|
|
30819
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30820
|
+
* Optional fields that are not set will be set to undefined.
|
|
30821
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30822
|
+
* For the list of reserved names please see:
|
|
30823
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30824
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30825
|
+
* JSPB instance for transitional soy proto support:
|
|
30826
|
+
* http://goto/soy-param-migration
|
|
30827
|
+
* @return {!Object}
|
|
30828
|
+
*/
|
|
30829
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.toObject = function(opt_includeInstance) {
|
|
30830
|
+
return proto.gateway.web.v1.StripeTrackingFinished.toObject(opt_includeInstance, this);
|
|
30831
|
+
};
|
|
30832
|
+
|
|
30833
|
+
|
|
30834
|
+
/**
|
|
30835
|
+
* Static version of the {@see toObject} method.
|
|
30836
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30837
|
+
* the JSPB instance for transitional soy proto support:
|
|
30838
|
+
* http://goto/soy-param-migration
|
|
30839
|
+
* @param {!proto.gateway.web.v1.StripeTrackingFinished} msg The msg instance to transform.
|
|
30840
|
+
* @return {!Object}
|
|
30841
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30842
|
+
*/
|
|
30843
|
+
proto.gateway.web.v1.StripeTrackingFinished.toObject = function(includeInstance, msg) {
|
|
30844
|
+
var f, obj = {
|
|
30845
|
+
pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
30846
|
+
status: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
30847
|
+
message: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
30848
|
+
completedAt: (f = msg.getCompletedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
30849
|
+
paymentIntentId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
30850
|
+
chargeId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
30851
|
+
payoutId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
30852
|
+
netAmount: (f = msg.getNetAmount()) && proto.gateway.web.v1.StripeMoney.toObject(includeInstance, f)
|
|
30853
|
+
};
|
|
30854
|
+
|
|
30855
|
+
if (includeInstance) {
|
|
30856
|
+
obj.$jspbMessageInstance = msg;
|
|
30857
|
+
}
|
|
30858
|
+
return obj;
|
|
30859
|
+
};
|
|
30860
|
+
}
|
|
30861
|
+
|
|
30862
|
+
|
|
30863
|
+
/**
|
|
30864
|
+
* Deserializes binary data (in protobuf wire format).
|
|
30865
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30866
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished}
|
|
30867
|
+
*/
|
|
30868
|
+
proto.gateway.web.v1.StripeTrackingFinished.deserializeBinary = function(bytes) {
|
|
30869
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
30870
|
+
var msg = new proto.gateway.web.v1.StripeTrackingFinished;
|
|
30871
|
+
return proto.gateway.web.v1.StripeTrackingFinished.deserializeBinaryFromReader(msg, reader);
|
|
30872
|
+
};
|
|
30873
|
+
|
|
30874
|
+
|
|
30875
|
+
/**
|
|
30876
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
30877
|
+
* given reader into the given message object.
|
|
30878
|
+
* @param {!proto.gateway.web.v1.StripeTrackingFinished} msg The message object to deserialize into.
|
|
30879
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30880
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished}
|
|
30881
|
+
*/
|
|
30882
|
+
proto.gateway.web.v1.StripeTrackingFinished.deserializeBinaryFromReader = function(msg, reader) {
|
|
30883
|
+
while (reader.nextField()) {
|
|
30884
|
+
if (reader.isEndGroup()) {
|
|
30885
|
+
break;
|
|
30886
|
+
}
|
|
30887
|
+
var field = reader.getFieldNumber();
|
|
30888
|
+
switch (field) {
|
|
30889
|
+
case 1:
|
|
30890
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30891
|
+
msg.setPluginCorrelationId(value);
|
|
30892
|
+
break;
|
|
30893
|
+
case 2:
|
|
30894
|
+
var value = /** @type {!proto.gateway.web.v1.StripeHintStatus} */ (reader.readEnum());
|
|
30895
|
+
msg.setStatus(value);
|
|
30896
|
+
break;
|
|
30897
|
+
case 3:
|
|
30898
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30899
|
+
msg.setMessage(value);
|
|
30900
|
+
break;
|
|
30901
|
+
case 4:
|
|
30902
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
30903
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
30904
|
+
msg.setCompletedAt(value);
|
|
30905
|
+
break;
|
|
30906
|
+
case 10:
|
|
30907
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30908
|
+
msg.setPaymentIntentId(value);
|
|
30909
|
+
break;
|
|
30910
|
+
case 11:
|
|
30911
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30912
|
+
msg.setChargeId(value);
|
|
30913
|
+
break;
|
|
30914
|
+
case 12:
|
|
30915
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30916
|
+
msg.setPayoutId(value);
|
|
30917
|
+
break;
|
|
30918
|
+
case 13:
|
|
30919
|
+
var value = new proto.gateway.web.v1.StripeMoney;
|
|
30920
|
+
reader.readMessage(value,proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader);
|
|
30921
|
+
msg.setNetAmount(value);
|
|
30922
|
+
break;
|
|
30923
|
+
default:
|
|
30924
|
+
reader.skipField();
|
|
30925
|
+
break;
|
|
30926
|
+
}
|
|
30927
|
+
}
|
|
30928
|
+
return msg;
|
|
30929
|
+
};
|
|
30930
|
+
|
|
30931
|
+
|
|
30932
|
+
/**
|
|
30933
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
30934
|
+
* @return {!Uint8Array}
|
|
30935
|
+
*/
|
|
30936
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.serializeBinary = function() {
|
|
30937
|
+
var writer = new jspb.BinaryWriter();
|
|
30938
|
+
proto.gateway.web.v1.StripeTrackingFinished.serializeBinaryToWriter(this, writer);
|
|
30939
|
+
return writer.getResultBuffer();
|
|
30940
|
+
};
|
|
30941
|
+
|
|
30942
|
+
|
|
30943
|
+
/**
|
|
30944
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
30945
|
+
* format), writing to the given BinaryWriter.
|
|
30946
|
+
* @param {!proto.gateway.web.v1.StripeTrackingFinished} message
|
|
30947
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30948
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30949
|
+
*/
|
|
30950
|
+
proto.gateway.web.v1.StripeTrackingFinished.serializeBinaryToWriter = function(message, writer) {
|
|
30951
|
+
var f = undefined;
|
|
30952
|
+
f = message.getPluginCorrelationId();
|
|
30953
|
+
if (f.length > 0) {
|
|
30954
|
+
writer.writeString(
|
|
30955
|
+
1,
|
|
30956
|
+
f
|
|
30957
|
+
);
|
|
30958
|
+
}
|
|
30959
|
+
f = message.getStatus();
|
|
30960
|
+
if (f !== 0.0) {
|
|
30961
|
+
writer.writeEnum(
|
|
30962
|
+
2,
|
|
30963
|
+
f
|
|
30964
|
+
);
|
|
30965
|
+
}
|
|
30966
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
30967
|
+
if (f != null) {
|
|
30968
|
+
writer.writeString(
|
|
30969
|
+
3,
|
|
30970
|
+
f
|
|
30971
|
+
);
|
|
30972
|
+
}
|
|
30973
|
+
f = message.getCompletedAt();
|
|
30974
|
+
if (f != null) {
|
|
30975
|
+
writer.writeMessage(
|
|
30976
|
+
4,
|
|
30977
|
+
f,
|
|
30978
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
30979
|
+
);
|
|
30980
|
+
}
|
|
30981
|
+
f = message.getPaymentIntentId();
|
|
30982
|
+
if (f.length > 0) {
|
|
30983
|
+
writer.writeString(
|
|
30984
|
+
10,
|
|
30985
|
+
f
|
|
30986
|
+
);
|
|
30987
|
+
}
|
|
30988
|
+
f = message.getChargeId();
|
|
30989
|
+
if (f.length > 0) {
|
|
30990
|
+
writer.writeString(
|
|
30991
|
+
11,
|
|
30992
|
+
f
|
|
30993
|
+
);
|
|
30994
|
+
}
|
|
30995
|
+
f = message.getPayoutId();
|
|
30996
|
+
if (f.length > 0) {
|
|
30997
|
+
writer.writeString(
|
|
30998
|
+
12,
|
|
30999
|
+
f
|
|
31000
|
+
);
|
|
31001
|
+
}
|
|
31002
|
+
f = message.getNetAmount();
|
|
31003
|
+
if (f != null) {
|
|
31004
|
+
writer.writeMessage(
|
|
31005
|
+
13,
|
|
31006
|
+
f,
|
|
31007
|
+
proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter
|
|
31008
|
+
);
|
|
31009
|
+
}
|
|
31010
|
+
};
|
|
31011
|
+
|
|
31012
|
+
|
|
31013
|
+
/**
|
|
31014
|
+
* optional string plugin_correlation_id = 1;
|
|
31015
|
+
* @return {string}
|
|
31016
|
+
*/
|
|
31017
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.getPluginCorrelationId = function() {
|
|
31018
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
31019
|
+
};
|
|
31020
|
+
|
|
31021
|
+
|
|
31022
|
+
/**
|
|
31023
|
+
* @param {string} value
|
|
31024
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
|
|
31025
|
+
*/
|
|
31026
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.setPluginCorrelationId = function(value) {
|
|
31027
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
31028
|
+
};
|
|
31029
|
+
|
|
31030
|
+
|
|
31031
|
+
/**
|
|
31032
|
+
* optional StripeHintStatus status = 2;
|
|
31033
|
+
* @return {!proto.gateway.web.v1.StripeHintStatus}
|
|
31034
|
+
*/
|
|
31035
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.getStatus = function() {
|
|
31036
|
+
return /** @type {!proto.gateway.web.v1.StripeHintStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
31037
|
+
};
|
|
31038
|
+
|
|
31039
|
+
|
|
31040
|
+
/**
|
|
31041
|
+
* @param {!proto.gateway.web.v1.StripeHintStatus} value
|
|
31042
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
|
|
31043
|
+
*/
|
|
31044
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.setStatus = function(value) {
|
|
31045
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
31046
|
+
};
|
|
31047
|
+
|
|
31048
|
+
|
|
31049
|
+
/**
|
|
31050
|
+
* optional string message = 3;
|
|
31051
|
+
* @return {string}
|
|
31052
|
+
*/
|
|
31053
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.getMessage = function() {
|
|
31054
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
31055
|
+
};
|
|
31056
|
+
|
|
31057
|
+
|
|
31058
|
+
/**
|
|
31059
|
+
* @param {string} value
|
|
31060
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
|
|
31061
|
+
*/
|
|
31062
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.setMessage = function(value) {
|
|
31063
|
+
return jspb.Message.setField(this, 3, value);
|
|
31064
|
+
};
|
|
31065
|
+
|
|
31066
|
+
|
|
31067
|
+
/**
|
|
31068
|
+
* Clears the field making it undefined.
|
|
31069
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
|
|
31070
|
+
*/
|
|
31071
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.clearMessage = function() {
|
|
31072
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
31073
|
+
};
|
|
31074
|
+
|
|
31075
|
+
|
|
31076
|
+
/**
|
|
31077
|
+
* Returns whether this field is set.
|
|
31078
|
+
* @return {boolean}
|
|
31079
|
+
*/
|
|
31080
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.hasMessage = function() {
|
|
31081
|
+
return jspb.Message.getField(this, 3) != null;
|
|
31082
|
+
};
|
|
31083
|
+
|
|
31084
|
+
|
|
31085
|
+
/**
|
|
31086
|
+
* optional google.protobuf.Timestamp completed_at = 4;
|
|
31087
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
31088
|
+
*/
|
|
31089
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.getCompletedAt = function() {
|
|
31090
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
31091
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
31092
|
+
};
|
|
31093
|
+
|
|
31094
|
+
|
|
31095
|
+
/**
|
|
31096
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
31097
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
|
|
31098
|
+
*/
|
|
31099
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.setCompletedAt = function(value) {
|
|
31100
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
31101
|
+
};
|
|
31102
|
+
|
|
31103
|
+
|
|
31104
|
+
/**
|
|
31105
|
+
* Clears the message field making it undefined.
|
|
31106
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
|
|
31107
|
+
*/
|
|
31108
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.clearCompletedAt = function() {
|
|
31109
|
+
return this.setCompletedAt(undefined);
|
|
31110
|
+
};
|
|
31111
|
+
|
|
31112
|
+
|
|
31113
|
+
/**
|
|
31114
|
+
* Returns whether this field is set.
|
|
31115
|
+
* @return {boolean}
|
|
31116
|
+
*/
|
|
31117
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.hasCompletedAt = function() {
|
|
31118
|
+
return jspb.Message.getField(this, 4) != null;
|
|
31119
|
+
};
|
|
31120
|
+
|
|
31121
|
+
|
|
31122
|
+
/**
|
|
31123
|
+
* optional string payment_intent_id = 10;
|
|
31124
|
+
* @return {string}
|
|
31125
|
+
*/
|
|
31126
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.getPaymentIntentId = function() {
|
|
31127
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
31128
|
+
};
|
|
31129
|
+
|
|
31130
|
+
|
|
31131
|
+
/**
|
|
31132
|
+
* @param {string} value
|
|
31133
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
|
|
31134
|
+
*/
|
|
31135
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.setPaymentIntentId = function(value) {
|
|
31136
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
31137
|
+
};
|
|
31138
|
+
|
|
31139
|
+
|
|
31140
|
+
/**
|
|
31141
|
+
* optional string charge_id = 11;
|
|
31142
|
+
* @return {string}
|
|
31143
|
+
*/
|
|
31144
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.getChargeId = function() {
|
|
31145
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
31146
|
+
};
|
|
31147
|
+
|
|
31148
|
+
|
|
31149
|
+
/**
|
|
31150
|
+
* @param {string} value
|
|
31151
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
|
|
31152
|
+
*/
|
|
31153
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.setChargeId = function(value) {
|
|
31154
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
31155
|
+
};
|
|
31156
|
+
|
|
31157
|
+
|
|
31158
|
+
/**
|
|
31159
|
+
* optional string payout_id = 12;
|
|
31160
|
+
* @return {string}
|
|
31161
|
+
*/
|
|
31162
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.getPayoutId = function() {
|
|
31163
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
31164
|
+
};
|
|
31165
|
+
|
|
31166
|
+
|
|
31167
|
+
/**
|
|
31168
|
+
* @param {string} value
|
|
31169
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
|
|
31170
|
+
*/
|
|
31171
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.setPayoutId = function(value) {
|
|
31172
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
31173
|
+
};
|
|
31174
|
+
|
|
31175
|
+
|
|
31176
|
+
/**
|
|
31177
|
+
* optional StripeMoney net_amount = 13;
|
|
31178
|
+
* @return {?proto.gateway.web.v1.StripeMoney}
|
|
31179
|
+
*/
|
|
31180
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.getNetAmount = function() {
|
|
31181
|
+
return /** @type{?proto.gateway.web.v1.StripeMoney} */ (
|
|
31182
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeMoney, 13));
|
|
31183
|
+
};
|
|
31184
|
+
|
|
31185
|
+
|
|
31186
|
+
/**
|
|
31187
|
+
* @param {?proto.gateway.web.v1.StripeMoney|undefined} value
|
|
31188
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
|
|
31189
|
+
*/
|
|
31190
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.setNetAmount = function(value) {
|
|
31191
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
31192
|
+
};
|
|
31193
|
+
|
|
31194
|
+
|
|
31195
|
+
/**
|
|
31196
|
+
* Clears the message field making it undefined.
|
|
31197
|
+
* @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
|
|
31198
|
+
*/
|
|
31199
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.clearNetAmount = function() {
|
|
31200
|
+
return this.setNetAmount(undefined);
|
|
31201
|
+
};
|
|
31202
|
+
|
|
31203
|
+
|
|
31204
|
+
/**
|
|
31205
|
+
* Returns whether this field is set.
|
|
31206
|
+
* @return {boolean}
|
|
31207
|
+
*/
|
|
31208
|
+
proto.gateway.web.v1.StripeTrackingFinished.prototype.hasNetAmount = function() {
|
|
31209
|
+
return jspb.Message.getField(this, 13) != null;
|
|
31210
|
+
};
|
|
31211
|
+
|
|
31212
|
+
|
|
31213
|
+
|
|
31214
|
+
|
|
31215
|
+
|
|
31216
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
31217
|
+
/**
|
|
31218
|
+
* Creates an object representation of this proto.
|
|
31219
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
31220
|
+
* Optional fields that are not set will be set to undefined.
|
|
31221
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
31222
|
+
* For the list of reserved names please see:
|
|
31223
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
31224
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
31225
|
+
* JSPB instance for transitional soy proto support:
|
|
31226
|
+
* http://goto/soy-param-migration
|
|
31227
|
+
* @return {!Object}
|
|
31228
|
+
*/
|
|
31229
|
+
proto.gateway.web.v1.StripeMoney.prototype.toObject = function(opt_includeInstance) {
|
|
31230
|
+
return proto.gateway.web.v1.StripeMoney.toObject(opt_includeInstance, this);
|
|
31231
|
+
};
|
|
31232
|
+
|
|
31233
|
+
|
|
31234
|
+
/**
|
|
31235
|
+
* Static version of the {@see toObject} method.
|
|
31236
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
31237
|
+
* the JSPB instance for transitional soy proto support:
|
|
31238
|
+
* http://goto/soy-param-migration
|
|
31239
|
+
* @param {!proto.gateway.web.v1.StripeMoney} msg The msg instance to transform.
|
|
31240
|
+
* @return {!Object}
|
|
31241
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31242
|
+
*/
|
|
31243
|
+
proto.gateway.web.v1.StripeMoney.toObject = function(includeInstance, msg) {
|
|
31244
|
+
var f, obj = {
|
|
31245
|
+
amountMinor: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
31246
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
31247
|
+
};
|
|
31248
|
+
|
|
31249
|
+
if (includeInstance) {
|
|
31250
|
+
obj.$jspbMessageInstance = msg;
|
|
31251
|
+
}
|
|
31252
|
+
return obj;
|
|
31253
|
+
};
|
|
31254
|
+
}
|
|
31255
|
+
|
|
31256
|
+
|
|
31257
|
+
/**
|
|
31258
|
+
* Deserializes binary data (in protobuf wire format).
|
|
31259
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
31260
|
+
* @return {!proto.gateway.web.v1.StripeMoney}
|
|
31261
|
+
*/
|
|
31262
|
+
proto.gateway.web.v1.StripeMoney.deserializeBinary = function(bytes) {
|
|
31263
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
31264
|
+
var msg = new proto.gateway.web.v1.StripeMoney;
|
|
31265
|
+
return proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader(msg, reader);
|
|
31266
|
+
};
|
|
31267
|
+
|
|
31268
|
+
|
|
31269
|
+
/**
|
|
31270
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
31271
|
+
* given reader into the given message object.
|
|
31272
|
+
* @param {!proto.gateway.web.v1.StripeMoney} msg The message object to deserialize into.
|
|
31273
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
31274
|
+
* @return {!proto.gateway.web.v1.StripeMoney}
|
|
31275
|
+
*/
|
|
31276
|
+
proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader = function(msg, reader) {
|
|
31277
|
+
while (reader.nextField()) {
|
|
31278
|
+
if (reader.isEndGroup()) {
|
|
31279
|
+
break;
|
|
31280
|
+
}
|
|
31281
|
+
var field = reader.getFieldNumber();
|
|
31282
|
+
switch (field) {
|
|
31283
|
+
case 1:
|
|
31284
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
31285
|
+
msg.setAmountMinor(value);
|
|
31286
|
+
break;
|
|
31287
|
+
case 2:
|
|
31288
|
+
var value = /** @type {string} */ (reader.readString());
|
|
31289
|
+
msg.setCurrency(value);
|
|
31290
|
+
break;
|
|
31291
|
+
default:
|
|
31292
|
+
reader.skipField();
|
|
31293
|
+
break;
|
|
31294
|
+
}
|
|
31295
|
+
}
|
|
31296
|
+
return msg;
|
|
31297
|
+
};
|
|
31298
|
+
|
|
31299
|
+
|
|
31300
|
+
/**
|
|
31301
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
31302
|
+
* @return {!Uint8Array}
|
|
31303
|
+
*/
|
|
31304
|
+
proto.gateway.web.v1.StripeMoney.prototype.serializeBinary = function() {
|
|
31305
|
+
var writer = new jspb.BinaryWriter();
|
|
31306
|
+
proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter(this, writer);
|
|
31307
|
+
return writer.getResultBuffer();
|
|
31308
|
+
};
|
|
31309
|
+
|
|
31310
|
+
|
|
31311
|
+
/**
|
|
31312
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
31313
|
+
* format), writing to the given BinaryWriter.
|
|
31314
|
+
* @param {!proto.gateway.web.v1.StripeMoney} message
|
|
31315
|
+
* @param {!jspb.BinaryWriter} writer
|
|
31316
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31317
|
+
*/
|
|
31318
|
+
proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter = function(message, writer) {
|
|
31319
|
+
var f = undefined;
|
|
31320
|
+
f = message.getAmountMinor();
|
|
31321
|
+
if (f !== 0) {
|
|
31322
|
+
writer.writeInt64(
|
|
31323
|
+
1,
|
|
31324
|
+
f
|
|
31325
|
+
);
|
|
31326
|
+
}
|
|
31327
|
+
f = message.getCurrency();
|
|
31328
|
+
if (f.length > 0) {
|
|
31329
|
+
writer.writeString(
|
|
31330
|
+
2,
|
|
31331
|
+
f
|
|
31332
|
+
);
|
|
31333
|
+
}
|
|
31334
|
+
};
|
|
31335
|
+
|
|
31336
|
+
|
|
31337
|
+
/**
|
|
31338
|
+
* optional int64 amount_minor = 1;
|
|
31339
|
+
* @return {number}
|
|
31340
|
+
*/
|
|
31341
|
+
proto.gateway.web.v1.StripeMoney.prototype.getAmountMinor = function() {
|
|
31342
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
31343
|
+
};
|
|
31344
|
+
|
|
31345
|
+
|
|
31346
|
+
/**
|
|
31347
|
+
* @param {number} value
|
|
31348
|
+
* @return {!proto.gateway.web.v1.StripeMoney} returns this
|
|
31349
|
+
*/
|
|
31350
|
+
proto.gateway.web.v1.StripeMoney.prototype.setAmountMinor = function(value) {
|
|
31351
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
31352
|
+
};
|
|
31353
|
+
|
|
31354
|
+
|
|
31355
|
+
/**
|
|
31356
|
+
* optional string currency = 2;
|
|
31357
|
+
* @return {string}
|
|
31358
|
+
*/
|
|
31359
|
+
proto.gateway.web.v1.StripeMoney.prototype.getCurrency = function() {
|
|
31360
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
31361
|
+
};
|
|
31362
|
+
|
|
31363
|
+
|
|
31364
|
+
/**
|
|
31365
|
+
* @param {string} value
|
|
31366
|
+
* @return {!proto.gateway.web.v1.StripeMoney} returns this
|
|
31367
|
+
*/
|
|
31368
|
+
proto.gateway.web.v1.StripeMoney.prototype.setCurrency = function(value) {
|
|
31369
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
31370
|
+
};
|
|
31371
|
+
|
|
31372
|
+
|
|
31373
|
+
|
|
31374
|
+
|
|
31375
|
+
|
|
31376
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
31377
|
+
/**
|
|
31378
|
+
* Creates an object representation of this proto.
|
|
31379
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
31380
|
+
* Optional fields that are not set will be set to undefined.
|
|
31381
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
31382
|
+
* For the list of reserved names please see:
|
|
31383
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
31384
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
31385
|
+
* JSPB instance for transitional soy proto support:
|
|
31386
|
+
* http://goto/soy-param-migration
|
|
31387
|
+
* @return {!Object}
|
|
31388
|
+
*/
|
|
31389
|
+
proto.gateway.web.v1.Pagination.prototype.toObject = function(opt_includeInstance) {
|
|
31390
|
+
return proto.gateway.web.v1.Pagination.toObject(opt_includeInstance, this);
|
|
31391
|
+
};
|
|
31392
|
+
|
|
31393
|
+
|
|
31394
|
+
/**
|
|
31395
|
+
* Static version of the {@see toObject} method.
|
|
31396
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
31397
|
+
* the JSPB instance for transitional soy proto support:
|
|
31398
|
+
* http://goto/soy-param-migration
|
|
31399
|
+
* @param {!proto.gateway.web.v1.Pagination} msg The msg instance to transform.
|
|
31400
|
+
* @return {!Object}
|
|
31401
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31402
|
+
*/
|
|
31403
|
+
proto.gateway.web.v1.Pagination.toObject = function(includeInstance, msg) {
|
|
31404
|
+
var f, obj = {
|
|
31405
|
+
anchorTimestamp: (f = msg.getAnchorTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
31406
|
+
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
31407
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
31408
|
+
};
|
|
31409
|
+
|
|
31410
|
+
if (includeInstance) {
|
|
31411
|
+
obj.$jspbMessageInstance = msg;
|
|
31412
|
+
}
|
|
31413
|
+
return obj;
|
|
31414
|
+
};
|
|
31415
|
+
}
|
|
31416
|
+
|
|
31417
|
+
|
|
31418
|
+
/**
|
|
31419
|
+
* Deserializes binary data (in protobuf wire format).
|
|
31420
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
31421
|
+
* @return {!proto.gateway.web.v1.Pagination}
|
|
31422
|
+
*/
|
|
31423
|
+
proto.gateway.web.v1.Pagination.deserializeBinary = function(bytes) {
|
|
31424
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
31425
|
+
var msg = new proto.gateway.web.v1.Pagination;
|
|
31426
|
+
return proto.gateway.web.v1.Pagination.deserializeBinaryFromReader(msg, reader);
|
|
31427
|
+
};
|
|
31428
|
+
|
|
31429
|
+
|
|
31430
|
+
/**
|
|
31431
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
31432
|
+
* given reader into the given message object.
|
|
31433
|
+
* @param {!proto.gateway.web.v1.Pagination} msg The message object to deserialize into.
|
|
31434
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
31435
|
+
* @return {!proto.gateway.web.v1.Pagination}
|
|
31436
|
+
*/
|
|
31437
|
+
proto.gateway.web.v1.Pagination.deserializeBinaryFromReader = function(msg, reader) {
|
|
31438
|
+
while (reader.nextField()) {
|
|
31439
|
+
if (reader.isEndGroup()) {
|
|
31440
|
+
break;
|
|
31441
|
+
}
|
|
31442
|
+
var field = reader.getFieldNumber();
|
|
31443
|
+
switch (field) {
|
|
31444
|
+
case 1:
|
|
31445
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
31446
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
31447
|
+
msg.setAnchorTimestamp(value);
|
|
31448
|
+
break;
|
|
31449
|
+
case 2:
|
|
31450
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
31451
|
+
msg.setPage(value);
|
|
31452
|
+
break;
|
|
31453
|
+
case 3:
|
|
31454
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
31455
|
+
msg.setPerPage(value);
|
|
31456
|
+
break;
|
|
31457
|
+
default:
|
|
31458
|
+
reader.skipField();
|
|
28823
31459
|
break;
|
|
28824
31460
|
}
|
|
28825
31461
|
}
|
|
@@ -29294,7 +31930,13 @@ proto.gateway.web.v1.TraceEventType = {
|
|
|
29294
31930
|
TRACE_EVENT_TYPE_RULE_MATCH_ADDED: 53,
|
|
29295
31931
|
TRACE_EVENT_TYPE_CANTON_TRANSACTION: 54,
|
|
29296
31932
|
TRACE_EVENT_TYPE_SPAN_STARTED: 55,
|
|
29297
|
-
TRACE_EVENT_TYPE_SPAN_ENDED: 56
|
|
31933
|
+
TRACE_EVENT_TYPE_SPAN_ENDED: 56,
|
|
31934
|
+
TRACE_EVENT_TYPE_STRIPE_HINT_ADDED: 57,
|
|
31935
|
+
TRACE_EVENT_TYPE_STRIPE_TRACKING_STARTED: 58,
|
|
31936
|
+
TRACE_EVENT_TYPE_STRIPE_PAYMENT_SUCCEEDED: 59,
|
|
31937
|
+
TRACE_EVENT_TYPE_STRIPE_FUNDS_AVAILABLE: 60,
|
|
31938
|
+
TRACE_EVENT_TYPE_STRIPE_PAYOUT_PAID: 61,
|
|
31939
|
+
TRACE_EVENT_TYPE_STRIPE_TRACKING_FINISHED: 62
|
|
29298
31940
|
};
|
|
29299
31941
|
|
|
29300
31942
|
/**
|
|
@@ -29445,4 +32087,44 @@ proto.gateway.web.v1.RelayHintStatus = {
|
|
|
29445
32087
|
RELAY_HINT_STATUS_NOT_FOUND: 5
|
|
29446
32088
|
};
|
|
29447
32089
|
|
|
32090
|
+
/**
|
|
32091
|
+
* @enum {number}
|
|
32092
|
+
*/
|
|
32093
|
+
proto.gateway.web.v1.StripePaymentStatus = {
|
|
32094
|
+
STRIPE_PAYMENT_STATUS_UNSPECIFIED: 0,
|
|
32095
|
+
STRIPE_PAYMENT_STATUS_REQUIRES_PAYMENT_METHOD: 1,
|
|
32096
|
+
STRIPE_PAYMENT_STATUS_REQUIRES_CONFIRMATION: 2,
|
|
32097
|
+
STRIPE_PAYMENT_STATUS_REQUIRES_ACTION: 3,
|
|
32098
|
+
STRIPE_PAYMENT_STATUS_PROCESSING: 4,
|
|
32099
|
+
STRIPE_PAYMENT_STATUS_REQUIRES_CAPTURE: 5,
|
|
32100
|
+
STRIPE_PAYMENT_STATUS_SUCCEEDED: 6,
|
|
32101
|
+
STRIPE_PAYMENT_STATUS_CANCELED: 7
|
|
32102
|
+
};
|
|
32103
|
+
|
|
32104
|
+
/**
|
|
32105
|
+
* @enum {number}
|
|
32106
|
+
*/
|
|
32107
|
+
proto.gateway.web.v1.StripePayoutStatus = {
|
|
32108
|
+
STRIPE_PAYOUT_STATUS_UNSPECIFIED: 0,
|
|
32109
|
+
STRIPE_PAYOUT_STATUS_PENDING: 1,
|
|
32110
|
+
STRIPE_PAYOUT_STATUS_IN_TRANSIT: 2,
|
|
32111
|
+
STRIPE_PAYOUT_STATUS_PAID: 3,
|
|
32112
|
+
STRIPE_PAYOUT_STATUS_FAILED: 4,
|
|
32113
|
+
STRIPE_PAYOUT_STATUS_CANCELED: 5
|
|
32114
|
+
};
|
|
32115
|
+
|
|
32116
|
+
/**
|
|
32117
|
+
* @enum {number}
|
|
32118
|
+
*/
|
|
32119
|
+
proto.gateway.web.v1.StripeHintStatus = {
|
|
32120
|
+
STRIPE_HINT_STATUS_UNSPECIFIED: 0,
|
|
32121
|
+
STRIPE_HINT_STATUS_SUCCESS: 1,
|
|
32122
|
+
STRIPE_HINT_STATUS_PAYMENT_FAILED: 2,
|
|
32123
|
+
STRIPE_HINT_STATUS_REFUNDED: 3,
|
|
32124
|
+
STRIPE_HINT_STATUS_DISPUTED: 4,
|
|
32125
|
+
STRIPE_HINT_STATUS_PAYOUT_FAILED: 5,
|
|
32126
|
+
STRIPE_HINT_STATUS_TIMEOUT: 6,
|
|
32127
|
+
STRIPE_HINT_STATUS_NOT_FOUND: 7
|
|
32128
|
+
};
|
|
32129
|
+
|
|
29448
32130
|
goog.object.extend(exports, proto.gateway.web.v1);
|