Class CustomerManagementSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.damsel.payment_processing.CustomerManagementSrv.Client
- All Implemented Interfaces:
CustomerManagementSrv.Iface
- Enclosing class:
- CustomerManagementSrv
public static class CustomerManagementSrv.Client extends org.apache.thrift.TServiceClient implements CustomerManagementSrv.Iface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomerManagementSrv.Client.Factory -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_ -
Constructor Summary
-
Method Summary
Modifier and Type Method Description TermSetcomputeTerms(String customer_id, PartyRevisionParam party_revision_param)Customercreate(CustomerParams params)voiddelete(String id)Customerget(String id, EventRange range)CustomerBindinggetActiveBinding(String customer_id)List<Event>getEvents(String customer_id, EventRange range)TermSetrecvComputeTerms()CustomerrecvCreate()voidrecvDelete()CustomerrecvGet()CustomerBindingrecvGetActiveBinding()List<Event>recvGetEvents()CustomerBindingrecvStartBinding()voidsendComputeTerms(String customer_id, PartyRevisionParam party_revision_param)voidsendCreate(CustomerParams params)voidsendDelete(String id)voidsendGet(String id, EventRange range)voidsendGetActiveBinding(String customer_id)voidsendGetEvents(String customer_id, EventRange range)voidsendStartBinding(String customer_id, CustomerBindingParams params)CustomerBindingstartBinding(String customer_id, CustomerBindingParams params)Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOneway
-
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 Customer create(CustomerParams params) throws InvalidPartyStatus, InvalidShopStatus, ShopNotFound, PartyNotFound, OperationNotPermitted, org.apache.thrift.TException- Specified by:
createin interfaceCustomerManagementSrv.Iface- Throws:
InvalidPartyStatusInvalidShopStatusShopNotFoundPartyNotFoundOperationNotPermittedorg.apache.thrift.TException
-
sendCreate
- Throws:
org.apache.thrift.TException
-
recvCreate
public Customer recvCreate() throws InvalidPartyStatus, InvalidShopStatus, ShopNotFound, PartyNotFound, OperationNotPermitted, org.apache.thrift.TException- Throws:
InvalidPartyStatusInvalidShopStatusShopNotFoundPartyNotFoundOperationNotPermittedorg.apache.thrift.TException
-
get
public Customer get(String id, EventRange range) throws CustomerNotFound, org.apache.thrift.TException- Specified by:
getin interfaceCustomerManagementSrv.Iface- Throws:
CustomerNotFoundorg.apache.thrift.TException
-
sendGet
- Throws:
org.apache.thrift.TException
-
recvGet
- Throws:
CustomerNotFoundorg.apache.thrift.TException
-
delete
public void delete(String id) throws CustomerNotFound, InvalidPartyStatus, InvalidShopStatus, org.apache.thrift.TException- Specified by:
deletein interfaceCustomerManagementSrv.Iface- Throws:
CustomerNotFoundInvalidPartyStatusInvalidShopStatusorg.apache.thrift.TException
-
sendDelete
- Throws:
org.apache.thrift.TException
-
recvDelete
public void recvDelete() throws CustomerNotFound, InvalidPartyStatus, InvalidShopStatus, org.apache.thrift.TException- Throws:
CustomerNotFoundInvalidPartyStatusInvalidShopStatusorg.apache.thrift.TException
-
startBinding
public CustomerBinding startBinding(String customer_id, CustomerBindingParams params) throws CustomerNotFound, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, OperationNotPermitted, org.apache.thrift.TException- Specified by:
startBindingin interfaceCustomerManagementSrv.Iface- Throws:
CustomerNotFoundInvalidPartyStatusInvalidShopStatusInvalidContractStatusOperationNotPermittedorg.apache.thrift.TException
-
sendStartBinding
public void sendStartBinding(String customer_id, CustomerBindingParams params) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvStartBinding
public CustomerBinding recvStartBinding() throws CustomerNotFound, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, OperationNotPermitted, org.apache.thrift.TException- Throws:
CustomerNotFoundInvalidPartyStatusInvalidShopStatusInvalidContractStatusOperationNotPermittedorg.apache.thrift.TException
-
getActiveBinding
public CustomerBinding getActiveBinding(String customer_id) throws CustomerNotFound, InvalidCustomerStatus, org.apache.thrift.TException- Specified by:
getActiveBindingin interfaceCustomerManagementSrv.Iface- Throws:
CustomerNotFoundInvalidCustomerStatusorg.apache.thrift.TException
-
sendGetActiveBinding
- Throws:
org.apache.thrift.TException
-
recvGetActiveBinding
public CustomerBinding recvGetActiveBinding() throws CustomerNotFound, InvalidCustomerStatus, org.apache.thrift.TException- Throws:
CustomerNotFoundInvalidCustomerStatusorg.apache.thrift.TException
-
getEvents
public List<Event> getEvents(String customer_id, EventRange range) throws CustomerNotFound, EventNotFound, org.apache.thrift.TException- Specified by:
getEventsin interfaceCustomerManagementSrv.Iface- Throws:
CustomerNotFoundEventNotFoundorg.apache.thrift.TException
-
sendGetEvents
public void sendGetEvents(String customer_id, EventRange range) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvGetEvents
public List<Event> recvGetEvents() throws CustomerNotFound, EventNotFound, org.apache.thrift.TException- Throws:
CustomerNotFoundEventNotFoundorg.apache.thrift.TException
-
computeTerms
public TermSet computeTerms(String customer_id, PartyRevisionParam party_revision_param) throws CustomerNotFound, org.apache.thrift.TException- Specified by:
computeTermsin interfaceCustomerManagementSrv.Iface- Throws:
CustomerNotFoundorg.apache.thrift.TException
-
sendComputeTerms
public void sendComputeTerms(String customer_id, PartyRevisionParam party_revision_param) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvComputeTerms
- Throws:
CustomerNotFoundorg.apache.thrift.TException
-