|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / dev2.destoffenstraat.com / vendor / vertex / sdk / src / Data / |
Filename | /home/dev2.destoffenstraat.com/vendor/vertex/sdk/src/Data/CustomerInterface.php |
Size | 2.81 kb |
Permission | rw-rw-rw- |
Owner | root : root |
Create time | 17-Aug-2025 10:26 |
Last modified | 23-Sep-2020 09:46 |
Last accessed | 23-Aug-2025 03:56 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
/**
* @copyright Vertex. All rights reserved. https://www.vertexinc.com/
* @author Mediotype Development <diveinto@mediotype.com>
*/
namespace Vertex\Data;
/**
* Represents a Customer
*
* @api
*/
interface CustomerInterface
{
/**
* Retrieve the administrative destination
*
* The benefit received location for certain service transactions
*
* @return AddressInterface|null
*/
public function getAdministrativeDestination();
/**
* Retrieve the code representing the customer
*
* @return string|null
*/
public function getCode();
/**
* Retrieve the destination
*
* Where the item is being shipped to, where the benefit is received, first used, where it is used, primary place of
* use, principal use location, location of property, or place of use.
*
* @return AddressInterface|null
*/
public function getDestination();
/**
* Retrieve the Tax Class for the customer
*
* @return string|null
*/
public function getTaxClass();
/**
* Retrieve the tax registrations held by the Customer
*
* @return TaxRegistrationInterface[]
*/
public function getTaxRegistrations();
/**
* Retrieve whether or not the customer is a business
*
* @return bool|null
*/
public function isBusiness();
/**
* Set the administrative destination
*
* The benefit received location for certain service transactions
*
* @param AddressInterface $destination
* @return CustomerInterface
*/
public function setAdministrativeDestination(AddressInterface $destination);
/**
* Set the code representing the customer
*
* @param string $customerCode
* @return CustomerInterface
*/
public function setCode($customerCode);
/**
* Set the destination
*
* Where the item is being shipped to, where the benefit is received, first used, where it is used, primary place of
* use, principal use location, location of property, or place of use.
*
* @param AddressInterface $destination
* @return CustomerInterface
*/
public function setDestination(AddressInterface $destination);
/**
* Set whether or not the customer is a business
*
* @param bool $isBusiness
* @return CustomerInterface
*/
public function setIsBusiness($isBusiness);
/**
* Set the Tax Class for the customer
*
* @param string $taxClass
* @return CustomerInterface
*/
public function setTaxClass($taxClass);
/**
* Set the tax registrations held by the Customer
*
* @param TaxRegistrationInterface[] $registrations
* @return CustomerInterface
*/
public function setTaxRegistrations(array $registrations);
}
/**
* @copyright Vertex. All rights reserved. https://www.vertexinc.com/
* @author Mediotype Development <diveinto@mediotype.com>
*/
namespace Vertex\Data;
/**
* Represents a Customer
*
* @api
*/
interface CustomerInterface
{
/**
* Retrieve the administrative destination
*
* The benefit received location for certain service transactions
*
* @return AddressInterface|null
*/
public function getAdministrativeDestination();
/**
* Retrieve the code representing the customer
*
* @return string|null
*/
public function getCode();
/**
* Retrieve the destination
*
* Where the item is being shipped to, where the benefit is received, first used, where it is used, primary place of
* use, principal use location, location of property, or place of use.
*
* @return AddressInterface|null
*/
public function getDestination();
/**
* Retrieve the Tax Class for the customer
*
* @return string|null
*/
public function getTaxClass();
/**
* Retrieve the tax registrations held by the Customer
*
* @return TaxRegistrationInterface[]
*/
public function getTaxRegistrations();
/**
* Retrieve whether or not the customer is a business
*
* @return bool|null
*/
public function isBusiness();
/**
* Set the administrative destination
*
* The benefit received location for certain service transactions
*
* @param AddressInterface $destination
* @return CustomerInterface
*/
public function setAdministrativeDestination(AddressInterface $destination);
/**
* Set the code representing the customer
*
* @param string $customerCode
* @return CustomerInterface
*/
public function setCode($customerCode);
/**
* Set the destination
*
* Where the item is being shipped to, where the benefit is received, first used, where it is used, primary place of
* use, principal use location, location of property, or place of use.
*
* @param AddressInterface $destination
* @return CustomerInterface
*/
public function setDestination(AddressInterface $destination);
/**
* Set whether or not the customer is a business
*
* @param bool $isBusiness
* @return CustomerInterface
*/
public function setIsBusiness($isBusiness);
/**
* Set the Tax Class for the customer
*
* @param string $taxClass
* @return CustomerInterface
*/
public function setTaxClass($taxClass);
/**
* Set the tax registrations held by the Customer
*
* @param TaxRegistrationInterface[] $registrations
* @return CustomerInterface
*/
public function setTaxRegistrations(array $registrations);
}