Inherits from NSObject
Conforms to RERequestable
RESerializable
Declared in RETaxRequest.h

Overview

Describes an HTTP API request of tax information. Use [Recurly taxFor

Tasks

Properties

countryCode

@property (nonatomic, strong) NSString *countryCode
Discussion

Country code

Declared In

RETaxRequest.h

currency

@property (nonatomic, strong) NSString *currency
Discussion

Currency

Declared In

RETaxRequest.h

postalCode

@property (nonatomic, strong) NSString *postalCode
Discussion

Postal code

Declared In

RETaxRequest.h

vatNumber

@property (nonatomic, strong) NSString *vatNumber
Discussion

VAT number

Declared In

RETaxRequest.h

Instance Methods

initWithAddress:

- (instancetype)initWithAddress:(REAddress *)anAddress
Discussion

Initializes a tax request using an address. It takes the postal code, country code and the VAT number from the address object.

Parameters

anAddress

Address object used to populate the tax request (postal, country, vat codes)

Declared In

RETaxRequest.h

initWithPostalCode:countryCode:

- (instancetype)initWithPostalCode:(NSString *)postalCode countryCode:(NSString *)country
Discussion

Initializes a tax request using the postal code and the country code, the currency is the default one.

Parameters

postalCode

Postal code

country

Country code

See Also

Declared In

RETaxRequest.h