Skip to content

Commit

Permalink
Fix typos from pr review
Browse files Browse the repository at this point in the history
  • Loading branch information
bdorfman-stripe committed Aug 4, 2017
1 parent 4f00c67 commit 4aea55c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 18 deletions.
8 changes: 4 additions & 4 deletions Stripe/PublicHeaders/STPAddress.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,17 @@ typedef NS_ENUM(NSUInteger, STPBillingAddressFields) {
#pragma clang diagnostic pop

/**
Initializes a new STPAddress with data from an Pass Kit contact.
Initializes a new STPAddress with data from an PassKit contact.
@param contact The Pass Kit contact you want to populate the STPAddress from.
@param contact The PassKit contact you want to populate the STPAddress from.
@return A new STPAddress instance with data copied from the passed in contact.
*/
- (instancetype)initWithPKContact:(PKContact *)contact NS_AVAILABLE_IOS(9_0); FAUXPAS_IGNORED_ON_LINE(APIAvailability);

/**
Generates a Pas Kit contact representation of this STPAddress.
Generates a PassKit contact representation of this STPAddress.
@return A new Pass Kit contact with data copied from this STPAddress instance.
@return A new PassKit contact with data copied from this STPAddress instance.
*/
- (PKContact *)PKContactValue NS_AVAILABLE_IOS(9_0); FAUXPAS_IGNORED_ON_LINE(APIAvailability);

Expand Down
12 changes: 6 additions & 6 deletions Stripe/PublicHeaders/STPCardValidator.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,21 @@ NS_ASSUME_NONNULL_BEGIN
example, Discover card numbers contain 16 characters, while American Express
cards contain 15 characters.
@param brand The brand to receive lengths for.
@param brand The brand to return lengths for.
@return The set of possible lengths cards associated with that brand can be.
*/
+ (NSSet<NSNumber *>*)lengthsForCardBrand:(STPCardBrand)brand;


/**
The possible maxmimum length the number of a card associated with the specified
The maximum possible length the number of a card associated with the specified
brand could be.
For example, Visa cards could be either 13 or 16 characters, so this method
would return 13 for the that card brand.
would return 16 for the that card brand.
@param brand The brand to receive the max length for.
@param brand The brand to return the max length for.
@return The maximum length card numbers associated with that brand could be.
*/
Expand All @@ -100,7 +100,7 @@ NS_ASSUME_NONNULL_BEGIN
American Express cards display their final 5 digits, e.g. "10005".
@param brand The brand to receive the fragment length for.
@param brand The brand to return the fragment length for.
@return The final fragment length card numbers associated with that brand use.
*/
Expand Down Expand Up @@ -154,7 +154,7 @@ NS_ASSUME_NONNULL_BEGIN
The max CVC length for a card brand (for example, American Express CVCs are
4 digits, while all others are 3).
@param brand The brand to receive the max CVC length for.
@param brand The brand to return the max CVC length for.
@return The maximum length of CVC numbers for cards associated with that brand.
*/
Expand Down
6 changes: 0 additions & 6 deletions Stripe/PublicHeaders/STPSourceEnums.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
// Copyright © 2017 Stripe, Inc. All rights reserved.
//

#ifndef STPSourceEnums_h
#define STPSourceEnums_h

/**
Authentication flows for a Source
*/
Expand Down Expand Up @@ -154,6 +151,3 @@ typedef NS_ENUM(NSInteger, STPSourceType) {
*/
STPSourceTypeUnknown,
};


#endif /* STPSourceEnums_h */
1 change: 1 addition & 0 deletions Stripe/PublicHeaders/Stripe.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#import "STPShippingAddressViewController.h"
#import "STPSource.h"
#import "STPSourceCardDetails.h"
#import "STPSourceEnums.h"
#import "STPSourceOwner.h"
#import "STPSourceParams.h"
#import "STPSourceProtocol.h"
Expand Down
4 changes: 2 additions & 2 deletions Stripe/PublicHeaders/StripeError.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ FOUNDATION_EXPORT NSString * __nonnull const STPStripeErrorTypeKey;
#pragma mark STPCardErrorCodeKeys

/**
Possible string values you may receive when there was an error tokenzing
Possible string values you may receive when there was an error tokenizing
a card. These values will come back in the error `userInfo` dictionary
under the `STPCardErrorCodeKey` key.
*/
Expand Down Expand Up @@ -142,7 +142,7 @@ FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPExpiredCard;
FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPCardDeclined;

/**
The card has na incorrect CVC.
The card has an incorrect CVC.
*/
FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPIncorrectCVC;

Expand Down

0 comments on commit 4aea55c

Please sign in to comment.