Class InvoiceTemplatingSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.damsel.payment_processing.InvoiceTemplatingSrv.Client
- All Implemented Interfaces:
InvoiceTemplatingSrv.Iface
- Enclosing class:
- InvoiceTemplatingSrv
public static class InvoiceTemplatingSrv.Client
extends org.apache.thrift.TServiceClient
implements InvoiceTemplatingSrv.Iface
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
interceptor, iprot_, oprot_, seqid_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeTerms(String id, String timestamp, PartyRevisionParam party_revision_param) create(InvoiceTemplateCreateParams params) voidvoidrecvGet()voidsendComputeTerms(String id, String timestamp, PartyRevisionParam party_revision_param) voidvoidsendDelete(String id) voidvoidsendUpdate(String id, InvoiceTemplateUpdateParams params) update(String id, InvoiceTemplateUpdateParams params) Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getInterceptor, getOutputProtocol, receiveBase, sendBase, sendBaseOneway, setInterceptor
-
Constructor Details
-
Client
public Client(org.apache.thrift.protocol.TProtocol prot) -
Client
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
-
-
Method Details
-
create
public InvoiceTemplate create(InvoiceTemplateCreateParams params) throws PartyNotFound, InvalidPartyStatus, ShopNotFound, InvalidShopStatus, InvalidRequest, org.apache.thrift.TException - Specified by:
createin interfaceInvoiceTemplatingSrv.Iface- Throws:
PartyNotFoundInvalidPartyStatusShopNotFoundInvalidShopStatusInvalidRequestorg.apache.thrift.TException
-
sendCreate
- Throws:
org.apache.thrift.TException
-
recvCreate
public InvoiceTemplate recvCreate() throws PartyNotFound, InvalidPartyStatus, ShopNotFound, InvalidShopStatus, InvalidRequest, org.apache.thrift.TException- Throws:
PartyNotFoundInvalidPartyStatusShopNotFoundInvalidShopStatusInvalidRequestorg.apache.thrift.TException
-
get
public InvoiceTemplate get(String id) throws InvoiceTemplateNotFound, InvoiceTemplateRemoved, org.apache.thrift.TException - Specified by:
getin interfaceInvoiceTemplatingSrv.Iface- Throws:
InvoiceTemplateNotFoundInvoiceTemplateRemovedorg.apache.thrift.TException
-
sendGet
- Throws:
org.apache.thrift.TException
-
recvGet
public InvoiceTemplate recvGet() throws InvoiceTemplateNotFound, InvoiceTemplateRemoved, org.apache.thrift.TException- Throws:
InvoiceTemplateNotFoundInvoiceTemplateRemovedorg.apache.thrift.TException
-
update
public InvoiceTemplate update(String id, InvoiceTemplateUpdateParams params) throws InvoiceTemplateNotFound, InvoiceTemplateRemoved, InvalidPartyStatus, InvalidShopStatus, InvalidRequest, org.apache.thrift.TException - Specified by:
updatein interfaceInvoiceTemplatingSrv.Iface- Throws:
InvoiceTemplateNotFoundInvoiceTemplateRemovedInvalidPartyStatusInvalidShopStatusInvalidRequestorg.apache.thrift.TException
-
sendUpdate
public void sendUpdate(String id, InvoiceTemplateUpdateParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvUpdate
public InvoiceTemplate recvUpdate() throws InvoiceTemplateNotFound, InvoiceTemplateRemoved, InvalidPartyStatus, InvalidShopStatus, InvalidRequest, org.apache.thrift.TException- Throws:
InvoiceTemplateNotFoundInvoiceTemplateRemovedInvalidPartyStatusInvalidShopStatusInvalidRequestorg.apache.thrift.TException
-
delete
public void delete(String id) throws InvoiceTemplateNotFound, InvoiceTemplateRemoved, InvalidPartyStatus, InvalidShopStatus, org.apache.thrift.TException - Specified by:
deletein interfaceInvoiceTemplatingSrv.Iface- Throws:
InvoiceTemplateNotFoundInvoiceTemplateRemovedInvalidPartyStatusInvalidShopStatusorg.apache.thrift.TException
-
sendDelete
- Throws:
org.apache.thrift.TException
-
recvDelete
public void recvDelete() throws InvoiceTemplateNotFound, InvoiceTemplateRemoved, InvalidPartyStatus, InvalidShopStatus, org.apache.thrift.TException- Throws:
InvoiceTemplateNotFoundInvoiceTemplateRemovedInvalidPartyStatusInvalidShopStatusorg.apache.thrift.TException
-
computeTerms
public TermSet computeTerms(String id, String timestamp, PartyRevisionParam party_revision_param) throws InvoiceTemplateNotFound, InvoiceTemplateRemoved, PartyNotExistsYet, org.apache.thrift.TException - Specified by:
computeTermsin interfaceInvoiceTemplatingSrv.Iface- Throws:
InvoiceTemplateNotFoundInvoiceTemplateRemovedPartyNotExistsYetorg.apache.thrift.TException
-
sendComputeTerms
public void sendComputeTerms(String id, String timestamp, PartyRevisionParam party_revision_param) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvComputeTerms
public TermSet recvComputeTerms() throws InvoiceTemplateNotFound, InvoiceTemplateRemoved, PartyNotExistsYet, org.apache.thrift.TException- Throws:
InvoiceTemplateNotFoundInvoiceTemplateRemovedPartyNotExistsYetorg.apache.thrift.TException
-