Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ public class AccountPaymentProvider extends SimpleEntity {

@Column(length = 500)
private String webCheckoutSecret;
@Column(length = 500)
private String webCheckoutURL;
@Column(length = 500)
private String librariesURL;
private String providerAlias;

@Column(length = 500)
private String eventsSecret;
Expand Down Expand Up @@ -173,4 +178,28 @@ public String getPaymentProcessor() {
public void setPaymentProcessor(String paymentProcessor) {
this.paymentProcessor = paymentProcessor;
}

public String getWebCheckoutURL() {
return webCheckoutURL;
}

public void setWebCheckoutURL(String webCheckoutURL) {
this.webCheckoutURL = webCheckoutURL;
}

public String getLibrariesURL() {
return librariesURL;
}

public void setLibrariesURL(String librariesURL) {
this.librariesURL = librariesURL;
}

public String getProviderAlias() {
return providerAlias;
}

public void setProviderAlias(String providerAlias) {
this.providerAlias = providerAlias;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ beanClass: tools.dynamia.modules.saas.domain.AccountPaymentProvider
autofields: false

fields:
# General
name:
paymentProcessor:
label: Processor
Expand All @@ -11,19 +12,29 @@ fields:
className: tools.dynamia.modules.saas.AccountPaymentProcessor
nameField: name
idField: id
providerAlias:
label: Provider Alias
merchantId:
testMode:
active:

# Credentials
apiKey:
apiSecret:
webCheckoutSecret:
integritySecret:
eventsSecret:
webhooksSecret:

# Endpoints
serviceURL:
label: Service URL
testMode:
active:
label: API Service URL
webCheckoutURL:
librariesURL:

# Webhooks & events
webCheckoutSecret:
eventsSecret:
webhooksSecret:

# Extra
extra0:
label: Extra 0
extra1:
Expand All @@ -34,13 +45,21 @@ fields:
label: Extra 3

groups:
credentials:
label: Credentials
fields: [ apiKey, apiSecret, integritySecret ]

endpoints:
label: Endpoints
fields: [ serviceURL, webCheckoutURL, librariesURL ]

webhooks:
label: Webhooks & Events
fields: [ webCheckoutSecret, eventsSecret, webhooksSecret ]

extraProperties:
label: Extra Properties
fields:
- extra0
- extra1
- extra2
- extra3
fields: [ extra0, extra1, extra2, extra3 ]

layout:
columns: 4
columns: 4
Loading