tech.carpentum.sdk.payment.EndpointDefinition.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
/**
* Definition of simple endpoint.
*
* Used by individual API classes:
*
* - [AccountsApi]
* - [IncomingPaymentsApi]
* - [OutgoingPaymentsApi]
* - [PaymentsApi]
* - [MerchantInfoApi]
*
* See also [EndpointWithIdDefinition].
*/
data class EndpointDefinition(
val method: Method,
val resource: String
) {
/**
* Supported HTTP method of RESTful API used by [EndpointDefinition].
*/
enum class Method {
GET, POST
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy