func (o *GetPrivateSubmitTransferToSubaccountParams) WithCurrency(currency string) *GetPrivateSubmitTransferToSubaccountParams {
	o.SetCurrency(currency)
	return o
}
WithCurrency adds the currency to the get private submit transfer to subaccount params
package operations
import (
	"context"
	"net/http"
	"time"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	"github.com/go-openapi/swag"
	strfmt "github.com/go-openapi/strfmt"
)
func NewGetPrivateSubmitTransferToSubaccountParams() *GetPrivateSubmitTransferToSubaccountParams {
	var ()
	return &GetPrivateSubmitTransferToSubaccountParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetPrivateSubmitTransferToSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateSubmitTransferToSubaccountParams {
	var ()
	return &GetPrivateSubmitTransferToSubaccountParams{
		timeout: timeout,
	}
}
func NewGetPrivateSubmitTransferToSubaccountParamsWithContext(ctx context.Context) *GetPrivateSubmitTransferToSubaccountParams {
	var ()
	return &GetPrivateSubmitTransferToSubaccountParams{
		Context: ctx,
	}
}
func NewGetPrivateSubmitTransferToSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateSubmitTransferToSubaccountParams {
	var ()
	return &GetPrivateSubmitTransferToSubaccountParams{
		HTTPClient: client,
	}
}
type GetPrivateSubmitTransferToSubaccountParams struct {
	Amount float64
	Currency string
	Destination int64
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetPrivateSubmitTransferToSubaccountParams) WithTimeout(timeout time.Duration) *GetPrivateSubmitTransferToSubaccountParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetPrivateSubmitTransferToSubaccountParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetPrivateSubmitTransferToSubaccountParams) WithContext(ctx context.Context) *GetPrivateSubmitTransferToSubaccountParams {
	o.SetContext(ctx)
	return o
}
func (o *GetPrivateSubmitTransferToSubaccountParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetPrivateSubmitTransferToSubaccountParams) WithHTTPClient(client *http.Client) *GetPrivateSubmitTransferToSubaccountParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetPrivateSubmitTransferToSubaccountParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *GetPrivateSubmitTransferToSubaccountParams) WithAmount(amount float64) *GetPrivateSubmitTransferToSubaccountParams {
	o.SetAmount(amount)
	return o
}
func (o *GetPrivateSubmitTransferToSubaccountParams) SetAmount(amount float64) {
	o.Amount = amount
}