123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Payment\Gateway\Data;
- /**
- * Interface AddressAdapterInterface
- * @api
- * @since 100.0.2
- */
- interface AddressAdapterInterface
- {
- /**
- * Get region name
- *
- * @return string
- */
- public function getRegionCode();
- /**
- * Get country id
- *
- * @return string
- */
- public function getCountryId();
- /**
- * Get street line 1
- *
- * @return string
- */
- public function getStreetLine1();
- /**
- * Get street line 2
- *
- * @return string
- */
- public function getStreetLine2();
- /**
- * Get telephone number
- *
- * @return string
- */
- public function getTelephone();
- /**
- * Get postcode
- *
- * @return string
- */
- public function getPostcode();
- /**
- * Get city name
- *
- * @return string
- */
- public function getCity();
- /**
- * Get first name
- *
- * @return string
- */
- public function getFirstname();
- /**
- * Get last name
- *
- * @return string
- */
- public function getLastname();
- /**
- * Get middle name
- *
- * @return string|null
- */
- public function getMiddlename();
- /**
- * Get customer id
- *
- * @return int|null
- */
- public function getCustomerId();
- /**
- * Get billing/shipping email
- *
- * @return string
- */
- public function getEmail();
- /**
- * Returns name prefix
- *
- * @return string
- */
- public function getPrefix();
- /**
- * Returns name suffix
- *
- * @return string
- */
- public function getSuffix();
- /**
- * Get company
- *
- * @return string
- */
- public function getCompany();
- }
|