OPPYooKassaPaymentParams
@interface OPPYooKassaPaymentParams : OPPPaymentParamsClass to encapsulate all necessary parameters for performing transaction with YooKassa.
- 
                  
                  Creates an object representing YooKassa transaction. DeclarationObjective-C + (nullable instancetype) yooKassaPaymentParamsWithCheckoutID:(nonnull NSString *)checkoutID paymentToken:(nonnull NSString *)paymentToken error:(NSError *_Nullable *_Nullable)error;ParameterscheckoutIDThe checkout ID of the transaction. Must be not nil or empty. paymentTokenThe payment token received from YooKassa. errorThe error that occurred while validating payment parameters. See code attribute ( OPPErrorCode) andNSLocalizedDescriptionto identify the reason of failure.Return ValueReturns an object representing YooKassa transaction, and nil if parameters are invalid. 
- 
                  
                  Creates an object representing YooKassa transaction. DeclarationObjective-C - (nullable instancetype)initWithCheckoutID:(nonnull NSString *)checkoutID paymentToken:(nonnull NSString *)paymentToken error: (NSError *_Nullable *_Nullable)error;Swift init(checkoutID: String, paymentToken: String) throwsParameterscheckoutIDThe checkout ID of the transaction. Must be not nil or empty. paymentTokenThe payment token received from YooKassa. errorThe error that occurred while validating payment parameters. See code attribute ( OPPErrorCode) andNSLocalizedDescriptionto identify the reason of failure.Return ValueReturns an object representing YooKassa transaction, and nil if parameters are invalid. 
- 
                  
                  One-time token for payment. DeclarationObjective-C @property (nonatomic, copy, readonly) NSString *_Nonnull paymentToken;Swift var paymentToken: String { get }
- 
                  
                  Checks if the payment token is valid to perform a transaction. DeclarationObjective-C + (BOOL)isPaymentTokenValid:(nonnull NSString *)paymentToken;Swift class func isPaymentTokenValid(_ paymentToken: String) -> BoolParameterspaymentTokenThe payment token received from YooKassa. Return ValueYESif the payment token is not empty.
 OPPYooKassaPaymentParams Class Reference
      OPPYooKassaPaymentParams Class Reference