@sniipwebmaster/payment-methods-client-grpcweb-ts 26.2.7704 → 26.2.7722

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.
@@ -1975,5 +1975,48 @@ export class SniipPaymentMethodsServiceAPIServiceClient {
1975
1975
  this.methodDescriptorRetryPayToAgreement);
1976
1976
  }
1977
1977
 
1978
+ methodDescriptorCancelPayToAmendment = new grpcWeb.MethodDescriptor(
1979
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/CancelPayToAmendment',
1980
+ grpcWeb.MethodType.UNARY,
1981
+ service_pb.CancelPayToAmendmentRequest,
1982
+ service_pb.CancelPayToAmendmentResponse,
1983
+ (request: service_pb.CancelPayToAmendmentRequest) => {
1984
+ return request.serializeBinary();
1985
+ },
1986
+ service_pb.CancelPayToAmendmentResponse.deserializeBinary
1987
+ );
1988
+
1989
+ cancelPayToAmendment(
1990
+ request: service_pb.CancelPayToAmendmentRequest,
1991
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.CancelPayToAmendmentResponse>;
1992
+
1993
+ cancelPayToAmendment(
1994
+ request: service_pb.CancelPayToAmendmentRequest,
1995
+ metadata: grpcWeb.Metadata | null,
1996
+ callback: (err: grpcWeb.RpcError,
1997
+ response: service_pb.CancelPayToAmendmentResponse) => void): grpcWeb.ClientReadableStream<service_pb.CancelPayToAmendmentResponse>;
1998
+
1999
+ cancelPayToAmendment(
2000
+ request: service_pb.CancelPayToAmendmentRequest,
2001
+ metadata?: grpcWeb.Metadata | null,
2002
+ callback?: (err: grpcWeb.RpcError,
2003
+ response: service_pb.CancelPayToAmendmentResponse) => void) {
2004
+ if (callback !== undefined) {
2005
+ return this.client_.rpcCall(
2006
+ this.hostname_ +
2007
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/CancelPayToAmendment',
2008
+ request,
2009
+ metadata || {},
2010
+ this.methodDescriptorCancelPayToAmendment,
2011
+ callback);
2012
+ }
2013
+ return this.client_.unaryCall(
2014
+ this.hostname_ +
2015
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/CancelPayToAmendment',
2016
+ request,
2017
+ metadata || {},
2018
+ this.methodDescriptorCancelPayToAmendment);
2019
+ }
2020
+
1978
2021
  }
1979
2022
 
@@ -3464,6 +3464,50 @@ export namespace RetryPayToAgreementResponse {
3464
3464
  }
3465
3465
  }
3466
3466
 
