Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminAccess
    • Collections
    • Deleters
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Managers
    • Readers
    • Writers
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • CustomerGroup
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Serializers
    • Services
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Manufacturer
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuantityUnit
    • Entities
    • Factories
    • Repositories
  • QuickEdit
    • Interfaces
    • Repositories
  • Review
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Smarty
    • plugins
  • StaticSeoUrl
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • StaticSeoUrls
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects
  • VPE
    • Entities
    • Factories
    • Repositories
  • Withdrawal
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects

Classes

  • AbstractCustomerFactory

Interfaces

  • AddressBlockInterface
  • AddressBookServiceInterface
  • AddressClassInterface
  • CountryServiceInterface
  • CustomerAccountInputValidatorInterface
  • CustomerAdditionalAddressInfoInterface
  • CustomerAddressDeleterInterface
  • CustomerAddressInputValidatorInterface
  • CustomerAddressInterface
  • CustomerAddressReaderInterface
  • CustomerAddressRepositoryInterface
  • CustomerAddressWriterInterface
  • CustomerB2BStatusInterface
  • CustomerCallNumberInterface
  • CustomerCityInterface
  • CustomerCompanyInterface
  • CustomerCountryInterface
  • CustomerCountryIso2Interface
  • CustomerCountryIso3Interface
  • CustomerCountryNameInterface
  • CustomerCountryReaderInterface
  • CustomerCountryRepositoryInterface
  • CustomerCountryZoneInterface
  • CustomerCountryZoneIsoCodeInterface
  • CustomerCountryZoneNameInterface
  • CustomerCountryZoneReaderInterface
  • CustomerCountryZoneRepositoryInterface
  • CustomerDeleterInterface
  • CustomerEmailInterface
  • CustomerFirstnameInterface
  • CustomerGenderInterface
  • CustomerHouseNumberInterface
  • CustomerInputValidatorInterface
  • CustomerInputValidatorSettingsInterface
  • CustomerInterface
  • CustomerLastnameInterface
  • CustomerNumberInterface
  • CustomerPasswordInterface
  • CustomerPostcodeInterface
  • CustomerReaderInterface
  • CustomerReadServiceInterface
  • CustomerRegistrationInputValidatorServiceInterface
  • CustomerRepositoryInterface
  • CustomerServiceInterface
  • CustomerServiceSettingsInterface
  • CustomerStreetInterface
  • CustomerSuburbInterface
  • CustomerVatNumberInterface
  • CustomerWriterInterface
  • CustomerWriteServiceInterface
  • VatNumberValidatorInterface

Interface CustomerCountryZoneRepositoryInterface

Interface CustomerCountryZoneRepositoryInterface

Direct known implementers

CustomerCountryZoneRepository

Package: Customer\Interfaces
Category: System
Located at Services/Core/Country/Interfaces/CustomerCountryZoneRepositoryInterface.inc.php

Methods summary

public CustomerCountryZoneInterface
# getById( IdType $countryZoneId )

Method to get a country zone with a given ID

Method to get a country zone with a given ID

Parameters

$countryZoneId

Returns

CustomerCountryZoneInterface

Throws

Exception
if country zone not found
public CustomerCountryZoneInterface
# getByNameAndCountry( CustomerCountryZoneNameInterface $countryZoneName, CustomerCountryInterface $country )

Method to get a county zone with a given name and country

Method to get a county zone with a given name and country

Parameters

$countryZoneName
$country

Returns

CustomerCountryZoneInterface

Throws

Exception
if country zone not found
public CustomerCountryZone|null
# findByNameAndCountry( CustomerCountryZoneNameInterface $countryZoneName, CustomerCountryInterface $country )

This method will get the country zone by its name and country if it exists, if not it will return null.

This method will get the country zone by its name and country if it exists, if not it will return null.

Parameters

$countryZoneName
$country

Returns

CustomerCountryZone|null
public array
# findCountryZonesByCountryId( IdType $countryId )

This method will get all country zones by a country ID if it exists, if not it will return an empty array.

This method will get all country zones by a country ID if it exists, if not it will return an empty array.

Parameters

$countryId

Returns

array
public CustomerCountryZone|null
# findById( IdType $countryZoneId )

Method to get a country zone by ID if exists else return null

Method to get a country zone by ID if exists else return null

Parameters

$countryZoneId

Returns

CustomerCountryZone|null
public CustomerCountryZone
# getUnknownCountryZoneByName( CustomerCountryZoneNameInterface $countryZoneName )

This method will return a new CustomerCountryZoneName object representing an unknown country zone. ID is 0 and ISO code is empty.

This method will return a new CustomerCountryZoneName object representing an unknown country zone. ID is 0 and ISO code is empty.

Parameters

$countryZoneName

Returns

CustomerCountryZone
public boolean
# isStateMandatory( IdType $countryId )

This method returns whether the specified country, necessary, needs a state.

This method returns whether the specified country, necessary, needs a state.

Parameters

$countryId

Returns

boolean
public CustomerCountryZoneInterface|null
# findCountryZoneByZoneCodeAndCountry( CustomerCountryZoneIsoCodeInterface $zoneCode, CustomerCountryInterface $country )

Finds the country zone by the given zone code and country. Null will be returned if no results are found.

Finds the country zone by the given zone code and country. Null will be returned if no results are found.

Parameters

$zoneCode
Zone code of expected country zone.
$country
Country of zone.

Returns

CustomerCountryZoneInterface|null
Country zone model.
public CustomerCountryZoneInterface
# findCountryZoneByZoneCodeAndCountryId( CustomerCountryZoneIsoCodeInterface $zoneCode, IdType $countryId )

Returns the country zone by the given zone code and country id. Null will be returned if no results are found.

Returns the country zone by the given zone code and country id. Null will be returned if no results are found.

Parameters

$zoneCode
Zone code of expected country zone.
$countryId
Country id of zone.

Returns

CustomerCountryZoneInterface
Country zone model.
API documentation generated by ApiGen