Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 10.5 KB

File metadata and controls

52 lines (33 loc) · 10.5 KB

//sdk/com.swedbankpay.mobilesdk.merchantbackend/MerchantBackendProblem/Client/SwedbankPay

SwedbankPay

[androidJvm] sealed class SwedbankPay : MerchantBackendProblem.Client, SwedbankPayProblem

Base class for Client problems defined by the Swedbank Pay backend. https://developer.payex.com/xwiki/wiki/developer/view/Main/ecommerce/technical-reference/#HProblems

Types

Name Summary
Forbidden [androidJvm]
Content
class Forbidden(jsonObject: ) : MerchantBackendProblem.Client.SwedbankPay
More info
The request was understood, but the service is refusing to fulfill it.


InputError [androidJvm]
Content
class InputError(jsonObject: ) : MerchantBackendProblem.Client.SwedbankPay
More info
The request could not be handled because the request was malformed somehow (e.g.


NotFound [androidJvm]
Content
class NotFound(jsonObject: ) : MerchantBackendProblem.Client.SwedbankPay
More info
The requested resource was not found.


Functions

Name Summary
describeContents [androidJvm]
Content
open override fun describeContents(): Int


writeToParcel [androidJvm]
Content
open override fun writeToParcel(parcel: Parcel, flags: Int)


Properties

Name Summary
action [androidJvm] open override val action: SwedbankPayAction?Suggested action to take to recover from the error.
detail [androidJvm] val detail: String?RFC 7807 default property: a detailed explanation of the problem
instance [androidJvm] val instance: String?RFC 7807 default property: a URI reference that identifies the specific occurrence of the problem
jsonObject [androidJvm] val jsonObject: The raw RFC 7807 object parsed as a Gson JsonObject.
problems [androidJvm] open override val problems: List<SwedbankPaySubproblem>Array of problem detail objects
raw [androidJvm] val raw: StringThe raw RFC 7807 object.
status [androidJvm] val status: Int?RFC 7807 default property: the HTTP status codeThis should always be the same as the actual HTTP status code reported by the server.
title [androidJvm] val title: String?RFC 7807 default property: a short summary of the problem.
type [androidJvm] val type: StringRFC 7807 default property: a URI reference that identifies the problem type.

Inheritors

Name
MerchantBackendProblem.Client.SwedbankPay
MerchantBackendProblem.Client.SwedbankPay
MerchantBackendProblem.Client.SwedbankPay