@sniipwebmaster/payment-methods-client-grpcweb-ts 23.16.5343 → 24.5.5518

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.
@@ -1502,6 +1502,49 @@ export class SniipPaymentMethodsServiceAPIServiceClient {
1502
1502
  this.methodDescriptorUpdatePaymentMethodGroup);
1503
1503
  }
1504
1504
 
1505
+ methodDescriptorUpdateWexCard = new grpcWeb.MethodDescriptor(
1506
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdateWexCard',
1507
+ grpcWeb.MethodType.UNARY,
1508
+ service_pb.UpdateWexCardRequest,
1509
+ service_pb.ResponseCode,
1510
+ (request: service_pb.UpdateWexCardRequest) => {
1511
+ return request.serializeBinary();
1512
+ },
1513
+ service_pb.ResponseCode.deserializeBinary
1514
+ );
1515
+
1516
+ updateWexCard(
1517
+ request: service_pb.UpdateWexCardRequest,
1518
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
1519
+
1520
+ updateWexCard(
1521
+ request: service_pb.UpdateWexCardRequest,
1522
+ metadata: grpcWeb.Metadata | null,
1523
+ callback: (err: grpcWeb.RpcError,
1524
+ response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
1525
+
1526
+ updateWexCard(
1527
+ request: service_pb.UpdateWexCardRequest,
1528
+ metadata: grpcWeb.Metadata | null,
1529
+ callback?: (err: grpcWeb.RpcError,
1530
+ response: service_pb.ResponseCode) => void) {
1531
+ if (callback !== undefined) {
1532
+ return this.client_.rpcCall(
1533
+ this.hostname_ +
1534
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdateWexCard',
1535
+ request,
1536
+ metadata || {},
1537
+ this.methodDescriptorUpdateWexCard,
1538
+ callback);
1539
+ }
1540
+ return this.client_.unaryCall(
1541
+ this.hostname_ +
1542
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdateWexCard',
1543
+ request,
1544
+ metadata || {},
1545
+ this.methodDescriptorUpdateWexCard);
1546
+ }
1547
+
1505
1548
  methodDescriptorValidatePaymentMethods = new grpcWeb.MethodDescriptor(
1506
1549
  '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/ValidatePaymentMethods',
1507
1550
  grpcWeb.MethodType.UNARY,
@@ -1642,6 +1642,11 @@ export class PaymentMethod extends jspb.Message {
1642
1642
  hasGooglepaydetail(): boolean;
1643
1643
  clearGooglepaydetail(): PaymentMethod;
1644
1644
 
1645
+ getWexcarddetail(): WexCardDetail | undefined;
1646
+ setWexcarddetail(value?: WexCardDetail): PaymentMethod;
1647
+ hasWexcarddetail(): boolean;
1648
+ clearWexcarddetail(): PaymentMethod;
1649
+
1645
1650
  serializeBinary(): Uint8Array;
1646
1651
  toObject(includeInstance?: boolean): PaymentMethod.AsObject;
1647
1652
  static toObject(includeInstance: boolean, msg: PaymentMethod): PaymentMethod.AsObject;
@@ -1659,6 +1664,7 @@ export namespace PaymentMethod {
1659
1664
  activationsList: Array<Activation.AsObject>,
1660
1665
  applepaydetail?: ApplePayDetail.AsObject,
1661
1666
  googlepaydetail?: GooglePayDetail.AsObject,
1667
+ wexcarddetail?: WexCardDetail.AsObject,
1662
1668
  }
1663
1669
  }
1664
1670
 
@@ -1774,6 +1780,11 @@ export class PaymentMethodForPaymentResponse extends jspb.Message {
1774
1780
  hasGooglepaydetail(): boolean;
1775
1781
  clearGooglepaydetail(): PaymentMethodForPaymentResponse;
1776
1782
 
1783
+ getWexcarddetail(): WexCardDetail | undefined;
1784
+ setWexcarddetail(value?: WexCardDetail): PaymentMethodForPaymentResponse;
1785
+ hasWexcarddetail(): boolean;
1786
+ clearWexcarddetail(): PaymentMethodForPaymentResponse;
1787
+
1777
1788
  serializeBinary(): Uint8Array;
1778
1789
  toObject(includeInstance?: boolean): PaymentMethodForPaymentResponse.AsObject;
1779
1790
  static toObject(includeInstance: boolean, msg: PaymentMethodForPaymentResponse): PaymentMethodForPaymentResponse.AsObject;
@@ -1791,6 +1802,7 @@ export namespace PaymentMethodForPaymentResponse {
1791
1802
  bankaccount?: BankAccount.AsObject,
1792
1803
  applepaydetail?: ApplePayDetail.AsObject,
1793
1804
  googlepaydetail?: GooglePayDetail.AsObject,
1805
+ wexcarddetail?: WexCardDetail.AsObject,
1794
1806
  }
1795
1807
  }
1796
1808
 
@@ -2386,6 +2398,36 @@ export namespace UpdatePaymentMethodRequest {
2386
2398
  }
2387
2399
  }
2388
2400
 
2401
+ export class UpdateWexCardRequest extends jspb.Message {
2402
+ getPaymentmethodid(): number;
2403
+ setPaymentmethodid(value: number): UpdateWexCardRequest;
2404
+
2405
+ getMaskedcardnumber(): string;
2406
+ setMaskedcardnumber(value: string): UpdateWexCardRequest;
2407
+
2408
+ getExpirydate(): string;
2409
+ setExpirydate(value: string): UpdateWexCardRequest;
2410
+
2411
+ getCardstatus(): string;
2412
+ setCardstatus(value: string): UpdateWexCardRequest;
2413
+
2414
+ serializeBinary(): Uint8Array;
2415
+ toObject(includeInstance?: boolean): UpdateWexCardRequest.AsObject;
2416
+ static toObject(includeInstance: boolean, msg: UpdateWexCardRequest): UpdateWexCardRequest.AsObject;
2417
+ static serializeBinaryToWriter(message: UpdateWexCardRequest, writer: jspb.BinaryWriter): void;
2418
+ static deserializeBinary(bytes: Uint8Array): UpdateWexCardRequest;
2419
+ static deserializeBinaryFromReader(message: UpdateWexCardRequest, reader: jspb.BinaryReader): UpdateWexCardRequest;
2420
+ }
2421
+
2422
+ export namespace UpdateWexCardRequest {
2423
+ export type AsObject = {
2424
+ paymentmethodid: number,
2425
+ maskedcardnumber: string,
2426
+ expirydate: string,
2427
+ cardstatus: string,
2428
+ }
2429
+ }
2430
+
2389
2431
  export class ValidateApplePayRequest extends jspb.Message {
2390
2432
  getIsapplepaycard(): boolean;
2391
2433
  setIsapplepaycard(value: boolean): ValidateApplePayRequest;
@@ -2560,6 +2602,40 @@ export namespace VerifyCreditCardRequest {
2560
2602
  }
2561
2603
  }
2562
2604
 
2605
+ export class WexCardDetail extends jspb.Message {
2606
+ getMaskedcardnumber(): string;
2607
+ setMaskedcardnumber(value: string): WexCardDetail;
2608
+
2609
+ getExpirydate(): string;
2610
+ setExpirydate(value: string): WexCardDetail;
2611
+
2612
+ getCardstatus(): string;
2613
+ setCardstatus(value: string): WexCardDetail;
2614
+
2615
+ getRedirecturl(): string;
2616
+ setRedirecturl(value: string): WexCardDetail;
2617
+
2618
+ getCardvariant(): string;
2619
+ setCardvariant(value: string): WexCardDetail;
2620
+
2621
+ serializeBinary(): Uint8Array;
2622
+ toObject(includeInstance?: boolean): WexCardDetail.AsObject;
2623
+ static toObject(includeInstance: boolean, msg: WexCardDetail): WexCardDetail.AsObject;
2624
+ static serializeBinaryToWriter(message: WexCardDetail, writer: jspb.BinaryWriter): void;
2625
+ static deserializeBinary(bytes: Uint8Array): WexCardDetail;
2626
+ static deserializeBinaryFromReader(message: WexCardDetail, reader: jspb.BinaryReader): WexCardDetail;
2627
+ }
2628
+
2629
+ export namespace WexCardDetail {
2630
+ export type AsObject = {
2631
+ maskedcardnumber: string,
2632
+ expirydate: string,
2633
+ cardstatus: string,
2634
+ redirecturl: string,
2635
+ cardvariant: string,
2636
+ }
2637
+ }
2638
+
2563
2639
  export class ZenithPaymentDetailsRequest extends jspb.Message {
2564
2640
  getUserid(): number;
2565
2641
  setUserid(value: number): ZenithPaymentDetailsRequest;
@@ -93,6 +93,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null,
93
93
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest', null, global);
94
94
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest', null, global);
95
95
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest', null, global);
96
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest', null, global);
96
97
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest', null, global);
97
98
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest', null, global);
98
99
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsResponse', null, global);
@@ -100,6 +101,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatedPaymentMethodsRe
100
101
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest', null, global);
101
102
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest', null, global);
102
103
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest', null, global);
104
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.WexCardDetail', null, global);
103
105
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest', null, global);
104
106
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse', null, global);
105
107
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithTokenAddRequest', null, global);
@@ -1700,6 +1702,27 @@ if (goog.DEBUG && !COMPILED) {
1700
1702
  */
1701
1703
  proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.displayName = 'proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest';
1702
1704
  }
1705
+ /**
1706
+ * Generated by JsPbCodeGenerator.
1707
+ * @param {Array=} opt_data Optional initial data array, typically from a
1708
+ * server response, or constructed directly in Javascript. The array is used
1709
+ * in place and becomes part of the constructed object. It is not cloned.
1710
+ * If no data is provided, the constructed object will be empty, but still
1711
+ * valid.
1712
+ * @extends {jspb.Message}
1713
+ * @constructor
1714
+ */
1715
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest = function(opt_data) {
1716
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1717
+ };
1718
+ goog.inherits(proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest, jspb.Message);
1719
+ if (goog.DEBUG && !COMPILED) {
1720
+ /**
1721
+ * @public
1722
+ * @override
1723
+ */
1724
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.displayName = 'proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest';
1725
+ }
1703
1726
  /**
1704
1727
  * Generated by JsPbCodeGenerator.
1705
1728
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1847,6 +1870,27 @@ if (goog.DEBUG && !COMPILED) {
1847
1870
  */
1848
1871
  proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.displayName = 'proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest';
1849
1872
  }
1873
+ /**
1874
+ * Generated by JsPbCodeGenerator.
1875
+ * @param {Array=} opt_data Optional initial data array, typically from a
1876
+ * server response, or constructed directly in Javascript. The array is used
1877
+ * in place and becomes part of the constructed object. It is not cloned.
1878
+ * If no data is provided, the constructed object will be empty, but still
1879
+ * valid.
1880
+ * @extends {jspb.Message}
1881
+ * @constructor
1882
+ */
1883
+ proto.sniippaymentmethodsserviceapi.WexCardDetail = function(opt_data) {
1884
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1885
+ };
1886
+ goog.inherits(proto.sniippaymentmethodsserviceapi.WexCardDetail, jspb.Message);
1887
+ if (goog.DEBUG && !COMPILED) {
1888
+ /**
1889
+ * @public
1890
+ * @override
1891
+ */
1892
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.displayName = 'proto.sniippaymentmethodsserviceapi.WexCardDetail';
1893
+ }
1850
1894
  /**
1851
1895
  * Generated by JsPbCodeGenerator.
1852
1896
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -14033,7 +14077,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.toObject = function(includeIns
14033
14077
  activationsList: jspb.Message.toObjectList(msg.getActivationsList(),
14034
14078
  proto.sniippaymentmethodsserviceapi.Activation.toObject, includeInstance),
14035
14079
  applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f),
14036
- googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f)
14080
+ googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f),
14081
+ wexcarddetail: (f = msg.getWexcarddetail()) && proto.sniippaymentmethodsserviceapi.WexCardDetail.toObject(includeInstance, f)
14037
14082
  };
14038
14083
 
14039
14084
  if (includeInstance) {
@@ -14103,6 +14148,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.deserializeBinaryFromReader =
14103
14148
  reader.readMessage(value,proto.sniippaymentmethodsserviceapi.GooglePayDetail.deserializeBinaryFromReader);
14104
14149
  msg.setGooglepaydetail(value);
14105
14150
  break;
14151
+ case 10:
14152
+ var value = new proto.sniippaymentmethodsserviceapi.WexCardDetail;
14153
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.WexCardDetail.deserializeBinaryFromReader);
14154
+ msg.setWexcarddetail(value);
14155
+ break;
14106
14156
  default:
14107
14157
  reader.skipField();
14108
14158
  break;
@@ -14186,6 +14236,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.serializeBinaryToWriter = func
14186
14236
  proto.sniippaymentmethodsserviceapi.GooglePayDetail.serializeBinaryToWriter
14187
14237
  );
14188
14238
  }
14239
+ f = message.getWexcarddetail();
14240
+ if (f != null) {
14241
+ writer.writeMessage(
14242
+ 10,
14243
+ f,
14244
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.serializeBinaryToWriter
14245
+ );
14246
+ }
14189
14247
  };
14190
14248
 
14191
14249
 
@@ -14411,6 +14469,43 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.hasGooglepaydetail =
14411
14469
  };
14412
14470
 
14413
14471
 
14472
+ /**
14473
+ * optional WexCardDetail wexCardDetail = 10;
14474
+ * @return {?proto.sniippaymentmethodsserviceapi.WexCardDetail}
14475
+ */
14476
+ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.getWexcarddetail = function() {
14477
+ return /** @type{?proto.sniippaymentmethodsserviceapi.WexCardDetail} */ (
14478
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.WexCardDetail, 10));
14479
+ };
14480
+
14481
+
14482
+ /**
14483
+ * @param {?proto.sniippaymentmethodsserviceapi.WexCardDetail|undefined} value
14484
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethod} returns this
14485
+ */
14486
+ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.setWexcarddetail = function(value) {
14487
+ return jspb.Message.setWrapperField(this, 10, value);
14488
+ };
14489
+
14490
+
14491
+ /**
14492
+ * Clears the message field making it undefined.
14493
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethod} returns this
14494
+ */
14495
+ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.clearWexcarddetail = function() {
14496
+ return this.setWexcarddetail(undefined);
14497
+ };
14498
+
14499
+
14500
+ /**
14501
+ * Returns whether this field is set.
14502
+ * @return {boolean}
14503
+ */
14504
+ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.hasWexcarddetail = function() {
14505
+ return jspb.Message.getField(this, 10) != null;
14506
+ };
14507
+
14508
+
14414
14509
 
14415
14510
 
14416
14511
 
@@ -15045,7 +15140,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.toObject = f
15045
15140
  creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.CreditCard.toObject(includeInstance, f),
15046
15141
  bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
15047
15142
  applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f),
15048
- googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f)
15143
+ googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f),
15144
+ wexcarddetail: (f = msg.getWexcarddetail()) && proto.sniippaymentmethodsserviceapi.WexCardDetail.toObject(includeInstance, f)
15049
15145
  };
