toResponse
fun POCardTokenizationPreferredSchemeRequest.toResponse(preferredScheme: String?): POCardTokenizationPreferredSchemeResponse
Creates POCardTokenizationPreferredSchemeResponse from POCardTokenizationPreferredSchemeRequest.
Parameters
preferredScheme
Preferred scheme that will be used by default for card tokenization. Will use a primary scheme if null.
fun POCardTokenizationShouldContinueRequest.toResponse(shouldContinue: Boolean): POCardTokenizationShouldContinueResponse
Creates POCardTokenizationShouldContinueResponse from POCardTokenizationShouldContinueRequest.
Parameters
shouldContinue
Boolean that indicates whether the flow should continue or complete after the failure.
fun POCardUpdateShouldContinueRequest.toResponse(shouldContinue: Boolean): POCardUpdateShouldContinueResponse
Creates POCardUpdateShouldContinueResponse from POCardUpdateShouldContinueRequest.
Parameters
shouldContinue
Boolean that indicates whether the flow should continue or complete after the failure.
fun PONativeAlternativePaymentMethodDefaultValuesRequest.toResponse(defaultValues: Map<String, String>): PONativeAlternativePaymentMethodDefaultValuesResponse
Creates response with default values from request to use the same UUID.
Parameters
defaultValues
Map where key is PONativeAlternativePaymentMethodParameter.key and value is a default value for this parameter.