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

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

There is a newer version: 1.0.0-M12
Show newest version
package io.sphere.sdk.customergroups;

import io.sphere.sdk.models.DefaultModelImpl;

import java.time.Instant;

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

    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 - 2024 Weber Informatics LLC | Privacy Policy