15050
15146
 
15051
15147
  if (includeInstance) {
@@ -15115,6 +15211,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.deserializeB
15115
15211
  reader.readMessage(value,proto.sniippaymentmethodsserviceapi.GooglePayDetail.deserializeBinaryFromReader);
15116
15212
  msg.setGooglepaydetail(value);
15117
15213
  break;
15214
+ case 8:
15215
+ var value = new proto.sniippaymentmethodsserviceapi.WexCardDetail;
15216
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.WexCardDetail.deserializeBinaryFromReader);
15217
+ msg.setWexcarddetail(value);
15218
+ break;
15118
15219
  default:
15119
15220
  reader.skipField();
15120
15221
  break;
@@ -15198,6 +15299,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.serializeBin
15198
15299
  proto.sniippaymentmethodsserviceapi.GooglePayDetail.serializeBinaryToWriter
15199
15300
  );
15200
15301
  }
15302
+ f = message.getWexcarddetail();
15303
+ if (f != null) {
15304
+ writer.writeMessage(
15305
+ 8,
15306
+ f,
15307
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.serializeBinaryToWriter
15308
+ );
15309
+ }
15201
15310
  };
15202
15311
 
15203
15312
 
@@ -15422,6 +15531,43 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.ha
15422
15531
  };
15423
15532
 
15424
15533
 
15534
+ /**
15535
+ * optional WexCardDetail wexCardDetail = 8;
15536
+ * @return {?proto.sniippaymentmethodsserviceapi.WexCardDetail}
15537
+ */
15538
+ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.getWexcarddetail = function() {
15539
+ return /** @type{?proto.sniippaymentmethodsserviceapi.WexCardDetail} */ (
15540
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.WexCardDetail, 8));
15541
+ };
15542
+
15543
+
15544
+ /**
15545
+ * @param {?proto.sniippaymentmethodsserviceapi.WexCardDetail|undefined} value
15546
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse} returns this
15547
+ */
15548
+ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.setWexcarddetail = function(value) {
15549
+ return jspb.Message.setWrapperField(this, 8, value);
15550
+ };
15551
+
15552
+
15553
+ /**
15554
+ * Clears the message field making it undefined.
15555
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse} returns this
15556
+ */
15557
+ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.clearWexcarddetail = function() {
15558
+ return this.setWexcarddetail(undefined);
15559
+ };
15560
+
15561
+
15562
+ /**
15563
+ * Returns whether this field is set.
15564
+ * @return {boolean}
15565
+ */
15566
+ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.hasWexcarddetail = function() {
15567
+ return jspb.Message.getField(this, 8) != null;
15568
+ };
15569
+
15570
+
15425
15571
 
