PaymentAddress.city

The city read-only property of the PaymentAddress interface returns a string containing the city or town portion of the address.

Syntax

var paymentCity = PaymentAddress.city;

Value

A DOMString indicating the city or town portion of the address described by the PaymentAddress object.

Specifications

Specification Status Comment
Payment Request API
The definition of 'PaymentAddress.city' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

BCD tables only load in the browser