3467
+ export class CancelPayToAmendmentRequest extends jspb.Message {
3468
+ getPaymentmethodid(): number;
3469
+ setPaymentmethodid(value: number): CancelPayToAmendmentRequest;
3470
+
3471
+ serializeBinary(): Uint8Array;
3472
+ toObject(includeInstance?: boolean): CancelPayToAmendmentRequest.AsObject;
3473
+ static toObject(includeInstance: boolean, msg: CancelPayToAmendmentRequest): CancelPayToAmendmentRequest.AsObject;
3474
+ static serializeBinaryToWriter(message: CancelPayToAmendmentRequest, writer: jspb.BinaryWriter): void;
3475
+ static deserializeBinary(bytes: Uint8Array): CancelPayToAmendmentRequest;
3476
+ static deserializeBinaryFromReader(message: CancelPayToAmendmentRequest, reader: jspb.BinaryReader): CancelPayToAmendmentRequest;
3477
+ }
3478
+
3479
+ export namespace CancelPayToAmendmentRequest {
3480
+ export type AsObject = {
3481
+ paymentmethodid: number,
3482
+ }
3483
+ }
3484
+
3485
+ export class CancelPayToAmendmentResponse extends jspb.Message {
3486
+ getResponsecode(): ResponseCode | undefined;
3487
+ setResponsecode(value?: ResponseCode): CancelPayToAmendmentResponse;
3488
+ hasResponsecode(): boolean;
3489
+ clearResponsecode(): CancelPayToAmendmentResponse;
3490
+
3491
+ getPaytobankaccount(): PaytoBankAccount | undefined;
3492
+ setPaytobankaccount(value?: PaytoBankAccount): CancelPayToAmendmentResponse;
3493
+ hasPaytobankaccount(): boolean;
3494
+ clearPaytobankaccount(): CancelPayToAmendmentResponse;
3495
+
3496
+ serializeBinary(): Uint8Array;
3497
+ toObject(includeInstance?: boolean): CancelPayToAmendmentResponse.AsObject;
3498
+ static toObject(includeInstance: boolean, msg: CancelPayToAmendmentResponse): CancelPayToAmendmentResponse.AsObject;
3499
+ static serializeBinaryToWriter(message: CancelPayToAmendmentResponse, writer: jspb.BinaryWriter): void;
3500
+ static deserializeBinary(bytes: Uint8Array): CancelPayToAmendmentResponse;
3501
+ static deserializeBinaryFromReader(message: CancelPayToAmendmentResponse, reader: jspb.BinaryReader): CancelPayToAmendmentResponse;
3502
+ }
3503
+
3504
+ export namespace CancelPayToAmendmentResponse {
3505
+ export type AsObject = {
3506
+ responsecode?: ResponseCode.AsObject,
3507
+ paytobankaccount?: PaytoBankAccount.AsObject,
3508
+ }
3509
+ }
3510
+
3467
3511
  export class PayerAuthenticationResponse extends jspb.Message {
3468
3512
  getIs3dsenrolled(): boolean;
3469
3513
  setIs3dsenrolled(value: boolean): PayerAuthenticationResponse;
@@ -3525,6 +3569,7 @@ export enum PayToAgreementStatus {
3525
3569
  PAYTO_AGREEMENT_STATUS_EXPIRED = 3,
3526
3570
  PAYTO_AGREEMENT_STATUS_SUSPENDED = 4,
3527
3571
  PAYTO_AGREEMENT_STATUS_PENDING = 5,
3572
+ PAYTO_AGREEMENT_STATUS_PENDING_AMENDMENT = 6,
3528
3573
  }
3529
3574
  export enum PaymentProcessor {
3530
3575
  BPAY = 0,
@@ -41,6 +41,8 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse',
41
41
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BillConfigForPayment', null, global);
42
42
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest', null, global);
43
43
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentResponse', null, global);
44
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest', null, global);
45
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse', null, global);
44
46
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashRequest', null, global);
45
47
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashResponse', null, global);
46
48
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashesForUserRequest', null, global);
@@ -2380,6 +2382,48 @@ if (goog.DEBUG && !COMPILED) {
2380
2382
  */
2381
2383
  proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.displayName = 'proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse';
2382
2384
  }
2385
+ /**
2386
+ * Generated by JsPbCodeGenerator.
2387
+ * @param {Array=} opt_data Optional initial data array, typically from a
2388
+ * server response, or constructed directly in Javascript. The array is used
2389
+ * in place and becomes part of the constructed object. It is not cloned.
2390
+ * If no data is provided, the constructed object will be empty, but still
2391
+ * valid.
2392
+ * @extends {jspb.Message}
2393
+ * @constructor
2394
+ */
2395
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest = function(opt_data) {
2396
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2397
+ };
2398
+ goog.inherits(proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest, jspb.Message);
2399
+ if (goog.DEBUG && !COMPILED) {
2400
+ /**
2401
+ * @public
2402
+ * @override
2403
+ */
2404
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.displayName = 'proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest';
2405
+ }
2406
+ /**
2407
+ * Generated by JsPbCodeGenerator.
2408
+ * @param {Array=} opt_data Optional initial data array, typically from a
2409
+ * server response, or constructed directly in Javascript. The array is used
2410
+ * in place and becomes part of the constructed object. It is not cloned.
2411
+ * If no data is provided, the constructed object will be empty, but still
2412
+ * valid.
2413
+ * @extends {jspb.Message}
2414
+ * @constructor
2415
+ */
2416
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse = function(opt_data) {
2417
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2418
+ };
2419
+ goog.inherits(proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse, jspb.Message);
2420
+ if (goog.DEBUG && !COMPILED) {
2421
+ /**
2422
+ * @public
2423
+ * @override
2424
+ */
2425
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.displayName = 'proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse';
2426
+ }
2383
2427
  /**
2384
2428
  * Generated by JsPbCodeGenerator.
2385
2429
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -28447,6 +28491,338 @@ proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse.prototype.hasPay
28447
28491
 
28448
28492
 
28449
28493
 
28494
+ if (jspb.Message.GENERATE_TO_OBJECT) {
28495
+ /**
28496
+ * Creates an object representation of this proto.
28497
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
28498
+ * Optional fields that are not set will be set to undefined.
28499
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
28500
+ * For the list of reserved names please see:
28501
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
28502
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
28503
+ * JSPB instance for transitional soy proto support:
28504
+ * http://goto/soy-param-migration
28505
+ * @return {!Object}
28506
+ */
28507
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.prototype.toObject = function(opt_includeInstance) {
28508
+ return proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.toObject(opt_includeInstance, this);
28509
+ };
28510
+
28511
+
28512
+ /**
28513
+ * Static version of the {@see toObject} method.
28514
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
28515
+ * the JSPB instance for transitional soy proto support:
28516
+ * http://goto/soy-param-migration
28517
+ * @param {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest} msg The msg instance to transform.
28518
+ * @return {!Object}
28519
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28520
+ */
28521
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.toObject = function(includeInstance, msg) {
28522
+ var f, obj = {
28523
+ paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0)
28524
+ };
28525
+
28526
+ if (includeInstance) {
28527
+ obj.$jspbMessageInstance = msg;
28528
+ }
28529
+ return obj;
28530
+ };
28531
+ }
28532
+
28533
+
28534
+ /**
28535
+ * Deserializes binary data (in protobuf wire format).
28536
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
28537
+ * @return {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest}
28538
+ */
28539
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.deserializeBinary = function(bytes) {
28540
+ var reader = new jspb.BinaryReader(bytes);
28541
+ var msg = new proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest;
28542
+ return proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.deserializeBinaryFromReader(msg, reader);
28543
+ };
28544
+
28545
+
28546
+ /**
28547
+ * Deserializes binary data (in protobuf wire format) from the
28548
+ * given reader into the given message object.
28549
+ * @param {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest} msg The message object to deserialize into.
28550
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
28551
+ * @return {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest}
28552
+ */
28553
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.deserializeBinaryFromReader = function(msg, reader) {
28554
+ while (reader.nextField()) {
28555
+ if (reader.isEndGroup()) {
28556
+ break;
28557
+ }
28558
+ var field = reader.getFieldNumber();
28559
+ switch (field) {
28560
+ case 1:
28561
+ var value = /** @type {number} */ (reader.readInt64());
28562
+ msg.setPaymentmethodid(value);
28563
+ break;
28564
+ default:
28565
+ reader.skipField();
28566
+ break;
28567
+ }
28568
+ }
28569
+ return msg;
28570
+ };
28571
+
28572
+
28573
+ /**
28574
+ * Serializes the message to binary data (in protobuf wire format).
28575
+ * @return {!Uint8Array}
28576
+ */
28577
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.prototype.serializeBinary = function() {
28578
+ var writer = new jspb.BinaryWriter();
28579
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.serializeBinaryToWriter(this, writer);
28580
+ return writer.getResultBuffer();
28581
+ };
28582
+
28583
+
28584
+ /**
28585
+ * Serializes the given message to binary data (in protobuf wire
28586
+ * format), writing to the given BinaryWriter.
28587
+ * @param {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest} message
28588
+ * @param {!jspb.BinaryWriter} writer
28589
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28590
+ */
28591
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.serializeBinaryToWriter = function(message, writer) {
28592
+ var f = undefined;
28593
+ f = message.getPaymentmethodid();
28594
+ if (f !== 0) {
28595
+ writer.writeInt64(
28596
+ 1,
28597
+ f
28598
+ );
28599
+ }
28600
+ };
28601
+
28602
+
28603
+ /**
28604
+ * optional int64 paymentMethodId = 1;
28605
+ * @return {number}
28606
+ */
28607
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.prototype.getPaymentmethodid = function() {
28608
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
28609
+ };
28610
+
28611
+
28612
+ /**
28613
+ * @param {number} value
28614
+ * @return {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest} returns this
28615
+ */
28616
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.prototype.setPaymentmethodid = function(value) {
28617
+ return jspb.Message.setProto3IntField(this, 1, value);
28618
+ };
28619
+
28620
+
28621
+
28622
+
28623
+
28624
+ if (jspb.Message.GENERATE_TO_OBJECT) {
28625
+ /**
28626
+ * Creates an object representation of this proto.
28627
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
28628
+ * Optional fields that are not set will be set to undefined.
28629
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
28630
+ * For the list of reserved names please see:
28631
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
28632
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
28633
+ * JSPB instance for transitional soy proto support:
28634
+ * http://goto/soy-param-migration
28635
+ * @return {!Object}
28636
+ */
28637
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.prototype.toObject = function(opt_includeInstance) {
28638
+ return proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.toObject(opt_includeInstance, this);
28639
+ };
28640
+
28641
+
28642
+ /**
28643
+ * Static version of the {@see toObject} method.
28644
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
28645
+ * the JSPB instance for transitional soy proto support:
28646
+ * http://goto/soy-param-migration
28647
+ * @param {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse} msg The msg instance to transform.
28648
+ * @return {!Object}
28649
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28650
+ */
28651
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.toObject = function(includeInstance, msg) {
28652
+ var f, obj = {
28653
+ responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
28654
+ paytobankaccount: (f = msg.getPaytobankaccount()) && proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject(includeInstance, f)
28655
+ };
28656
+
28657
+ if (includeInstance) {
28658
+ obj.$jspbMessageInstance = msg;
28659
+ }
28660
+ return obj;
28661
+ };
28662
+ }
28663
+
28664
+
28665
+ /**
28666
+ * Deserializes binary data (in protobuf wire format).
28667
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
28668
+ * @return {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse}
28669
+ */
28670
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.deserializeBinary = function(bytes) {
28671
+ var reader = new jspb.BinaryReader(bytes);
28672
+ var msg = new proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse;
28673
+ return proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.deserializeBinaryFromReader(msg, reader);
28674
+ };
28675
+
28676
+
28677
+ /**
28678
+ * Deserializes binary data (in protobuf wire format) from the
28679
+ * given reader into the given message object.
28680
+ * @param {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse} msg The message object to deserialize into.
28681
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
28682
+ * @return {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse}
28683
+ */
28684
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.deserializeBinaryFromReader = function(msg, reader) {
28685
+ while (reader.nextField()) {
28686
+ if (reader.isEndGroup()) {
28687
+ break;
28688
+ }
28689
+ var field = reader.getFieldNumber();
28690
+ switch (field) {
28691
+ case 1:
28692
+ var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
28693
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
28694
+ msg.setResponsecode(value);
28695
+ break;
28696
+ case 2:
28697
+ var value = new proto.sniippaymentmethodsserviceapi.PaytoBankAccount;
28698
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaytoBankAccount.deserializeBinaryFromReader);
28699
+ msg.setPaytobankaccount(value);
28700
+ break;
28701
+ default:
28702
+ reader.skipField();
28703
+ break;
28704
+ }
28705
+ }
28706
+ return msg;
28707
+ };
28708
+
28709
+
28710
+ /**
28711
+ * Serializes the message to binary data (in protobuf wire format).
28712
+ * @return {!Uint8Array}
28713
+ */
28714
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.prototype.serializeBinary = function() {
28715
+ var writer = new jspb.BinaryWriter();
28716
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.serializeBinaryToWriter(this, writer);
28717
+ return writer.getResultBuffer();
28718
+ };
28719
+
28720
+
28721
+ /**
28722
+ * Serializes the given message to binary data (in protobuf wire
28723
+ * format), writing to the given BinaryWriter.
28724
+ * @param {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse} message
28725
+ * @param {!jspb.BinaryWriter} writer
28726
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28727
+ */
28728
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.serializeBinaryToWriter = function(message, writer) {
28729
+ var f = undefined;
28730
+ f = message.getResponsecode();
28731
+ if (f != null) {
28732
+ writer.writeMessage(
28733
+ 1,
28734
+ f,
28735
+ proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
28736
+ );
28737
+ }
28738
+ f = message.getPaytobankaccount();
28739
+ if (f != null) {
28740
+ writer.writeMessage(
28741
+ 2,
28742
+ f,
28743
+ proto.sniippaymentmethodsserviceapi.PaytoBankAccount.serializeBinaryToWriter
28744
+ );
28745
+ }
28746
+ };
28747
+
28748
+
28749
+ /**
28750
+ * optional ResponseCode responseCode = 1;
28751
+ * @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
28752
+ */
28753
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.prototype.getResponsecode = function() {
28754
+ return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
28755
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
28756
+ };
28757
+
28758
+
28759
+ /**
28760
+ * @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value
28761
+ * @return {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse} returns this
28762
+ */
28763
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.prototype.setResponsecode = function(value) {
28764
+ return jspb.Message.setWrapperField(this, 1, value);
28765
+ };
28766
+
28767
+
28768
+ /**
28769
+ * Clears the message field making it undefined.
28770
+ * @return {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse} returns this
28771
+ */
28772
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.prototype.clearResponsecode = function() {
28773
+ return this.setResponsecode(undefined);
28774
+ };
28775
+
28776
+
28777
+ /**
28778
+ * Returns whether this field is set.
28779
+ * @return {boolean}
28780
+ */
28781
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.prototype.hasResponsecode = function() {
28782
+ return jspb.Message.getField(this, 1) != null;
28783
+ };
28784
+
28785
+
28786
+ /**
28787
+ * optional PaytoBankAccount paytoBankAccount = 2;
28788
+ * @return {?proto.sniippaymentmethodsserviceapi.PaytoBankAccount}
28789
+ */
28790
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.prototype.getPaytobankaccount = function() {
28791
+ return /** @type{?proto.sniippaymentmethodsserviceapi.PaytoBankAccount} */ (
28792
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaytoBankAccount, 2));
28793
+ };
28794
+
28795
+
28796
+ /**
28797
+ * @param {?proto.sniippaymentmethodsserviceapi.PaytoBankAccount|undefined} value
28798
+ * @return {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse} returns this
28799
+ */
28800
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.prototype.setPaytobankaccount = function(value) {
28801
+ return jspb.Message.setWrapperField(this, 2, value);
28802
+ };
28803
+
28804
+
28805
+ /**
28806
+ * Clears the message field making it undefined.
28807
+ * @return {!proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse} returns this
28808
+ */
28809
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.prototype.clearPaytobankaccount = function() {
28810
+ return this.setPaytobankaccount(undefined);
28811
+ };
28812
+
28813
+
28814
+ /**
28815
+ * Returns whether this field is set.
28816
+ * @return {boolean}
28817
+ */
28818
+ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse.prototype.hasPaytobankaccount = function() {
28819
+ return jspb.Message.getField(this, 2) != null;
28820
+ };
28821
+
28822
+
28823
+
28824
+
28825
+
28450
28826
  if (jspb.Message.GENERATE_TO_OBJECT) {
28451
28827
  /**
28452
28828
  * Creates an object representation of this proto.
@@ -28754,7 +29130,8 @@ proto.sniippaymentmethodsserviceapi.PayToAgreementStatus = {
28754
29130
  PAYTO_AGREEMENT_STATUS_DECLINED: 2,
28755
29131
  PAYTO_AGREEMENT_STATUS_EXPIRED: 3,
28756
29132
  PAYTO_AGREEMENT_STATUS_SUSPENDED: 4,
28757
- PAYTO_AGREEMENT_STATUS_PENDING: 5
29133
+ PAYTO_AGREEMENT_STATUS_PENDING: 5,
29134
+ PAYTO_AGREEMENT_STATUS_PENDING_AMENDMENT: 6
28758
29135
  };
28759
29136
 
28760
29137
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb-ts",
3
- "version": "26.2.7704",
3
+ "version": "26.2.7722",
4
4
  "description": "payment-methods-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",