15426
15572
  /**
15427
15573
  * List of repeated fields within this message type.
@@ -19940,6 +20086,226 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.hasData
19940
20086
 
19941
20087
 
19942
20088
 
20089
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20090
+ /**
20091
+ * Creates an object representation of this proto.
20092
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20093
+ * Optional fields that are not set will be set to undefined.
20094
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20095
+ * For the list of reserved names please see:
20096
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20097
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20098
+ * JSPB instance for transitional soy proto support:
20099
+ * http://goto/soy-param-migration
20100
+ * @return {!Object}
20101
+ */
20102
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.prototype.toObject = function(opt_includeInstance) {
20103
+ return proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.toObject(opt_includeInstance, this);
20104
+ };
20105
+
20106
+
20107
+ /**
20108
+ * Static version of the {@see toObject} method.
20109
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20110
+ * the JSPB instance for transitional soy proto support:
20111
+ * http://goto/soy-param-migration
20112
+ * @param {!proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest} msg The msg instance to transform.
20113
+ * @return {!Object}
20114
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20115
+ */
20116
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.toObject = function(includeInstance, msg) {
20117
+ var f, obj = {
20118
+ paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
20119
+ maskedcardnumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
20120
+ expirydate: jspb.Message.getFieldWithDefault(msg, 3, ""),
20121
+ cardstatus: jspb.Message.getFieldWithDefault(msg, 4, "")
20122
+ };
20123
+
20124
+ if (includeInstance) {
20125
+ obj.$jspbMessageInstance = msg;
20126
+ }
20127
+ return obj;
20128
+ };
20129
+ }
20130
+
20131
+
20132
+ /**
20133
+ * Deserializes binary data (in protobuf wire format).
20134
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20135
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest}
20136
+ */
20137
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.deserializeBinary = function(bytes) {
20138
+ var reader = new jspb.BinaryReader(bytes);
20139
+ var msg = new proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest;
20140
+ return proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.deserializeBinaryFromReader(msg, reader);
20141
+ };
20142
+
20143
+
20144
+ /**
20145
+ * Deserializes binary data (in protobuf wire format) from the
20146
+ * given reader into the given message object.
20147
+ * @param {!proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest} msg The message object to deserialize into.
20148
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20149
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest}
20150
+ */
20151
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.deserializeBinaryFromReader = function(msg, reader) {
20152
+ while (reader.nextField()) {
20153
+ if (reader.isEndGroup()) {
20154
+ break;
20155
+ }
20156
+ var field = reader.getFieldNumber();
20157
+ switch (field) {
20158
+ case 1:
20159
+ var value = /** @type {number} */ (reader.readInt64());
20160
+ msg.setPaymentmethodid(value);
20161
+ break;
20162
+ case 2:
20163
+ var value = /** @type {string} */ (reader.readString());
20164
+ msg.setMaskedcardnumber(value);
20165
+ break;
20166
+ case 3:
20167
+ var value = /** @type {string} */ (reader.readString());
20168
+ msg.setExpirydate(value);
20169
+ break;
20170
+ case 4:
20171
+ var value = /** @type {string} */ (reader.readString());
20172
+ msg.setCardstatus(value);
20173
+ break;
20174
+ default:
20175
+ reader.skipField();
20176
+ break;
20177
+ }
20178
+ }
20179
+ return msg;
20180
+ };
20181
+
20182
+
20183
+ /**
20184
+ * Serializes the message to binary data (in protobuf wire format).
20185
+ * @return {!Uint8Array}
20186
+ */
20187
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.prototype.serializeBinary = function() {
20188
+ var writer = new jspb.BinaryWriter();
20189
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.serializeBinaryToWriter(this, writer);
20190
+ return writer.getResultBuffer();
20191
+ };
20192
+
20193
+
20194
+ /**
20195
+ * Serializes the given message to binary data (in protobuf wire
20196
+ * format), writing to the given BinaryWriter.
20197
+ * @param {!proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest} message
20198
+ * @param {!jspb.BinaryWriter} writer
20199
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20200
+ */
20201
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.serializeBinaryToWriter = function(message, writer) {
20202
+ var f = undefined;
20203
+ f = message.getPaymentmethodid();
20204
+ if (f !== 0) {
20205
+ writer.writeInt64(
20206
+ 1,
20207
+ f
20208
+ );
20209
+ }
20210
+ f = message.getMaskedcardnumber();
20211
+ if (f.length > 0) {
20212
+ writer.writeString(
20213
+ 2,
20214
+ f
20215
+ );
20216
+ }
20217
+ f = message.getExpirydate();
20218
+ if (f.length > 0) {
20219
+ writer.writeString(
20220
+ 3,
20221
+ f
20222
+ );
20223
+ }
20224
+ f = message.getCardstatus();
20225
+ if (f.length > 0) {
20226
+ writer.writeString(
20227
+ 4,
20228
+ f
20229
+ );
20230
+ }
20231
+ };
20232
+
20233
+
20234
+ /**
20235
+ * optional int64 paymentMethodId = 1;
20236
+ * @return {number}
20237
+ */
20238
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.prototype.getPaymentmethodid = function() {
20239
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
20240
+ };
20241
+
20242
+
20243
+ /**
20244
+ * @param {number} value
20245
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest} returns this
20246
+ */
20247
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.prototype.setPaymentmethodid = function(value) {
20248
+ return jspb.Message.setProto3IntField(this, 1, value);
20249
+ };
20250
+
20251
+
20252
+ /**
20253
+ * optional string maskedCardNumber = 2;
20254
+ * @return {string}
20255
+ */
20256
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.prototype.getMaskedcardnumber = function() {
20257
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
20258
+ };
20259
+
20260
+
20261
+ /**
20262
+ * @param {string} value
20263
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest} returns this
20264
+ */
20265
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.prototype.setMaskedcardnumber = function(value) {
20266
+ return jspb.Message.setProto3StringField(this, 2, value);
20267
+ };
20268
+
20269
+
20270
+ /**
20271
+ * optional string expiryDate = 3;
20272
+ * @return {string}
20273
+ */
20274
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.prototype.getExpirydate = function() {
20275
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
20276
+ };
20277
+
20278
+
20279
+ /**
20280
+ * @param {string} value
20281
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest} returns this
20282
+ */
20283
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.prototype.setExpirydate = function(value) {
20284
+ return jspb.Message.setProto3StringField(this, 3, value);
20285
+ };
20286
+
20287
+
20288
+ /**
20289
+ * optional string cardStatus = 4;
20290
+ * @return {string}
20291
+ */
20292
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.prototype.getCardstatus = function() {
20293
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
20294
+ };
20295
+
20296
+
20297
+ /**
20298
+ * @param {string} value
20299
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest} returns this
20300
+ */
20301
+ proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest.prototype.setCardstatus = function(value) {
20302
+ return jspb.Message.setProto3StringField(this, 4, value);
20303
+ };
20304
+
20305
+
20306
+
20307
+
20308
+
19943
20309
  if (jspb.Message.GENERATE_TO_OBJECT) {
19944
20310
  /**
19945
20311
  * Creates an object representation of this proto.
@@ -21270,6 +21636,256 @@ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.prototype.hasData =
21270
21636
 
21271
21637
 
21272
21638
 
21639
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21640
+ /**
21641
+ * Creates an object representation of this proto.
21642
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21643
+ * Optional fields that are not set will be set to undefined.
21644
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21645
+ * For the list of reserved names please see:
21646
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21647
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21648
+ * JSPB instance for transitional soy proto support:
21649
+ * http://goto/soy-param-migration
21650
+ * @return {!Object}
21651
+ */
21652
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.toObject = function(opt_includeInstance) {
21653
+ return proto.sniippaymentmethodsserviceapi.WexCardDetail.toObject(opt_includeInstance, this);
21654
+ };
21655
+
21656
+
21657
+ /**
21658
+ * Static version of the {@see toObject} method.
21659
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21660
+ * the JSPB instance for transitional soy proto support:
21661
+ * http://goto/soy-param-migration
21662
+ * @param {!proto.sniippaymentmethodsserviceapi.WexCardDetail} msg The msg instance to transform.
21663
+ * @return {!Object}
21664
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21665
+ */
21666
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.toObject = function(includeInstance, msg) {
21667
+ var f, obj = {
21668
+ maskedcardnumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
21669
+ expirydate: jspb.Message.getFieldWithDefault(msg, 2, ""),
21670
+ cardstatus: jspb.Message.getFieldWithDefault(msg, 3, ""),
21671
+ redirecturl: jspb.Message.getFieldWithDefault(msg, 4, ""),
21672
+ cardvariant: jspb.Message.getFieldWithDefault(msg, 5, "")
21673
+ };
21674
+
21675
+ if (includeInstance) {
21676
+ obj.$jspbMessageInstance = msg;
21677
+ }
21678
+ return obj;
21679
+ };
21680
+ }
21681
+
21682
+
21683
+ /**
21684
+ * Deserializes binary data (in protobuf wire format).
21685
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
21686
+ * @return {!proto.sniippaymentmethodsserviceapi.WexCardDetail}
21687
+ */
21688
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.deserializeBinary = function(bytes) {
21689
+ var reader = new jspb.BinaryReader(bytes);
21690
+ var msg = new proto.sniippaymentmethodsserviceapi.WexCardDetail;
21691
+ return proto.sniippaymentmethodsserviceapi.WexCardDetail.deserializeBinaryFromReader(msg, reader);
21692
+ };
21693
+
21694
+
21695
+ /**
21696
+ * Deserializes binary data (in protobuf wire format) from the
21697
+ * given reader into the given message object.
21698
+ * @param {!proto.sniippaymentmethodsserviceapi.WexCardDetail} msg The message object to deserialize into.
21699
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
21700
+ * @return {!proto.sniippaymentmethodsserviceapi.WexCardDetail}
21701
+ */
21702
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.deserializeBinaryFromReader = function(msg, reader) {
21703
+ while (reader.nextField()) {
21704
+ if (reader.isEndGroup()) {
21705
+ break;
21706
+ }
21707
+ var field = reader.getFieldNumber();
21708
+ switch (field) {
21709
+ case 1:
21710
+ var value = /** @type {string} */ (reader.readString());
21711
+ msg.setMaskedcardnumber(value);
21712
+ break;
21713
+ case 2:
21714
+ var value = /** @type {string} */ (reader.readString());
21715
+ msg.setExpirydate(value);
21716
+ break;
21717
+ case 3:
21718
+ var value = /** @type {string} */ (reader.readString());
21719
+ msg.setCardstatus(value);
21720
+ break;
21721
+ case 4:
21722
+ var value = /** @type {string} */ (reader.readString());
21723
+ msg.setRedirecturl(value);
21724
+ break;
21725
+ case 5:
21726
+ var value = /** @type {string} */ (reader.readString());
21727
+ msg.setCardvariant(value);
21728
+ break;
21729
+ default:
21730
+ reader.skipField();
21731
+ break;
21732
+ }
21733
+ }
21734
+ return msg;
21735
+ };
21736
+
21737
+
21738
+ /**
21739
+ * Serializes the message to binary data (in protobuf wire format).
21740
+ * @return {!Uint8Array}
21741
+ */
21742
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.serializeBinary = function() {
21743
+ var writer = new jspb.BinaryWriter();
21744
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.serializeBinaryToWriter(this, writer);
21745
+ return writer.getResultBuffer();
21746
+ };
21747
+
21748
+
21749
+ /**
21750
+ * Serializes the given message to binary data (in protobuf wire
21751
+ * format), writing to the given BinaryWriter.
21752
+ * @param {!proto.sniippaymentmethodsserviceapi.WexCardDetail} message
21753
+ * @param {!jspb.BinaryWriter} writer
21754
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21755
+ */
21756
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.serializeBinaryToWriter = function(message, writer) {
21757
+ var f = undefined;
21758
+ f = message.getMaskedcardnumber();
21759
+ if (f.length > 0) {
21760
+ writer.writeString(
21761
+ 1,
21762
+ f
21763
+ );
21764
+ }
21765
+ f = message.getExpirydate();
21766
+ if (f.length > 0) {
21767
+ writer.writeString(
21768
+ 2,
21769
+ f
21770
+ );
21771
+ }
21772
+ f = message.getCardstatus();
21773
+ if (f.length > 0) {
21774
+ writer.writeString(
21775
+ 3,
21776
+ f
21777
+ );
21778
+ }
21779
+ f = message.getRedirecturl();
21780
+ if (f.length > 0) {
21781
+ writer.writeString(
21782
+ 4,
21783
+ f
21784
+ );
21785
+ }
21786
+ f = message.getCardvariant();
21787
+ if (f.length > 0) {
21788
+ writer.writeString(
21789
+ 5,
21790
+ f
21791
+ );
21792
+ }
21793
+ };
21794
+
21795
+
21796
+ /**
21797
+ * optional string maskedCardNumber = 1;
21798
+ * @return {string}
21799
+ */
21800
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.getMaskedcardnumber = function() {
21801
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
21802
+ };
21803
+
21804
+
21805
+ /**
21806
+ * @param {string} value
21807
+ * @return {!proto.sniippaymentmethodsserviceapi.WexCardDetail} returns this
21808
+ */
21809
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.setMaskedcardnumber = function(value) {
21810
+ return jspb.Message.setProto3StringField(this, 1, value);
21811
+ };
21812
+
21813
+
21814
+ /**
21815
+ * optional string expiryDate = 2;
21816
+ * @return {string}
21817
+ */
21818
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.getExpirydate = function() {
21819
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
21820
+ };
21821
+
21822
+
21823
+ /**
21824
+ * @param {string} value
21825
+ * @return {!proto.sniippaymentmethodsserviceapi.WexCardDetail} returns this
21826
+ */
21827
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.setExpirydate = function(value) {
21828
+ return jspb.Message.setProto3StringField(this, 2, value);
21829
+ };
21830
+
21831
+
21832
+ /**
21833
+ * optional string cardStatus = 3;
21834
+ * @return {string}
21835
+ */
21836
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.getCardstatus = function() {
21837
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
21838
+ };
21839
+
21840
+
21841
+ /**
21842
+ * @param {string} value
21843
+ * @return {!proto.sniippaymentmethodsserviceapi.WexCardDetail} returns this
21844
+ */
21845
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.setCardstatus = function(value) {
21846
+ return jspb.Message.setProto3StringField(this, 3, value);
21847
+ };
21848
+
21849
+
21850
+ /**
21851
+ * optional string redirectUrl = 4;
21852
+ * @return {string}
21853
+ */
21854
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.getRedirecturl = function() {
21855
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
21856
+ };
21857
+
21858
+
21859
+ /**
21860
+ * @param {string} value
21861
+ * @return {!proto.sniippaymentmethodsserviceapi.WexCardDetail} returns this
21862
+ */
21863
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.setRedirecturl = function(value) {
21864
+ return jspb.Message.setProto3StringField(this, 4, value);
21865
+ };
21866
+
21867
+
21868
+ /**
21869
+ * optional string cardVariant = 5;
21870
+ * @return {string}
21871
+ */
21872
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.getCardvariant = function() {
21873
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
21874
+ };
21875
+
21876
+
21877
+ /**
21878
+ * @param {string} value
21879
+ * @return {!proto.sniippaymentmethodsserviceapi.WexCardDetail} returns this
21880
+ */
21881
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.setCardvariant = function(value) {
21882
+ return jspb.Message.setProto3StringField(this, 5, value);
21883
+ };
21884
+
21885
+
21886
+
21887
+
21888
+
21273
21889
  if (jspb.Message.GENERATE_TO_OBJECT) {
21274
21890
  /**
21275
21891
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb-ts",
3
- "version": "23.16.5343",
3
+ "version": "24.5.5518",
4
4
  "description": "payment-methods-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",