Versions in this module Expand all Collapse all v1 v1.6.0 Apr 8, 2024 Changes in this version + func NewPaymentRequest(orderId string, amount uint64, callBackUrl string, payerId string) *paymentRequest + func NewVerifyRequest(orderId string, saleOrderId string, saleReferenceId string) *verifyRequest + type Mellat struct + func New(client client.Transporter, username, password string) (*Mellat, error) + func (m *Mellat) CreateTransaction(ctx context.Context, req *paymentRequest) (*PaymentResponse, error) + func (m *Mellat) VerifyTransaction(ctx context.Context, req *verifyRequest) (*VerifyResponse, error) + type PaymentResponse struct + Body struct{ ... } + XMLName xml.Name + func (pr *PaymentResponse) RefId() string + func (pr *PaymentResponse) ResponseCode() int + type VerifyResponse struct + Body struct{ ... } + XMLName xml.Name + func (vr *VerifyResponse) ResponseCode() int