API 1.0.47 Customer.trialDate
This commit is contained in:
@@ -117,8 +117,11 @@ class CustomerController ( private val customerRepository: CustomerRepository) {
|
||||
if (newCustomer.emailSubscription != null) {
|
||||
updatedCustomer.emailSubscription = newCustomer.emailSubscription
|
||||
}
|
||||
if (newCustomer.trial != null) {
|
||||
updatedCustomer.trial = newCustomer.trial
|
||||
if (newCustomer.syncedDate != null) {
|
||||
updatedCustomer.syncedDate = newCustomer.syncedDate
|
||||
}
|
||||
if (newCustomer.trialDate != null) {
|
||||
updatedCustomer.trialDate = newCustomer.trialDate
|
||||
}
|
||||
updatedCustomer.sex = newCustomer.sex
|
||||
updatedCustomer.birthYear = newCustomer.birthYear
|
||||
|
||||
@@ -26,8 +26,8 @@ data class Customer (
|
||||
@Expose var firebaseUid: String? = null,
|
||||
@Expose var sportId: Int? = null,
|
||||
@Expose var emailSubscription: Int? = 0,
|
||||
@Expose var synced_date: String? = null,
|
||||
@Expose var trial: Boolean? = false,
|
||||
@Expose var syncedDate: String? = null,
|
||||
@Expose var trialDate: String? = null,
|
||||
|
||||
@Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Expose var customerId: Long = 0,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user