func (i *Introduce) DeclineRequest(request *models.RequestEnvelope) *models.ResponseEnvelope {
	args := cmdintroduce.DeclineRequestArgs{}
	if err := json.Unmarshal(request.Payload, &args); err != nil {
		return &models.ResponseEnvelope{Error: &models.CommandError{Message: err.Error()}}
	}
	response, cmdErr := exec(i.handlers[cmdintroduce.DeclineRequest], args)
	if cmdErr != nil {
		return &models.ResponseEnvelope{Error: cmdErr}
	}
	return &models.ResponseEnvelope{Payload: response}
}
DeclineRequest is used to reject the request.
package command
import (
	"encoding/json"
	"github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/models"
	"github.com/hyperledger/aries-framework-go/pkg/controller/command"
	cmdintroduce "github.com/hyperledger/aries-framework-go/pkg/controller/command/introduce"
)
type Introduce struct {
	handlers map[string]command.Exec
}
func (i *Introduce) SendProposal(request *models.RequestEnvelope) *models.ResponseEnvelope {
	args := cmdintroduce.SendProposalArgs{}
	if err := json.Unmarshal(request.Payload, &args); err != nil {
		return &models.ResponseEnvelope{Error: &models.CommandError{Message: err.Error()}}
	}
	response, cmdErr := exec(i.handlers[cmdintroduce.SendProposal], args)
	if cmdErr != nil {
		return &models.ResponseEnvelope{Error: cmdErr}
	}
	return &models.ResponseEnvelope{Payload: response}
}
func (i *Introduce) Actions(request *models.RequestEnvelope) *models.ResponseEnvelope {
	response, cmdErr := exec(i.handlers[cmdintroduce.Actions], request.Payload)
	if cmdErr != nil {
		return &models.ResponseEnvelope{Error: cmdErr}
	}
	return &models.ResponseEnvelope{Payload: response}
}
func (i *Introduce) SendProposalWithOOBInvitation(request *models.RequestEnvelope) *models.ResponseEnvelope {
	args := cmdintroduce.SendProposalWithOOBInvitationArgs{}
	if err := json.Unmarshal(request.Payload, &args); err != nil {
		return &models.ResponseEnvelope{Error: &models.CommandError{Message: err.Error()}}
	}
	response, cmdErr := exec(i.handlers[cmdintroduce.SendProposalWithOOBInvitation], args)
	if cmdErr != nil {
		return &models.ResponseEnvelope{Error: cmdErr}
	}
	return &models.ResponseEnvelope{Payload: response}
}
func (i *Introduce) SendRequest(request *models.RequestEnvelope) *models.ResponseEnvelope {
	args := cmdintroduce.SendRequestArgs{}
	if err := json.Unmarshal(request.Payload, &args); err != nil {
		return &models.ResponseEnvelope{Error: &models.CommandError{Message: err.Error()}}
	}
	response, cmdErr := exec(i.handlers[cmdintroduce.SendRequest], args)
	if cmdErr != nil {
		return &models.ResponseEnvelope{Error: cmdErr}
	}
	return &models.ResponseEnvelope{Payload: response}
}
func (i *Introduce) AcceptProposalWithOOBInvitation(request *models.RequestEnvelope) *models.ResponseEnvelope {
	args := cmdintroduce.AcceptProposalWithOOBInvitationArgs{}
	if err := json.Unmarshal(request.Payload, &args); err != nil {
		return &models.ResponseEnvelope{Error: &models.CommandError{Message: err.Error()}}
	}
	response, cmdErr := exec(i.handlers[cmdintroduce.AcceptProposalWithOOBInvitation], args)
	if cmdErr != nil {
		return &models.ResponseEnvelope{Error: cmdErr}
	}
	return &models.ResponseEnvelope{Payload: response}
}
func (i *Introduce) AcceptProposal(request *models.RequestEnvelope) *models.ResponseEnvelope {
	args := cmdintroduce.AcceptProposalArgs{}
	if err := json.Unmarshal(request.Payload, &args); err != nil {
		return &models.ResponseEnvelope{Error: &models.CommandError{Message: err.Error()}}
	}
	response, cmdErr := exec(i.handlers[cmdintroduce.AcceptProposal], args)
	if cmdErr != nil {
		return &models.ResponseEnvelope{Error: cmdErr}
	}
	return &models.ResponseEnvelope{Payload: response}
}
func (i *Introduce) AcceptRequestWithPublicOOBInvitation(request *models.RequestEnvelope) *models.ResponseEnvelope {
	args := cmdintroduce.AcceptRequestWithPublicOOBInvitationArgs{}
	if err := json.Unmarshal(request.Payload, &args); err != nil {
		return &models.ResponseEnvelope{Error: &models.CommandError{Message: err.Error()}}
	}
	response, cmdErr := exec(i.handlers[cmdintroduce.AcceptRequestWithPublicOOBInvitation], args)
	if cmdErr != nil {
		return &models.ResponseEnvelope{Error: cmdErr}
	}
	return &models.ResponseEnvelope{Payload: response}
}
func (i *Introduce) AcceptRequestWithRecipients(request *models.RequestEnvelope) *models.ResponseEnvelope {
	args := cmdintroduce.AcceptRequestWithRecipientsArgs{}
	if err := json.Unmarshal(request.Payload, &args); err != nil {
		return &models.ResponseEnvelope{Error: &models.CommandError{Message: err.Error()}}
	}
	response, cmdErr := exec(i.handlers[cmdintroduce.AcceptRequestWithRecipients], args)
	if cmdErr != nil {
		return &models.ResponseEnvelope{Error: cmdErr}
	}
	return &models.ResponseEnvelope{Payload: response}
}
func (i *Introduce) DeclineProposal(request *models.RequestEnvelope) *models.ResponseEnvelope {
	args := cmdintroduce.DeclineProposalArgs{}
	if err := json.Unmarshal(request.Payload, &args); err != nil {
		return &models.ResponseEnvelope{Error: &models.CommandError{Message: err.Error()}}
	}
	response, cmdErr := exec(i.handlers[cmdintroduce.DeclineProposal], args)
	if cmdErr != nil {
		return &models.ResponseEnvelope{Error: cmdErr}
	}
	return &models.ResponseEnvelope{Payload: response}
}