All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.customergroups.CustomerGroupImpl Maven / Gradle / Ivy

The newest version!
package io.sphere.sdk.customergroups;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.DefaultModelImpl;

import java.time.Instant;

final class CustomerGroupImpl extends DefaultModelImpl implements CustomerGroup {
    private final String name;

    @JsonCreator
    CustomerGroupImpl(final String id, final long version, final Instant createdAt, final Instant lastModifiedAt, final String name) {
        super(id, version, createdAt, lastModifiedAt);
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy