summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/msgraph.go/beta/SalesInvoiceAction.go
blob: d033b0c3e0570ab98196ceaef61d6ff70c8dfbaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
// Code generated by msgraph-generate.go DO NOT EDIT.

package msgraph

import "context"

// SalesInvoiceCancelAndSendRequestParameter undocumented
type SalesInvoiceCancelAndSendRequestParameter struct {
}

// SalesInvoiceCancelRequestParameter undocumented
type SalesInvoiceCancelRequestParameter struct {
}

// SalesInvoicePostAndSendRequestParameter undocumented
type SalesInvoicePostAndSendRequestParameter struct {
}

// SalesInvoicePostRequestParameter undocumented
type SalesInvoicePostRequestParameter struct {
}

// SalesInvoiceSendRequestParameter undocumented
type SalesInvoiceSendRequestParameter struct {
}

//
type SalesInvoiceCancelAndSendRequestBuilder struct{ BaseRequestBuilder }

// CancelAndSend action undocumented
func (b *SalesInvoiceRequestBuilder) CancelAndSend(reqObj *SalesInvoiceCancelAndSendRequestParameter) *SalesInvoiceCancelAndSendRequestBuilder {
	bb := &SalesInvoiceCancelAndSendRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
	bb.BaseRequestBuilder.baseURL += "/cancelAndSend"
	bb.BaseRequestBuilder.requestObject = reqObj
	return bb
}

//
type SalesInvoiceCancelAndSendRequest struct{ BaseRequest }

//
func (b *SalesInvoiceCancelAndSendRequestBuilder) Request() *SalesInvoiceCancelAndSendRequest {
	return &SalesInvoiceCancelAndSendRequest{
		BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
	}
}

//
func (r *SalesInvoiceCancelAndSendRequest) Post(ctx context.Context) error {
	return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
}

//
type SalesInvoiceCancelRequestBuilder struct{ BaseRequestBuilder }

// Cancel action undocumented
func (b *SalesInvoiceRequestBuilder) Cancel(reqObj *SalesInvoiceCancelRequestParameter) *SalesInvoiceCancelRequestBuilder {
	bb := &SalesInvoiceCancelRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
	bb.BaseRequestBuilder.baseURL += "/cancel"
	bb.BaseRequestBuilder.requestObject = reqObj
	return bb
}

//
type SalesInvoiceCancelRequest struct{ BaseRequest }

//
func (b *SalesInvoiceCancelRequestBuilder) Request() *SalesInvoiceCancelRequest {
	return &SalesInvoiceCancelRequest{
		BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
	}
}

//
func (r *SalesInvoiceCancelRequest) Post(ctx context.Context) error {
	return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
}

//
type SalesInvoicePostAndSendRequestBuilder struct{ BaseRequestBuilder }

// PostAndSend action undocumented
func (b *SalesInvoiceRequestBuilder) PostAndSend(reqObj *SalesInvoicePostAndSendRequestParameter) *SalesInvoicePostAndSendRequestBuilder {
	bb := &SalesInvoicePostAndSendRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
	bb.BaseRequestBuilder.baseURL += "/postAndSend"
	bb.BaseRequestBuilder.requestObject = reqObj
	return bb
}

//
type SalesInvoicePostAndSendRequest struct{ BaseRequest }

//
func (b *SalesInvoicePostAndSendRequestBuilder) Request() *SalesInvoicePostAndSendRequest {
	return &SalesInvoicePostAndSendRequest{
		BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
	}
}

//
func (r *SalesInvoicePostAndSendRequest) Post(ctx context.Context) error {
	return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
}

//
type SalesInvoicePostRequestBuilder struct{ BaseRequestBuilder }

// Post action undocumented
func (b *SalesInvoiceRequestBuilder) Post(reqObj *SalesInvoicePostRequestParameter) *SalesInvoicePostRequestBuilder {
	bb := &SalesInvoicePostRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
	bb.BaseRequestBuilder.baseURL += "/post"
	bb.BaseRequestBuilder.requestObject = reqObj
	return bb
}

//
type SalesInvoicePostRequest struct{ BaseRequest }

//
func (b *SalesInvoicePostRequestBuilder) Request() *SalesInvoicePostRequest {
	return &SalesInvoicePostRequest{
		BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
	}
}

//
func (r *SalesInvoicePostRequest) Post(ctx context.Context) error {
	return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
}

//
type SalesInvoiceSendRequestBuilder struct{ BaseRequestBuilder }

// Send action undocumented
func (b *SalesInvoiceRequestBuilder) Send(reqObj *SalesInvoiceSendRequestParameter) *SalesInvoiceSendRequestBuilder {
	bb := &SalesInvoiceSendRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
	bb.BaseRequestBuilder.baseURL += "/send"
	bb.BaseRequestBuilder.requestObject = reqObj
	return bb
}

//
type SalesInvoiceSendRequest struct{ BaseRequest }

//
func (b *SalesInvoiceSendRequestBuilder) Request() *SalesInvoiceSendRequest {
	return &SalesInvoiceSendRequest{
		BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
	}
}

//
func (r *SalesInvoiceSendRequest) Post(ctx context.Context) error {
	return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
}