Ascio Web Service v3

Class SalesLine

PropertyDescription
OrderIdExample: "TEST123456"
Product
ObjectHandle
ObjectName
PriceExample: 1.1
PriceCategory
CurrencyCode
Created
State
InvoiceNoExample: 1
CreditNoExample: 1
DomainComment
<?php
namespace ascio\v3\examples;
require("../service/autoload.php");
require("../../lib/AscioConfig.php");
use ascio\v3 as ascio;


$product =  new ascio\Product();
$product->setProductName("ProductNameTest");
$product->setObjectType(ascio\ObjectType::DomainType);
$product->setOrderType(ascio\OrderType::Register);
$product->setTld("TldTest");
$product->setTldCountry("TldCountryTest");
$product->setPeriod(1);
$product->setNote("NoteTest");

$salesLine =  new ascio\SalesLine();
$salesLine->setOrderId("TEST123456");
$salesLine->setProduct($product);
$salesLine->setObjectHandle("ObjectHandleTest");
$salesLine->setObjectName("ObjectNameTest");
$salesLine->setPrice(1.1);
$salesLine->setPriceCategory("PriceCategoryTest");
$salesLine->setCurrencyCode("CurrencyCodeTest");
$salesLine->setCreated(new \DateTime());
$salesLine->setState(ascio\SalesLineState::Open);
$salesLine->setInvoiceNo(1);
$salesLine->setCreditNo(1);
$salesLine->setDomainComment("DomainCommentTest");
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.