@sniipwebmaster/payment-methods-client-grpcweb-ts 25.9.7078 → 25.9.7106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_pb.d.ts +121 -0
- package/dependancies/service_pb.js +946 -9
- package/package.json +1 -1
|
@@ -277,6 +277,11 @@ export class AddPaymentMethod extends jspb.Message {
|
|
|
277
277
|
hasAlternativepaymentmethod(): boolean;
|
|
278
278
|
clearAlternativepaymentmethod(): AddPaymentMethod;
|
|
279
279
|
|
|
280
|
+
getPaytobankaccount(): PaytoBankAccount | undefined;
|
|
281
|
+
setPaytobankaccount(value?: PaytoBankAccount): AddPaymentMethod;
|
|
282
|
+
hasPaytobankaccount(): boolean;
|
|
283
|
+
clearPaytobankaccount(): AddPaymentMethod;
|
|
284
|
+
|
|
280
285
|
serializeBinary(): Uint8Array;
|
|
281
286
|
toObject(includeInstance?: boolean): AddPaymentMethod.AsObject;
|
|
282
287
|
static toObject(includeInstance: boolean, msg: AddPaymentMethod): AddPaymentMethod.AsObject;
|
|
@@ -295,6 +300,7 @@ export namespace AddPaymentMethod {
|
|
|
295
300
|
googlepay?: GooglePay.AsObject,
|
|
296
301
|
wexcard?: WexCard.AsObject,
|
|
297
302
|
alternativepaymentmethod?: AlternativePaymentMethod.AsObject,
|
|
303
|
+
paytobankaccount?: PaytoBankAccount.AsObject,
|
|
298
304
|
}
|
|
299
305
|
}
|
|
300
306
|
|
|
@@ -576,6 +582,81 @@ export namespace BankAccount {
|
|
|
576
582
|
}
|
|
577
583
|
}
|
|
578
584
|
|
|
585
|
+
export class PaytoBankAccount extends jspb.Message {
|
|
586
|
+
getBsb(): string;
|
|
587
|
+
setBsb(value: string): PaytoBankAccount;
|
|
588
|
+
|
|
589
|
+
getAccountno(): string;
|
|
590
|
+
setAccountno(value: string): PaytoBankAccount;
|
|
591
|
+
|
|
592
|
+
getAccountname(): string;
|
|
593
|
+
setAccountname(value: string): PaytoBankAccount;
|
|
594
|
+
|
|
595
|
+
getPhone(): string;
|
|
596
|
+
setPhone(value: string): PaytoBankAccount;
|
|
597
|
+
|
|
598
|
+
getEmail(): string;
|
|
599
|
+
setEmail(value: string): PaytoBankAccount;
|
|
600
|
+
|
|
601
|
+
getAbn(): string;
|
|
602
|
+
setAbn(value: string): PaytoBankAccount;
|
|
603
|
+
|
|
604
|
+
getNickname(): string;
|
|
605
|
+
setNickname(value: string): PaytoBankAccount;
|
|
606
|
+
|
|
607
|
+
getCreateddatetime(): string;
|
|
608
|
+
setCreateddatetime(value: string): PaytoBankAccount;
|
|
609
|
+
|
|
610
|
+
getIsverified(): boolean;
|
|
611
|
+
setIsverified(value: boolean): PaytoBankAccount;
|
|
612
|
+
|
|
613
|
+
getIsverifyexpired(): boolean;
|
|
614
|
+
setIsverifyexpired(value: boolean): PaytoBankAccount;
|
|
615
|
+
|
|
616
|
+
getIsdeleted(): boolean;
|
|
617
|
+
setIsdeleted(value: boolean): PaytoBankAccount;
|
|
618
|
+
|
|
619
|
+
getBankaccountstatus(): BankAccountStatus;
|
|
620
|
+
setBankaccountstatus(value: BankAccountStatus): PaytoBankAccount;
|
|
621
|
+
hasBankaccountstatus(): boolean;
|
|
622
|
+
clearBankaccountstatus(): PaytoBankAccount;
|
|
623
|
+
|
|
624
|
+
getColourscheme(): ColourScheme | undefined;
|
|
625
|
+
setColourscheme(value?: ColourScheme): PaytoBankAccount;
|
|
626
|
+
hasColourscheme(): boolean;
|
|
627
|
+
clearColourscheme(): PaytoBankAccount;
|
|
628
|
+
|
|
629
|
+
serializeBinary(): Uint8Array;
|
|
630
|
+
toObject(includeInstance?: boolean): PaytoBankAccount.AsObject;
|
|
631
|
+
static toObject(includeInstance: boolean, msg: PaytoBankAccount): PaytoBankAccount.AsObject;
|
|
632
|
+
static serializeBinaryToWriter(message: PaytoBankAccount, writer: jspb.BinaryWriter): void;
|
|
633
|
+
static deserializeBinary(bytes: Uint8Array): PaytoBankAccount;
|
|
634
|
+
static deserializeBinaryFromReader(message: PaytoBankAccount, reader: jspb.BinaryReader): PaytoBankAccount;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
export namespace PaytoBankAccount {
|
|
638
|
+
export type AsObject = {
|
|
639
|
+
bsb: string,
|
|
640
|
+
accountno: string,
|
|
641
|
+
accountname: string,
|
|
642
|
+
phone: string,
|
|
643
|
+
email: string,
|
|
644
|
+
abn: string,
|
|
645
|
+
nickname: string,
|
|
646
|
+
createddatetime: string,
|
|
647
|
+
isverified: boolean,
|
|
648
|
+
isverifyexpired: boolean,
|
|
649
|
+
isdeleted: boolean,
|
|
650
|
+
bankaccountstatus?: BankAccountStatus,
|
|
651
|
+
colourscheme?: ColourScheme.AsObject,
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
export enum BankaccountstatusCase {
|
|
655
|
+
_BANKACCOUNTSTATUS_NOT_SET = 0,
|
|
656
|
+
BANKACCOUNTSTATUS = 13,
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
579
660
|
export class BankAccountVerifyRequest extends jspb.Message {
|
|
580
661
|
getPaymentmethodid(): number;
|
|
581
662
|
setPaymentmethodid(value: number): BankAccountVerifyRequest;
|
|
@@ -1850,6 +1931,11 @@ export class PaymentMethod extends jspb.Message {
|
|
|
1850
1931
|
hasAlternativepaymentmethoddetail(): boolean;
|
|
1851
1932
|
clearAlternativepaymentmethoddetail(): PaymentMethod;
|
|
1852
1933
|
|
|
1934
|
+
getPaytobankaccount(): PaytoBankAccount | undefined;
|
|
1935
|
+
setPaytobankaccount(value?: PaytoBankAccount): PaymentMethod;
|
|
1936
|
+
hasPaytobankaccount(): boolean;
|
|
1937
|
+
clearPaytobankaccount(): PaymentMethod;
|
|
1938
|
+
|
|
1853
1939
|
serializeBinary(): Uint8Array;
|
|
1854
1940
|
toObject(includeInstance?: boolean): PaymentMethod.AsObject;
|
|
1855
1941
|
static toObject(includeInstance: boolean, msg: PaymentMethod): PaymentMethod.AsObject;
|
|
@@ -1869,6 +1955,7 @@ export namespace PaymentMethod {
|
|
|
1869
1955
|
googlepaydetail?: GooglePayDetail.AsObject,
|
|
1870
1956
|
wexcarddetail?: WexCardDetail.AsObject,
|
|
1871
1957
|
alternativepaymentmethoddetail?: AlternativePaymentMethodDetail.AsObject,
|
|
1958
|
+
paytobankaccount?: PaytoBankAccount.AsObject,
|
|
1872
1959
|
}
|
|
1873
1960
|
}
|
|
1874
1961
|
|
|
@@ -2012,6 +2099,11 @@ export class PaymentMethodForPaymentResponse extends jspb.Message {
|
|
|
2012
2099
|
hasAlternativepaymentmethoddetail(): boolean;
|
|
2013
2100
|
clearAlternativepaymentmethoddetail(): PaymentMethodForPaymentResponse;
|
|
2014
2101
|
|
|
2102
|
+
getPaytobankaccount(): PaytoBankAccount | undefined;
|
|
2103
|
+
setPaytobankaccount(value?: PaytoBankAccount): PaymentMethodForPaymentResponse;
|
|
2104
|
+
hasPaytobankaccount(): boolean;
|
|
2105
|
+
clearPaytobankaccount(): PaymentMethodForPaymentResponse;
|
|
2106
|
+
|
|
2015
2107
|
serializeBinary(): Uint8Array;
|
|
2016
2108
|
toObject(includeInstance?: boolean): PaymentMethodForPaymentResponse.AsObject;
|
|
2017
2109
|
static toObject(includeInstance: boolean, msg: PaymentMethodForPaymentResponse): PaymentMethodForPaymentResponse.AsObject;
|
|
@@ -2031,6 +2123,7 @@ export namespace PaymentMethodForPaymentResponse {
|
|
|
2031
2123
|
googlepaydetail?: GooglePayDetail.AsObject,
|
|
2032
2124
|
wexcarddetail?: WexCardDetail.AsObject,
|
|
2033
2125
|
alternativepaymentmethoddetail?: AlternativePaymentMethodDetail.AsObject,
|
|
2126
|
+
paytobankaccount?: PaytoBankAccount.AsObject,
|
|
2034
2127
|
}
|
|
2035
2128
|
}
|
|
2036
2129
|
|
|
@@ -2289,6 +2382,11 @@ export class PaymentMethodUpdateRequest extends jspb.Message {
|
|
|
2289
2382
|
hasWexcard(): boolean;
|
|
2290
2383
|
clearWexcard(): PaymentMethodUpdateRequest;
|
|
2291
2384
|
|
|
2385
|
+
getPaytobankaccount(): UpdatePaytoBankAccount | undefined;
|
|
2386
|
+
setPaytobankaccount(value?: UpdatePaytoBankAccount): PaymentMethodUpdateRequest;
|
|
2387
|
+
hasPaytobankaccount(): boolean;
|
|
2388
|
+
clearPaytobankaccount(): PaymentMethodUpdateRequest;
|
|
2389
|
+
|
|
2292
2390
|
serializeBinary(): Uint8Array;
|
|
2293
2391
|
toObject(includeInstance?: boolean): PaymentMethodUpdateRequest.AsObject;
|
|
2294
2392
|
static toObject(includeInstance: boolean, msg: PaymentMethodUpdateRequest): PaymentMethodUpdateRequest.AsObject;
|
|
@@ -2305,6 +2403,7 @@ export namespace PaymentMethodUpdateRequest {
|
|
|
2305
2403
|
bankaccount?: UpdateBankAccount.AsObject,
|
|
2306
2404
|
accesstoken: string,
|
|
2307
2405
|
wexcard?: UpdateWexCard.AsObject,
|
|
2406
|
+
paytobankaccount?: UpdatePaytoBankAccount.AsObject,
|
|
2308
2407
|
}
|
|
2309
2408
|
}
|
|
2310
2409
|
|
|
@@ -2578,6 +2677,28 @@ export namespace UpdateBankAccount {
|
|
|
2578
2677
|
}
|
|
2579
2678
|
}
|
|
2580
2679
|
|
|
2680
|
+
export class UpdatePaytoBankAccount extends jspb.Message {
|
|
2681
|
+
getNickname(): string;
|
|
2682
|
+
setNickname(value: string): UpdatePaytoBankAccount;
|
|
2683
|
+
|
|
2684
|
+
getColourscheme(): number;
|
|
2685
|
+
setColourscheme(value: number): UpdatePaytoBankAccount;
|
|
2686
|
+
|
|
2687
|
+
serializeBinary(): Uint8Array;
|
|
2688
|
+
toObject(includeInstance?: boolean): UpdatePaytoBankAccount.AsObject;
|
|
2689
|
+
static toObject(includeInstance: boolean, msg: UpdatePaytoBankAccount): UpdatePaytoBankAccount.AsObject;
|
|
2690
|
+
static serializeBinaryToWriter(message: UpdatePaytoBankAccount, writer: jspb.BinaryWriter): void;
|
|
2691
|
+
static deserializeBinary(bytes: Uint8Array): UpdatePaytoBankAccount;
|
|
2692
|
+
static deserializeBinaryFromReader(message: UpdatePaytoBankAccount, reader: jspb.BinaryReader): UpdatePaytoBankAccount;
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
export namespace UpdatePaytoBankAccount {
|
|
2696
|
+
export type AsObject = {
|
|
2697
|
+
nickname: string,
|
|
2698
|
+
colourscheme: number,
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
|
|
2581
2702
|
export class UpdateCreditCard extends jspb.Message {
|
|
2582
2703
|
getNameoncard(): string;
|
|
2583
2704
|
setNameoncard(value: string): UpdateCreditCard;
|
|
@@ -104,6 +104,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditReq
|
|
|
104
104
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest', null, global);
|
|
105
105
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse', null, global);
|
|
106
106
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentProcessor', null, global);
|
|
107
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaytoBankAccount', null, global);
|
|
107
108
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest', null, global);
|
|
108
109
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
|
|
109
110
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.SendPaymentMethodExpiringForScheduledPaymentsNotificationRequest', null, global);
|
|
@@ -112,6 +113,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null,
|
|
|
112
113
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest', null, global);
|
|
113
114
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest', null, global);
|
|
114
115
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest', null, global);
|
|
116
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount', null, global);
|
|
115
117
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateWexCard', null, global);
|
|
116
118
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest', null, global);
|
|
117
119
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest', null, global);
|
|
@@ -464,6 +466,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
464
466
|
*/
|
|
465
467
|
proto.sniippaymentmethodsserviceapi.BankAccount.displayName = 'proto.sniippaymentmethodsserviceapi.BankAccount';
|
|
466
468
|
}
|
|
469
|
+
/**
|
|
470
|
+
* Generated by JsPbCodeGenerator.
|
|
471
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
472
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
473
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
474
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
475
|
+
* valid.
|
|
476
|
+
* @extends {jspb.Message}
|
|
477
|
+
* @constructor
|
|
478
|
+
*/
|
|
479
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount = function(opt_data) {
|
|
480
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
481
|
+
};
|
|
482
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaytoBankAccount, jspb.Message);
|
|
483
|
+
if (goog.DEBUG && !COMPILED) {
|
|
484
|
+
/**
|
|
485
|
+
* @public
|
|
486
|
+
* @override
|
|
487
|
+
*/
|
|
488
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.displayName = 'proto.sniippaymentmethodsserviceapi.PaytoBankAccount';
|
|
489
|
+
}
|
|
467
490
|
/**
|
|
468
491
|
* Generated by JsPbCodeGenerator.
|
|
469
492
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1808,6 +1831,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1808
1831
|
*/
|
|
1809
1832
|
proto.sniippaymentmethodsserviceapi.UpdateBankAccount.displayName = 'proto.sniippaymentmethodsserviceapi.UpdateBankAccount';
|
|
1810
1833
|
}
|
|
1834
|
+
/**
|
|
1835
|
+
* Generated by JsPbCodeGenerator.
|
|
1836
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1837
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1838
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1839
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1840
|
+
* valid.
|
|
1841
|
+
* @extends {jspb.Message}
|
|
1842
|
+
* @constructor
|
|
1843
|
+
*/
|
|
1844
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount = function(opt_data) {
|
|
1845
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1846
|
+
};
|
|
1847
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount, jspb.Message);
|
|
1848
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1849
|
+
/**
|
|
1850
|
+
* @public
|
|
1851
|
+
* @override
|
|
1852
|
+
*/
|
|
1853
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.displayName = 'proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount';
|
|
1854
|
+
}
|
|
1811
1855
|
/**
|
|
1812
1856
|
* Generated by JsPbCodeGenerator.
|
|
1813
1857
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4118,7 +4162,8 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.toObject = function(include
|
|
|
4118
4162
|
applepay: (f = msg.getApplepay()) && proto.sniippaymentmethodsserviceapi.ApplePay.toObject(includeInstance, f),
|
|
4119
4163
|
googlepay: (f = msg.getGooglepay()) && proto.sniippaymentmethodsserviceapi.GooglePay.toObject(includeInstance, f),
|
|
4120
4164
|
wexcard: (f = msg.getWexcard()) && proto.sniippaymentmethodsserviceapi.WexCard.toObject(includeInstance, f),
|
|
4121
|
-
alternativepaymentmethod: (f = msg.getAlternativepaymentmethod()) && proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.toObject(includeInstance, f)
|
|
4165
|
+
alternativepaymentmethod: (f = msg.getAlternativepaymentmethod()) && proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.toObject(includeInstance, f),
|
|
4166
|
+
paytobankaccount: (f = msg.getPaytobankaccount()) && proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject(includeInstance, f)
|
|
4122
4167
|
};
|
|
4123
4168
|
|
|
4124
4169
|
if (includeInstance) {
|
|
@@ -4193,6 +4238,11 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.deserializeBinaryFromReader
|
|
|
4193
4238
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.deserializeBinaryFromReader);
|
|
4194
4239
|
msg.setAlternativepaymentmethod(value);
|
|
4195
4240
|
break;
|
|
4241
|
+
case 9:
|
|
4242
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaytoBankAccount;
|
|
4243
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaytoBankAccount.deserializeBinaryFromReader);
|
|
4244
|
+
msg.setPaytobankaccount(value);
|
|
4245
|
+
break;
|
|
4196
4246
|
default:
|
|
4197
4247
|
reader.skipField();
|
|
4198
4248
|
break;
|
|
@@ -4284,6 +4334,14 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.serializeBinaryToWriter = f
|
|
|
4284
4334
|
proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.serializeBinaryToWriter
|
|
4285
4335
|
);
|
|
4286
4336
|
}
|
|
4337
|
+
f = message.getPaytobankaccount();
|
|
4338
|
+
if (f != null) {
|
|
4339
|
+
writer.writeMessage(
|
|
4340
|
+
9,
|
|
4341
|
+
f,
|
|
4342
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.serializeBinaryToWriter
|
|
4343
|
+
);
|
|
4344
|
+
}
|
|
4287
4345
|
};
|
|
4288
4346
|
|
|
4289
4347
|
|
|
@@ -4545,6 +4603,43 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasAlternativepay
|
|
|
4545
4603
|
};
|
|
4546
4604
|
|
|
4547
4605
|
|
|
4606
|
+
/**
|
|
4607
|
+
* optional PaytoBankAccount paytoBankAccount = 9;
|
|
4608
|
+
* @return {?proto.sniippaymentmethodsserviceapi.PaytoBankAccount}
|
|
4609
|
+
*/
|
|
4610
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.getPaytobankaccount = function() {
|
|
4611
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.PaytoBankAccount} */ (
|
|
4612
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaytoBankAccount, 9));
|
|
4613
|
+
};
|
|
4614
|
+
|
|
4615
|
+
|
|
4616
|
+
/**
|
|
4617
|
+
* @param {?proto.sniippaymentmethodsserviceapi.PaytoBankAccount|undefined} value
|
|
4618
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
|
|
4619
|
+
*/
|
|
4620
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.setPaytobankaccount = function(value) {
|
|
4621
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
4622
|
+
};
|
|
4623
|
+
|
|
4624
|
+
|
|
4625
|
+
/**
|
|
4626
|
+
* Clears the message field making it undefined.
|
|
4627
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
|
|
4628
|
+
*/
|
|
4629
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.clearPaytobankaccount = function() {
|
|
4630
|
+
return this.setPaytobankaccount(undefined);
|
|
4631
|
+
};
|
|
4632
|
+
|
|
4633
|
+
|
|
4634
|
+
/**
|
|
4635
|
+
* Returns whether this field is set.
|
|
4636
|
+
* @return {boolean}
|
|
4637
|
+
*/
|
|
4638
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasPaytobankaccount = function() {
|
|
4639
|
+
return jspb.Message.getField(this, 9) != null;
|
|
4640
|
+
};
|
|
4641
|
+
|
|
4642
|
+
|
|
4548
4643
|
|
|
4549
4644
|
|
|
4550
4645
|
|
|
@@ -6538,11 +6633,540 @@ proto.sniippaymentmethodsserviceapi.BankAccount.prototype.setBankaccountvalidati
|
|
|
6538
6633
|
|
|
6539
6634
|
|
|
6540
6635
|
/**
|
|
6541
|
-
* Clears the field making it undefined.
|
|
6542
|
-
* @return {!proto.sniippaymentmethodsserviceapi.BankAccount} returns this
|
|
6636
|
+
* Clears the field making it undefined.
|
|
6637
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BankAccount} returns this
|
|
6638
|
+
*/
|
|
6639
|
+
proto.sniippaymentmethodsserviceapi.BankAccount.prototype.clearBankaccountvalidationdetailstext = function() {
|
|
6640
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
6641
|
+
};
|
|
6642
|
+
|
|
6643
|
+
|
|
6644
|
+
/**
|
|
6645
|
+
* Returns whether this field is set.
|
|
6646
|
+
* @return {boolean}
|
|
6647
|
+
*/
|
|
6648
|
+
proto.sniippaymentmethodsserviceapi.BankAccount.prototype.hasBankaccountvalidationdetailstext = function() {
|
|
6649
|
+
return jspb.Message.getField(this, 14) != null;
|
|
6650
|
+
};
|
|
6651
|
+
|
|
6652
|
+
|
|
6653
|
+
|
|
6654
|
+
|
|
6655
|
+
|
|
6656
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6657
|
+
/**
|
|
6658
|
+
* Creates an object representation of this proto.
|
|
6659
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6660
|
+
* Optional fields that are not set will be set to undefined.
|
|
6661
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6662
|
+
* For the list of reserved names please see:
|
|
6663
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6664
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6665
|
+
* JSPB instance for transitional soy proto support:
|
|
6666
|
+
* http://goto/soy-param-migration
|
|
6667
|
+
* @return {!Object}
|
|
6668
|
+
*/
|
|
6669
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.toObject = function(opt_includeInstance) {
|
|
6670
|
+
return proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject(opt_includeInstance, this);
|
|
6671
|
+
};
|
|
6672
|
+
|
|
6673
|
+
|
|
6674
|
+
/**
|
|
6675
|
+
* Static version of the {@see toObject} method.
|
|
6676
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6677
|
+
* the JSPB instance for transitional soy proto support:
|
|
6678
|
+
* http://goto/soy-param-migration
|
|
6679
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} msg The msg instance to transform.
|
|
6680
|
+
* @return {!Object}
|
|
6681
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6682
|
+
*/
|
|
6683
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject = function(includeInstance, msg) {
|
|
6684
|
+
var f, obj = {
|
|
6685
|
+
bsb: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6686
|
+
accountno: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6687
|
+
accountname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6688
|
+
phone: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6689
|
+
email: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6690
|
+
abn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
6691
|
+
nickname: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
6692
|
+
createddatetime: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
6693
|
+
isverified: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
6694
|
+
isverifyexpired: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
6695
|
+
isdeleted: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
6696
|
+
bankaccountstatus: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
6697
|
+
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f)
|
|
6698
|
+
};
|
|
6699
|
+
|
|
6700
|
+
if (includeInstance) {
|
|
6701
|
+
obj.$jspbMessageInstance = msg;
|
|
6702
|
+
}
|
|
6703
|
+
return obj;
|
|
6704
|
+
};
|
|
6705
|
+
}
|
|
6706
|
+
|
|
6707
|
+
|
|
6708
|
+
/**
|
|
6709
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6710
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6711
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount}
|
|
6712
|
+
*/
|
|
6713
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.deserializeBinary = function(bytes) {
|
|
6714
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6715
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaytoBankAccount;
|
|
6716
|
+
return proto.sniippaymentmethodsserviceapi.PaytoBankAccount.deserializeBinaryFromReader(msg, reader);
|
|
6717
|
+
};
|
|
6718
|
+
|
|
6719
|
+
|
|
6720
|
+
/**
|
|
6721
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6722
|
+
* given reader into the given message object.
|
|
6723
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} msg The message object to deserialize into.
|
|
6724
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6725
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount}
|
|
6726
|
+
*/
|
|
6727
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.deserializeBinaryFromReader = function(msg, reader) {
|
|
6728
|
+
while (reader.nextField()) {
|
|
6729
|
+
if (reader.isEndGroup()) {
|
|
6730
|
+
break;
|
|
6731
|
+
}
|
|
6732
|
+
var field = reader.getFieldNumber();
|
|
6733
|
+
switch (field) {
|
|
6734
|
+
case 2:
|
|
6735
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6736
|
+
msg.setBsb(value);
|
|
6737
|
+
break;
|
|
6738
|
+
case 3:
|
|
6739
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6740
|
+
msg.setAccountno(value);
|
|
6741
|
+
break;
|
|
6742
|
+
case 4:
|
|
6743
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6744
|
+
msg.setAccountname(value);
|
|
6745
|
+
break;
|
|
6746
|
+
case 5:
|
|
6747
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6748
|
+
msg.setPhone(value);
|
|
6749
|
+
break;
|
|
6750
|
+
case 6:
|
|
6751
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6752
|
+
msg.setEmail(value);
|
|
6753
|
+
break;
|
|
6754
|
+
case 7:
|
|
6755
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6756
|
+
msg.setAbn(value);
|
|
6757
|
+
break;
|
|
6758
|
+
case 8:
|
|
6759
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6760
|
+
msg.setNickname(value);
|
|
6761
|
+
break;
|
|
6762
|
+
case 9:
|
|
6763
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6764
|
+
msg.setCreateddatetime(value);
|
|
6765
|
+
break;
|
|
6766
|
+
case 10:
|
|
6767
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6768
|
+
msg.setIsverified(value);
|
|
6769
|
+
break;
|
|
6770
|
+
case 11:
|
|
6771
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6772
|
+
msg.setIsverifyexpired(value);
|
|
6773
|
+
break;
|
|
6774
|
+
case 12:
|
|
6775
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6776
|
+
msg.setIsdeleted(value);
|
|
6777
|
+
break;
|
|
6778
|
+
case 13:
|
|
6779
|
+
var value = /** @type {!proto.sniippaymentmethodsserviceapi.BankAccountStatus} */ (reader.readEnum());
|
|
6780
|
+
msg.setBankaccountstatus(value);
|
|
6781
|
+
break;
|
|
6782
|
+
case 14:
|
|
6783
|
+
var value = new proto.sniippaymentmethodsserviceapi.ColourScheme;
|
|
6784
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinaryFromReader);
|
|
6785
|
+
msg.setColourscheme(value);
|
|
6786
|
+
break;
|
|
6787
|
+
default:
|
|
6788
|
+
reader.skipField();
|
|
6789
|
+
break;
|
|
6790
|
+
}
|
|
6791
|
+
}
|
|
6792
|
+
return msg;
|
|
6793
|
+
};
|
|
6794
|
+
|
|
6795
|
+
|
|
6796
|
+
/**
|
|
6797
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6798
|
+
* @return {!Uint8Array}
|
|
6799
|
+
*/
|
|
6800
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.serializeBinary = function() {
|
|
6801
|
+
var writer = new jspb.BinaryWriter();
|
|
6802
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.serializeBinaryToWriter(this, writer);
|
|
6803
|
+
return writer.getResultBuffer();
|
|
6804
|
+
};
|
|
6805
|
+
|
|
6806
|
+
|
|
6807
|
+
/**
|
|
6808
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6809
|
+
* format), writing to the given BinaryWriter.
|
|
6810
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} message
|
|
6811
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6812
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6813
|
+
*/
|
|
6814
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.serializeBinaryToWriter = function(message, writer) {
|
|
6815
|
+
var f = undefined;
|
|
6816
|
+
f = message.getBsb();
|
|
6817
|
+
if (f.length > 0) {
|
|
6818
|
+
writer.writeString(
|
|
6819
|
+
2,
|
|
6820
|
+
f
|
|
6821
|
+
);
|
|
6822
|
+
}
|
|
6823
|
+
f = message.getAccountno();
|
|
6824
|
+
if (f.length > 0) {
|
|
6825
|
+
writer.writeString(
|
|
6826
|
+
3,
|
|
6827
|
+
f
|
|
6828
|
+
);
|
|
6829
|
+
}
|
|
6830
|
+
f = message.getAccountname();
|
|
6831
|
+
if (f.length > 0) {
|
|
6832
|
+
writer.writeString(
|
|
6833
|
+
4,
|
|
6834
|
+
f
|
|
6835
|
+
);
|
|
6836
|
+
}
|
|
6837
|
+
f = message.getPhone();
|
|
6838
|
+
if (f.length > 0) {
|
|
6839
|
+
writer.writeString(
|
|
6840
|
+
5,
|
|
6841
|
+
f
|
|
6842
|
+
);
|
|
6843
|
+
}
|
|
6844
|
+
f = message.getEmail();
|
|
6845
|
+
if (f.length > 0) {
|
|
6846
|
+
writer.writeString(
|
|
6847
|
+
6,
|
|
6848
|
+
f
|
|
6849
|
+
);
|
|
6850
|
+
}
|
|
6851
|
+
f = message.getAbn();
|
|
6852
|
+
if (f.length > 0) {
|
|
6853
|
+
writer.writeString(
|
|
6854
|
+
7,
|
|
6855
|
+
f
|
|
6856
|
+
);
|
|
6857
|
+
}
|
|
6858
|
+
f = message.getNickname();
|
|
6859
|
+
if (f.length > 0) {
|
|
6860
|
+
writer.writeString(
|
|
6861
|
+
8,
|
|
6862
|
+
f
|
|
6863
|
+
);
|
|
6864
|
+
}
|
|
6865
|
+
f = message.getCreateddatetime();
|
|
6866
|
+
if (f.length > 0) {
|
|
6867
|
+
writer.writeString(
|
|
6868
|
+
9,
|
|
6869
|
+
f
|
|
6870
|
+
);
|
|
6871
|
+
}
|
|
6872
|
+
f = message.getIsverified();
|
|
6873
|
+
if (f) {
|
|
6874
|
+
writer.writeBool(
|
|
6875
|
+
10,
|
|
6876
|
+
f
|
|
6877
|
+
);
|
|
6878
|
+
}
|
|
6879
|
+
f = message.getIsverifyexpired();
|
|
6880
|
+
if (f) {
|
|
6881
|
+
writer.writeBool(
|
|
6882
|
+
11,
|
|
6883
|
+
f
|
|
6884
|
+
);
|
|
6885
|
+
}
|
|
6886
|
+
f = message.getIsdeleted();
|
|
6887
|
+
if (f) {
|
|
6888
|
+
writer.writeBool(
|
|
6889
|
+
12,
|
|
6890
|
+
f
|
|
6891
|
+
);
|
|
6892
|
+
}
|
|
6893
|
+
f = /** @type {!proto.sniippaymentmethodsserviceapi.BankAccountStatus} */ (jspb.Message.getField(message, 13));
|
|
6894
|
+
if (f != null) {
|
|
6895
|
+
writer.writeEnum(
|
|
6896
|
+
13,
|
|
6897
|
+
f
|
|
6898
|
+
);
|
|
6899
|
+
}
|
|
6900
|
+
f = message.getColourscheme();
|
|
6901
|
+
if (f != null) {
|
|
6902
|
+
writer.writeMessage(
|
|
6903
|
+
14,
|
|
6904
|
+
f,
|
|
6905
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.serializeBinaryToWriter
|
|
6906
|
+
);
|
|
6907
|
+
}
|
|
6908
|
+
};
|
|
6909
|
+
|
|
6910
|
+
|
|
6911
|
+
/**
|
|
6912
|
+
* optional string bsb = 2;
|
|
6913
|
+
* @return {string}
|
|
6914
|
+
*/
|
|
6915
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getBsb = function() {
|
|
6916
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6917
|
+
};
|
|
6918
|
+
|
|
6919
|
+
|
|
6920
|
+
/**
|
|
6921
|
+
* @param {string} value
|
|
6922
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
6923
|
+
*/
|
|
6924
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setBsb = function(value) {
|
|
6925
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6926
|
+
};
|
|
6927
|
+
|
|
6928
|
+
|
|
6929
|
+
/**
|
|
6930
|
+
* optional string accountNo = 3;
|
|
6931
|
+
* @return {string}
|
|
6932
|
+
*/
|
|
6933
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getAccountno = function() {
|
|
6934
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6935
|
+
};
|
|
6936
|
+
|
|
6937
|
+
|
|
6938
|
+
/**
|
|
6939
|
+
* @param {string} value
|
|
6940
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
6941
|
+
*/
|
|
6942
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setAccountno = function(value) {
|
|
6943
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
6944
|
+
};
|
|
6945
|
+
|
|
6946
|
+
|
|
6947
|
+
/**
|
|
6948
|
+
* optional string accountName = 4;
|
|
6949
|
+
* @return {string}
|
|
6950
|
+
*/
|
|
6951
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getAccountname = function() {
|
|
6952
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
6953
|
+
};
|
|
6954
|
+
|
|
6955
|
+
|
|
6956
|
+
/**
|
|
6957
|
+
* @param {string} value
|
|
6958
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
6959
|
+
*/
|
|
6960
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setAccountname = function(value) {
|
|
6961
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
6962
|
+
};
|
|
6963
|
+
|
|
6964
|
+
|
|
6965
|
+
/**
|
|
6966
|
+
* optional string phone = 5;
|
|
6967
|
+
* @return {string}
|
|
6968
|
+
*/
|
|
6969
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getPhone = function() {
|
|
6970
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6971
|
+
};
|
|
6972
|
+
|
|
6973
|
+
|
|
6974
|
+
/**
|
|
6975
|
+
* @param {string} value
|
|
6976
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
6977
|
+
*/
|
|
6978
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setPhone = function(value) {
|
|
6979
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
6980
|
+
};
|
|
6981
|
+
|
|
6982
|
+
|
|
6983
|
+
/**
|
|
6984
|
+
* optional string email = 6;
|
|
6985
|
+
* @return {string}
|
|
6986
|
+
*/
|
|
6987
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getEmail = function() {
|
|
6988
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
6989
|
+
};
|
|
6990
|
+
|
|
6991
|
+
|
|
6992
|
+
/**
|
|
6993
|
+
* @param {string} value
|
|
6994
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
6995
|
+
*/
|
|
6996
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setEmail = function(value) {
|
|
6997
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
6998
|
+
};
|
|
6999
|
+
|
|
7000
|
+
|
|
7001
|
+
/**
|
|
7002
|
+
* optional string abn = 7;
|
|
7003
|
+
* @return {string}
|
|
7004
|
+
*/
|
|
7005
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getAbn = function() {
|
|
7006
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
7007
|
+
};
|
|
7008
|
+
|
|
7009
|
+
|
|
7010
|
+
/**
|
|
7011
|
+
* @param {string} value
|
|
7012
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7013
|
+
*/
|
|
7014
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setAbn = function(value) {
|
|
7015
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
7016
|
+
};
|
|
7017
|
+
|
|
7018
|
+
|
|
7019
|
+
/**
|
|
7020
|
+
* optional string nickname = 8;
|
|
7021
|
+
* @return {string}
|
|
7022
|
+
*/
|
|
7023
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getNickname = function() {
|
|
7024
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
7025
|
+
};
|
|
7026
|
+
|
|
7027
|
+
|
|
7028
|
+
/**
|
|
7029
|
+
* @param {string} value
|
|
7030
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7031
|
+
*/
|
|
7032
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setNickname = function(value) {
|
|
7033
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
7034
|
+
};
|
|
7035
|
+
|
|
7036
|
+
|
|
7037
|
+
/**
|
|
7038
|
+
* optional string createdDateTime = 9;
|
|
7039
|
+
* @return {string}
|
|
7040
|
+
*/
|
|
7041
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getCreateddatetime = function() {
|
|
7042
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
7043
|
+
};
|
|
7044
|
+
|
|
7045
|
+
|
|
7046
|
+
/**
|
|
7047
|
+
* @param {string} value
|
|
7048
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7049
|
+
*/
|
|
7050
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setCreateddatetime = function(value) {
|
|
7051
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
7052
|
+
};
|
|
7053
|
+
|
|
7054
|
+
|
|
7055
|
+
/**
|
|
7056
|
+
* optional bool isVerified = 10;
|
|
7057
|
+
* @return {boolean}
|
|
7058
|
+
*/
|
|
7059
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getIsverified = function() {
|
|
7060
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
7061
|
+
};
|
|
7062
|
+
|
|
7063
|
+
|
|
7064
|
+
/**
|
|
7065
|
+
* @param {boolean} value
|
|
7066
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7067
|
+
*/
|
|
7068
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setIsverified = function(value) {
|
|
7069
|
+
return jspb.Message.setProto3BooleanField(this, 10, value);
|
|
7070
|
+
};
|
|
7071
|
+
|
|
7072
|
+
|
|
7073
|
+
/**
|
|
7074
|
+
* optional bool isVerifyExpired = 11;
|
|
7075
|
+
* @return {boolean}
|
|
7076
|
+
*/
|
|
7077
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getIsverifyexpired = function() {
|
|
7078
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
7079
|
+
};
|
|
7080
|
+
|
|
7081
|
+
|
|
7082
|
+
/**
|
|
7083
|
+
* @param {boolean} value
|
|
7084
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7085
|
+
*/
|
|
7086
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setIsverifyexpired = function(value) {
|
|
7087
|
+
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
7088
|
+
};
|
|
7089
|
+
|
|
7090
|
+
|
|
7091
|
+
/**
|
|
7092
|
+
* optional bool isDeleted = 12;
|
|
7093
|
+
* @return {boolean}
|
|
7094
|
+
*/
|
|
7095
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getIsdeleted = function() {
|
|
7096
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
7097
|
+
};
|
|
7098
|
+
|
|
7099
|
+
|
|
7100
|
+
/**
|
|
7101
|
+
* @param {boolean} value
|
|
7102
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7103
|
+
*/
|
|
7104
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setIsdeleted = function(value) {
|
|
7105
|
+
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
7106
|
+
};
|
|
7107
|
+
|
|
7108
|
+
|
|
7109
|
+
/**
|
|
7110
|
+
* optional BankAccountStatus bankAccountStatus = 13;
|
|
7111
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BankAccountStatus}
|
|
7112
|
+
*/
|
|
7113
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getBankaccountstatus = function() {
|
|
7114
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.BankAccountStatus} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
7115
|
+
};
|
|
7116
|
+
|
|
7117
|
+
|
|
7118
|
+
/**
|
|
7119
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BankAccountStatus} value
|
|
7120
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7121
|
+
*/
|
|
7122
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setBankaccountstatus = function(value) {
|
|
7123
|
+
return jspb.Message.setField(this, 13, value);
|
|
7124
|
+
};
|
|
7125
|
+
|
|
7126
|
+
|
|
7127
|
+
/**
|
|
7128
|
+
* Clears the field making it undefined.
|
|
7129
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7130
|
+
*/
|
|
7131
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.clearBankaccountstatus = function() {
|
|
7132
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
7133
|
+
};
|
|
7134
|
+
|
|
7135
|
+
|
|
7136
|
+
/**
|
|
7137
|
+
* Returns whether this field is set.
|
|
7138
|
+
* @return {boolean}
|
|
7139
|
+
*/
|
|
7140
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.hasBankaccountstatus = function() {
|
|
7141
|
+
return jspb.Message.getField(this, 13) != null;
|
|
7142
|
+
};
|
|
7143
|
+
|
|
7144
|
+
|
|
7145
|
+
/**
|
|
7146
|
+
* optional ColourScheme colourScheme = 14;
|
|
7147
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ColourScheme}
|
|
7148
|
+
*/
|
|
7149
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getColourscheme = function() {
|
|
7150
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ColourScheme} */ (
|
|
7151
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ColourScheme, 14));
|
|
7152
|
+
};
|
|
7153
|
+
|
|
7154
|
+
|
|
7155
|
+
/**
|
|
7156
|
+
* @param {?proto.sniippaymentmethodsserviceapi.ColourScheme|undefined} value
|
|
7157
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7158
|
+
*/
|
|
7159
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setColourscheme = function(value) {
|
|
7160
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
7161
|
+
};
|
|
7162
|
+
|
|
7163
|
+
|
|
7164
|
+
/**
|
|
7165
|
+
* Clears the message field making it undefined.
|
|
7166
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
6543
7167
|
*/
|
|
6544
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6545
|
-
return
|
|
7168
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.clearColourscheme = function() {
|
|
7169
|
+
return this.setColourscheme(undefined);
|
|
6546
7170
|
};
|
|
6547
7171
|
|
|
6548
7172
|
|
|
@@ -6550,7 +7174,7 @@ proto.sniippaymentmethodsserviceapi.BankAccount.prototype.clearBankaccountvalida
|
|
|
6550
7174
|
* Returns whether this field is set.
|
|
6551
7175
|
* @return {boolean}
|
|
6552
7176
|
*/
|
|
6553
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7177
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.hasColourscheme = function() {
|
|
6554
7178
|
return jspb.Message.getField(this, 14) != null;
|
|
6555
7179
|
};
|
|
6556
7180
|
|
|
@@ -15842,7 +16466,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.toObject = function(includeIns
|
|
|
15842
16466
|
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f),
|
|
15843
16467
|
googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f),
|
|
15844
16468
|
wexcarddetail: (f = msg.getWexcarddetail()) && proto.sniippaymentmethodsserviceapi.WexCardDetail.toObject(includeInstance, f),
|
|
15845
|
-
alternativepaymentmethoddetail: (f = msg.getAlternativepaymentmethoddetail()) && proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.toObject(includeInstance, f)
|
|
16469
|
+
alternativepaymentmethoddetail: (f = msg.getAlternativepaymentmethoddetail()) && proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.toObject(includeInstance, f),
|
|
16470
|
+
paytobankaccount: (f = msg.getPaytobankaccount()) && proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject(includeInstance, f)
|
|
15846
16471
|
};
|
|
15847
16472
|
|
|
15848
16473
|
if (includeInstance) {
|
|
@@ -15922,6 +16547,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.deserializeBinaryFromReader =
|
|
|
15922
16547
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.deserializeBinaryFromReader);
|
|
15923
16548
|
msg.setAlternativepaymentmethoddetail(value);
|
|
15924
16549
|
break;
|
|
16550
|
+
case 12:
|
|
16551
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaytoBankAccount;
|
|
16552
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaytoBankAccount.deserializeBinaryFromReader);
|
|
16553
|
+
msg.setPaytobankaccount(value);
|
|
16554
|
+
break;
|
|
15925
16555
|
default:
|
|
15926
16556
|
reader.skipField();
|
|
15927
16557
|
break;
|
|
@@ -16021,6 +16651,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.serializeBinaryToWriter = func
|
|
|
16021
16651
|
proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.serializeBinaryToWriter
|
|
16022
16652
|
);
|
|
16023
16653
|
}
|
|
16654
|
+
f = message.getPaytobankaccount();
|
|
16655
|
+
if (f != null) {
|
|
16656
|
+
writer.writeMessage(
|
|
16657
|
+
12,
|
|
16658
|
+
f,
|
|
16659
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.serializeBinaryToWriter
|
|
16660
|
+
);
|
|
16661
|
+
}
|
|
16024
16662
|
};
|
|
16025
16663
|
|
|
16026
16664
|
|
|
@@ -16320,6 +16958,43 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.hasAlternativepaymen
|
|
|
16320
16958
|
};
|
|
16321
16959
|
|
|
16322
16960
|
|
|
16961
|
+
/**
|
|
16962
|
+
* optional PaytoBankAccount paytoBankAccount = 12;
|
|
16963
|
+
* @return {?proto.sniippaymentmethodsserviceapi.PaytoBankAccount}
|
|
16964
|
+
*/
|
|
16965
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.getPaytobankaccount = function() {
|
|
16966
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.PaytoBankAccount} */ (
|
|
16967
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaytoBankAccount, 12));
|
|
16968
|
+
};
|
|
16969
|
+
|
|
16970
|
+
|
|
16971
|
+
/**
|
|
16972
|
+
* @param {?proto.sniippaymentmethodsserviceapi.PaytoBankAccount|undefined} value
|
|
16973
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethod} returns this
|
|
16974
|
+
*/
|
|
16975
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.setPaytobankaccount = function(value) {
|
|
16976
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
16977
|
+
};
|
|
16978
|
+
|
|
16979
|
+
|
|
16980
|
+
/**
|
|
16981
|
+
* Clears the message field making it undefined.
|
|
16982
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethod} returns this
|
|
16983
|
+
*/
|
|
16984
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.clearPaytobankaccount = function() {
|
|
16985
|
+
return this.setPaytobankaccount(undefined);
|
|
16986
|
+
};
|
|
16987
|
+
|
|
16988
|
+
|
|
16989
|
+
/**
|
|
16990
|
+
* Returns whether this field is set.
|
|
16991
|
+
* @return {boolean}
|
|
16992
|
+
*/
|
|
16993
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.hasPaytobankaccount = function() {
|
|
16994
|
+
return jspb.Message.getField(this, 12) != null;
|
|
16995
|
+
};
|
|
16996
|
+
|
|
16997
|
+
|
|
16323
16998
|
|
|
16324
16999
|
|
|
16325
17000
|
|
|
@@ -17088,7 +17763,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.toObject = f
|
|
|
17088
17763
|
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f),
|
|
17089
17764
|
googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f),
|
|
17090
17765
|
wexcarddetail: (f = msg.getWexcarddetail()) && proto.sniippaymentmethodsserviceapi.WexCardDetail.toObject(includeInstance, f),
|
|
17091
|
-
alternativepaymentmethoddetail: (f = msg.getAlternativepaymentmethoddetail()) && proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.toObject(includeInstance, f)
|
|
17766
|
+
alternativepaymentmethoddetail: (f = msg.getAlternativepaymentmethoddetail()) && proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.toObject(includeInstance, f),
|
|
17767
|
+
paytobankaccount: (f = msg.getPaytobankaccount()) && proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject(includeInstance, f)
|
|
17092
17768
|
};
|
|
17093
17769
|
|
|
17094
17770
|
if (includeInstance) {
|
|
@@ -17168,6 +17844,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.deserializeB
|
|
|
17168
17844
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.deserializeBinaryFromReader);
|
|
17169
17845
|
msg.setAlternativepaymentmethoddetail(value);
|
|
17170
17846
|
break;
|
|
17847
|
+
case 10:
|
|
17848
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaytoBankAccount;
|
|
17849
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaytoBankAccount.deserializeBinaryFromReader);
|
|
17850
|
+
msg.setPaytobankaccount(value);
|
|
17851
|
+
break;
|
|
17171
17852
|
default:
|
|
17172
17853
|
reader.skipField();
|
|
17173
17854
|
break;
|
|
@@ -17267,6 +17948,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.serializeBin
|
|
|
17267
17948
|
proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodDetail.serializeBinaryToWriter
|
|
17268
17949
|
);
|
|
17269
17950
|
}
|
|
17951
|
+
f = message.getPaytobankaccount();
|
|
17952
|
+
if (f != null) {
|
|
17953
|
+
writer.writeMessage(
|
|
17954
|
+
10,
|
|
17955
|
+
f,
|
|
17956
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.serializeBinaryToWriter
|
|
17957
|
+
);
|
|
17958
|
+
}
|
|
17270
17959
|
};
|
|
17271
17960
|
|
|
17272
17961
|
|
|
@@ -17565,6 +18254,43 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.ha
|
|
|
17565
18254
|
};
|
|
17566
18255
|
|
|
17567
18256
|
|
|
18257
|
+
/**
|
|
18258
|
+
* optional PaytoBankAccount paytoBankAccount = 10;
|
|
18259
|
+
* @return {?proto.sniippaymentmethodsserviceapi.PaytoBankAccount}
|
|
18260
|
+
*/
|
|
18261
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.getPaytobankaccount = function() {
|
|
18262
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.PaytoBankAccount} */ (
|
|
18263
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaytoBankAccount, 10));
|
|
18264
|
+
};
|
|
18265
|
+
|
|
18266
|
+
|
|
18267
|
+
/**
|
|
18268
|
+
* @param {?proto.sniippaymentmethodsserviceapi.PaytoBankAccount|undefined} value
|
|
18269
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse} returns this
|
|
18270
|
+
*/
|
|
18271
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.setPaytobankaccount = function(value) {
|
|
18272
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
18273
|
+
};
|
|
18274
|
+
|
|
18275
|
+
|
|
18276
|
+
/**
|
|
18277
|
+
* Clears the message field making it undefined.
|
|
18278
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse} returns this
|
|
18279
|
+
*/
|
|
18280
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.clearPaytobankaccount = function() {
|
|
18281
|
+
return this.setPaytobankaccount(undefined);
|
|
18282
|
+
};
|
|
18283
|
+
|
|
18284
|
+
|
|
18285
|
+
/**
|
|
18286
|
+
* Returns whether this field is set.
|
|
18287
|
+
* @return {boolean}
|
|
18288
|
+
*/
|
|
18289
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.hasPaytobankaccount = function() {
|
|
18290
|
+
return jspb.Message.getField(this, 10) != null;
|
|
18291
|
+
};
|
|
18292
|
+
|
|
18293
|
+
|
|
17568
18294
|
|
|
17569
18295
|
/**
|
|
17570
18296
|
* List of repeated fields within this message type.
|
|
@@ -19394,7 +20120,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.toObject = functi
|
|
|
19394
20120
|
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.UpdateCreditCard.toObject(includeInstance, f),
|
|
19395
20121
|
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.UpdateBankAccount.toObject(includeInstance, f),
|
|
19396
20122
|
accesstoken: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
19397
|
-
wexcard: (f = msg.getWexcard()) && proto.sniippaymentmethodsserviceapi.UpdateWexCard.toObject(includeInstance, f)
|
|
20123
|
+
wexcard: (f = msg.getWexcard()) && proto.sniippaymentmethodsserviceapi.UpdateWexCard.toObject(includeInstance, f),
|
|
20124
|
+
paytobankaccount: (f = msg.getPaytobankaccount()) && proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.toObject(includeInstance, f)
|
|
19398
20125
|
};
|
|
19399
20126
|
|
|
19400
20127
|
if (includeInstance) {
|
|
@@ -19458,6 +20185,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinary
|
|
|
19458
20185
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.UpdateWexCard.deserializeBinaryFromReader);
|
|
19459
20186
|
msg.setWexcard(value);
|
|
19460
20187
|
break;
|
|
20188
|
+
case 7:
|
|
20189
|
+
var value = new proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount;
|
|
20190
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.deserializeBinaryFromReader);
|
|
20191
|
+
msg.setPaytobankaccount(value);
|
|
20192
|
+
break;
|
|
19461
20193
|
default:
|
|
19462
20194
|
reader.skipField();
|
|
19463
20195
|
break;
|
|
@@ -19532,6 +20264,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.serializeBinaryTo
|
|
|
19532
20264
|
proto.sniippaymentmethodsserviceapi.UpdateWexCard.serializeBinaryToWriter
|
|
19533
20265
|
);
|
|
19534
20266
|
}
|
|
20267
|
+
f = message.getPaytobankaccount();
|
|
20268
|
+
if (f != null) {
|
|
20269
|
+
writer.writeMessage(
|
|
20270
|
+
7,
|
|
20271
|
+
f,
|
|
20272
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.serializeBinaryToWriter
|
|
20273
|
+
);
|
|
20274
|
+
}
|
|
19535
20275
|
};
|
|
19536
20276
|
|
|
19537
20277
|
|
|
@@ -19700,6 +20440,43 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.hasWexc
|
|
|
19700
20440
|
};
|
|
19701
20441
|
|
|
19702
20442
|
|
|
20443
|
+
/**
|
|
20444
|
+
* optional UpdatePaytoBankAccount paytoBankAccount = 7;
|
|
20445
|
+
* @return {?proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount}
|
|
20446
|
+
*/
|
|
20447
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getPaytobankaccount = function() {
|
|
20448
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount} */ (
|
|
20449
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount, 7));
|
|
20450
|
+
};
|
|
20451
|
+
|
|
20452
|
+
|
|
20453
|
+
/**
|
|
20454
|
+
* @param {?proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount|undefined} value
|
|
20455
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} returns this
|
|
20456
|
+
*/
|
|
20457
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setPaytobankaccount = function(value) {
|
|
20458
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
20459
|
+
};
|
|
20460
|
+
|
|
20461
|
+
|
|
20462
|
+
/**
|
|
20463
|
+
* Clears the message field making it undefined.
|
|
20464
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} returns this
|
|
20465
|
+
*/
|
|
20466
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.clearPaytobankaccount = function() {
|
|
20467
|
+
return this.setPaytobankaccount(undefined);
|
|
20468
|
+
};
|
|
20469
|
+
|
|
20470
|
+
|
|
20471
|
+
/**
|
|
20472
|
+
* Returns whether this field is set.
|
|
20473
|
+
* @return {boolean}
|
|
20474
|
+
*/
|
|
20475
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.hasPaytobankaccount = function() {
|
|
20476
|
+
return jspb.Message.getField(this, 7) != null;
|
|
20477
|
+
};
|
|
20478
|
+
|
|
20479
|
+
|
|
19703
20480
|
|
|
19704
20481
|
|
|
19705
20482
|
|
|
@@ -21739,6 +22516,166 @@ proto.sniippaymentmethodsserviceapi.UpdateBankAccount.prototype.setColourscheme
|
|
|
21739
22516
|
|
|
21740
22517
|
|
|
21741
22518
|
|
|
22519
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22520
|
+
/**
|
|
22521
|
+
* Creates an object representation of this proto.
|
|
22522
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22523
|
+
* Optional fields that are not set will be set to undefined.
|
|
22524
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22525
|
+
* For the list of reserved names please see:
|
|
22526
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22527
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22528
|
+
* JSPB instance for transitional soy proto support:
|
|
22529
|
+
* http://goto/soy-param-migration
|
|
22530
|
+
* @return {!Object}
|
|
22531
|
+
*/
|
|
22532
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.prototype.toObject = function(opt_includeInstance) {
|
|
22533
|
+
return proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.toObject(opt_includeInstance, this);
|
|
22534
|
+
};
|
|
22535
|
+
|
|
22536
|
+
|
|
22537
|
+
/**
|
|
22538
|
+
* Static version of the {@see toObject} method.
|
|
22539
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22540
|
+
* the JSPB instance for transitional soy proto support:
|
|
22541
|
+
* http://goto/soy-param-migration
|
|
22542
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount} msg The msg instance to transform.
|
|
22543
|
+
* @return {!Object}
|
|
22544
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22545
|
+
*/
|
|
22546
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.toObject = function(includeInstance, msg) {
|
|
22547
|
+
var f, obj = {
|
|
22548
|
+
nickname: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
22549
|
+
colourscheme: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
22550
|
+
};
|
|
22551
|
+
|
|
22552
|
+
if (includeInstance) {
|
|
22553
|
+
obj.$jspbMessageInstance = msg;
|
|
22554
|
+
}
|
|
22555
|
+
return obj;
|
|
22556
|
+
};
|
|
22557
|
+
}
|
|
22558
|
+
|
|
22559
|
+
|
|
22560
|
+
/**
|
|
22561
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22562
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22563
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount}
|
|
22564
|
+
*/
|
|
22565
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.deserializeBinary = function(bytes) {
|
|
22566
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22567
|
+
var msg = new proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount;
|
|
22568
|
+
return proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.deserializeBinaryFromReader(msg, reader);
|
|
22569
|
+
};
|
|
22570
|
+
|
|
22571
|
+
|
|
22572
|
+
/**
|
|
22573
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22574
|
+
* given reader into the given message object.
|
|
22575
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount} msg The message object to deserialize into.
|
|
22576
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22577
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount}
|
|
22578
|
+
*/
|
|
22579
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.deserializeBinaryFromReader = function(msg, reader) {
|
|
22580
|
+
while (reader.nextField()) {
|
|
22581
|
+
if (reader.isEndGroup()) {
|
|
22582
|
+
break;
|
|
22583
|
+
}
|
|
22584
|
+
var field = reader.getFieldNumber();
|
|
22585
|
+
switch (field) {
|
|
22586
|
+
case 1:
|
|
22587
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22588
|
+
msg.setNickname(value);
|
|
22589
|
+
break;
|
|
22590
|
+
case 2:
|
|
22591
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
22592
|
+
msg.setColourscheme(value);
|
|
22593
|
+
break;
|
|
22594
|
+
default:
|
|
22595
|
+
reader.skipField();
|
|
22596
|
+
break;
|
|
22597
|
+
}
|
|
22598
|
+
}
|
|
22599
|
+
return msg;
|
|
22600
|
+
};
|
|
22601
|
+
|
|
22602
|
+
|
|
22603
|
+
/**
|
|
22604
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22605
|
+
* @return {!Uint8Array}
|
|
22606
|
+
*/
|
|
22607
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.prototype.serializeBinary = function() {
|
|
22608
|
+
var writer = new jspb.BinaryWriter();
|
|
22609
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.serializeBinaryToWriter(this, writer);
|
|
22610
|
+
return writer.getResultBuffer();
|
|
22611
|
+
};
|
|
22612
|
+
|
|
22613
|
+
|
|
22614
|
+
/**
|
|
22615
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22616
|
+
* format), writing to the given BinaryWriter.
|
|
22617
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount} message
|
|
22618
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22619
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22620
|
+
*/
|
|
22621
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.serializeBinaryToWriter = function(message, writer) {
|
|
22622
|
+
var f = undefined;
|
|
22623
|
+
f = message.getNickname();
|
|
22624
|
+
if (f.length > 0) {
|
|
22625
|
+
writer.writeString(
|
|
22626
|
+
1,
|
|
22627
|
+
f
|
|
22628
|
+
);
|
|
22629
|
+
}
|
|
22630
|
+
f = message.getColourscheme();
|
|
22631
|
+
if (f !== 0) {
|
|
22632
|
+
writer.writeInt64(
|
|
22633
|
+
2,
|
|
22634
|
+
f
|
|
22635
|
+
);
|
|
22636
|
+
}
|
|
22637
|
+
};
|
|
22638
|
+
|
|
22639
|
+
|
|
22640
|
+
/**
|
|
22641
|
+
* optional string nickname = 1;
|
|
22642
|
+
* @return {string}
|
|
22643
|
+
*/
|
|
22644
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.prototype.getNickname = function() {
|
|
22645
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
22646
|
+
};
|
|
22647
|
+
|
|
22648
|
+
|
|
22649
|
+
/**
|
|
22650
|
+
* @param {string} value
|
|
22651
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount} returns this
|
|
22652
|
+
*/
|
|
22653
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.prototype.setNickname = function(value) {
|
|
22654
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
22655
|
+
};
|
|
22656
|
+
|
|
22657
|
+
|
|
22658
|
+
/**
|
|
22659
|
+
* optional int64 colourScheme = 2;
|
|
22660
|
+
* @return {number}
|
|
22661
|
+
*/
|
|
22662
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.prototype.getColourscheme = function() {
|
|
22663
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22664
|
+
};
|
|
22665
|
+
|
|
22666
|
+
|
|
22667
|
+
/**
|
|
22668
|
+
* @param {number} value
|
|
22669
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount} returns this
|
|
22670
|
+
*/
|
|
22671
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.prototype.setColourscheme = function(value) {
|
|
22672
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22673
|
+
};
|
|
22674
|
+
|
|
22675
|
+
|
|
22676
|
+
|
|
22677
|
+
|
|
22678
|
+
|
|
21742
22679
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21743
22680
|
/**
|
|
21744
22681
|
* Creates an object representation of this proto.
|