@sniipwebmaster/payment-methods-client-grpcweb 0.2.1249 → 0.2.1258
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.
|
@@ -310,6 +310,61 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
310
310
|
};
|
|
311
311
|
|
|
312
312
|
|
|
313
|
+
/**
|
|
314
|
+
* @const
|
|
315
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
316
|
+
* !proto.google.protobuf.Empty,
|
|
317
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
318
|
+
*/
|
|
319
|
+
const methodInfo_SniipPaymentMethodsServiceAPIService_ConsolidateCardBankNames = new grpc.web.AbstractClientBase.MethodInfo(
|
|
320
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
321
|
+
/** @param {!proto.google.protobuf.Empty} request */
|
|
322
|
+
function(request) {
|
|
323
|
+
return request.serializeBinary();
|
|
324
|
+
},
|
|
325
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
326
|
+
);
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
331
|
+
* request proto
|
|
332
|
+
* @param {?Object<string, string>} metadata User defined
|
|
333
|
+
* call metadata
|
|
334
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
|
|
335
|
+
* callback The callback function(error, response)
|
|
336
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.ResponseCode>|undefined}
|
|
337
|
+
* The XHR Node Readable Stream
|
|
338
|
+
*/
|
|
339
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.consolidateCardBankNames =
|
|
340
|
+
function(request, metadata, callback) {
|
|
341
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
342
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/ConsolidateCardBankNames',
|
|
343
|
+
request,
|
|
344
|
+
metadata || {},
|
|
345
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_ConsolidateCardBankNames,
|
|
346
|
+
callback);
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
352
|
+
* request proto
|
|
353
|
+
* @param {?Object<string, string>} metadata User defined
|
|
354
|
+
* call metadata
|
|
355
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
356
|
+
* A native promise that resolves to the response
|
|
357
|
+
*/
|
|
358
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.consolidateCardBankNames =
|
|
359
|
+
function(request, metadata) {
|
|
360
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
361
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/ConsolidateCardBankNames',
|
|
362
|
+
request,
|
|
363
|
+
metadata || {},
|
|
364
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_ConsolidateCardBankNames);
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
|
|
313
368
|
/**
|
|
314
369
|
* @const
|
|
315
370
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -23,6 +23,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddPaymentMethod', null,
|
|
|
23
23
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest', null, global);
|
|
24
24
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest', null, global);
|
|
25
25
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankAccount', null, global);
|
|
26
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ColourScheme', null, global);
|
|
26
27
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCard', null, global);
|
|
27
28
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardDeleteRequest', null, global);
|
|
28
29
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest', null, global);
|
|
@@ -1988,6 +1989,258 @@ proto.sniippaymentmethodsserviceapi.BankAccount.prototype.setCreateddatetime = f
|
|
|
1988
1989
|
|
|
1989
1990
|
|
|
1990
1991
|
|
|
1992
|
+
/**
|
|
1993
|
+
* Generated by JsPbCodeGenerator.
|
|
1994
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1995
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1996
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1997
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1998
|
+
* valid.
|
|
1999
|
+
* @extends {jspb.Message}
|
|
2000
|
+
* @constructor
|
|
2001
|
+
*/
|
|
2002
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme = function(opt_data) {
|
|
2003
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2004
|
+
};
|
|
2005
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.ColourScheme, jspb.Message);
|
|
2006
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2007
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.displayName = 'proto.sniippaymentmethodsserviceapi.ColourScheme';
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
|
|
2011
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2012
|
+
/**
|
|
2013
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2014
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2015
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2016
|
+
* For the list of reserved names please see:
|
|
2017
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2018
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2019
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2020
|
+
* @return {!Object}
|
|
2021
|
+
*/
|
|
2022
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.toObject = function(opt_includeInstance) {
|
|
2023
|
+
return proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(opt_includeInstance, this);
|
|
2024
|
+
};
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* Static version of the {@see toObject} method.
|
|
2029
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2030
|
+
* instance for transitional soy proto support:
|
|
2031
|
+
* http://goto/soy-param-migration
|
|
2032
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ColourScheme} msg The msg instance to transform.
|
|
2033
|
+
* @return {!Object}
|
|
2034
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2035
|
+
*/
|
|
2036
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.toObject = function(includeInstance, msg) {
|
|
2037
|
+
var f, obj = {
|
|
2038
|
+
colourschemeid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2039
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2040
|
+
cardcolour: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2041
|
+
textcolour: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2042
|
+
isdefaultcolour: jspb.Message.getFieldWithDefault(msg, 5, false)
|
|
2043
|
+
};
|
|
2044
|
+
|
|
2045
|
+
if (includeInstance) {
|
|
2046
|
+
obj.$jspbMessageInstance = msg;
|
|
2047
|
+
}
|
|
2048
|
+
return obj;
|
|
2049
|
+
};
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
|
|
2053
|
+
/**
|
|
2054
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2055
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2056
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ColourScheme}
|
|
2057
|
+
*/
|
|
2058
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinary = function(bytes) {
|
|
2059
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2060
|
+
var msg = new proto.sniippaymentmethodsserviceapi.ColourScheme;
|
|
2061
|
+
return proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinaryFromReader(msg, reader);
|
|
2062
|
+
};
|
|
2063
|
+
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2067
|
+
* given reader into the given message object.
|
|
2068
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ColourScheme} msg The message object to deserialize into.
|
|
2069
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2070
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ColourScheme}
|
|
2071
|
+
*/
|
|
2072
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinaryFromReader = function(msg, reader) {
|
|
2073
|
+
while (reader.nextField()) {
|
|
2074
|
+
if (reader.isEndGroup()) {
|
|
2075
|
+
break;
|
|
2076
|
+
}
|
|
2077
|
+
var field = reader.getFieldNumber();
|
|
2078
|
+
switch (field) {
|
|
2079
|
+
case 1:
|
|
2080
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2081
|
+
msg.setColourschemeid(value);
|
|
2082
|
+
break;
|
|
2083
|
+
case 2:
|
|
2084
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2085
|
+
msg.setName(value);
|
|
2086
|
+
break;
|
|
2087
|
+
case 3:
|
|
2088
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2089
|
+
msg.setCardcolour(value);
|
|
2090
|
+
break;
|
|
2091
|
+
case 4:
|
|
2092
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2093
|
+
msg.setTextcolour(value);
|
|
2094
|
+
break;
|
|
2095
|
+
case 5:
|
|
2096
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2097
|
+
msg.setIsdefaultcolour(value);
|
|
2098
|
+
break;
|
|
2099
|
+
default:
|
|
2100
|
+
reader.skipField();
|
|
2101
|
+
break;
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2104
|
+
return msg;
|
|
2105
|
+
};
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2110
|
+
* @return {!Uint8Array}
|
|
2111
|
+
*/
|
|
2112
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.serializeBinary = function() {
|
|
2113
|
+
var writer = new jspb.BinaryWriter();
|
|
2114
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.serializeBinaryToWriter(this, writer);
|
|
2115
|
+
return writer.getResultBuffer();
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2121
|
+
* format), writing to the given BinaryWriter.
|
|
2122
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ColourScheme} message
|
|
2123
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2124
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2125
|
+
*/
|
|
2126
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.serializeBinaryToWriter = function(message, writer) {
|
|
2127
|
+
var f = undefined;
|
|
2128
|
+
f = message.getColourschemeid();
|
|
2129
|
+
if (f !== 0) {
|
|
2130
|
+
writer.writeInt64(
|
|
2131
|
+
1,
|
|
2132
|
+
f
|
|
2133
|
+
);
|
|
2134
|
+
}
|
|
2135
|
+
f = message.getName();
|
|
2136
|
+
if (f.length > 0) {
|
|
2137
|
+
writer.writeString(
|
|
2138
|
+
2,
|
|
2139
|
+
f
|
|
2140
|
+
);
|
|
2141
|
+
}
|
|
2142
|
+
f = message.getCardcolour();
|
|
2143
|
+
if (f.length > 0) {
|
|
2144
|
+
writer.writeString(
|
|
2145
|
+
3,
|
|
2146
|
+
f
|
|
2147
|
+
);
|
|
2148
|
+
}
|
|
2149
|
+
f = message.getTextcolour();
|
|
2150
|
+
if (f.length > 0) {
|
|
2151
|
+
writer.writeString(
|
|
2152
|
+
4,
|
|
2153
|
+
f
|
|
2154
|
+
);
|
|
2155
|
+
}
|
|
2156
|
+
f = message.getIsdefaultcolour();
|
|
2157
|
+
if (f) {
|
|
2158
|
+
writer.writeBool(
|
|
2159
|
+
5,
|
|
2160
|
+
f
|
|
2161
|
+
);
|
|
2162
|
+
}
|
|
2163
|
+
};
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
/**
|
|
2167
|
+
* optional int64 colourSchemeId = 1;
|
|
2168
|
+
* @return {number}
|
|
2169
|
+
*/
|
|
2170
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.getColourschemeid = function() {
|
|
2171
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2172
|
+
};
|
|
2173
|
+
|
|
2174
|
+
|
|
2175
|
+
/** @param {number} value */
|
|
2176
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.setColourschemeid = function(value) {
|
|
2177
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* optional string name = 2;
|
|
2183
|
+
* @return {string}
|
|
2184
|
+
*/
|
|
2185
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.getName = function() {
|
|
2186
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2187
|
+
};
|
|
2188
|
+
|
|
2189
|
+
|
|
2190
|
+
/** @param {string} value */
|
|
2191
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.setName = function(value) {
|
|
2192
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
2193
|
+
};
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* optional string cardColour = 3;
|
|
2198
|
+
* @return {string}
|
|
2199
|
+
*/
|
|
2200
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.getCardcolour = function() {
|
|
2201
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2202
|
+
};
|
|
2203
|
+
|
|
2204
|
+
|
|
2205
|
+
/** @param {string} value */
|
|
2206
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.setCardcolour = function(value) {
|
|
2207
|
+
jspb.Message.setProto3StringField(this, 3, value);
|
|
2208
|
+
};
|
|
2209
|
+
|
|
2210
|
+
|
|
2211
|
+
/**
|
|
2212
|
+
* optional string textColour = 4;
|
|
2213
|
+
* @return {string}
|
|
2214
|
+
*/
|
|
2215
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.getTextcolour = function() {
|
|
2216
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2217
|
+
};
|
|
2218
|
+
|
|
2219
|
+
|
|
2220
|
+
/** @param {string} value */
|
|
2221
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.setTextcolour = function(value) {
|
|
2222
|
+
jspb.Message.setProto3StringField(this, 4, value);
|
|
2223
|
+
};
|
|
2224
|
+
|
|
2225
|
+
|
|
2226
|
+
/**
|
|
2227
|
+
* optional bool isDefaultColour = 5;
|
|
2228
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2229
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2230
|
+
* @return {boolean}
|
|
2231
|
+
*/
|
|
2232
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.getIsdefaultcolour = function() {
|
|
2233
|
+
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 5, false));
|
|
2234
|
+
};
|
|
2235
|
+
|
|
2236
|
+
|
|
2237
|
+
/** @param {boolean} value */
|
|
2238
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.setIsdefaultcolour = function(value) {
|
|
2239
|
+
jspb.Message.setProto3BooleanField(this, 5, value);
|
|
2240
|
+
};
|
|
2241
|
+
|
|
2242
|
+
|
|
2243
|
+
|
|
1991
2244
|
/**
|
|
1992
2245
|
* Generated by JsPbCodeGenerator.
|
|
1993
2246
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2041,7 +2294,10 @@ proto.sniippaymentmethodsserviceapi.CreditCard.toObject = function(includeInstan
|
|
|
2041
2294
|
monthexpiry: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
2042
2295
|
yearexpiry: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
2043
2296
|
nickname: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2044
|
-
tokenisedcreditcardid: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
2297
|
+
tokenisedcreditcardid: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
2298
|
+
bankname: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2299
|
+
banklogoname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2300
|
+
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f)
|
|
2045
2301
|
};
|
|
2046
2302
|
|
|
2047
2303
|
if (includeInstance) {
|
|
@@ -2110,6 +2366,19 @@ proto.sniippaymentmethodsserviceapi.CreditCard.deserializeBinaryFromReader = fun
|
|
|
2110
2366
|
var value = /** @type {number} */ (reader.readInt64());
|
|
2111
2367
|
msg.setTokenisedcreditcardid(value);
|
|
2112
2368
|
break;
|
|
2369
|
+
case 9:
|
|
2370
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2371
|
+
msg.setBankname(value);
|
|
2372
|
+
break;
|
|
2373
|
+
case 10:
|
|
2374
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2375
|
+
msg.setBanklogoname(value);
|
|
2376
|
+
break;
|
|
2377
|
+
case 11:
|
|
2378
|
+
var value = new proto.sniippaymentmethodsserviceapi.ColourScheme;
|
|
2379
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinaryFromReader);
|
|
2380
|
+
msg.setColourscheme(value);
|
|
2381
|
+
break;
|
|
2113
2382
|
default:
|
|
2114
2383
|
reader.skipField();
|
|
2115
2384
|
break;
|
|
@@ -2195,6 +2464,28 @@ proto.sniippaymentmethodsserviceapi.CreditCard.serializeBinaryToWriter = functio
|
|
|
2195
2464
|
f
|
|
2196
2465
|
);
|
|
2197
2466
|
}
|
|
2467
|
+
f = message.getBankname();
|
|
2468
|
+
if (f.length > 0) {
|
|
2469
|
+
writer.writeString(
|
|
2470
|
+
9,
|
|
2471
|
+
f
|
|
2472
|
+
);
|
|
2473
|
+
}
|
|
2474
|
+
f = message.getBanklogoname();
|
|
2475
|
+
if (f.length > 0) {
|
|
2476
|
+
writer.writeString(
|
|
2477
|
+
10,
|
|
2478
|
+
f
|
|
2479
|
+
);
|
|
2480
|
+
}
|
|
2481
|
+
f = message.getColourscheme();
|
|
2482
|
+
if (f != null) {
|
|
2483
|
+
writer.writeMessage(
|
|
2484
|
+
11,
|
|
2485
|
+
f,
|
|
2486
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.serializeBinaryToWriter
|
|
2487
|
+
);
|
|
2488
|
+
}
|
|
2198
2489
|
};
|
|
2199
2490
|
|
|
2200
2491
|
|
|
@@ -2318,6 +2609,66 @@ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setTokenisedcreditcardi
|
|
|
2318
2609
|
};
|
|
2319
2610
|
|
|
2320
2611
|
|
|
2612
|
+
/**
|
|
2613
|
+
* optional string bankName = 9;
|
|
2614
|
+
* @return {string}
|
|
2615
|
+
*/
|
|
2616
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getBankname = function() {
|
|
2617
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
/** @param {string} value */
|
|
2622
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setBankname = function(value) {
|
|
2623
|
+
jspb.Message.setProto3StringField(this, 9, value);
|
|
2624
|
+
};
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
/**
|
|
2628
|
+
* optional string bankLogoName = 10;
|
|
2629
|
+
* @return {string}
|
|
2630
|
+
*/
|
|
2631
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getBanklogoname = function() {
|
|
2632
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
2633
|
+
};
|
|
2634
|
+
|
|
2635
|
+
|
|
2636
|
+
/** @param {string} value */
|
|
2637
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setBanklogoname = function(value) {
|
|
2638
|
+
jspb.Message.setProto3StringField(this, 10, value);
|
|
2639
|
+
};
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
/**
|
|
2643
|
+
* optional ColourScheme colourScheme = 11;
|
|
2644
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ColourScheme}
|
|
2645
|
+
*/
|
|
2646
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getColourscheme = function() {
|
|
2647
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ColourScheme} */ (
|
|
2648
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ColourScheme, 11));
|
|
2649
|
+
};
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.ColourScheme|undefined} value */
|
|
2653
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setColourscheme = function(value) {
|
|
2654
|
+
jspb.Message.setWrapperField(this, 11, value);
|
|
2655
|
+
};
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.clearColourscheme = function() {
|
|
2659
|
+
this.setColourscheme(undefined);
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
/**
|
|
2664
|
+
* Returns whether this field is set.
|
|
2665
|
+
* @return {!boolean}
|
|
2666
|
+
*/
|
|
2667
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.hasColourscheme = function() {
|
|
2668
|
+
return jspb.Message.getField(this, 11) != null;
|
|
2669
|
+
};
|
|
2670
|
+
|
|
2671
|
+
|
|
2321
2672
|
|
|
2322
2673
|
/**
|
|
2323
2674
|
* Generated by JsPbCodeGenerator.
|
|
@@ -4784,7 +5135,10 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject = function(include
|
|
|
4784
5135
|
yearexpiry: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
4785
5136
|
nickname: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4786
5137
|
createddatetime: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4787
|
-
tokenisedcreditcardid: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
5138
|
+
tokenisedcreditcardid: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
5139
|
+
bankname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5140
|
+
banklogoname: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5141
|
+
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f)
|
|
4788
5142
|
};
|
|
4789
5143
|
|
|
4790
5144
|
if (includeInstance) {
|
|
@@ -4857,6 +5211,19 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.deserializeBinaryFromReader
|
|
|
4857
5211
|
var value = /** @type {number} */ (reader.readInt64());
|
|
4858
5212
|
msg.setTokenisedcreditcardid(value);
|
|
4859
5213
|
break;
|
|
5214
|
+
case 10:
|
|
5215
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5216
|
+
msg.setBankname(value);
|
|
5217
|
+
break;
|
|
5218
|
+
case 11:
|
|
5219
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5220
|
+
msg.setBanklogoname(value);
|
|
5221
|
+
break;
|
|
5222
|
+
case 12:
|
|
5223
|
+
var value = new proto.sniippaymentmethodsserviceapi.ColourScheme;
|
|
5224
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinaryFromReader);
|
|
5225
|
+
msg.setColourscheme(value);
|
|
5226
|
+
break;
|
|
4860
5227
|
default:
|
|
4861
5228
|
reader.skipField();
|
|
4862
5229
|
break;
|
|
@@ -4949,6 +5316,28 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.serializeBinaryToWriter = f
|
|
|
4949
5316
|
f
|
|
4950
5317
|
);
|
|
4951
5318
|
}
|
|
5319
|
+
f = message.getBankname();
|
|
5320
|
+
if (f.length > 0) {
|
|
5321
|
+
writer.writeString(
|
|
5322
|
+
10,
|
|
5323
|
+
f
|
|
5324
|
+
);
|
|
5325
|
+
}
|
|
5326
|
+
f = message.getBanklogoname();
|
|
5327
|
+
if (f.length > 0) {
|
|
5328
|
+
writer.writeString(
|
|
5329
|
+
11,
|
|
5330
|
+
f
|
|
5331
|
+
);
|
|
5332
|
+
}
|
|
5333
|
+
f = message.getColourscheme();
|
|
5334
|
+
if (f != null) {
|
|
5335
|
+
writer.writeMessage(
|
|
5336
|
+
12,
|
|
5337
|
+
f,
|
|
5338
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.serializeBinaryToWriter
|
|
5339
|
+
);
|
|
5340
|
+
}
|
|
4952
5341
|
};
|
|
4953
5342
|
|
|
4954
5343
|
|
|
@@ -5087,6 +5476,66 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setTokenisedcredi
|
|
|
5087
5476
|
};
|
|
5088
5477
|
|
|
5089
5478
|
|
|
5479
|
+
/**
|
|
5480
|
+
* optional string bankName = 10;
|
|
5481
|
+
* @return {string}
|
|
5482
|
+
*/
|
|
5483
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getBankname = function() {
|
|
5484
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5485
|
+
};
|
|
5486
|
+
|
|
5487
|
+
|
|
5488
|
+
/** @param {string} value */
|
|
5489
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setBankname = function(value) {
|
|
5490
|
+
jspb.Message.setProto3StringField(this, 10, value);
|
|
5491
|
+
};
|
|
5492
|
+
|
|
5493
|
+
|
|
5494
|
+
/**
|
|
5495
|
+
* optional string bankLogoName = 11;
|
|
5496
|
+
* @return {string}
|
|
5497
|
+
*/
|
|
5498
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getBanklogoname = function() {
|
|
5499
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5500
|
+
};
|
|
5501
|
+
|
|
5502
|
+
|
|
5503
|
+
/** @param {string} value */
|
|
5504
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setBanklogoname = function(value) {
|
|
5505
|
+
jspb.Message.setProto3StringField(this, 11, value);
|
|
5506
|
+
};
|
|
5507
|
+
|
|
5508
|
+
|
|
5509
|
+
/**
|
|
5510
|
+
* optional ColourScheme colourScheme = 12;
|
|
5511
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ColourScheme}
|
|
5512
|
+
*/
|
|
5513
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getColourscheme = function() {
|
|
5514
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ColourScheme} */ (
|
|
5515
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ColourScheme, 12));
|
|
5516
|
+
};
|
|
5517
|
+
|
|
5518
|
+
|
|
5519
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.ColourScheme|undefined} value */
|
|
5520
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setColourscheme = function(value) {
|
|
5521
|
+
jspb.Message.setWrapperField(this, 12, value);
|
|
5522
|
+
};
|
|
5523
|
+
|
|
5524
|
+
|
|
5525
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.clearColourscheme = function() {
|
|
5526
|
+
this.setColourscheme(undefined);
|
|
5527
|
+
};
|
|
5528
|
+
|
|
5529
|
+
|
|
5530
|
+
/**
|
|
5531
|
+
* Returns whether this field is set.
|
|
5532
|
+
* @return {!boolean}
|
|
5533
|
+
*/
|
|
5534
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.hasColourscheme = function() {
|
|
5535
|
+
return jspb.Message.getField(this, 12) != null;
|
|
5536
|
+
};
|
|
5537
|
+
|
|
5538
|
+
|
|
5090
5539
|
|
|
5091
5540
|
/**
|
|
5092
5541
|
* Generated by JsPbCodeGenerator.
|
|
@@ -6631,7 +7080,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
6631
7080
|
* @private {!Array<number>}
|
|
6632
7081
|
* @const
|
|
6633
7082
|
*/
|
|
6634
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.repeatedFields_ = [1];
|
|
7083
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.repeatedFields_ = [1,3];
|
|
6635
7084
|
|
|
6636
7085
|
|
|
6637
7086
|
|
|
@@ -6664,7 +7113,9 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.toObject = function(i
|
|
|
6664
7113
|
var f, obj = {
|
|
6665
7114
|
paymentmethodList: jspb.Message.toObjectList(msg.getPaymentmethodList(),
|
|
6666
7115
|
proto.sniippaymentmethodsserviceapi.PaymentMethod.toObject, includeInstance),
|
|
6667
|
-
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f)
|
|
7116
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
7117
|
+
colourschemesList: jspb.Message.toObjectList(msg.getColourschemesList(),
|
|
7118
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.toObject, includeInstance)
|
|
6668
7119
|
};
|
|
6669
7120
|
|
|
6670
7121
|
if (includeInstance) {
|
|
@@ -6711,6 +7162,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinaryFrom
|
|
|
6711
7162
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
6712
7163
|
msg.setResponsecode(value);
|
|
6713
7164
|
break;
|
|
7165
|
+
case 3:
|
|
7166
|
+
var value = new proto.sniippaymentmethodsserviceapi.ColourScheme;
|
|
7167
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinaryFromReader);
|
|
7168
|
+
msg.addColourschemes(value);
|
|
7169
|
+
break;
|
|
6714
7170
|
default:
|
|
6715
7171
|
reader.skipField();
|
|
6716
7172
|
break;
|
|
@@ -6756,6 +7212,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.serializeBinaryToWrit
|
|
|
6756
7212
|
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
|
|
6757
7213
|
);
|
|
6758
7214
|
}
|
|
7215
|
+
f = message.getColourschemesList();
|
|
7216
|
+
if (f.length > 0) {
|
|
7217
|
+
writer.writeRepeatedMessage(
|
|
7218
|
+
3,
|
|
7219
|
+
f,
|
|
7220
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.serializeBinaryToWriter
|
|
7221
|
+
);
|
|
7222
|
+
}
|
|
6759
7223
|
};
|
|
6760
7224
|
|
|
6761
7225
|
|
|
@@ -6820,6 +7284,37 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.hasResponse
|
|
|
6820
7284
|
};
|
|
6821
7285
|
|
|
6822
7286
|
|
|
7287
|
+
/**
|
|
7288
|
+
* repeated ColourScheme colourSchemes = 3;
|
|
7289
|
+
* @return {!Array<!proto.sniippaymentmethodsserviceapi.ColourScheme>}
|
|
7290
|
+
*/
|
|
7291
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.getColourschemesList = function() {
|
|
7292
|
+
return /** @type{!Array<!proto.sniippaymentmethodsserviceapi.ColourScheme>} */ (
|
|
7293
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniippaymentmethodsserviceapi.ColourScheme, 3));
|
|
7294
|
+
};
|
|
7295
|
+
|
|
7296
|
+
|
|
7297
|
+
/** @param {!Array<!proto.sniippaymentmethodsserviceapi.ColourScheme>} value */
|
|
7298
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.setColourschemesList = function(value) {
|
|
7299
|
+
jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
7300
|
+
};
|
|
7301
|
+
|
|
7302
|
+
|
|
7303
|
+
/**
|
|
7304
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ColourScheme=} opt_value
|
|
7305
|
+
* @param {number=} opt_index
|
|
7306
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ColourScheme}
|
|
7307
|
+
*/
|
|
7308
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.addColourschemes = function(opt_value, opt_index) {
|
|
7309
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.sniippaymentmethodsserviceapi.ColourScheme, opt_index);
|
|
7310
|
+
};
|
|
7311
|
+
|
|
7312
|
+
|
|
7313
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.clearColourschemesList = function() {
|
|
7314
|
+
this.setColourschemesList([]);
|
|
7315
|
+
};
|
|
7316
|
+
|
|
7317
|
+
|
|
6823
7318
|
|
|
6824
7319
|
/**
|
|
6825
7320
|
* Generated by JsPbCodeGenerator.
|
|
@@ -7198,7 +7693,8 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCard.toObject = function(include
|
|
|
7198
7693
|
nameoncard: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7199
7694
|
monthexpiry: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7200
7695
|
yearexpiry: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
7201
|
-
nickname: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
7696
|
+
nickname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7697
|
+
colourscheme: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
7202
7698
|
};
|
|
7203
7699
|
|
|
7204
7700
|
if (includeInstance) {
|
|
@@ -7251,6 +7747,10 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCard.deserializeBinaryFromReader
|
|
|
7251
7747
|
var value = /** @type {string} */ (reader.readString());
|
|
7252
7748
|
msg.setNickname(value);
|
|
7253
7749
|
break;
|
|
7750
|
+
case 5:
|
|
7751
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7752
|
+
msg.setColourscheme(value);
|
|
7753
|
+
break;
|
|
7254
7754
|
default:
|
|
7255
7755
|
reader.skipField();
|
|
7256
7756
|
break;
|
|
@@ -7308,6 +7808,13 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCard.serializeBinaryToWriter = f
|
|
|
7308
7808
|
f
|
|
7309
7809
|
);
|
|
7310
7810
|
}
|
|
7811
|
+
f = message.getColourscheme();
|
|
7812
|
+
if (f !== 0) {
|
|
7813
|
+
writer.writeInt64(
|
|
7814
|
+
5,
|
|
7815
|
+
f
|
|
7816
|
+
);
|
|
7817
|
+
}
|
|
7311
7818
|
};
|
|
7312
7819
|
|
|
7313
7820
|
|
|
@@ -7371,6 +7878,21 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.setNickname = fun
|
|
|
7371
7878
|
};
|
|
7372
7879
|
|
|
7373
7880
|
|
|
7881
|
+
/**
|
|
7882
|
+
* optional int64 colourScheme = 5;
|
|
7883
|
+
* @return {number}
|
|
7884
|
+
*/
|
|
7885
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.getColourscheme = function() {
|
|
7886
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
7887
|
+
};
|
|
7888
|
+
|
|
7889
|
+
|
|
7890
|
+
/** @param {number} value */
|
|
7891
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.setColourscheme = function(value) {
|
|
7892
|
+
jspb.Message.setProto3IntField(this, 5, value);
|
|
7893
|
+
};
|
|
7894
|
+
|
|
7895
|
+
|
|
7374
7896
|
|
|
7375
7897
|
/**
|
|
7376
7898
|
* Generated by JsPbCodeGenerator.
|