-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpayment_method.go
24 lines (23 loc) · 1.53 KB
/
payment_method.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package shopware
// PaymentMethod see:
// https://github.com/shopware/platform/blob/6.2/src/Core/Checkout/Payment/PaymentMethodEntity.php
type PaymentMethod struct {
Entity
PluginID string `json:"pluginId"`
HandlerIdentifier string `json:"handlerIdentifier"`
Name string `json:"name"`
Description string `json:"description"`
Position int `json:"position"`
Active bool `json:"active"`
AfterOrderEnabled bool `json:"afterOrderEnabled"`
Plugin *Plugin `json:"plugin"`
Translations []*PaymentMethodTranslation `json:"translations"`
OrderTransactions []*OrderTransaction `json:"orderTransactions"`
Customers []*Customer `json:"customers"`
SalesChannelDefaultAssignments []*SalesChannel `json:"salesChannelDefaultAssignments"`
SalesChannels []*SalesChannel `json:"salesChannels"`
AvailabilityRule *Rule `json:"availabilityRule"`
AvailabilityRuleID string `json:"availabilityRuleId"`
MediaID string `json:"mediaId"`
Media *MediaEntity `json:"media"`
}