SQRDLocation

@interface SQRDLocation : NSObject <NSCopying>

Represents a Square location.

  • The unique identifier for the location.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nonnull) NSString *locationID;

    Swift

    var locationID: String { get }
  • The name of the location (displayed as the location’s nickname in Square Dashboard).

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nonnull) NSString *name;

    Swift

    var name: String { get }
  • The business name associated with the location. This is the name shown on Square digital receipts.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nonnull) NSString *businessName;

    Swift

    var businessName: String { get }
  • Indicates whether or not this location is activated for card processing.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isCardProcessingActivated;

    Swift

    var isCardProcessingActivated: Bool { get }
  • The minimum card payment amount for this location.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nonnull)
        SQRDMoney *minimumCardPaymentAmountMoney;

    Swift

    var minimumCardPaymentAmountMoney: SQRDMoney { get }
  • The maximum card payment amount for this location.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nonnull)
        SQRDMoney *maximumCardPaymentAmountMoney;

    Swift

    var maximumCardPaymentAmountMoney: SQRDMoney { get }
  • The currency used for all transactions at this location, specified as a SQRDCurrencyCode.

    Declaration

    Objective-C

    @property (readonly, nonatomic) SQRDCurrencyCode currencyCode;

    Swift

    var currencyCode: SQRDCurrencyCode { get }
  • Returns a Boolean value that indicates whether the receiver and a given SQRDLocation are equal.

    Declaration

    Objective-C

    - (BOOL)isEqual:(nullable SQRDMoney *)object;

    Swift

    func isEqual(_ object: SQRDMoney?) -> Bool
  • Returns an integer that can be used as a table address in a hash table structure.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSUInteger hash;

    Swift

    var hash: UInt { get }