OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ShippingAddress_h |
| 6 #define ShippingAddress_h |
| 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "platform/heap/Handle.h" |
| 10 #include "wtf/Noncopyable.h" |
| 11 #include "wtf/Vector.h" |
| 12 #include "wtf/text/WTFString.h" |
| 13 |
| 14 namespace blink { |
| 15 |
| 16 class ShippingAddress final : public GarbageCollectedFinalized<ShippingAddress>,
public ScriptWrappable { |
| 17 DEFINE_WRAPPERTYPEINFO(); |
| 18 WTF_MAKE_NONCOPYABLE(ShippingAddress); |
| 19 |
| 20 public: |
| 21 ShippingAddress(); |
| 22 virtual ~ShippingAddress(); |
| 23 |
| 24 const String& regionCode() const { return m_regionCode; } |
| 25 const Vector<String>& addressLine() const { return m_addressLine; } |
| 26 const String& administrativeArea() const { return m_administrativeArea; } |
| 27 const String& locality() const { return m_locality; } |
| 28 const String& dependentLocality() const { return m_dependentLocality; } |
| 29 const String& postalCode() const { return m_postalCode; } |
| 30 const String& sortingCode() const { return m_sortingCode; } |
| 31 const String& languageCode() const { return m_languageCode; } |
| 32 const String& organization() const { return m_organization; } |
| 33 const String& recipient() const { return m_recipient; } |
| 34 |
| 35 DEFINE_INLINE_TRACE() {} |
| 36 |
| 37 private: |
| 38 String m_regionCode; |
| 39 Vector<String> m_addressLine; |
| 40 String m_administrativeArea; |
| 41 String m_locality; |
| 42 String m_dependentLocality; |
| 43 String m_postalCode; |
| 44 String m_sortingCode; |
| 45 String m_languageCode; |
| 46 String m_organization; |
| 47 String m_recipient; |
| 48 }; |
| 49 |
| 50 } // namespace blink |
| 51 |
| 52 #endif // ShippingAddress_h |
OLD | NEW |