customer creation now pointing to velocity
This commit is contained in:
@@ -42,7 +42,7 @@ public class Charge extends BaseEntity {
|
||||
private TargetEvent targetEvent; // include / exclude
|
||||
|
||||
@JsonIgnore
|
||||
@ManyToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)
|
||||
@ManyToMany(fetch = FetchType.EAGER)
|
||||
@JoinTable(
|
||||
name = "charge_include_products",
|
||||
joinColumns = @JoinColumn(name = "charge_id"),
|
||||
@@ -51,7 +51,7 @@ public class Charge extends BaseEntity {
|
||||
private Set<ChargeCondition> includes = new HashSet<>();
|
||||
|
||||
@JsonIgnore
|
||||
@ManyToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)
|
||||
@ManyToMany(fetch = FetchType.EAGER)
|
||||
@JoinTable(
|
||||
name = "charge_exclude_products",
|
||||
joinColumns = @JoinColumn(name = "charge_id"),
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.util.List;
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class ChargeCondition extends BaseEntity {
|
||||
public class ChargeCondition extends BaseEntity {
|
||||
private String name;
|
||||
@Enumerated(EnumType.STRING)
|
||||
private ChargeConditionType type;
|
||||
|
||||
@@ -77,6 +77,11 @@ public class Transaction extends BaseEntity {
|
||||
@Enumerated(EnumType.STRING)
|
||||
private Status pollingStatus;
|
||||
|
||||
|
||||
private String orderId;
|
||||
private String orderTrace;
|
||||
private String orderTransactionTrace;
|
||||
|
||||
private String erpSalesRef;
|
||||
private String erpJournalRef;
|
||||
private String erpSalesPaymentRef;
|
||||
|
||||
Reference in New Issue
Block a user