package
0.0.8
Repository: https://github.com/walletera/payments-types.git
Documentation: pkg.go.dev

# Functions

LabelerFromContext retrieves the Labeler from the provided context, if present.
NewClient initializes new Client defined by OAS.
NewOptAccountDetails returns new OptAccountDetails with value set to v.
NewOptDateTime returns new OptDateTime with value set to v.
NewOptPaymentDirection returns new OptPaymentDirection with value set to v.
NewOptPaymentStatus returns new OptPaymentStatus with value set to v.
NewOptString returns new OptString with value set to v.
NewOptUUID returns new OptUUID with value set to v.
NewServer creates new Server.
WithClient specifies http client to use.
WithErrorHandler specifies error handler to use.
WithMaxMultipartMemory specifies limit of memory for storing file parts.
WithMeterProvider specifies a meter provider to use for creating a meter.
WithMethodNotAllowed specifies Method Not Allowed handler to use.
WithMiddleware specifies middlewares to use.
WithNotFound specifies Not Found handler to use.
WithPathPrefix specifies server path prefix.
WithServerURL sets context key to override server URL.
WithTracerProvider specifies a tracer provider to use for creating a tracer.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Bank account details.
Client implements OAS client.
GetPaymentInternalServerError is response for GetPayment operation.
GetPaymentNotFound is response for GetPayment operation.
GetPaymentParams is parameters of getPayment operation.
Labeler is used to allow adding custom attributes to the server request metrics.
OptAccountDetails is optional AccountDetails.
OptDateTime is optional time.Time.
OptPaymentDirection is optional PaymentDirection.
OptPaymentStatus is optional PaymentStatus.
OptString is optional string.
OptUUID is optional uuid.UUID.
PatchPaymentInternalServerError is response for PatchPayment operation.
PatchPaymentOK is response for PatchPayment operation.
PatchPaymentParams is parameters of patchPayment operation.
Payment type.
Body of the PATH /withdrawal request.
PostPaymentInternalServerError is response for PostPayment operation.
PostPaymentParams is parameters of postPayment operation.
Route is route object.
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

# Interfaces

ClientOption is client config option.
No description provided by the author
Handler handles operations described by OpenAPI v3 specification.
Invoker invokes operations described by OpenAPI v3 specification.
Option is config option.
No description provided by the author
No description provided by the author
ServerOption is server config option.

# Type aliases

ErrorHandler is error handler.
No description provided by the author
Middleware is middleware type.
OperationName is the ogen operation name.
No description provided by the author
Ref: #/components/schemas/paymentStatus.
No description provided by the author
No description provided by the author