tech.carpentum.sdk.payment.internal.generated.infrastructure.RequestConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of payment-client-v2 Show documentation
Show all versions of payment-client-v2 Show documentation
Carpentum Payment system Java SDK
The newest version!
package tech.carpentum.sdk.payment.internal.generated.infrastructure
/**
* Defines a config object for a given request.
* NOTE: This object doesn't include 'body' because it
* allows for caching of the constructed object
* for many request definitions.
* NOTE: Headers is a Map because rfc2616 defines
* multi-valued headers as csv-only.
*/
data class RequestConfig(
val method: RequestMethod,
val path: String,
val headers: MutableMap = mutableMapOf(),
val params: MutableMap = mutableMapOf(),
val query: MutableMap> = mutableMapOf(),
val requiresAuthentication: Boolean,
val body: T? = null
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy