mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
25 lines
631 B
Objective-C
Executable File
25 lines
631 B
Objective-C
Executable File
//
|
|
// STPFormEncoder.h
|
|
// Stripe
|
|
//
|
|
// Created by Jack Flintermann on 1/8/15.
|
|
// Copyright (c) 2015 Stripe, Inc. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class STPCardParams, STPBankAccountParams;
|
|
@protocol STPFormEncodable;
|
|
|
|
@interface STPFormEncoder : NSObject
|
|
|
|
+ (nonnull NSData *)formEncodedDataForObject:(nonnull NSObject<STPFormEncodable> *)object;
|
|
|
|
+ (nonnull NSString *)stringByURLEncoding:(nonnull NSString *)string;
|
|
|
|
+ (nonnull NSString *)stringByReplacingSnakeCaseWithCamelCase:(nonnull NSString *)input;
|
|
|
|
+ (nonnull NSString *)queryStringFromParameters:(nonnull NSDictionary *)parameters;
|
|
|
|
@end
|