<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:api/controllers/SiteControllerwsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" name="SiteController" targetNamespace="urn:api/controllers/SiteControllerwsdl">
<wsdl:types><xsd:schema targetNamespace="urn:api/controllers/SiteControllerwsdl"><xsd:complexType name="BasketItemArray"><xsd:complexContent><xsd:restriction base="soap-enc:Array"><xsd:attribute ref="soap-enc:arrayType" arrayType="tns:BasketItem[]"/></xsd:restriction></xsd:complexContent></xsd:complexType><xsd:complexType name="BasketItem"><xsd:all><xsd:element name="productCode" type="xsd:string"/><xsd:element name="description" type="xsd:string"/><xsd:element name="quantity" type="xsd:int"/><xsd:element name="price" type="xsd:int"/></xsd:all></xsd:complexType><xsd:complexType name="RedeemResponse"><xsd:all><xsd:element name="status" type="xsd:int"/><xsd:element name="category" type="xsd:int"/><xsd:element name="discountType" type="xsd:string"/><xsd:element name="discountValue" type="xsd:int"/><xsd:element name="timestamp" type="xsd:dateTime"/><xsd:element name="requiredSalesValue" type="xsd:int"/><xsd:element name="message" type="xsd:string"/></xsd:all></xsd:complexType><xsd:complexType name="QueryRegisterResponse"><xsd:all><xsd:element name="status" type="xsd:int"/><xsd:element name="requiredSaleValue" type="xsd:int"/><xsd:element name="packCost" type="xsd:int"/><xsd:element name="timestamp" type="xsd:dateTime"/><xsd:element name="message" type="xsd:string"/></xsd:all></xsd:complexType><xsd:complexType name="RegisterResponse"><xsd:all><xsd:element name="status" type="xsd:int"/><xsd:element name="packCost" type="xsd:int"/><xsd:element name="timestamp" type="xsd:dateTime"/><xsd:element name="requiredSalesValue" type="xsd:int"/><xsd:element name="message" type="xsd:string"/></xsd:all></xsd:complexType><xsd:complexType name="BasketResponse"><xsd:all><xsd:element name="status" type="xsd:int"/><xsd:element name="timestamp" type="xsd:dateTime"/></xsd:all></xsd:complexType><xsd:complexType name="ConfirmPaymentResponse"><xsd:all><xsd:element name="status" type="xsd:int"/><xsd:element name="timestamp" type="xsd:dateTime"/><xsd:element name="message" type="xsd:string"/></xsd:all></xsd:complexType></xsd:schema></wsdl:types><wsdl:message name="heartbeatIn"/><wsdl:message name="heartbeatOut"><wsdl:part name="return" type="xsd:boolean"/></wsdl:message><wsdl:message name="RedeemIn"><wsdl:part name="transactionId" type="xsd:int"/><wsdl:part name="couponCode" type="xsd:string"/><wsdl:part name="storeId" type="xsd:int"/><wsdl:part name="saleValue" type="xsd:int"/><wsdl:part name="basketDetail" type="tns:BasketItemArray"/><wsdl:part name="timestamp" type="xsd:dateTime"/><wsdl:part name="posId" type="xsd:string"/></wsdl:message><wsdl:message name="RedeemOut"><wsdl:part name="return" type="tns:RedeemResponse"/></wsdl:message><wsdl:message name="QueryRegisterIn"><wsdl:part name="storeId" type="xsd:int"/><wsdl:part name="packSerialNumber" type="xsd:string"/><wsdl:part name="saleValue" type="xsd:int"/><wsdl:part name="timestamp" type="xsd:dateTime"/><wsdl:part name="posId" type="xsd:string"/></wsdl:message><wsdl:message name="QueryRegisterOut"><wsdl:part name="return" type="tns:QueryRegisterResponse"/></wsdl:message><wsdl:message name="RegisterIn"><wsdl:part name="transactionId" type="xsd:string"/><wsdl:part name="packSerialNumber" type="xsd:string"/><wsdl:part name="storeId" type="xsd:int"/><wsdl:part name="saleValue" type="xsd:int"/><wsdl:part name="mobileNumber" type="xsd:string"/><wsdl:part name="basketDetail" type="tns:BasketItemArray"/><wsdl:part name="timestamp" type="xsd:dateTime"/><wsdl:part name="posId" type="xsd:string"/></wsdl:message><wsdl:message name="RegisterOut"><wsdl:part name="return" type="tns:RegisterResponse"/></wsdl:message><wsdl:message name="SendBasketIn"><wsdl:part name="transactionId" type="xsd:string"/><wsdl:part name="couponCode" type="xsd:string"/><wsdl:part name="storeId" type="xsd:int"/><wsdl:part name="basketDetail" type="tns:BasketItemArray"/><wsdl:part name="timestamp" type="xsd:dateTime"/><wsdl:part name="posId" type="xsd:string"/></wsdl:message><wsdl:message name="SendBasketOut"><wsdl:part name="return" type="tns:BasketResponse"/></wsdl:message><wsdl:message name="ConfirmPaymentIn"><wsdl:part name="transactionId" type="xsd:string"/><wsdl:part name="couponCode" type="xsd:string"/><wsdl:part name="storeId" type="xsd:int"/><wsdl:part name="timestamp" type="xsd:dateTime"/><wsdl:part name="posId" type="xsd:string"/></wsdl:message><wsdl:message name="ConfirmPaymentOut"><wsdl:part name="return" type="tns:ConfirmPaymentResponse"/></wsdl:message><wsdl:portType name="SiteControllerPortType"><wsdl:operation name="heartbeat"><wsdl:documentation/><wsdl:input message="tns:heartbeatIn"/><wsdl:output message="tns:heartbeatOut"/></wsdl:operation><wsdl:operation name="Redeem"><wsdl:documentation/><wsdl:input message="tns:RedeemIn"/><wsdl:output message="tns:RedeemOut"/></wsdl:operation><wsdl:operation name="QueryRegister"><wsdl:documentation/><wsdl:input message="tns:QueryRegisterIn"/><wsdl:output message="tns:QueryRegisterOut"/></wsdl:operation><wsdl:operation name="Register"><wsdl:documentation/><wsdl:input message="tns:RegisterIn"/><wsdl:output message="tns:RegisterOut"/></wsdl:operation><wsdl:operation name="SendBasket"><wsdl:documentation/><wsdl:input message="tns:SendBasketIn"/><wsdl:output message="tns:SendBasketOut"/></wsdl:operation><wsdl:operation name="ConfirmPayment"><wsdl:documentation/><wsdl:input message="tns:ConfirmPaymentIn"/><wsdl:output message="tns:ConfirmPaymentOut"/></wsdl:operation></wsdl:portType><wsdl:binding name="SiteControllerBinding" type="tns:SiteControllerPortType"><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="heartbeat"><soap:operation soapAction="urn:api/controllers/SiteControllerwsdl#heartbeat" style="rpc"/><wsdl:input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:input><wsdl:output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:output></wsdl:operation><wsdl:operation name="Redeem"><soap:operation soapAction="urn:api/controllers/SiteControllerwsdl#Redeem" style="rpc"/><wsdl:input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:input><wsdl:output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:output></wsdl:operation><wsdl:operation name="QueryRegister"><soap:operation soapAction="urn:api/controllers/SiteControllerwsdl#QueryRegister" style="rpc"/><wsdl:input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:input><wsdl:output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:output></wsdl:operation><wsdl:operation name="Register"><soap:operation soapAction="urn:api/controllers/SiteControllerwsdl#Register" style="rpc"/><wsdl:input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:input><wsdl:output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:output></wsdl:operation><wsdl:operation name="SendBasket"><soap:operation soapAction="urn:api/controllers/SiteControllerwsdl#SendBasket" style="rpc"/><wsdl:input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:input><wsdl:output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:output></wsdl:operation><wsdl:operation name="ConfirmPayment"><soap:operation soapAction="urn:api/controllers/SiteControllerwsdl#ConfirmPayment" style="rpc"/><wsdl:input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:input><wsdl:output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:api/controllers/SiteControllerwsdl"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="SiteControllerService"><wsdl:port name="SiteControllerPort" binding="tns:SiteControllerBinding"><soap:address location="https://test.api.popcoupon.co.za/site/soap?ws=1"/></wsdl:port></wsdl:service></definitions>
