package
0.0.0-20231009063729-90ab0d60a305
Repository: https://github.com/wathuta/technical_test.git
Documentation: pkg.go.dev

# Functions

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

# Constants

No description provided by the author
Add more payment methods as needed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
Enum value maps for PaymentMethod.
Enum value maps for PaymentMethod.
PaymentService_ServiceDesc is the grpc.ServiceDesc for PaymentService service.
Enum value maps for PaymentStatus.
Enum value maps for PaymentStatus.

# Structs

CreatePaymentRequest represents a request to create a new payment.
CreatePaymentResponse represents the response after creating a payment.
GetPaymentByIdRequest represents a request to retrieve a payment by ID.
GetPaymentByIdResponse represents the response after retrieving a payment by ID.
Payment represents a payment made by a customer for an order.
UnimplementedPaymentServiceServer must be embedded to have forward compatible implementations.

# Interfaces

PaymentServiceClient is the client API for PaymentService service.
PaymentServiceServer is the server API for PaymentService service.
UnsafePaymentServiceServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

PaymentMethod represents possible payment methods.
PaymentStatus represents possible payment statuses.