@sniipwebmaster/agent-billing-client-grpcweb-ts 25.7.4299 → 25.8.4324
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.
|
@@ -298,6 +298,49 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
298
298
|
this.methodDescriptorCreateAndPayDeliveryBatch);
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
+
methodDescriptorCreateManuallyAddedAgentInternalBill = new grpcWeb.MethodDescriptor(
|
|
302
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/CreateManuallyAddedAgentInternalBill',
|
|
303
|
+
grpcWeb.MethodType.UNARY,
|
|
304
|
+
service_pb.CreateManuallyAddedAgentBillInternalRequest,
|
|
305
|
+
service_pb.CreateAgentBillsResponse,
|
|
306
|
+
(request: service_pb.CreateManuallyAddedAgentBillInternalRequest) => {
|
|
307
|
+
return request.serializeBinary();
|
|
308
|
+
},
|
|
309
|
+
service_pb.CreateAgentBillsResponse.deserializeBinary
|
|
310
|
+
);
|
|
311
|
+
|
|
312
|
+
createManuallyAddedAgentInternalBill(
|
|
313
|
+
request: service_pb.CreateManuallyAddedAgentBillInternalRequest,
|
|
314
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.CreateAgentBillsResponse>;
|
|
315
|
+
|
|
316
|
+
createManuallyAddedAgentInternalBill(
|
|
317
|
+
request: service_pb.CreateManuallyAddedAgentBillInternalRequest,
|
|
318
|
+
metadata: grpcWeb.Metadata | null,
|
|
319
|
+
callback: (err: grpcWeb.RpcError,
|
|
320
|
+
response: service_pb.CreateAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.CreateAgentBillsResponse>;
|
|
321
|
+
|
|
322
|
+
createManuallyAddedAgentInternalBill(
|
|
323
|
+
request: service_pb.CreateManuallyAddedAgentBillInternalRequest,
|
|
324
|
+
metadata?: grpcWeb.Metadata | null,
|
|
325
|
+
callback?: (err: grpcWeb.RpcError,
|
|
326
|
+
response: service_pb.CreateAgentBillsResponse) => void) {
|
|
327
|
+
if (callback !== undefined) {
|
|
328
|
+
return this.client_.rpcCall(
|
|
329
|
+
this.hostname_ +
|
|
330
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/CreateManuallyAddedAgentInternalBill',
|
|
331
|
+
request,
|
|
332
|
+
metadata || {},
|
|
333
|
+
this.methodDescriptorCreateManuallyAddedAgentInternalBill,
|
|
334
|
+
callback);
|
|
335
|
+
}
|
|
336
|
+
return this.client_.unaryCall(
|
|
337
|
+
this.hostname_ +
|
|
338
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/CreateManuallyAddedAgentInternalBill',
|
|
339
|
+
request,
|
|
340
|
+
metadata || {},
|
|
341
|
+
this.methodDescriptorCreateManuallyAddedAgentInternalBill);
|
|
342
|
+
}
|
|
343
|
+
|
|
301
344
|
methodDescriptorCreateManuallyAddedAgentBill = new grpcWeb.MethodDescriptor(
|
|
302
345
|
'/agentbillingserviceapi.AgentBillingServiceAPIService/CreateManuallyAddedAgentBill',
|
|
303
346
|
grpcWeb.MethodType.UNARY,
|
|
@@ -678,6 +678,91 @@ export namespace CreateManuallyAddedAgentBillRequest {
|
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
|
|
681
|
+
export class CreateManuallyAddedAgentBillInternalRequest extends jspb.Message {
|
|
682
|
+
getClientuserid(): number;
|
|
683
|
+
setClientuserid(value: number): CreateManuallyAddedAgentBillInternalRequest;
|
|
684
|
+
|
|
685
|
+
getUploadbatchid(): number;
|
|
686
|
+
setUploadbatchid(value: number): CreateManuallyAddedAgentBillInternalRequest;
|
|
687
|
+
|
|
688
|
+
getBillercode(): string;
|
|
689
|
+
setBillercode(value: string): CreateManuallyAddedAgentBillInternalRequest;
|
|
690
|
+
|
|
691
|
+
getReference(): string;
|
|
692
|
+
setReference(value: string): CreateManuallyAddedAgentBillInternalRequest;
|
|
693
|
+
|
|
694
|
+
getAmount(): number;
|
|
695
|
+
setAmount(value: number): CreateManuallyAddedAgentBillInternalRequest;
|
|
696
|
+
|
|
697
|
+
getDuedate(): string;
|
|
698
|
+
setDuedate(value: string): CreateManuallyAddedAgentBillInternalRequest;
|
|
699
|
+
|
|
700
|
+
getInvoicenumber(): string;
|
|
701
|
+
setInvoicenumber(value: string): CreateManuallyAddedAgentBillInternalRequest;
|
|
702
|
+
|
|
703
|
+
getDescription(): string;
|
|
704
|
+
setDescription(value: string): CreateManuallyAddedAgentBillInternalRequest;
|
|
705
|
+
|
|
706
|
+
getAttachmentid(): number;
|
|
707
|
+
setAttachmentid(value: number): CreateManuallyAddedAgentBillInternalRequest;
|
|
708
|
+
|
|
709
|
+
getPaymentprocessor(): BillScanType;
|
|
710
|
+
setPaymentprocessor(value: BillScanType): CreateManuallyAddedAgentBillInternalRequest;
|
|
711
|
+
|
|
712
|
+
getBsb(): string;
|
|
713
|
+
setBsb(value: string): CreateManuallyAddedAgentBillInternalRequest;
|
|
714
|
+
|
|
715
|
+
getAccountno(): string;
|
|
716
|
+
setAccountno(value: string): CreateManuallyAddedAgentBillInternalRequest;
|
|
717
|
+
|
|
718
|
+
getAccountname(): string;
|
|
719
|
+
setAccountname(value: string): CreateManuallyAddedAgentBillInternalRequest;
|
|
720
|
+
|
|
721
|
+
getAbn(): string;
|
|
722
|
+
setAbn(value: string): CreateManuallyAddedAgentBillInternalRequest;
|
|
723
|
+
|
|
724
|
+
getBillerconfigid(): number;
|
|
725
|
+
setBillerconfigid(value: number): CreateManuallyAddedAgentBillInternalRequest;
|
|
726
|
+
hasBillerconfigid(): boolean;
|
|
727
|
+
clearBillerconfigid(): CreateManuallyAddedAgentBillInternalRequest;
|
|
728
|
+
|
|
729
|
+
getAgentuserid(): number;
|
|
730
|
+
setAgentuserid(value: number): CreateManuallyAddedAgentBillInternalRequest;
|
|
731
|
+
|
|
732
|
+
serializeBinary(): Uint8Array;
|
|
733
|
+
toObject(includeInstance?: boolean): CreateManuallyAddedAgentBillInternalRequest.AsObject;
|
|
734
|
+
static toObject(includeInstance: boolean, msg: CreateManuallyAddedAgentBillInternalRequest): CreateManuallyAddedAgentBillInternalRequest.AsObject;
|
|
735
|
+
static serializeBinaryToWriter(message: CreateManuallyAddedAgentBillInternalRequest, writer: jspb.BinaryWriter): void;
|
|
736
|
+
static deserializeBinary(bytes: Uint8Array): CreateManuallyAddedAgentBillInternalRequest;
|
|
737
|
+
static deserializeBinaryFromReader(message: CreateManuallyAddedAgentBillInternalRequest, reader: jspb.BinaryReader): CreateManuallyAddedAgentBillInternalRequest;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
export namespace CreateManuallyAddedAgentBillInternalRequest {
|
|
741
|
+
export type AsObject = {
|
|
742
|
+
clientuserid: number,
|
|
743
|
+
uploadbatchid: number,
|
|
744
|
+
billercode: string,
|
|
745
|
+
reference: string,
|
|
746
|
+
amount: number,
|
|
747
|
+
duedate: string,
|
|
748
|
+
invoicenumber: string,
|
|
749
|
+
description: string,
|
|
750
|
+
attachmentid: number,
|
|
751
|
+
paymentprocessor: BillScanType,
|
|
752
|
+
bsb: string,
|
|
753
|
+
accountno: string,
|
|
754
|
+
accountname: string,
|
|
755
|
+
abn: string,
|
|
756
|
+
billerconfigid?: number,
|
|
757
|
+
agentuserid: number,
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
export enum BillerconfigidCase {
|
|
761
|
+
_BILLERCONFIGID_NOT_SET = 0,
|
|
762
|
+
BILLERCONFIGID = 15,
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
|
|
681
766
|
export class CopyExistingAgentBillRequest extends jspb.Message {
|
|
682
767
|
getClientuserid(): number;
|
|
683
768
|
setClientuserid(value: number): CopyExistingAgentBillRequest;
|
|
@@ -49,6 +49,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillsResponse', null,
|
|
|
49
49
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest', null, global);
|
|
50
50
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse', null, global);
|
|
51
51
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest', null, global);
|
|
52
|
+
goog.exportSymbol('proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest', null, global);
|
|
52
53
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest', null, global);
|
|
53
54
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateUploadBatchRequest', null, global);
|
|
54
55
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateUploadBatchResponse', null, global);
|
|
@@ -514,6 +515,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
514
515
|
*/
|
|
515
516
|
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.displayName = 'proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest';
|
|
516
517
|
}
|
|
518
|
+
/**
|
|
519
|
+
* Generated by JsPbCodeGenerator.
|
|
520
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
521
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
522
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
523
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
524
|
+
* valid.
|
|
525
|
+
* @extends {jspb.Message}
|
|
526
|
+
* @constructor
|
|
527
|
+
*/
|
|
528
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest = function(opt_data) {
|
|
529
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
530
|
+
};
|
|
531
|
+
goog.inherits(proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest, jspb.Message);
|
|
532
|
+
if (goog.DEBUG && !COMPILED) {
|
|
533
|
+
/**
|
|
534
|
+
* @public
|
|
535
|
+
* @override
|
|
536
|
+
*/
|
|
537
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.displayName = 'proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest';
|
|
538
|
+
}
|
|
517
539
|
/**
|
|
518
540
|
* Generated by JsPbCodeGenerator.
|
|
519
541
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7498,6 +7520,604 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.hasBi
|
|
|
7498
7520
|
|
|
7499
7521
|
|
|
7500
7522
|
|
|
7523
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7524
|
+
/**
|
|
7525
|
+
* Creates an object representation of this proto.
|
|
7526
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7527
|
+
* Optional fields that are not set will be set to undefined.
|
|
7528
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7529
|
+
* For the list of reserved names please see:
|
|
7530
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7531
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7532
|
+
* JSPB instance for transitional soy proto support:
|
|
7533
|
+
* http://goto/soy-param-migration
|
|
7534
|
+
* @return {!Object}
|
|
7535
|
+
*/
|
|
7536
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7537
|
+
return proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.toObject(opt_includeInstance, this);
|
|
7538
|
+
};
|
|
7539
|
+
|
|
7540
|
+
|
|
7541
|
+
/**
|
|
7542
|
+
* Static version of the {@see toObject} method.
|
|
7543
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7544
|
+
* the JSPB instance for transitional soy proto support:
|
|
7545
|
+
* http://goto/soy-param-migration
|
|
7546
|
+
* @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} msg The msg instance to transform.
|
|
7547
|
+
* @return {!Object}
|
|
7548
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7549
|
+
*/
|
|
7550
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.toObject = function(includeInstance, msg) {
|
|
7551
|
+
var f, obj = {
|
|
7552
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7553
|
+
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7554
|
+
billercode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7555
|
+
reference: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7556
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
7557
|
+
duedate: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
7558
|
+
invoicenumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
7559
|
+
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
7560
|
+
attachmentid: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
7561
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
7562
|
+
bsb: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
7563
|
+
accountno: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
7564
|
+
accountname: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
7565
|
+
abn: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
7566
|
+
billerconfigid: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
7567
|
+
agentuserid: jspb.Message.getFieldWithDefault(msg, 16, 0)
|
|
7568
|
+
};
|
|
7569
|
+
|
|
7570
|
+
if (includeInstance) {
|
|
7571
|
+
obj.$jspbMessageInstance = msg;
|
|
7572
|
+
}
|
|
7573
|
+
return obj;
|
|
7574
|
+
};
|
|
7575
|
+
}
|
|
7576
|
+
|
|
7577
|
+
|
|
7578
|
+
/**
|
|
7579
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7580
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7581
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest}
|
|
7582
|
+
*/
|
|
7583
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.deserializeBinary = function(bytes) {
|
|
7584
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7585
|
+
var msg = new proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest;
|
|
7586
|
+
return proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.deserializeBinaryFromReader(msg, reader);
|
|
7587
|
+
};
|
|
7588
|
+
|
|
7589
|
+
|
|
7590
|
+
/**
|
|
7591
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7592
|
+
* given reader into the given message object.
|
|
7593
|
+
* @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} msg The message object to deserialize into.
|
|
7594
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7595
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest}
|
|
7596
|
+
*/
|
|
7597
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7598
|
+
while (reader.nextField()) {
|
|
7599
|
+
if (reader.isEndGroup()) {
|
|
7600
|
+
break;
|
|
7601
|
+
}
|
|
7602
|
+
var field = reader.getFieldNumber();
|
|
7603
|
+
switch (field) {
|
|
7604
|
+
case 1:
|
|
7605
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7606
|
+
msg.setClientuserid(value);
|
|
7607
|
+
break;
|
|
7608
|
+
case 2:
|
|
7609
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7610
|
+
msg.setUploadbatchid(value);
|
|
7611
|
+
break;
|
|
7612
|
+
case 3:
|
|
7613
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7614
|
+
msg.setBillercode(value);
|
|
7615
|
+
break;
|
|
7616
|
+
case 4:
|
|
7617
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7618
|
+
msg.setReference(value);
|
|
7619
|
+
break;
|
|
7620
|
+
case 5:
|
|
7621
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
7622
|
+
msg.setAmount(value);
|
|
7623
|
+
break;
|
|
7624
|
+
case 6:
|
|
7625
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7626
|
+
msg.setDuedate(value);
|
|
7627
|
+
break;
|
|
7628
|
+
case 7:
|
|
7629
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7630
|
+
msg.setInvoicenumber(value);
|
|
7631
|
+
break;
|
|
7632
|
+
case 8:
|
|
7633
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7634
|
+
msg.setDescription(value);
|
|
7635
|
+
break;
|
|
7636
|
+
case 9:
|
|
7637
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7638
|
+
msg.setAttachmentid(value);
|
|
7639
|
+
break;
|
|
7640
|
+
case 10:
|
|
7641
|
+
var value = /** @type {!proto.agentbillingserviceapi.BillScanType} */ (reader.readEnum());
|
|
7642
|
+
msg.setPaymentprocessor(value);
|
|
7643
|
+
break;
|
|
7644
|
+
case 11:
|
|
7645
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7646
|
+
msg.setBsb(value);
|
|
7647
|
+
break;
|
|
7648
|
+
case 12:
|
|
7649
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7650
|
+
msg.setAccountno(value);
|
|
7651
|
+
break;
|
|
7652
|
+
case 13:
|
|
7653
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7654
|
+
msg.setAccountname(value);
|
|
7655
|
+
break;
|
|
7656
|
+
case 14:
|
|
7657
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7658
|
+
msg.setAbn(value);
|
|
7659
|
+
break;
|
|
7660
|
+
case 15:
|
|
7661
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7662
|
+
msg.setBillerconfigid(value);
|
|
7663
|
+
break;
|
|
7664
|
+
case 16:
|
|
7665
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7666
|
+
msg.setAgentuserid(value);
|
|
7667
|
+
break;
|
|
7668
|
+
default:
|
|
7669
|
+
reader.skipField();
|
|
7670
|
+
break;
|
|
7671
|
+
}
|
|
7672
|
+
}
|
|
7673
|
+
return msg;
|
|
7674
|
+
};
|
|
7675
|
+
|
|
7676
|
+
|
|
7677
|
+
/**
|
|
7678
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7679
|
+
* @return {!Uint8Array}
|
|
7680
|
+
*/
|
|
7681
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.serializeBinary = function() {
|
|
7682
|
+
var writer = new jspb.BinaryWriter();
|
|
7683
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.serializeBinaryToWriter(this, writer);
|
|
7684
|
+
return writer.getResultBuffer();
|
|
7685
|
+
};
|
|
7686
|
+
|
|
7687
|
+
|
|
7688
|
+
/**
|
|
7689
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7690
|
+
* format), writing to the given BinaryWriter.
|
|
7691
|
+
* @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} message
|
|
7692
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7693
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7694
|
+
*/
|
|
7695
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7696
|
+
var f = undefined;
|
|
7697
|
+
f = message.getClientuserid();
|
|
7698
|
+
if (f !== 0) {
|
|
7699
|
+
writer.writeInt64(
|
|
7700
|
+
1,
|
|
7701
|
+
f
|
|
7702
|
+
);
|
|
7703
|
+
}
|
|
7704
|
+
f = message.getUploadbatchid();
|
|
7705
|
+
if (f !== 0) {
|
|
7706
|
+
writer.writeInt64(
|
|
7707
|
+
2,
|
|
7708
|
+
f
|
|
7709
|
+
);
|
|
7710
|
+
}
|
|
7711
|
+
f = message.getBillercode();
|
|
7712
|
+
if (f.length > 0) {
|
|
7713
|
+
writer.writeString(
|
|
7714
|
+
3,
|
|
7715
|
+
f
|
|
7716
|
+
);
|
|
7717
|
+
}
|
|
7718
|
+
f = message.getReference();
|
|
7719
|
+
if (f.length > 0) {
|
|
7720
|
+
writer.writeString(
|
|
7721
|
+
4,
|
|
7722
|
+
f
|
|
7723
|
+
);
|
|
7724
|
+
}
|
|
7725
|
+
f = message.getAmount();
|
|
7726
|
+
if (f !== 0.0) {
|
|
7727
|
+
writer.writeDouble(
|
|
7728
|
+
5,
|
|
7729
|
+
f
|
|
7730
|
+
);
|
|
7731
|
+
}
|
|
7732
|
+
f = message.getDuedate();
|
|
7733
|
+
if (f.length > 0) {
|
|
7734
|
+
writer.writeString(
|
|
7735
|
+
6,
|
|
7736
|
+
f
|
|
7737
|
+
);
|
|
7738
|
+
}
|
|
7739
|
+
f = message.getInvoicenumber();
|
|
7740
|
+
if (f.length > 0) {
|
|
7741
|
+
writer.writeString(
|
|
7742
|
+
7,
|
|
7743
|
+
f
|
|
7744
|
+
);
|
|
7745
|
+
}
|
|
7746
|
+
f = message.getDescription();
|
|
7747
|
+
if (f.length > 0) {
|
|
7748
|
+
writer.writeString(
|
|
7749
|
+
8,
|
|
7750
|
+
f
|
|
7751
|
+
);
|
|
7752
|
+
}
|
|
7753
|
+
f = message.getAttachmentid();
|
|
7754
|
+
if (f !== 0) {
|
|
7755
|
+
writer.writeInt64(
|
|
7756
|
+
9,
|
|
7757
|
+
f
|
|
7758
|
+
);
|
|
7759
|
+
}
|
|
7760
|
+
f = message.getPaymentprocessor();
|
|
7761
|
+
if (f !== 0.0) {
|
|
7762
|
+
writer.writeEnum(
|
|
7763
|
+
10,
|
|
7764
|
+
f
|
|
7765
|
+
);
|
|
7766
|
+
}
|
|
7767
|
+
f = message.getBsb();
|
|
7768
|
+
if (f.length > 0) {
|
|
7769
|
+
writer.writeString(
|
|
7770
|
+
11,
|
|
7771
|
+
f
|
|
7772
|
+
);
|
|
7773
|
+
}
|
|
7774
|
+
f = message.getAccountno();
|
|
7775
|
+
if (f.length > 0) {
|
|
7776
|
+
writer.writeString(
|
|
7777
|
+
12,
|
|
7778
|
+
f
|
|
7779
|
+
);
|
|
7780
|
+
}
|
|
7781
|
+
f = message.getAccountname();
|
|
7782
|
+
if (f.length > 0) {
|
|
7783
|
+
writer.writeString(
|
|
7784
|
+
13,
|
|
7785
|
+
f
|
|
7786
|
+
);
|
|
7787
|
+
}
|
|
7788
|
+
f = message.getAbn();
|
|
7789
|
+
if (f.length > 0) {
|
|
7790
|
+
writer.writeString(
|
|
7791
|
+
14,
|
|
7792
|
+
f
|
|
7793
|
+
);
|
|
7794
|
+
}
|
|
7795
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
|
7796
|
+
if (f != null) {
|
|
7797
|
+
writer.writeInt64(
|
|
7798
|
+
15,
|
|
7799
|
+
f
|
|
7800
|
+
);
|
|
7801
|
+
}
|
|
7802
|
+
f = message.getAgentuserid();
|
|
7803
|
+
if (f !== 0) {
|
|
7804
|
+
writer.writeInt64(
|
|
7805
|
+
16,
|
|
7806
|
+
f
|
|
7807
|
+
);
|
|
7808
|
+
}
|
|
7809
|
+
};
|
|
7810
|
+
|
|
7811
|
+
|
|
7812
|
+
/**
|
|
7813
|
+
* optional int64 clientUserId = 1;
|
|
7814
|
+
* @return {number}
|
|
7815
|
+
*/
|
|
7816
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getClientuserid = function() {
|
|
7817
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7818
|
+
};
|
|
7819
|
+
|
|
7820
|
+
|
|
7821
|
+
/**
|
|
7822
|
+
* @param {number} value
|
|
7823
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
7824
|
+
*/
|
|
7825
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setClientuserid = function(value) {
|
|
7826
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
7827
|
+
};
|
|
7828
|
+
|
|
7829
|
+
|
|
7830
|
+
/**
|
|
7831
|
+
* optional int64 uploadBatchId = 2;
|
|
7832
|
+
* @return {number}
|
|
7833
|
+
*/
|
|
7834
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getUploadbatchid = function() {
|
|
7835
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
7836
|
+
};
|
|
7837
|
+
|
|
7838
|
+
|
|
7839
|
+
/**
|
|
7840
|
+
* @param {number} value
|
|
7841
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
7842
|
+
*/
|
|
7843
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setUploadbatchid = function(value) {
|
|
7844
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
7845
|
+
};
|
|
7846
|
+
|
|
7847
|
+
|
|
7848
|
+
/**
|
|
7849
|
+
* optional string billerCode = 3;
|
|
7850
|
+
* @return {string}
|
|
7851
|
+
*/
|
|
7852
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getBillercode = function() {
|
|
7853
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7854
|
+
};
|
|
7855
|
+
|
|
7856
|
+
|
|
7857
|
+
/**
|
|
7858
|
+
* @param {string} value
|
|
7859
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
7860
|
+
*/
|
|
7861
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setBillercode = function(value) {
|
|
7862
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7863
|
+
};
|
|
7864
|
+
|
|
7865
|
+
|
|
7866
|
+
/**
|
|
7867
|
+
* optional string reference = 4;
|
|
7868
|
+
* @return {string}
|
|
7869
|
+
*/
|
|
7870
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getReference = function() {
|
|
7871
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7872
|
+
};
|
|
7873
|
+
|
|
7874
|
+
|
|
7875
|
+
/**
|
|
7876
|
+
* @param {string} value
|
|
7877
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
7878
|
+
*/
|
|
7879
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setReference = function(value) {
|
|
7880
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
7881
|
+
};
|
|
7882
|
+
|
|
7883
|
+
|
|
7884
|
+
/**
|
|
7885
|
+
* optional double amount = 5;
|
|
7886
|
+
* @return {number}
|
|
7887
|
+
*/
|
|
7888
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getAmount = function() {
|
|
7889
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
7890
|
+
};
|
|
7891
|
+
|
|
7892
|
+
|
|
7893
|
+
/**
|
|
7894
|
+
* @param {number} value
|
|
7895
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
7896
|
+
*/
|
|
7897
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setAmount = function(value) {
|
|
7898
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
7899
|
+
};
|
|
7900
|
+
|
|
7901
|
+
|
|
7902
|
+
/**
|
|
7903
|
+
* optional string dueDate = 6;
|
|
7904
|
+
* @return {string}
|
|
7905
|
+
*/
|
|
7906
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getDuedate = function() {
|
|
7907
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
7908
|
+
};
|
|
7909
|
+
|
|
7910
|
+
|
|
7911
|
+
/**
|
|
7912
|
+
* @param {string} value
|
|
7913
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
7914
|
+
*/
|
|
7915
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setDuedate = function(value) {
|
|
7916
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
7917
|
+
};
|
|
7918
|
+
|
|
7919
|
+
|
|
7920
|
+
/**
|
|
7921
|
+
* optional string invoiceNumber = 7;
|
|
7922
|
+
* @return {string}
|
|
7923
|
+
*/
|
|
7924
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getInvoicenumber = function() {
|
|
7925
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
7926
|
+
};
|
|
7927
|
+
|
|
7928
|
+
|
|
7929
|
+
/**
|
|
7930
|
+
* @param {string} value
|
|
7931
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
7932
|
+
*/
|
|
7933
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setInvoicenumber = function(value) {
|
|
7934
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
7935
|
+
};
|
|
7936
|
+
|
|
7937
|
+
|
|
7938
|
+
/**
|
|
7939
|
+
* optional string description = 8;
|
|
7940
|
+
* @return {string}
|
|
7941
|
+
*/
|
|
7942
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getDescription = function() {
|
|
7943
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
7944
|
+
};
|
|
7945
|
+
|
|
7946
|
+
|
|
7947
|
+
/**
|
|
7948
|
+
* @param {string} value
|
|
7949
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
7950
|
+
*/
|
|
7951
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setDescription = function(value) {
|
|
7952
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
7953
|
+
};
|
|
7954
|
+
|
|
7955
|
+
|
|
7956
|
+
/**
|
|
7957
|
+
* optional int64 attachmentId = 9;
|
|
7958
|
+
* @return {number}
|
|
7959
|
+
*/
|
|
7960
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getAttachmentid = function() {
|
|
7961
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
7962
|
+
};
|
|
7963
|
+
|
|
7964
|
+
|
|
7965
|
+
/**
|
|
7966
|
+
* @param {number} value
|
|
7967
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
7968
|
+
*/
|
|
7969
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setAttachmentid = function(value) {
|
|
7970
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
7971
|
+
};
|
|
7972
|
+
|
|
7973
|
+
|
|
7974
|
+
/**
|
|
7975
|
+
* optional BillScanType paymentProcessor = 10;
|
|
7976
|
+
* @return {!proto.agentbillingserviceapi.BillScanType}
|
|
7977
|
+
*/
|
|
7978
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getPaymentprocessor = function() {
|
|
7979
|
+
return /** @type {!proto.agentbillingserviceapi.BillScanType} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
7980
|
+
};
|
|
7981
|
+
|
|
7982
|
+
|
|
7983
|
+
/**
|
|
7984
|
+
* @param {!proto.agentbillingserviceapi.BillScanType} value
|
|
7985
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
7986
|
+
*/
|
|
7987
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setPaymentprocessor = function(value) {
|
|
7988
|
+
return jspb.Message.setProto3EnumField(this, 10, value);
|
|
7989
|
+
};
|
|
7990
|
+
|
|
7991
|
+
|
|
7992
|
+
/**
|
|
7993
|
+
* optional string bsb = 11;
|
|
7994
|
+
* @return {string}
|
|
7995
|
+
*/
|
|
7996
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getBsb = function() {
|
|
7997
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
7998
|
+
};
|
|
7999
|
+
|
|
8000
|
+
|
|
8001
|
+
/**
|
|
8002
|
+
* @param {string} value
|
|
8003
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
8004
|
+
*/
|
|
8005
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setBsb = function(value) {
|
|
8006
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
8007
|
+
};
|
|
8008
|
+
|
|
8009
|
+
|
|
8010
|
+
/**
|
|
8011
|
+
* optional string accountNo = 12;
|
|
8012
|
+
* @return {string}
|
|
8013
|
+
*/
|
|
8014
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getAccountno = function() {
|
|
8015
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
8016
|
+
};
|
|
8017
|
+
|
|
8018
|
+
|
|
8019
|
+
/**
|
|
8020
|
+
* @param {string} value
|
|
8021
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
8022
|
+
*/
|
|
8023
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setAccountno = function(value) {
|
|
8024
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
8025
|
+
};
|
|
8026
|
+
|
|
8027
|
+
|
|
8028
|
+
/**
|
|
8029
|
+
* optional string accountName = 13;
|
|
8030
|
+
* @return {string}
|
|
8031
|
+
*/
|
|
8032
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getAccountname = function() {
|
|
8033
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
8034
|
+
};
|
|
8035
|
+
|
|
8036
|
+
|
|
8037
|
+
/**
|
|
8038
|
+
* @param {string} value
|
|
8039
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
8040
|
+
*/
|
|
8041
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setAccountname = function(value) {
|
|
8042
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
8043
|
+
};
|
|
8044
|
+
|
|
8045
|
+
|
|
8046
|
+
/**
|
|
8047
|
+
* optional string abn = 14;
|
|
8048
|
+
* @return {string}
|
|
8049
|
+
*/
|
|
8050
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getAbn = function() {
|
|
8051
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
8052
|
+
};
|
|
8053
|
+
|
|
8054
|
+
|
|
8055
|
+
/**
|
|
8056
|
+
* @param {string} value
|
|
8057
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
8058
|
+
*/
|
|
8059
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setAbn = function(value) {
|
|
8060
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
8061
|
+
};
|
|
8062
|
+
|
|
8063
|
+
|
|
8064
|
+
/**
|
|
8065
|
+
* optional int64 billerConfigId = 15;
|
|
8066
|
+
* @return {number}
|
|
8067
|
+
*/
|
|
8068
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getBillerconfigid = function() {
|
|
8069
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
8070
|
+
};
|
|
8071
|
+
|
|
8072
|
+
|
|
8073
|
+
/**
|
|
8074
|
+
* @param {number} value
|
|
8075
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
8076
|
+
*/
|
|
8077
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setBillerconfigid = function(value) {
|
|
8078
|
+
return jspb.Message.setField(this, 15, value);
|
|
8079
|
+
};
|
|
8080
|
+
|
|
8081
|
+
|
|
8082
|
+
/**
|
|
8083
|
+
* Clears the field making it undefined.
|
|
8084
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
8085
|
+
*/
|
|
8086
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.clearBillerconfigid = function() {
|
|
8087
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
8088
|
+
};
|
|
8089
|
+
|
|
8090
|
+
|
|
8091
|
+
/**
|
|
8092
|
+
* Returns whether this field is set.
|
|
8093
|
+
* @return {boolean}
|
|
8094
|
+
*/
|
|
8095
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.hasBillerconfigid = function() {
|
|
8096
|
+
return jspb.Message.getField(this, 15) != null;
|
|
8097
|
+
};
|
|
8098
|
+
|
|
8099
|
+
|
|
8100
|
+
/**
|
|
8101
|
+
* optional int64 agentUserId = 16;
|
|
8102
|
+
* @return {number}
|
|
8103
|
+
*/
|
|
8104
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.getAgentuserid = function() {
|
|
8105
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
8106
|
+
};
|
|
8107
|
+
|
|
8108
|
+
|
|
8109
|
+
/**
|
|
8110
|
+
* @param {number} value
|
|
8111
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest} returns this
|
|
8112
|
+
*/
|
|
8113
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest.prototype.setAgentuserid = function(value) {
|
|
8114
|
+
return jspb.Message.setProto3IntField(this, 16, value);
|
|
8115
|
+
};
|
|
8116
|
+
|
|
8117
|
+
|
|
8118
|
+
|
|
8119
|
+
|
|
8120
|
+
|
|
7501
8121
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7502
8122
|
/**
|
|
7503
8123
|
* Creates an object representation of this proto.
|